MyGit

davidB/tracing-opentelemetry-instrumentation-sdk

Fork: 44 Star: 150 (更新于 2024-11-15 21:15:14)

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-11-20 07:29:29 lanyeeee/jmcomic-downloader

2024-11-19 23:39:15 gleam-lang/gleam

2024-11-19 08:50:55 lapce/lapce

2024-11-11 22:51:00 tauri-apps/tauri

2024-11-11 07:55:30 dani-garcia/vaultwarden

2024-11-09 16:42:37 rustdesk/rustdesk