Skip to content

Conversation

@svenvg93
Copy link
Contributor

@svenvg93 svenvg93 commented Nov 25, 2025

📃 Description

This PR adds a Prometheus metrics endpoint to expose speedtest results for monitoring and alerting. The endpoint exposes the last speedtest result in Prometheus exposition format with comprehensive metrics and labels.

Example metric;
speedtest_tracker_download_bytes{server_id="52365",server_name="Odido",server_country="Netherlands",server_location="Amsterdam",isp="Odido Netherlands",scheduled="false",healthy="false",status="completed",app_name="Speedtest Tracker"} 115513823

closes #53

📖 Documentation

alexjustesen/speedtest-tracker-docs#93

🪵 Changelog

➕ Added

  • Prometheus metrics endpoint at /prometheus
  • Metrics prefixed with speedtest_tracker_ for namespace isolation
  • Admin UI section for Prometheus configuration with reactive form fields
  • Translation strings for Prometheus settings
  • Added Prometheus settings migration

✏️ Changed

  • Updated ProcessSpeedtestDataIntegrations listener to cache latest result ID for Prometheus
  • Extended DataIntegrationSettings with 4 new properties for Prometheus configuration

📷 Screenshots

If this PR has any UI/UX changes it's strongly suggested you add screenshots here.

@svenvg93 svenvg93 marked this pull request as ready for review November 26, 2025 18:33
@alexjustesen alexjustesen added the feature New feature or request label Dec 1, 2025
@svenvg93 svenvg93 requested a review from alexjustesen December 2, 2025 21:30
@alexjustesen alexjustesen merged commit d27000f into alexjustesen:main Dec 2, 2025
9 checks passed
@svenvg93 svenvg93 deleted the feat/prometheus branch December 2, 2025 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Prometheus Integration

2 participants