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

Change mapping for log_name of Google Cloud Logging #2092

Merged

Conversation

tigrannajaryan
Copy link
Member

Fixes #1808

The log_name should not map to Name, they are not the same thing.

log_name description: The resource name of the log to which this log entry belongs.
(See https://cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#logentry)

Name description: Short event identifier that does not contain varying parts.

log_name is now mapped to a Google-specific attribute. If better mapping is known
I can change to that but I don't see anything else in log data model log_name maps
nicely to.

@github-actions
Copy link

github-actions bot commented Nov 9, 2021

This PR was marked stale due to lack of activity. It will be closed in 7 days.

@github-actions github-actions bot added the Stale label Nov 9, 2021
@tigrannajaryan
Copy link
Member Author

@jsuereth PTAL

@djaglowski
Copy link
Member

@jsuereth Would you please give this a review? The Log SIG has interest in seeing the underlying issue closed before the data model is declared stable.

@github-actions
Copy link

This PR was marked stale due to lack of activity. It will be closed in 7 days.

@tigrannajaryan
Copy link
Member Author

@jsuereth PTAL.

Fixes open-telemetry#1808

The log_name should not map to Name, they are not the same thing.

log_name description: The resource name of the log to which this log entry belongs.
(See https://cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#logentry)

Name description: Short event identifier that does not contain varying parts.

log_name is now mapped to a Google-specific attribute. If better mapping is known
I can change to that but I don't see anything else in log data model log_name maps
nicely to.
@jmacd jmacd merged commit 222fc7d into open-telemetry:main Dec 10, 2021
@tigrannajaryan tigrannajaryan deleted the fix-googlecloudlogs-mapping branch March 3, 2022 17:02
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.

Google Cloud Logging specification: log_name should not map to Name
4 participants