Create and assign the `service.name` attribute
In this milestone, you create the service.name attribute that identifies which service a collector monitors. This attribute enables service-based configuration and troubleshooting workflows, allowing you to manage telemetry collection for specific services across your infrastructure.
Repeat Milestone 3 to select collectors that monitor a specific service.
Click Edit remote attributes, then in the dialog:
- Click Add remote attributes to expand the section.
- In the Key field, type
service.nameand press Enter. - In the Value field, type a service name, for example,
payment-api, and press Enter. - Click Apply changes.
Repeat this milestone until all your collectors are categorized by service.
After you apply the final changes, return to the Inventory tab to see the service.name attribute with assigned values in the attributes list of the selected collectors.
In the next milestone, you learn how to add the env attribute to specify where collectors are running.