Skip to content

Conversation

edurodriguesdias
Copy link

@edurodriguesdias edurodriguesdias commented Jan 17, 2024

Description

Currently, we send the name of the trace to OTEL based on our request path, and Dynatrace considers paths with the same structure as identical.

image

For instance:

GET /bin/
PUT /bin/
Although the names are the same, the resources are different. Currently, Dynatrace groups all requests between these two paths under the same metric because the paths are identical.

Proposal Solution

To address this issue, we just concatenate the HTTP verb at the beginning of every path. This adjustment will prevent Dynatrace, or any other observability tool utilizing path as the trace name, from grouping our metrics under the same trace.

With this solution, our endpoint metrics will be structured as follows:

image
image

fix: changing trace span name
@leocavalcante leocavalcante merged commit 3d578e9 into opencodeco:main Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
8 participants