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

Exporter does not respect xray daemon #37

@emman27

Description

@emman27

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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions