-
Notifications
You must be signed in to change notification settings - Fork 161
Set service.namespace
and service.instance.id
in pod logs feature
#1738
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
base: main
Are you sure you want to change the base?
Conversation
My understanding is that this PR sets the pod log label:
This logic is compliant with Semantic conventions 1.35.0 / Non-normative / K8s attributes |
charts/k8s-monitoring/charts/feature-pod-logs/templates/_common_pod_discovery.alloy.tpl
Show resolved
Hide resolved
Should we review our logic to set |
Do we have a documentation PR to explain this evolution? |
Good call. We can set that, even if we don't pass it through by default. It would be a highly cardinal label, since it includes pod name. Perhaps its set as structured metadata? |
We don't store it as a structured metadata? |
636e2c4
to
be0ccfe
Compare
service.name
and service.instance.id
in pod logs feature
ef584f7
to
c688234
Compare
service.name
and service.instance.id
in pod logs featureservice.namespace
and service.instance.id
in pod logs feature
c688234
to
6ea64db
Compare
Signed-off-by: Pete Wall <[email protected]>
Signed-off-by: Pete Wall <[email protected]>
Signed-off-by: Pete Wall <[email protected]>
Updates the k8s-monitoring platform test to check for this in structured metadata Signed-off-by: Pete Wall <[email protected]>
Signed-off-by: Pete Wall <[email protected]>
6ea64db
to
53e39d5
Compare
No description provided.