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

Add utils to automatically detect monitored resources. #66

Open
songy23 opened this issue Jun 13, 2018 · 1 comment
Open

Add utils to automatically detect monitored resources. #66

songy23 opened this issue Jun 13, 2018 · 1 comment

Comments

@songy23
Copy link

songy23 commented Jun 13, 2018

Add utils to automatically detect monitored resources based the environment that the application is running in, according to OpenCensus MonitoredResource specs. This util should be independent of specific exporters, since it's supposed to be share between Stackdriver Stats exporter and Stackdriver Trace exporter.

Counterpart in Java: https://github.com/census-instrumentation/opencensus-java/tree/master/contrib/monitored_resource_util.

@dazuma
Copy link
Member

dazuma commented Oct 18, 2018

There is an existing gem google-cloud-env that talks to the GCP metadata service. Please use that library on the GCP side.

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

2 participants