After installing Chirpstack following the docs and install Prometheus in the same machine, I was able to configure metrics for the Chirpstack Gateway Bridge and show them in a Grafana dashbord.
But, how can I get metrics from the network server and/or application server? For exampe to get event up count…
Hi!
First, you have to bind a port for prometheus metrics in the toml file of the NS:
# Monitoring related configuration.
[monitoring]
# interface:port to bind the monitoring endpoint to (optional).
#
# /health - Returns 200 in case the healthchecks have passed.
# /metrics - Returns metrics which can be scraped by Prometheus.
#
# If not set, this endpoint will be disabled.
bind="XXXX"
Then restart Chirsptack, and you can access the metrics with your-ip:XXXX/metrics