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 tag service.name in your metrics. If you use a different (or additional) attributes, you need to register those with Lightstep. For example, if some of your metrics use the kube_app tag to record the service’s name, you need to add that tag.

If your service is instrumented using OpenTracing, you should set the tag 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:

  1. Click Settings to open your project’s settings page.

  2. On the Project Settings page, scroll down to Mapping metrics to services for Change Intelligence. Register Service name attribute

  3. Click in the field and add/delete the attribute(s).