-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set resource #138
Set resource #138
Conversation
Add OpenTelemetry Collector monitoring sidecar (GoogleCloudPlatform#134)
Renames the opencensus-monitoring directory and adds comments to it. …
This allows setting the monitored resource using a processor. Also updates metrics_receiver to match the new receiver interface.
This prevents conflicts with a resource set using a processor.
In an earlier commit a typo in the error metric name was fixed so that it matches the monitoring configs. This adjusts the tests to match.
Could you add a link to your changs? |
The changes I made to contrib.go.opencensus.io/exporter/stackdriver are at census-ecosystem/opencensus-go-exporter-stackdriver#253. |
opentelemetry_collector/run.sh
Outdated
@@ -1,21 +1,36 @@ | |||
#!/bin/bash | |||
|
|||
BUILD_DATE_FILE=/config/build_date.txt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What format is the build date in this file? I wonder whether we can use an env var as well.
Update the sidecar code to write to the correct metric and set the monitored resource as gae_instance.
Note: the replace directive in go.mod for contrib.go.opencensus.io/exporter/stackdriver will be removed once there is a new release for the repository. The changes I made are checked into the main repository but not yet in a release.