For Change Intelligence to correlate metric data with trace data, it needs to know the service that emitted each metric. By default, Change Intelligence looks for the attribute (tag/label) service.name
in your metrics. If you use a different (or additional) attributes, you need to register those with Lightstep Observability. For example, if some of your metrics use the kube_app
attribute to record the service’s name, you need to add that attribute.
If your service is instrumented using OpenTracing, you should set the attribute to lightstep.component_name
Service name attributes are project-specific. You need to register the attributes with all projects that should use them.
To register a service name attribute:
-
Click Settings to open your project’s settings page.
-
On the Project Settings page, scroll down to Mapping metrics to services for Change Intelligence.
-
Click in the field and add/delete the attribute(s).