turbo icon indicating copy to clipboard operation
turbo copied to clipboard

Integrate Opentelemetry

Open weyert opened this issue 2 years ago • 2 comments

Describe the feature you'd like to request

I would like to see to Traces of the executed build similar to profiling json that can be exported instead of it going to a JSON file it will create Trace spans which can be exported via the OTLP protocol of Opentelemetry to any supported vendor platform (e.g. otel-collector etc)

Describe the solution you'd like

I would like to be able to use the CNCF standard for tracing the Opentelemetry standard (www.opentelemetry.io). It's has great support by the popular tracing vendors, such as New Relic, Datadog, or Dynatrace, Splunk.

Describe alternatives you've considered

Converter of profiler.json to Opentelemetry traces via an external tool

weyert avatar Jun 24 '22 10:06 weyert

@weyert run_state.go includes support for outputting this information in a format for the chrome profiler. If we want more profiling output options, maybe that would be the integration point?

gsoltis avatar Jun 28 '22 20:06 gsoltis

Cool, I will have a look 🤓

weyert avatar Jun 29 '22 23:06 weyert

@arlyon can you take this one? I think your work is applicable here, but I'm not 100% sure if it matches what @weyert is looking for

mehulkar avatar Oct 20 '23 17:10 mehulkar

The good news is I have been working on this for use with the new rust codepath. I will update this issue when it is available (under the experimental-rust-codepath flag for now)

arlyon avatar Oct 30 '23 16:10 arlyon