MyGit

davidB/tracing-opentelemetry-instrumentation-sdk

Fork: 43 Star: 153 (更新于 2024-12-08 20:52:06)

license: CC0-1.0

Language: Rust .

Middlewares and tools to integrate axum + tracing + opentelemetry

最后发布版本: tonic-tracing-opentelemetry-v0.21.1 ( 2024-09-23 18:48:36)

GitHub网址

tracing-opentelemetry-instrumentation-sdk

A set of rust crates to help working with tracing + opentelemetry

  • init-tracing-opentelemetry: A set of helpers to initialize (and more) tracing + opentelemetry (compose your own or use opinionated preset)
  • axum-tracing-opentelemetry: Middlewares and tools to integrate axum + tracing + opentelemetry.
  • fake-opentelemetry-collector: A Fake (basic) opentelemetry collector, useful to test what is collected opentelemetry

For local dev / demo

To collect and visualize trace on local, one of the simplest solution:

# launch Jaeger with OpenTelemetry, Jaeger, Zipking,... mode.
# see https://www.jaegertracing.io/docs/1.49/getting-started/#all-in-one

# nerdctl or docker or any container runner
nerdctl run --rm --name jaeger \
  -e COLLECTOR_ZIPKIN_HOST_PORT:9411 \
  -e COLLECTOR_OTLP_ENABLED:true \
  -p 6831:6831/udp \
  -p 6832:6832/udp \
  -p 5778:5778 \
  -p 16686:16686 \
  -p 4317:4317 \
  -p 4318:4318 \
  -p 14250:14250 \
  -p 14268:14268 \
  -p 14269:14269 \
  -p 9411:9411 \
  jaegertracing/all-in-one:1.49

open http://localhost:16686

Then :

  • setup env variable (or not), (eg see .envrc)
  • launch your server
  • send the request
  • copy trace_id from log (or response header)
  • paste into Jaeger web UI

To release

Use the github workflow release-plz.

最近版本更新:(数据更新于 2024-10-03 02:02:03)

2024-09-23 18:48:36 tonic-tracing-opentelemetry-v0.21.1

2024-09-23 18:48:19 init-tracing-opentelemetry-v0.22.0

2024-09-23 18:48:04 fake-opentelemetry-collector-v0.21.1

2024-09-23 18:47:29 axum-tracing-opentelemetry-v0.21.1

2024-09-22 22:38:28 init-tracing-opentelemetry-v0.21.0

2024-09-22 22:38:14 fake-opentelemetry-collector-v0.21.0

2024-09-22 22:35:09 tonic-tracing-opentelemetry-v0.21.0

2024-09-22 22:34:52 axum-tracing-opentelemetry-v0.21.0

2024-09-22 22:34:34 tracing-opentelemetry-instrumentation-sdk-v0.21.0

2024-09-01 00:50:24 tonic-tracing-opentelemetry-v0.20.0

davidB/tracing-opentelemetry-instrumentation-sdk同语言 Rust最近更新仓库

2024-12-22 08:48:41 lapce/lapce

2024-12-19 20:41:09 tw93/Pake

2024-12-19 19:31:32 dashpay/platform

2024-12-18 10:31:25 DioxusLabs/dioxus

2024-12-17 17:18:34 lanyeeee/jmcomic-downloader

2024-12-16 23:19:51 meilisearch/meilisearch