Skip to content

🌱 bump github.com/prometheus/common from 0.72.1 to 0.73.1 - #3961

Merged
openshift-merge-bot[bot] merged 1 commit into
masterfrom
dependabot/go_modules/github.com/prometheus/common-0.73.1
Nov 3, 2026
Merged

openshift-merge-bot[bot] merged 1 commit into
masterfrom
dependabot/go_modules/github.com/prometheus/common-0.73.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Bumps github.com/prometheus/common from 0.72.1 to 0.73.1.

Release notes

Sourced from github.com/prometheus/common's releases.

v0.73.1

What's Changed

Full Changelog: prometheus/common@v0.73.0...v0.73.1

v0.73.0

What's Changed

New Contributors

Full Changelog: prometheus/common@v0.72.1...v0.73.0

Changelog

Sourced from github.com/prometheus/common's changelog.

Changelog

main / unreleased

What's Changed

Commits
  • d92d839 build(deps): bump github.com/pandatix/go-abnf from 0.5.1 to 0.5.3 (#1027)
  • 983d509 expfmt: add ABNF-based OpenMetrics 1.0 parser (#1015)
  • 220c51a expfmt: add FmtOpenMetrics_2_0_0_rc format constant (#1020)
  • 25bdf5c expfmt: default to allow-utf-8 escaping for OpenMetrics 2.0 (#1008)
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Summary by CodeRabbit

  • New Features

    • Added support for parsing OpenMetrics 1.0 text expositions, including metric families, labels, timestamps, and exemplars.
    • Added support for encoding with the OpenMetrics 2.0 release candidate format.
  • Bug Fixes

    • OpenMetrics format negotiation now applies escaping settings from the matching Accept clause.
    • Unsupported or malformed OpenMetrics versions now return clear errors instead of falling back to classic text decoding.

Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.72.1 to 0.73.1.
- [Release notes](https://github.com/prometheus/common/releases)
- [Changelog](https://github.com/prometheus/common/blob/main/CHANGELOG.md)
- [Commits](prometheus/common@v0.72.1...v0.73.1)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  dependency-version: 0.73.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Nov 2, 2026
@openshift-ci
openshift-ci Bot requested review from fgiudici and oceanc80 November 2, 2026 23:34
@openshift-ci openshift-ci Bot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Nov 2, 2026
@openshift-ci

openshift-ci Bot commented Nov 2, 2026

Copy link
Copy Markdown

Hi @dependabot[bot]. Thanks for your PR.

I'm waiting for a operator-framework member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@coderabbitai

coderabbitai Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Enterprise
  • Run ID: 155e3457-466c-4144-af42-51e7c28b9fe8
Commits

Reviewing files that changed from the base of the PR and between 0c5380a and 98845a2.

Files ignored due to path filters: 3
  • go.sum is excluded by !**/*.sum
  • vendor/github.com/pandatix/go-abnf/go.work is excluded by !**/*.work
  • vendor/github.com/pandatix/go-abnf/go.work.sum is excluded by !**/*.sum
Files selected for processing: 34
  • go.mod
  • vendor/github.com/pandatix/go-abnf/.gitignore
  • vendor/github.com/pandatix/go-abnf/.goreleaser.yaml
  • vendor/github.com/pandatix/go-abnf/CODE_OF_CONDUCT.md
  • vendor/github.com/pandatix/go-abnf/CONTRIBUTING.md
  • vendor/github.com/pandatix/go-abnf/LICENSE
  • vendor/github.com/pandatix/go-abnf/README.md
  • vendor/github.com/pandatix/go-abnf/SECURITY.md
  • vendor/github.com/pandatix/go-abnf/abnf.go
  • vendor/github.com/pandatix/go-abnf/ast.go
  • vendor/github.com/pandatix/go-abnf/bsr.go
  • vendor/github.com/pandatix/go-abnf/codegen.go
  • vendor/github.com/pandatix/go-abnf/dag.go
  • vendor/github.com/pandatix/go-abnf/errors.go
  • vendor/github.com/pandatix/go-abnf/fuzz.go
  • vendor/github.com/pandatix/go-abnf/generate.go
  • vendor/github.com/pandatix/go-abnf/generate_fuzz.go
  • vendor/github.com/pandatix/go-abnf/grammar.go
  • vendor/github.com/pandatix/go-abnf/grammar_fuzz.go
  • vendor/github.com/pandatix/go-abnf/leftrec.go
  • vendor/github.com/pandatix/go-abnf/option.go
  • vendor/github.com/pandatix/go-abnf/recognize.go
  • vendor/github.com/pandatix/go-abnf/regex.go
  • vendor/github.com/pandatix/go-abnf/regex_fuzz.go
  • vendor/github.com/pandatix/go-abnf/rules.go
  • vendor/github.com/pandatix/go-abnf/sppf.go
  • vendor/github.com/pandatix/go-abnf/transition_graph.go
  • vendor/github.com/pandatix/go-abnf/transition_graph_fuzz.go
  • vendor/github.com/pandatix/go-abnf/utils.go
  • vendor/github.com/prometheus/common/expfmt/decode.go
  • vendor/github.com/prometheus/common/expfmt/encode.go
  • vendor/github.com/prometheus/common/expfmt/expfmt.go
  • vendor/github.com/prometheus/common/expfmt/openmetrics_parse.go
  • vendor/modules.txt

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 7 remain after this review.

Walkthrough

The update vendors go-abnf v0.5.3 and upgrades Prometheus common to v0.73.1. The vendored library adds ABNF parsing, recognition, generation, graph, regex, and parser-code generation APIs. The Prometheus common update adds OpenMetrics 1.0 decoding and 2.0.0-rc format and encoding support.

Changes: ABNF and OpenMetrics integration

Layer / File(s) Summary
ABNF package foundation
go.mod, vendor/modules.txt, vendor/github.com/pandatix/go-abnf/*
Adds go-abnf v0.5.3 and its ABNF grammar model, definitions, errors, options, utility functions, and package documentation and metadata.
Grammar parsing and recognition
vendor/github.com/pandatix/go-abnf/grammar.go, leftrec.go, recognize.go, sppf.go, bsr.go
Adds ABNF parsing and evaluation, left-recursion analysis, input recognition, and GLL parse-forest APIs.
Grammar analysis and parser generation
vendor/github.com/pandatix/go-abnf/dag.go, regex.go, regex_fuzz.go, codegen.go
Adds dependency-cycle analysis, regex conversion, and generation of standalone Go parsers.
Grammar generation and transition graphs
vendor/github.com/pandatix/go-abnf/ast.go, generate.go, fuzz.go, transition_graph.go, *_fuzz.go
Adds grammar and AST generation, transition-graph construction and traversal, graph-based generation, near-miss analysis, and fuzz targets.
OpenMetrics decoding and formats
go.mod, vendor/modules.txt, vendor/github.com/prometheus/common/expfmt/*
Upgrades Prometheus common to v0.73.1. Adds OpenMetrics 1.0 parsing and updates OpenMetrics format selection and encoding behavior, including 2.0.0-rc support.

Sequence Diagram(s)

sequenceDiagram
  participant Caller
  participant NewDecoder
  participant openMetricsDecoder
  participant ABNFParser
  participant MetricFamily
  Caller->>NewDecoder: Select decoder for OpenMetrics format
  NewDecoder->>openMetricsDecoder: Create decoder
  openMetricsDecoder->>ABNFParser: Parse exposition lines
  ABNFParser-->>openMetricsDecoder: Parsed line results
  openMetricsDecoder->>MetricFamily: Assemble and emit completed families
Loading

Estimated code review effort: 5 (Critical) | ~120 minutes

Change: Other

Merge Risk: Minimal · up to 98845

This is a routine dependency bump that vendors a new parsing library and adds OpenMetrics 1.0 decoding support. No first-party code uses the changed decoding path and the Go version requirements are met, so no merge-blocking risk was found.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 34.44% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documenta… Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 4 passed
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names a dependency bump of github.com/prometheus/common from 0.72.1 to 0.73.1. The changeset does exactly that in go.mod and vendor/modules.txt, and it brings in the vendored expfmt changes …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names a dependency bump of github.com/prometheus/common from 0.72.1 to 0.73.1. The changeset does exactly that in go.mod and vendor/modules.txt, and it brings in the vendored expfmt changes (OpenMetrics 1.0 parser, 2.0.0-rc format, escaping changes) and the go-abnf 0.5.3 dependency. The title is specific, concise, and matches the main change. The leading ':seedling:' emoji is a minor style point and does not make the title unclear.

Full details: Docstring Coverage

Explanation

Docstring coverage is 34.44% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 90 functions across 25 files. (9 skipped: 9 unsupported.)

Resolution

Write docstrings for the functions missing them to satisfy the coverage threshold.

Finishing Touches
Generate docstrings
  • Commit to this branch
  • Create a new PR
Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Some tools did not complete. Review the errors below.

golangci-lint (2.14.0)

golangci-lint (2.14.0) skipped for .golangci.yaml: configuration requires version: "2". Migrate older configurations using golangci-lint migrate and review the result; see https://golangci-lint.run/docs/product/migration-guide/.

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.

@rashmigottipati rashmigottipati left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

/ok-to-test

@openshift-ci openshift-ci Bot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Nov 3, 2026
@tmshort

tmshort commented Nov 3, 2026

Copy link
Copy Markdown
Member

/approve
/lgtm

@openshift-ci openshift-ci Bot added lgtm Indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Nov 3, 2026

@rashmigottipati rashmigottipati left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci

openshift-ci Bot commented Nov 3, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rashmigottipati, tmshort

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot
openshift-merge-bot Bot merged commit 18e7346 into master Nov 3, 2026
19 checks passed
@dependabot
dependabot Bot deleted the dependabot/go_modules/github.com/prometheus/common-0.73.1 branch November 3, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. dependencies Pull requests that update a dependency file go Pull requests that update Go code lgtm Indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants