Hello, can't you filter by service name in service...
# support
u
Hello, can't you filter by service name in service map?
n
Hey @박형규, yeah you can but you need set the resources attributes on service for that
u
@Nagesh Bansal OTEL_SERVICE_NAME="rms-service-stg" -> I'm using this OTEL_RESOURCE_ATTRIBUTES="service.name=rms-service-stg" -> Does this mean I need to use this additionally? Even without OTEL_RESOURCE_ATTRIBUTES, the service.name attribute is confirmed when looking at the collected trace.
n
OTEL_SERVICE_NAME should take the precedence over service.name in OTEL_RESOURCES_ATTRIBUTES
Let me check why it's not considering the OTEL_SERVICE_NAME, meanwhile if you can try with setting up the service name in OTEL_RESOURCE_ATTRIBUTES and see if you can filter the services
u
Since OTEL_RESOURCE_ATTRIBUTES="service.name=~" is not being used, OTEL_SERVICE_NAME is naturally given precedence in my current configuration, and even though I added OTEL_RESOURCE_ATTRIBUTES="service.name=~" and generated a trace, I couldn't filter it in the Service Map. Should I consider this a bug?
n
Thanks for letting us know, let me check with team once, and if it turns out to be bug we can report it.
u
Yes, please check. For reference, I am using Signoz version 0.82.1.
n
Hey @박형규 , We currently only support resource_deployment_environment, resource_k8s_cluster_name, resource_k8s_cluster_namespace as resource attributes for filtering in the service map
u
Do you have any plans to support service_name?
n
Hey @박형규 yeah we do, it's part of service map revamp. I'll let you know when we start working on it
u
Very good