GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Prometheus label conversion refactored to align with spec by onurkybsi · Pull Request #7291 · open-telemetry/opentelemetry-java

Conversation

@onurkybsi

@onurkybsi onurkybsi commented Apr 22, 2025

Copy link
Copy Markdown
Contributor

Resolves the issue #5987.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@codecov

codecov Bot commented Apr 22, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 84.61538% with 6 lines in your changes missing coverage. Please review.

Project coverage is 89.78%. Comparing base (29523e6) to head (44b28c8).
Report is 42 commits behind head on main.

Files with missing lines Patch % Lines
.../exporter/prometheus/Otel2PrometheusConverter.java 84.61% 4 Missing and 2 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #7291      +/-   ##
============================================
- Coverage     90.03%   89.78%   -0.25%     
- Complexity     6915     6969      +54     
============================================
  Files           787      795       +8     
  Lines         20864    21122     +258     
  Branches       2023     2056      +33     
============================================
+ Hits          18784    18965     +181     
- Misses         1441     1497      +56     
- Partials        639      660      +21     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@onurkybsi
onurkybsi marked this pull request as ready for review April 22, 2025 06:25
@onurkybsi
onurkybsi requested a review from a team as a code owner April 22, 2025 06:25
trask
trask reviewed Apr 23, 2025
View reviewed changes
Comment thread api/all/src/main/java/io/opentelemetry/api/common/AttributeType.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

fandreuz
fandreuz reviewed Apr 23, 2025
View reviewed changes
Comment thread api/all/src/main/java/io/opentelemetry/api/common/AttributeType.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

fandreuz
fandreuz reviewed Apr 23, 2025
View reviewed changes
Comment thread .../prometheus/src/main/java/io/opentelemetry/exporter/prometheus/Otel2PrometheusConverter.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

@onurkybsi
Prometheus label conversion refactored to align with spec
32669c0
@onurkybsi
onurkybsi force-pushed the issue-5987 branch from 6a690f8 to 32669c0 Compare May 2, 2025 06:41
onurkybsi added 3 commits May 2, 2025 08:44
@onurkybsi
PR comments addressed
6d6b22d
@onurkybsi
Unnecessary comma removed
3a8324b
@onurkybsi
Test coverage fixed
f003e14
@onurkybsi
onurkybsi requested review from fandreuz, jack-berg and trask May 7, 2025 05:37
fandreuz
fandreuz reviewed May 7, 2025
View reviewed changes
Comment thread .../prometheus/src/main/java/io/opentelemetry/exporter/prometheus/Otel2PrometheusConverter.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

fandreuz
fandreuz reviewed May 7, 2025
View reviewed changes
Comment thread .../prometheus/src/main/java/io/opentelemetry/exporter/prometheus/Otel2PrometheusConverter.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

fandreuz
fandreuz reviewed May 7, 2025
View reviewed changes
Comment thread .../prometheus/src/main/java/io/opentelemetry/exporter/prometheus/Otel2PrometheusConverter.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

fandreuz
fandreuz reviewed May 7, 2025
View reviewed changes
Comment thread .../prometheus/src/main/java/io/opentelemetry/exporter/prometheus/Otel2PrometheusConverter.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

onurkybsi added 2 commits May 8, 2025 15:57
@onurkybsi
PR comments addressed
e1826bf
@onurkybsi
Test coverage fixed
64a7799
jack-berg
jack-berg reviewed May 8, 2025
View reviewed changes
Comment thread ...metheus/src/test/java/io/opentelemetry/exporter/prometheus/Otel2PrometheusConverterTest.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread ...metheus/src/test/java/io/opentelemetry/exporter/prometheus/Otel2PrometheusConverterTest.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread .../prometheus/src/main/java/io/opentelemetry/exporter/prometheus/Otel2PrometheusConverter.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

@onurkybsi
PR comments addressed
9886944
jack-berg
jack-berg reviewed May 15, 2025
View reviewed changes
Comment thread ...metheus/src/test/java/io/opentelemetry/exporter/prometheus/Otel2PrometheusConverterTest.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread ...metheus/src/test/java/io/opentelemetry/exporter/prometheus/Otel2PrometheusConverterTest.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread .../prometheus/src/main/java/io/opentelemetry/exporter/prometheus/Otel2PrometheusConverter.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread .../prometheus/src/main/java/io/opentelemetry/exporter/prometheus/Otel2PrometheusConverter.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

onurkybsi and others added 2 commits May 19, 2025 22:26
@onurkybsi
PR comments addressed
5d4095b
@jack-berg
cleanup
44b28c8
jack-berg
jack-berg approved these changes Jun 3, 2025
View reviewed changes
@jack-berg
jack-berg merged commit d239b70 into open-telemetry:main Jun 3, 2025
@thswlsqls thswlsqls mentioned this pull request Jun 21, 2026
Fix serialization of array-valued scope and resource attributes in Prometheus exporter #8497
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@jack-berg jack-berg jack-berg approved these changes
@trask trask Awaiting requested review from trask
+1 more reviewer
@fandreuz fandreuz fandreuz left review comments
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@onurkybsi @trask @fandreuz @jack-berg
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.