You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am trying to get k8sattributes added as labels to logs, metrics and traces. It doesn't appear to be working. Is it that those attributes are only added to certain telemetry (let's say metrics) and no other (logs)? Or with this config it should be added to everything? Are there any rules on what is applicable to what? Here is the config I am trying.
In Alloy live debug there are no additional metadata either:
Trace ID:
Span ID:
Flags: 0
ResourceLog #0
Resource SchemaURL:
ScopeLogs #0
ScopeLogs SchemaURL:
InstrumentationScope
LogRecord #0
ObservedTimestamp: 2024-12-27 01:57:49.183621136 +0000 UTC
Timestamp: 2024-12-27 01:57:48.933702716 +0000 UTC
SeverityText:
SeverityNumber: Unspecified(0)
Body: Str(I1227 01:57:48.933621 1 bounded_frequency_runner.go:296] sync-runner: ran, next possible in 1s, periodic in 1h0m0s)
Attributes:
-> loki.attribute.labels: Str(container,job,pod,namespace)
-> pod: Str(kube-proxy-tlgtv)
-> namespace: Str(kube-system)
-> job: Str(kube-system/kube-proxy)
-> container: Str(kube-proxy)
The text was updated successfully, but these errors were encountered:
cxk314
changed the title
k8sattributes metadata not working in k8s-monitoring-helm v2
v2: k8sattributes metadata not working in k8s-monitoring-helm
Dec 27, 2024
Hi,
I am trying to get
k8sattributes
added as labels to logs, metrics and traces. It doesn't appear to be working. Is it that those attributes are only added to certain telemetry (let's say metrics) and no other (logs)? Or with this config it should be added to everything? Are there any rules on what is applicable to what? Here is the config I am trying.In Alloy live debug there are no additional metadata either:
The text was updated successfully, but these errors were encountered: