Skip to content
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

Merged
merged 8 commits into from
Feb 26, 2020
Merged

Set resource #138

merged 8 commits into from
Feb 26, 2020

Conversation

imccarten1
Copy link
Contributor

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.

imccarten1 and others added 6 commits February 13, 2020 15:11
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.
@imccarten1 imccarten1 requested a review from yanweiguo February 24, 2020 18:58
@yanweiguo
Copy link
Member

The changes I made are checked into the main repository but not yet in a release.

Could you add a link to your changs?

@imccarten1
Copy link
Contributor Author

The changes I made to contrib.go.opencensus.io/exporter/stackdriver are at census-ecosystem/opencensus-go-exporter-stackdriver#253.

@@ -1,21 +1,36 @@
#!/bin/bash

BUILD_DATE_FILE=/config/build_date.txt
Copy link
Member

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.

@yanweiguo yanweiguo merged commit ec191b4 into GoogleCloudPlatform:master Feb 26, 2020
imccarten1 added a commit to imccarten1/appengine-sidecars-docker that referenced this pull request Feb 26, 2020
@imccarten1 imccarten1 deleted the set-resource branch November 18, 2020 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants