Issue with Filtering Data by Namespaces in Services Map View
TLDR Juha faced issues filtering data by namespaces in Services Map view. Srikanth suggested using deployment.environment
, but a bug may exist, and an issue was created on GitHub.
Apr 17, 2023 (8 months ago)
Juha
02:55 PMOTEL_RESOURCE_ATTRIBUTES
so I can not filter per namespace. OTEL_RESOURCE_ATTRIBUTES
has k8s.namespace.name
attribute but according to SigNoz documentation, that is not supported. Suitable attribute should be resource_k8s_cluster_namespace
. How to add that to autoinstrumentation?Apr 18, 2023 (8 months ago)
Srikanth
03:29 AMOTEL_RESOURCE_ATTRIBUTES
has k8s.namespace.name
attribute but according to SigNoz documentation, that is not supportedWhere is it this mentioned? The
k8s.namespace.name
is converted to k8s_cluster_namespace
for the compatibility reasons and it should be available if you are sending the data.Apr 20, 2023 (8 months ago)
Juha
08:15 AMSame can not be used in Service Map view.
Juha
08:16 AMSrikanth
09:37 AMJuha
10:53 AMk8s.namespace.name.(string) Equals ("staging")
Srikanth
11:16 AMSrikanth
11:16 AMdeployment.environment
should work, but I am not sure if that helps.Juha
12:02 PMJuha
12:04 PMJuha
12:17 PMSrikanth
01:31 PMIf you send this as a part of the resource attributes it will show up in the dropdown https://signoz.io/docs/userguide/metrics/#steps-to-add-resource-attributes
Juha
01:42 PMJuha
03:16 PMk8s.namespace.name
, k8s.container.name
, k8s.pod.name
, k8s.pod.uid
, k8s.node.name
…) so the issue is valid.SigNoz Community
Indexed 1023 threads (61% resolved)
Similar Threads
Filtering Applications in Services and Service Map Sections
Ayan asked how to filter applications in Services and Service Map sections. Srikanth and Vishnu provided guidance on supported filters and adding custom dimensions in otel-collector-config.yaml, which they successfully implemented.
Log Queries Not Working After Updating to 0.18.1
Al reports log queries not working after updating to `0.18.1`, specifically filtering by `k8s_namespace_name`. Srikanth suggests Nityananda might have an answer, but no response yet.
Troubleshooting Namespace Issues In Alerts with Otel+Signoz
Ayushman had a query about retrieving their kubectl pod's namespace in alerts using otel+signoz. Prashant and Srikanth gave steps, but found that Ayushman's applications might not be sending the necessary attributes.
SigNoz Production Feedback and Improvement Suggestions
Users shared their SigNoz experiences and feedback. Issues mentioned include memory consumption, UI/UX improvements, connection difficulties, and automation limitations.
Extracting Custom Fields as Attributes from Log in SigNoz
Harald wants to have custom fields from their body parsed as attributes in the SigNoz logger. They have tried implementing suggestions from nitya-signoz and Prashant, but the issue remains unsolved due to a potential race condition encountered while executing the code. They have provided a full example using Kind for further assistance.