Skip to main content
Sumo Logic

Working with spans attributes

You can add, delete, hash, or modify span attributes (metadata tags) on Collectors or directly in your application code. This helps you enhance diagnostic details included in your data, remove redundant information to cut the cost, or mask sensitive information before they leave your site.

Working with attributes on OpenTelemetry collector

Regardless if you are using the Sumo Logic distribution of OpenTelemetry collector, an original installation, or the OpenTelemetry collector as part of Sumo Logic Kubernetes collection, you can use the attributes processor to add, modify, delete, or hash the values of attributes.

Refer to the OpenTelemetry collector attributes processor documentation for examples.

Insert custom tags with instrumentation APIs

You can insert dynamically-created custom tags in your code by calling the appropriate functions of OpenTelemetry auto-instrumentation.

See how to pass custom tags for Java auto-instrumentation.