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

[opentelemetry] add labels according to naming convention #338

Closed
3 tasks done
timojohlo opened this issue Aug 21, 2024 · 2 comments
Closed
3 tasks done

[opentelemetry] add labels according to naming convention #338

timojohlo opened this issue Aug 21, 2024 · 2 comments
Assignees

Comments

@timojohlo
Copy link
Member

timojohlo commented Aug 21, 2024

Context

In a future version of OpenTelemtry we want to provide extended labels that describe each log-line based on source, host, environment etc.

Acceptance Criteria

  • Discuss and align on best-pratice labeling
  • Implement labeling/attributes for each source (k8s events, container logs, journal logs etc.) where possible
  • Document label-approach

References

https://opentelemetry.io/docs/specs/semconv/resource/

Example

Attributes are grouped logically by the type of the concept that they described. Attributes in the same group have a common prefix that ends with a dot. For example all attributes that describe Kubernetes properties start with “k8s.”

@timojohlo timojohlo converted this from a draft issue Aug 21, 2024
@richardtief richardtief moved this from No status to Backlog in Observability Roadmap Aug 28, 2024
@richardtief richardtief moved this from Backlog to In progress in Observability Roadmap Aug 28, 2024
@Kuckkuck
Copy link
Contributor

Kuckkuck commented Sep 2, 2024

Added Kubernetes labels according to Opentelemetry Kubernetes specs.

Pull request #369

the following labels are not available:
k8s.container.status.last_terminated_reason
k8s.cronjob.uid

@Kuckkuck
Copy link
Contributor

First version of labels are part of the OpeneTelemetry logs collector config.

@github-project-automation github-project-automation bot moved this from In progress to Done in Observability Roadmap Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants