The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/devenv/docker/blocks/self-instrumentation
Todd Treece d2467bb088
Chore: Fix dev profiling (#90866)
10 months ago
..
agent.flow Chore: Fix dev profiling (#90866) 10 months ago
docker-compose.yaml Tracing: Enable traces to profiles (#88896) 12 months ago
prometheus.yaml Datasources: Enable native histograms for datasource response size metric (#87962) 1 year ago
promtail.yaml
readme.md
tempo.yaml chore: remove repetitive words (#86412) 1 year ago

readme.md

Self Instrumentation

To run this source, in the Grafana repo root:

make devenv sources=self-instrumentation

This will setup Prometheus, Loki, Tempo, and Pyroscope.

You then need to run Grafana with those added config:

[log.file]
format = json

[log.frontend]
enabled = true
custom_endpoint=http://localhost:12347/collect

[tracing.opentelemetry.jaeger]
address = http://localhost:14268/api/traces

To collect profiles with pyroscope, you need to run Grafana with the following env vars:

export GF_DIAGNOSTICS_PROFILING_ENABLED=true
export GF_DIAGNOSTICS_PROFILING_ADDR=0.0.0.0
make run