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

exporter: clean up history scraping #17

Merged
merged 1 commit into from
Dec 15, 2024
Merged

exporter: clean up history scraping #17

merged 1 commit into from
Dec 15, 2024

Conversation

joshuasing
Copy link
Owner

@joshuasing joshuasing commented Dec 15, 2024

Clean up code used to create histograms, including moving static function-level variables to package level variables and adding a few additional buckets to the histograms for additional data accuracy.

This also renames several metrics to improve clarity by adding the value type to the metric name:

  • starlink_dish_power_input -> starlink_dish_power_input_watts
  • starlink_dish_power_input_histogram -> starlink_dish_power_input_watts_histogram
  • starlink_dish_downlink_throughput_histogram -> starlink_dish_downlink_throughput_bps_histogram
  • starlink_dish_uplink_throughput_histogram -> starlink_dish_uplink_throughput_bps_histogram

This pull request contains a breaking change.

@joshuasing joshuasing merged commit 8ea0995 into main Dec 15, 2024
4 checks passed
@joshuasing joshuasing deleted the joshua/cleanup branch December 15, 2024 06:50
@joshuasing joshuasing added status: breaking This contains a breaking change type: refactor This refactors and existing feature labels Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: breaking This contains a breaking change type: refactor This refactors and existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant