Coder Social home page Coder Social logo

Implementation of span.log about dd-trace-js HOT 3 CLOSED

datadog avatar datadog commented on May 20, 2024
Implementation of span.log

from dd-trace-js.

Comments (3)

rochdev avatar rochdev commented on May 20, 2024
  1. Right now logs should be handled by the application itself using a custom logger (i.e. bunyan or winston). There is no specific recommendation since right now span.log is not supported.
  2. There are no plans currently to support this, but we're definitely open to it if there is added value.

@colintoh What would be the expected behavior for your use case when using span.log?

from dd-trace-js.

colintoh avatar colintoh commented on May 20, 2024

@rochdev thanks for getting back quickly.

Our use case

  • We want to be able to get the end-to-end debugging experience in Datadog dashboard
  • span.log send logs (with span context) to the datadog dashboard (https://docs.datadoghq.com/logs/)
  • Datadog APM is able to link the span with the related logs. Hence, when we want to dive deeper into the specific trace in APM, we are able to view the related logs for it

from dd-trace-js.

andrewsouthard1 avatar andrewsouthard1 commented on May 20, 2024

Hey @colintoh - we've since added the ability to both automatically/manually inject trace ids into logs - which connect logs/traces in Datadog: https://docs.datadoghq.com/tracing/connect_logs_and_traces/nodejs Let us know if you have any questions or believe we have not covered your use case.

from dd-trace-js.

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.