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

Extract region name from Cloud Run metadata server response #1546

Merged
merged 2 commits into from
Jan 4, 2022

Conversation

nikklassen
Copy link
Contributor

Previously this was returning a full string like /projects/123/regions/r, which does not match up with what the semvconv.CloudRegionKey value is supposed to be.

Originally filed as GoogleCloudPlatform/opentelemetry-operations-go#227

Previously this was returning a full string like /projects/123/regions/r, which does not match up with what the semvconv.CloudRegionKey value is supposed to be.
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Dec 26, 2021

CLA Signed

The committers are authorized under a signed CLA.

@codecov
Copy link

codecov bot commented Dec 28, 2021

Codecov Report

Merging #1546 (d415103) into main (49ea9ed) will increase coverage by 0.0%.
The diff coverage is 100.0%.

Impacted file tree graph

@@          Coverage Diff          @@
##            main   #1546   +/-   ##
=====================================
  Coverage   69.3%   69.3%           
=====================================
  Files        127     127           
  Lines       5480    5486    +6     
=====================================
+ Hits        3800    3806    +6     
  Misses      1533    1533           
  Partials     147     147           
Impacted Files Coverage Δ
detectors/gcp/cloud-run.go 100.0% <100.0%> (ø)

Copy link
Contributor

@dashpole dashpole left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@MrAlias MrAlias enabled auto-merge (squash) January 4, 2022 18:52
@MrAlias MrAlias merged commit 02a2d07 into open-telemetry:main Jan 4, 2022
@MrAlias MrAlias mentioned this pull request Feb 14, 2022
MrAlias added a commit that referenced this pull request Feb 14, 2022
* Update versions.yaml

* Deprecate the datadog exporter

* Remove hist/exact support from dogstatsd exporter

* Update otel dependencies

* Update changelog

* Prepare stable-v1 for version v1.4.0

* Prepare experimental-instrumentation for version v0.29.0

* Prepare experimental-metrics for version v0.29.0

* Prepare experimental-metric-exporters for version v0.29.0

* Update cortex exporter pkg imports

* Update datadog exporter example to not self import

This is now a deprecated package, do not depend on it.

* go mod tidy cortex exporter

* Update datadog deps

* Remove points agg from datadog

* Fix deprecated dep in dogstatsd

* Remove deprecated dep in otelgocql example

* Deprecate the cortex exporter

* Deprecate the dogstatsd exporter

* Fix lint

Do not fail lint for importing deprecated packages from inside those
deprecated packages.

* Update CHANGELOG.md

* Add fix from #1546 to changelog
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.

None yet

5 participants