Pawan Kumar
09/18/2024, 6:08 AMsignoz_metrics.time_series_v4
table, but the k8s_cluster_name
field is showing as blank. Below is the query I am using: SELECT *
FROM signoz_metrics.time_series_v4
LIMIT 1; ┌─env─────┬─temporality─┬─metric_name────────┬─description────────┬─unit─┬─type─┬─is_monotonic─┬────────fingerprint─┬────unix_milli─┬─labels─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ default │ Cumulative │ container_cpu_time │ Container CPU time │ s │ Sum │ true │ 169513242719490275 │ 1724007600000 │ {"__name__":"container_cpu_time","__temporality__":"Cumulative","container_id":"1e993cb6698cc49c1360abc1ee823fac2ca712646da822a76b806a180340a70d","host_name":"my-release-k8s-infra-otel-agent-4g4c6","k8s_cluster_name":"","k8s_container_name":"telegraf-ds","k8s_namespace_name":"default","k8s_node_name":"i60037-a1539","k8s_pod_ip":"10.0.4.205","k8s_pod_name":"k8s-telegraf-ds-kzkw6","k8s_pod_start_time":"2024-07-04 075747 +0000 UTC","k8s_pod_uid":"0b569e89-aabc-4889-822d-a73a87b0694b","os_type":"linux","signoz_component":"otel-agent"} │ Problem: The k8s_cluster_name
field is coming up as blank for all rows. Could this be a configuration issue in the SigNoz setup or with how metrics are being collected from Kubernetes? Can someone please help me understand why this is happening and how to resolve it?Vibhu Pandey
09/18/2024, 10:31 AMPawan Kumar
09/18/2024, 11:13 AMPawan Kumar
09/18/2024, 11:14 AMVibhu Pandey
09/18/2024, 3:15 PMPawan Kumar
09/19/2024, 4:10 AMPawan Kumar
09/19/2024, 4:36 AMPawan Kumar
09/20/2024, 9:17 AMPawan Kumar
09/20/2024, 9:18 AMPawan Kumar
09/20/2024, 9:18 AMVibhu Pandey
09/20/2024, 12:48 PMdeployment.environment
attribute from the place you are generating traces.
Eg: If a java code base is emitting traces, please set the attribute there.Pawan Kumar
09/24/2024, 4:54 AMPawan Kumar
09/24/2024, 4:54 AM