could anyone please explain how to setup the prometheus metric system? So far I’ve added
[metrics.prometheus] # Enable Prometheus metrics endpoint. endpoint_enabled=true # The ip:port to bind the Prometheus metrics server to for serving the # metrics endpoint. bind="126.96.36.199:8070"
to the lora-app-server.toml and
scrape_configs: - job_name: 'loraserver' # Override the global default and scrape targets from this job every 5 seconds. scrape_interval: 5s static_configs: - targets: ['127.0.0.1:8070']
for Prometheus. Unfortunately no metrics are collected and the target is flagged “down” in Prometheus.