Hi team , i am using otel+signoz, is there any way...
# general
a
Hi team , i am using otel+signoz, is there any way that i can get the namespace of my kubectl pod in alerts ?
p
Hi there đź‘‹ You can use k8s namespace in alerts using the following:
Copy code
{{ .Labels.k8s_namespace_name }}
a
i checked this and grouped by this but this is always "monitoring" where my signoz is deployed and not the services. I also saw "service_namespace" and that is always "default" where as I have no services in default namespace.
i am checking the metric
signoz_calls_total
should i be checking another metric ?
p
@Srikanth Chekuri can you look into this?
s
i checked this and grouped by this but this is always “monitoring” where my signoz is deployed and not the services.
I also saw “service_namespace” and that is always “default” where as I have no services in default namespace.
In both cases, it is most likely your applications are not sending the
k8s.namespace.name
,
service.namespace
attributes.