Skip to content

Overhaul stats: Remove internal non-labeled metrics - #1584

Merged
josecelano merged 7 commits into
torrust:developfrom
josecelano:1581-overhaul-stats-remove-internal-non-labeled-metrics
Jun 16, 2025
Merged

josecelano merged 7 commits into
torrust:developfrom
josecelano:1581-overhaul-stats-remove-internal-non-labeled-metrics

Conversation

@josecelano

@josecelano josecelano commented Jun 16, 2025 •

Copy link
Copy Markdown
Member

Remove internal non-labeled metrics.

Subtasks

  • In http-tracker-core package.
  • In udp-tracker-core package.
  • In udp-tracker-server package.

@josecelano
josecelano requested a review from da2ce7 June 16, 2025 15:11
@josecelano josecelano self-assigned this Jun 16, 2025
@josecelano josecelano added the Code Cleanup / Refactoring Tidying and Making Neat label Jun 16, 2025
@josecelano josecelano linked an issue Jun 16, 2025 that may be closed by this pull request
…ore pkg

We only used labeled metric internally, althougth the APi exposes global
aggregate metrics (without labels. They are calculated from the labeled
metrics.
The IP faimly related to the counter (inet or inet6) dependos on the
server binding IP.

If the server is listening on a inet6 IP, then inet6 lreated counters
should be increased.
@codecov

codecov Bot commented Jun 16, 2025 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.71%. Comparing base (86e6406) to head (a552482).
Report is 8 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1584      +/-   ##
===========================================
- Coverage    84.79%   84.71%   -0.09%     
===========================================
  Files          289      288       -1     
  Lines        21709    21498     -211     
  Branches     21709    21498     -211     
===========================================
- Hits         18408    18211     -197     
+ Misses        2981     2966      -15     
- Partials       320      321       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@josecelano
josecelano marked this pull request as ready for review June 16, 2025 16:29
@josecelano
josecelano force-pushed the 1581-overhaul-stats-remove-internal-non-labeled-metrics branch from 31b908c to a552482 Compare June 16, 2025 16:33
@josecelano

Copy link
Copy Markdown
Member Author

ACK a552482

@da2ce7

da2ce7 commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Post-merge note: this pull request requested a review from this account and was closed without one at its final head. A post-merge review will not be done: Only 218 of the 478 executable lines it added remain on the default branch, at their own paths or in the files those paths were later renamed to; the rest has since been rewritten or removed.

This branch was previously deployed

1 inactive deployment
coverage — a5524825 Deployed Jun 16, 2025 by josecelano
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Code Cleanup / Refactoring Tidying and Making Neat

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Overhaul stats: Remove internal non-labeled metrics

2 participants