-
Notifications
You must be signed in to change notification settings - Fork 896
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
Clarify the mapping between Google Cloud Logging and OpenTelemetry #3774
Comments
I've opened a draft PR #3775 on the proposed clarifications. It would be great to have some involvement for Google contributors. |
This makes sense, but the document modified in #3775 isn't normative. Perhaps this type of language belongs in a new document in the compatibility directory. Additionally, the new attributes defined should probably be defined and added to the semantic-conventions. |
Hey @alexvanboxel, I really like your suggested PR in that it adds the read side of the OLTP<-> Google Cloud Logging Mapping. We've been having a lot of internal conversations around this mapping and have a (similar) proposed spec. @jack-berg and I discussed where this documentation might belong (see his comment above). I think we have a few options:
Which would you prefer? |
I think a new compatibility section is a great idea. Does this mean that all the sections in the datamodel-appendix would move to the compatibility section? |
I don't think I've added anything new. I've used the semcon that was available (except the gcp.*). I want to go further and define the mapping for the HTTP structure, but although HTTP is described as stable, it is not clearly defined for logs yet. |
@jsuereth I've moved it in the branch to the compatibility section |
@jack-berg and @jsuereth doesn't it make sense to have a compatibility section in the logs directory itself and that all model-appendix move (one by one) to that directory? |
It was silly of me to comment on the already-closed PR, so pasting my comments here. on
|
@open-telemetry/collector-contrib-maintainer can this get moved to collector-contrib repo? |
I can add the mapping in the collector README, but I feel the documentation should be either in spec/compatibility or either semconv/compatibiltity. |
I guess we can do the same we did on #3964 (review). I still think collector-contrib is not the right place for this long term, but for now it seems reasonable to me |
I'm actively working on improving the stability of the |
hey @alexvanboxel, what's the latest status of this? thanks |
What are you trying to achieve?
With this draft collector PR the PubsubReceiver will be able to handle the native translation of Google Cloud LogEntry (this is a feature provided by Google Cloud Logging: see View logs routed to Pub/Sub). We need more details on all the mapping from the LogEntry to the OpenTelemetry fields and attributes.
Additional context.
See this issue on the collector: open-telemetry/opentelemetry-collector-contrib#23184
The text was updated successfully, but these errors were encountered: