The Jaeger and Prometheus integration requires World CLI v1.3.1 or higher.
Enabling Monitoring
To enable this feature, run the following command:http://localhost:16686
:

http://localhost:9090
:

Configuration
You can configure some of the behavior of Jaeger and Prometheus by editing yourworld.toml
file. Currently, only these options are supported:
Example configuration:
NAKAMA_TRACE_ENABLED
Enable tracing with Jaeger. Defaults totrue
.
NAKAMA_TRACE_SAMPLE_RATE
The trace sample rate. Defaults to0.6
. Only float values between 0
and 1
are accepted.
NAKAMA_METRICS_ENABLED
Enable metrics collection with Prometheus. Defaults totrue
.
NAKAMA_METRICS_INTERVAL
How frequently should the metrics be updated, in seconds. Defaults to every30
seconds.