opencensus-ruby icon indicating copy to clipboard operation
opencensus-ruby copied to clipboard

Add utils to automatically detect monitored resources.

Open songy23 opened this issue 7 years ago • 1 comments

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.

songy23 avatar Jun 13 '18 23:06 songy23

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

dazuma avatar Oct 18 '18 21:10 dazuma