github.com/Jeffail/benthos/v3@v3.65.0/resources/docker/profiling/README.md (about) 1 Profiling 2 ========= 3 4 This docker compose sets a Benthos instance up with a custom config, [Prometheus][prometheus], [Grafana][grafana] and [Jaeger][jaeger] in order to observe its performance under different configurations. 5 6 # Set up 7 8 - Run Grafana and Prometheus with `docker-compose up`. 9 - Edit `config.yaml` and add whatever components you want to profile with. 10 - Run Benthos with `benthos -c ./config.yaml`. 11 - Open up Grafana at [http://localhost:3000/d/PHrVlmniz/benthos-dash](http://localhost:3000/d/PHrVlmniz/benthos-dash) 12 - Go to [http://localhost:16686](http://localhost:16686) in order to observe opentracing events with Jaeger. 13 - Use `go tool pprof http://localhost:4195/debug/pprof/profile` and similar endpoints to get profiling data. 14 15 [prometheus]: https://prometheus.io/ 16 [grafana]: https://grafana.com/ 17 [jaeger]: https://www.jaegertracing.io/