Skip to content

add Prometheus bridge to otel#22658

Merged
jmank88 merged 1 commit into
developfrom
bridge-prom
May 27, 2026
Merged

add Prometheus bridge to otel#22658
jmank88 merged 1 commit into
developfrom
bridge-prom

Conversation

@jmank88
Copy link
Copy Markdown
Contributor

@jmank88 jmank88 commented May 27, 2026

Recreating #22572 since I could not re-open it


https://smartcontract-it.atlassian.net/browse/CRE-4426

This PR adds a Prometheus bridge to forward metrics through otel. It is disabled by default, but can be enabled in whole or for a subset of prefixes via TOML config:

# The Prometheus bridge automatically forwards metrics through open telemetry.
[Telemetry.PrometheusBridge]
# **ADVANCED**
# Enabled enables the Promtheus bridge.
Enabled = false # Default
# Prefixes is a set of filters to restrict which prometheus metrics are forwarded based on prefix matching.
# By default, we only forward the go runtime metrics. Empty means forward everything.
Prefixes = ["go_"] # Default

Requires:

@github-actions
Copy link
Copy Markdown
Contributor

I see you added a changeset file but it does not contain a tag. Please edit the text include at least one of the following tags:

  • #added For any new functionality added.
  • #breaking_change For any functionality that requires manual action for the node to boot.
  • #bugfix For bug fixes.
  • #changed For any change to the existing functionality.
  • #db_update For any feature that introduces updates to database schema.
  • #deprecation_notice For any upcoming deprecation functionality.
  • #internal For changesets that need to be excluded from the final changelog.
  • #nops For any feature that is NOP facing and needs to be in the official Release Notes for the release.
  • #removed For any functionality/config that is removed.
  • #updated For any functionality that is updated.
  • #wip For any change that is not ready yet and external communication about it should be held off till it is feature complete.

@trunk-io
Copy link
Copy Markdown

trunk-io Bot commented May 27, 2026

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

@jmank88 jmank88 requested review from pavel-raykov and pkcll May 27, 2026 13:30
@jmank88 jmank88 requested a review from ettec May 27, 2026 13:34
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 27, 2026

✅ No conflicts with other open PRs targeting develop

@jmank88 jmank88 enabled auto-merge May 27, 2026 14:07
pavel-raykov
pavel-raykov previously approved these changes May 27, 2026
pkcll
pkcll previously approved these changes May 27, 2026
@cl-sonarqube-production
Copy link
Copy Markdown

@jmank88 jmank88 requested a review from pkcll May 27, 2026 17:16
@jmank88 jmank88 added this pull request to the merge queue May 27, 2026
Merged via the queue into develop with commit 8c502f6 May 27, 2026
215 of 217 checks passed
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.

3 participants