Skip to content

Refactor to pass around metrics with their labels#6445

Draft
apata wants to merge 1 commit into
masterfrom
query/explicit-metrics
Draft

Refactor to pass around metrics with their labels#6445
apata wants to merge 1 commit into
masterfrom
query/explicit-metrics

Conversation

@apata

@apata apata commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Changes

Refactors dashboard to pass around metrics around the app not by key only, but by their full name.

Solves the nuisance of picking the right metrics for a particular context and then needing to generate the labels for them after the fact.

We know when we prepare the query for the exit pages report that in this context, visitors means unique exits.

Tests

  • Automated tests have been added
  • This PR does not require tests

Changelog

  • Entry has been added to changelog
  • This PR does not make a user-facing change

Documentation

  • Docs have been updated
  • This change does not need a documentation update

Dark mode

  • The UI has been tested both in dark and light mode
  • This PR does not change the UI

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