ThingsIXFoundation / packet-handling

This repository contains the code that handles LoRa packets for the ThingsIX network
Apache License 2.0
2 stars 5 forks source link

Prometheus data fails #68

Closed pe1mew closed 1 year ago

pe1mew commented 1 year ago

The following Prometheus data is empty with version 1.1.0-beta-1:

timcooijmans commented 1 year ago

Those are not metrics that are exported by the forwarder (anymore) after the refactoring.

timcooijmans commented 1 year ago
# HELP thingsix_forwarder_gateways_online 
# TYPE thingsix_forwarder_gateways_online gauge
# HELP thingsix_forwarder_router_online 
# TYPE thingsix_forwarder_router_online gauge
# HELP thingsix_forwarder_rx_packets packets received, grouped by gateway local id and gateway network id
# TYPE thingsix_forwarder_rx_packets counter
# HELP thingsix_forwarder_rx_packets_mapper packets received, grouped by gateway local id, gateway network id and mapper packet type
# TYPE thingsix_forwarder_rx_packets_mapper counter
# HELP thingsix_forwarder_rx_packets_per_freq packets received, grouped by gateway local id, gateway network id and frequency
# TYPE thingsix_forwarder_rx_packets_per_freq counter
# HELP thingsix_forwarder_rx_packets_per_modulation packets received, grouped by gateway local id, gateway network id and frequency
# TYPE thingsix_forwarder_rx_packets_per_modulation counter
# HELP thingsix_forwarder_rx_packets_per_nwkid packets received, grouped by gateway local id, gateway network id, nwkid
# TYPE thingsix_forwarder_rx_packets_per_nwkid counter
# HELP thingsix_forwarder_rx_packets_per_router packets received, grouped by gateway local id, gateway network id and router
# TYPE thingsix_forwarder_rx_packets_per_router counter
# HELP thingsix_forwarder_tx_packets packets transmitted, grouped by gateway local id and gateway network id
# TYPE thingsix_forwarder_tx_packets counter
# HELP thingsix_forwarder_tx_packets_per_freq packets transmitted, grouped by gateway local id, gateway network id and frequency
# TYPE thingsix_forwarder_tx_packets_per_freq counter
# HELP thingsix_forwarder_tx_packets_per_modulation packets transmitted, grouped by gateway local id, gateway network id and frequency
# TYPE thingsix_forwarder_tx_packets_per_modulation counter

These are the new metrics