Skip to content

Added metric mapping for Traefik v3 metric change#23025

Merged
steveny91 merged 3 commits intomasterfrom
sy/update-traefik
Mar 25, 2026
Merged

Added metric mapping for Traefik v3 metric change#23025
steveny91 merged 3 commits intomasterfrom
sy/update-traefik

Conversation

@steveny91
Copy link
Copy Markdown
Contributor

What does this PR do?

Update a metric that was changed in Traefik v3

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 23, 2026

Codecov Report

❌ Patch coverage is 93.33333% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 89.03%. Comparing base (ed4f826) to head (b362027).
⚠️ Report is 14 commits behind head on master.

Additional details and impacted files
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 86bd7786d6

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

'traefik_tls_certs_not_after': 'tls.certs.not_after',
# https://doc.traefik.io/traefik/v3.3/observability/metrics/overview/
# In Traefik v3, open_connections is a single metric with entrypoint/router/service labels
'traefik_open_connections': 'open_connections',
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep Traefik v3 open-connection dashboards working

On a Traefik v3 deployment this maps the renamed source metric to a brand-new traefik_mesh.open_connections series, but the shipped overview dashboard still queries only traefik_mesh.entrypoint.open_connections and traefik_mesh.router.open_connections (traefik_mesh/assets/dashboards/traefik_mesh_overview.json:430 and :797). That leaves the bundled open-connections widgets blank for every v3 user even though this change advertises support for the renamed metric. Either continue emitting the legacy metric names based on the label that is present, or update the dashboard/assets in the same change.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll address this in a seperate PR that just handles the dashboard

@steveny91 steveny91 changed the title Sy/update traefik Added metric mapping for Traefik v3 metric change Mar 24, 2026
@steveny91 steveny91 added this pull request to the merge queue Mar 25, 2026
Merged via the queue into master with commit 969b7f0 Mar 25, 2026
55 checks passed
@steveny91 steveny91 deleted the sy/update-traefik branch March 25, 2026 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants