28 May 2025
03:56 PM
- last edited on
30 May 2025
09:04 AM
by
MaciejNeumann
Hi everyone,
We are currently ingesting OpenTelemetry (OTEL) data through the OTEL Collector into Dynatrace, and we're using spans to create unified services.
Our goal is to understand if it's possible to split a unified service into multiple distinct services based on certain attributes present in the OTEL spans — for example, splitting services based on a specific attribute like 'scope.name', 'campaign.id', or other custom tags.
In short:
Can we break down a single service into multiple logical services based on span-level attributes?
This would help us better reflect the different functional scopes within a shared service architecture.
Has anyone tried this, or is there any recommended approach or workaround for achieving this in Dynatrace?
28 May 2025 10:37 PM
After reviewing the relevant documentation for Unified Services, it seems that Dynatrace will by design use the 'service.name' attribute as it appears in the arriving OTEL spans. I am not seeing any indication that this is currently customizable in any way. Perhaps worth submitting as a product idea.
29 May 2025 09:19 PM
Yes, it's determined by the `service.name` attribute as @marco_irmer states. You can use OpenTelemetry collector to process the data and modify the attribute (I actually never tried that, but this should work).
03 Jun 2025 09:47 AM
We're getting closer to exposing the Unified Services settings. Hopefully a few weeks from now I'll publish a feedback channel with instructions, screen shots, and an overview of what's to come.
The first thing I will do is introduce some new Terminology.
Service Detection v2
In a month or two:
Later this year:
Much more in the feedback channel later this month.
😊