Comments (4)
Hi @aesy!
This is a very valid question and has been a long source of confusion in our APM product. While it is true that most tracing systems out there use a path for operation name, for Datadog it is different. In Datadog, the path of the operation is what we call "resource" and the operation name is similar (but not the same) to what is called "component". Some examples of good operation names: "http.request", "sql.query", etc.
While this may seem odd at first, it allows our product to have a unique set of capabilities provided through features such as Trace Search and percentile statistics. To most effectively benefit of these features it is recommended that the root span of a trace maintains the same name throughout requests.
This document illustrates a bit what best practices are but doesn't entirely cover the topic: https://docs.datadoghq.com/tracing/visualization/.
I hope this helps a bit. Happy to provide more insights if needed. Our (awesome) support team is also glad to help teach you more about these concepts and what best practices are.
from datadog-trace-agent.
Here is another article that could help:
https://help.datadoghq.com/hc/en-us/articles/115000702546-What-is-the-Difference-Between-Type-Service-Resource-and-Name-
from datadog-trace-agent.
Hi @gbbr,
Thanks a lot for the reply! I see I've misunderstood how datadog treats operation names. This seems to have caused other issues for me before without me realizing it. I went ahead and mapped the operation names of the root request span to 'http.request' and everything now work as expected.
I'm closing this as this no longer is an issue.
from datadog-trace-agent.
from datadog-trace-agent.
Related Issues (20)
- Concurrent map access crash HOT 2
- Slack link in guidelines isn't available to the public HOT 2
- obfuscate: "query not parsed" for a legitimate looking MySQL query HOT 3
- Remove 'models' package.
- Filter `LIMIT` ranges in sql query resources HOT 1
- Error when run in mac osx HOT 13
- Add yaml config for log location HOT 1
- Missing information in trace agent build HOT 4
- Issue with building trace agent for mac HOT 3
- No pre-compiled binaries are available for 6.x release line HOT 1
- proposal: contrib/google.golang.org/grpc: add streaming grpc interceptor HOT 2
- cmd/trace-agent: resource replace rules get applied to "sql.query" tag too HOT 15
- obfuscate: MSSQL-style bracketed parameters to AS result in odd behaviour
- cannot decode v0.3 traces payload: read limit reached HOT 5
- proposal: allow setting APM env. via environment variable HOT 6
- [DOCS] Possible document drift on integration instructions HOT 4
- trace-agent is not using the configured log_level HOT 6
- proposal: have DD_MAX_MEMORY env var for Docker based HOT 1
- Question asked in the #apm room HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from datadog-trace-agent.