Giter Club home page Giter Club logo

Comments (5)

ccbrown avatar ccbrown commented on July 30, 2024 4

There's now a LogFields implementation, but... it seems to do something totally wrong?

https://github.com/DataDog/dd-trace-go/blob/v1.27.1/ddtrace/opentracer/span.go#L43-L64

It just sets some tags for a few of the common fields and assumes that logged messages are always error messages. 🤔

from dd-trace-go.

gbbr avatar gbbr commented on July 30, 2024 1

Does this mean that should I become a user of APM and logging, I wouldn't have a nice easy link between my traces and my logs?

No, that is still possible today just like in the page you've linked to in your comment. OpenTracing logs are something different: https://github.com/opentracing/specification/blob/master/semantic_conventions.md#log-fields-table

from dd-trace-go.

gbbr avatar gbbr commented on July 30, 2024

We don't have a plan to do this at the moment, but we'll provide a clearer roadmap once we do. I will leave this open here in the meanwhile.

from dd-trace-go.

franck-schmidlin avatar franck-schmidlin commented on July 30, 2024

What is the status of this issue?
Does this mean that should I become a user of APM and logging, I wouldn't have a nice easy link between my traces and my logs?

Actually, I am having trouble differentiating between the functionality exposed by the datadog generic client and the OpenTracing implementation. According to https://docs.datadoghq.com/tracing/advanced_usage/?tab=java#logging, logs can be attached to traces, but in the context of this support issue I am wondering if this would work with OpentTracing?

from dd-trace-go.

knusbaum avatar knusbaum commented on July 30, 2024

Our opentracer is in "Maintenance" mode and limited support is offered. Please consider using ddtrace/tracer directly, which can be used with an OpenTelemetry agent with the datadog collector.

For additional details, please see our OpenTelemetry documentation: https://docs.datadoghq.com/opentelemetry/ and our Support Policy: https://github.com/DataDog/dd-trace-go#support-policy

Please open a new issue if there is something else we can help with.

from dd-trace-go.

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.