Detailed Mapping between GCP Structured Log and OTEL Standard ? #1466
Closed
rober15
announced in
Community Discussions
Replies: 2 comments 3 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@damemi does this exist somewhere? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Where can i find the detailed mapping logic between GCP Structured Log Standard (priopriatary):
https://cloud.google.com/logging/docs/structured-logging
and:
https://opentelemetry.io/docs/reference/specification/logs/data-model/ ?
I found this info but that is to high level:
https://github.com/open-telemetry/oteps/blob/main/text/logs/0097-log-data-model.md#google-cloud-logging
What is too high level ?
No details how the different resource names in gcp map into the resource key values in OTEL ?
https://cloud.google.com/monitoring/api/resources
Unclear how in OTEL with just Body it will differ between the different types of bodies in GCP:
jsonPayload => holds a json (structured log)
testPayload => holds just a string
Unclear how in detail labels get mapped ?
Labels go into Attributes but how ?
TraceId look like mapped 1:1 from trace into traceid but that is not correct as google includes more then just traceId in the field: trace. Gcp Trace Example: "trace": "projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824",
but what should be mapped to traceId is just: 06796866738c859f2f19b7cfb3214824
....
Beta Was this translation helpful? Give feedback.
All reactions