Skip to content

Overhaul stats: Remove internal non-labeled metrics #1581

Closed

Description

@josecelano

Depends on: torrust/torrust-demo#63

After implementing #1446 we don't need anymore the global metrics. All metrics internally are labeled metrics.

The API builds the global metrics for the stats endpoint from the labeled metrics.

Before implementing this issue, confirm that the stats endpoint is correct. The verification process is described in this issue.

The stats endpoint: http://localhost:1212/api/v1/stats?token=MyAccessToken&format=prometheus

Activity

  1. self-assigned this
    on Jun 13, 2025
  2. added
    Code Cleanup / Refactoring
    - Developer -
    on Jun 13, 2025
  3. added theissue type on Jun 13, 2025
  4. added a commit that references this issue on Jun 16, 2025
  5. added 7 commits that reference this issue on Jun 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

- Developer -Code Cleanup / Refactoring

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions