For Change Intelligence to correlate metric data with trace data, it needs to know the service and operation that emitted each metric. By default, to determine the service, Change Intelligence looks for the attribute (tag/label) service.name and the attribute span.name to determine the operation in your metrics. If you use 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.

Service and operation name attributes are project-specific. You need to register the attributes with all projects that should use them.

This image shows how to register a service name attribute. The steps below describe the procedure in more detail.

Register Service name attribute

  1. In Lightstep, click Project settings.

  2. In Project settings, click Mapping metrics to services.

  3. Under Service and Operation, click in the field to add and delete attributes.