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 — Upgrade to opentelemetry-proto v1.10.0 by apangin · Pull Request #1768 · async-profiler/async-profiler

Conversation

@apangin

@apangin apangin commented Jul 12, 2026

Copy link
Copy Markdown
Collaborator

Description

Update OTLP output to conform to opentelemetry-proto v1.10.0 and record period_type/period in emitted profiles. The changes apply both to the profiler agent (otlp output) and to jfrconv.

Motivation and context

The OpenTelemetry profiles signal is still in development, and v1.10.0 changed Sample field numbers, so output produced against the previous schema is misinterpreted by up-to-date consumers.

Recording period_type/period is effectively mandatory for ingestion: e.g. Grafana Pyroscope derives the profile name from the period_type string and rejects profiles with a zero period as an invalid metric. The same backend rejects the per-timestamp values shape, which the omitted-values encoding avoids.

How has this been tested?

  • make test-java TESTS=otlp: all 10 tests pass. Extended sampleType/sampleTypeTotal to verify period_type and the default period; added periodFromJfr verifying the period is taken from JFR recording settings.
  • End-to-end: profiles produced by both the agent and jfrconv were ingested into Grafana Pyroscope 2.1.1 via its OTLP endpoint (/v1development/profiles); profiles are accepted and render correctly.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Sorry, something went wrong.

Uh oh!

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

All reactions
apangin added 2 commits July 11, 2026 17:32
@apangin
Upgrade to opentelemetry-proto v1.10.0
ac8672a
@apangin
Record period_type/period in OTLP format
a107a59
@apangin apangin changed the title Otlp 110 Upgrade to opentelemetry-proto v1.10.0 Jul 12, 2026
@github-actions

github-actions Bot commented Jul 12, 2026

Copy link
Copy Markdown

linux-x64

File Base (KiB) Treatment (KiB) Delta (KiB) % Change
bin/asprof 81.72 81.72 +0.00 +0.00%
bin/jfrconv 136.40 137.00 +0.60 +0.44%
lib/libasyncProfiler.so 587.70 588.27 +0.57 +0.10%

linux-arm64

File Base (KiB) Treatment (KiB) Delta (KiB) % Change
bin/asprof 89.59 89.59 +0.00 +0.00%
bin/jfrconv 136.40 137.00 +0.60 +0.44%
lib/libasyncProfiler.so 610.06 614.88 +4.82 +0.79%

macos

File Base (KiB) Treatment (KiB) Delta (KiB) % Change
bin/asprof 116.74 116.74 +0.00 +0.00%
bin/jfrconv 136.40 137.00 +0.60 +0.44%
lib/libasyncProfiler.dylib 984.45 984.88 +0.44 +0.04%
All reactions

Sorry, something went wrong.

Uh oh!

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

@apangin
apangin merged commit a325d1e into master Jul 13, 2026
74 of 76 checks passed

Uh oh!

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

@apangin
apangin deleted the otlp-110 branch July 13, 2026 13:32
@github-actions github-actions Bot mentioned this pull request Jul 14, 2026
Upstream async-profiler changes detected (2026-07-14) DataDog/java-profiler#657
Open
This was referenced Jul 22, 2026
Sync fork with upstream async-profiler 4.5 and publish v4.5.0.0 grafana/pyroscope-async-profiler#20
Closed
Sync fork with upstream async-profiler 4.5 grafana/pyroscope-async-profiler#21
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

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.

1 participant

@apangin
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 01402775 — 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.