Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Exporter does not respect xray daemon #37

Open
emman27 opened this issue Jun 12, 2019 · 0 comments
Open

Exporter does not respect xray daemon #37

emman27 opened this issue Jun 12, 2019 · 0 comments

Comments

@emman27
Copy link

emman27 commented Jun 12, 2019

According to AWS X-Ray documentation, one possible deployment method is to use a X-Ray daemon on a Kubernetes cluster to avoid provisioning permissions unnecessarily to applications to write to X-Ray.

The X-Ray SDK from AWS respects the following environment variables to do service discovery of the daemon. Right now, this exporter ignores this environment variable and bypasses by making direct API calls to X-Ray.

I propose to have the opencensus exporter respect this environment variable to match the behavior in the AWS documentation, making setup simpler and more configurable.

Reference documentation:
https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-go-configuration.html#xray-sdk-go-configuration-envvars
https://aws.amazon.com/blogs/compute/application-tracing-on-kubernetes-with-aws-x-ray/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant