-
Notifications
You must be signed in to change notification settings - Fork 104
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
Update usages of faas.id
resource attribute to faas.instance
#679
Comments
Proposed Plan:
For anyone using our current documentation, they would not be broken at any point. @aabmass do you think that plan makes sense? |
SGTM. Do we consider this breaking for the genericTask mapping Mike mentioned? This would apply to users sending to Cloud Monitoring (not GMP). I think it should be ok |
It is breaking unless they are using our resource detector, which seems OK. We should recommend people use our resource detectors wherever possible. |
I need to update contrib for golang before I can update the this repo |
The collector's resource detector needs to be updated. I had forgotten about that. |
Sorry it's been a while and I'm confused again. If |
We were incorrectly using faas.id in the first place. |
…26486) Context: GoogleCloudPlatform/opentelemetry-operations-go#679 faas.id was removed from the semantic conventions: open-telemetry/opentelemetry-specification#3188 We were previously using it improperly to store the instance id of the faas, which should be mapped to faas.instance instead. --------- Co-authored-by: Alex Boten <aboten@lightstep.com>
We can track documentation updates in GoogleCloudPlatform/opentelemetry-cloud-run#6. All other work is done |
…pen-telemetry#26486) Context: GoogleCloudPlatform/opentelemetry-operations-go#679 faas.id was removed from the semantic conventions: open-telemetry/opentelemetry-specification#3188 We were previously using it improperly to store the instance id of the faas, which should be mapped to faas.instance instead. --------- Co-authored-by: Alex Boten <aboten@lightstep.com>
Our resource detectors and monitored resource mappings currently rely on semconv v1.18, which has
faas.id
, which we use for the Generic Task (Cloud Run) resource.As of semconv v1.19.0,
faas.id
is removed(/replaced withcloud.resource_id
).So, when we update to semconv v1.19, we'll need to update our usages of
faas.id
tofaas.instance
:This attribute is also used in our code samples for GMP-Cloud Run integration: https://github.com/GoogleCloudPlatform/golang-samples/blob/e4eddad4457dc10f0fabb1b6f4c1906bea46aedc/run/custom-metrics/collector/collector-config.yaml#L45, which will need to be updated and the matching docs pages manually redeployed.
The text was updated successfully, but these errors were encountered: