Giter VIP home page Giter VIP logo

Comments (4)

gbbr avatar gbbr commented on June 12, 2024

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.

gbbr avatar gbbr commented on June 12, 2024

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.

aesy avatar aesy commented on June 12, 2024

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.

gbbr avatar gbbr commented on June 12, 2024

from datadog-trace-agent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.