-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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 kubernetes logs attributes names #2628
Comments
I wonder if As for |
I slightly prefer not to add it to the data model itself. There are a lot situations where |
Note that names like We need to put them in some reasonable namespaces, I don't think they can be top-level fields. |
Seems like |
As discussed during the SIG, we might also want to put other log-related attributes, such as the path. ECS schema has a Perhaps we should follow that approach and define |
I can't find the concept of run id in K8s docs. Does anyone have a link? |
Also, we won't be able to ensure that container_id taken by enrichment is truly the container id related to container instance (as container can be restarted meantime) |
@sumo-drosiek @tigrannajaryan @pmm-sumo Looks like the I want to settle a semantic convention for this attribute, so it can be used along with Please let me know what do you think |
@dmitryax for me it sounds good. more intuitive than |
Ok, I submitted a PR to add this as a semantic convention open-telemetry/opentelemetry-specification#1945 |
open-telemetry/opentelemetry-specification#1945 resolved the open-telemetry/opentelemetry-specification#1980 is open to clarify The |
This issue proposes a place for |
I think we can close this issue since all the attributes now added to the OTel conventions cc @tigrannajaryan @djaglowski |
Closing. Feel free to reopen if there is anything else to be done or create a new issue. |
There are some attributes for kubernetes container logs, which can be useful (or not) and doesn't have naming convention so far:
/var/log/pods/<namespace>_<pod-name>_<pod-uid>/<container-name>/<run-id>.log
)Another question is if
container-name
is more likek8s.container.name
orcontainer.name
semantic convention
k8s convention
container convention
Additional context
#2606
The text was updated successfully, but these errors were encountered: