Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chirpstack Metrics (lorawan) #16

Merged
merged 14 commits into from
Feb 26, 2025
Merged

Chirpstack Metrics (lorawan) #16

merged 14 commits into from
Feb 26, 2025

Conversation

FranciscoLozCoding
Copy link
Contributor

This pull request adds support for ChirpStack/lorawan metrics.

Improvements to metric collection:

  • Renamed the function get_node_exporter_metrics to get_prometheus_metrics and added a docstring to clarify its purpose.

Addition of ChirpStack metrics:

  • Added new ChirpStack Gateway Bridge and Server metrics to the metrics mapping dictionary.
  • Introduced add_chirpstack_server_metrics and add_chirpstack_gateway_bridge_metrics functions to collect and publish Prometheus metrics from the ChirpStack server and gateway bridge, respectively.
  • Added new command-line arguments to specify the ChirpStack server and gateway bridge metrics URLs.
  • Updated the main_runner function to call the new ChirpStack metrics collection functions and handle exceptions.

@FranciscoLozCoding FranciscoLozCoding merged commit 7aa0b43 into main Feb 26, 2025
1 check passed
@FranciscoLozCoding FranciscoLozCoding deleted the chirpstack_metrics branch February 26, 2025 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant