opentelemetry
- OTLP endpoints via HTTP
4318
and gRPC4317
Spin up infra
cd .infra
docker compose up -d
Examples
- See
opentelemetry-js
repo for more JS/TS examples
Notes
- You can use the
OTEL_EXPORTER_OTLP_ENDPOINT="http://localhost:4317"
env var to configure the collector endpoint (see here for details).
Spanmetrics on Prometheus
traces_spanmetrics_calls_total
traces_spanmetrics_latency_bucket
traces_spanmetrics_latency_count
traces_spanmetrics_latency_sum
.infra
folder to a local project
Snippet to clone mkdir .infra
cd .infra
curl https://codeload.github.com/schickling/opentelemetry/tar.gz/main | \
tar -xz --strip=2 opentelemetry-main/.infra
TODO
- Go from metrics to traces
- Go from traces to metrics
- Add grafana dashboard to project for some Otel metrics (see docs)
- Add effect example