As part of the Instrumentation Quality score, Lightstep automatically checks for specific attributes because they help Lightstep do its job better (for example, the host.name
attribute lets you know where the service lives and the span.kind
attribute determines service boundaries). Now, for the Custom span and the new Environment attributes scores, you can control which attributes Lightstep should look for when scoring your instrumentation.
For example, if you want every span to have a customer
and k8s.cluster.name
attribute reporting to Lightstep, you can register those, and Lightstep takes their absence or presence into account when determining the score. This is a great way to ensure all services are sending data that’s important to your business.
When you view the details of the score for the Custom span or Environment attributes, Lightstep shows you the attributes currently registered. To edit the attributes, click the project settings link.