Giter Site home page Giter Site logo

Comments (6)

antonpirker avatar antonpirker commented on July 26, 2024

Example traces for both scenarios:

  1. Sentry:
    https://sentry-sdks.sentry.io/performance/trace/060236bb8c7c4964b5dc902457ed6878/?node=txn-915f3493bb3e4f66864523ca78ce21b6&project=5461230&query=http.method%3AGET&referrer=performance-transaction-summary&showTransactions=recent&source=performance_transaction_summary&statsPeriod=1h&timestamp=1719405647&transaction=%2Fapi%2Fshows%2F%7Bpk%7D%2F&unselectedSeries=p100%28%29&unselectedSeries=avg%28%29

  2. Sentry using Otel:
    https://sentry-sdks.sentry.io/performance/trace/13998512b73fbf891922ecfdda42d544/?node=txn-b9a55d514601420aa11b1e9ddcb44c7e&project=5461230&query=http.method%3AGET&referrer=performance-transaction-summary&showTransactions=recent&source=performance_transaction_summary&statsPeriod=1h&timestamp=1719499933&transaction=GET+api%2Fshows%2F%28%3FP%3Cpk%3E%5B%5E%2F.%5D%2B%29%2F%24&unselectedSeries=p100%28%29&unselectedSeries=avg%28%29

from sentry-python.

antonpirker avatar antonpirker commented on July 26, 2024

Scenario 1) Sentry

Image

Trace in Sentry.io

from sentry-python.

antonpirker avatar antonpirker commented on July 26, 2024

Scenario 2) Sentry using Opentelementry

Image

Trace in Sentry.io

from sentry-python.

antonpirker avatar antonpirker commented on July 26, 2024

Things that I noticed:

  • Otel does not create Spans for middleware, view rendering, or Django signals (that is the Missing Instrumentation block in Otel trace)
  • One can see trigger_notifications (the Celery task) in otel spans (which is cool), but there is not much in it.

from sentry-python.

antonpirker avatar antonpirker commented on July 26, 2024

One thing of note: Database spans in OTel include a special structured comment that includes tracing and other information:
Image

from sentry-python.

antonpirker avatar antonpirker commented on July 26, 2024

OTel database spans also include information about the HTTP server they where running in:
Image

from sentry-python.

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.