This is a build of Rasa with Jaeger / OpenTracing integration and Prometheus Sanic metrics. You can find more information on OpenTracing and Jaeger here. You'll find a discussion of tracing within Rasa on issue #7196 and Rasa SDK issue #382.
The Prometheus /metrics endpoint provides the sanic-prometheus metics. The endpoint will be presented on the Rasa port, 5005 by default which can be overridden with the -p option.
To enable the tracing and prometheus integrations, start a jaeger server and add the following block to your endpoints.yml:
tracing:
service_name: rasa
agent_host: jaeger
agent_port: 6831
prometheus:
enable: True
You can start a Jaeger instance using this docker-compose.yml. Browse to http://localhost:16686 to access Jaeger and refresh the page after the first Rasa traces have been written to Jaeger.
version: '3'
services:
jaeger:
image: jaegertracing/all-in-one:latest
container_name: jaeger
ports:
- 5775:5775/udp
- 6831:6831/udp
- 6832:6832/udp
- 5778:5778
- 16686:16686
- 14268:14268
- 9411:9411
environment:
- COLLECTOR_ZIPKIN_HTTP_PORT=9411
Content type
Image
Digest
Size
693.2 MB
Last updated
about 5 years ago
docker pull stephens/rasa-otel