Skip to content

Conversation

krajorama
Copy link
Member

@krajorama krajorama commented Jun 16, 2025

@krajorama krajorama changed the title Classic histogram and summary as complex types feat(om2): classic histogram and summary as complex types Jun 16, 2025
@krajorama krajorama force-pushed the krajo/om2.0-complex-hist-summ branch from aca6583 to 4c7a987 Compare June 16, 2025 11:13
The timestamp requirement came from current limitations in Prometheus
exemplar storage. However in the future this might be solved.

Also there's the case when a classic histogram exposes exemplars.

Signed-off-by: György Krajcsovits <[email protected]>
dashpole
dashpole previously approved these changes Jun 17, 2025
@bwplotka bwplotka moved this to In Progress in Open Metrics 2.0 Sep 3, 2025
bwplotka
bwplotka previously approved these changes Sep 4, 2025
Copy link
Member

@bwplotka bwplotka left a comment

Choose a reason for hiding this comment

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

I would love that, but as we discussed on our sync - we need a bigger decision if we want to follow this path.

If we do, we likely need some rough uncomplex inlined format explained that is not meant to be used for scraping and can be surfaced with promtool etc.

@krajorama krajorama dismissed stale reviews from bwplotka and dashpole October 3, 2025 09:36

this is a draft, changes incoming, also I made a mistake with the quantile values

Signed-off-by: György Krajcsovits <[email protected]>
Metric might be converted back into classic series.

Signed-off-by: György Krajcsovits <[email protected]>
bwplotka added a commit to prometheus/prometheus that referenced this pull request Oct 7, 2025
This change is for demo purposes, exploring the benefits (and downsides)
for the complex type format for OM2 captured in
prometheus/docs#2679.

This assumes Prometheus stores NS and NHCB (and NH) going forward (for
best case efficiency), but is expected to work for classic mode too with
little overhead (benchmarks will tell us).

Part of the PromCon talk we do with @krajorama

Signed-off-by: bwplotka <[email protected]>
bwplotka added a commit to prometheus/prometheus that referenced this pull request Oct 7, 2025
This change is for demo purposes, exploring the benefits (and downsides)
for the complex type format for OM2 captured in
prometheus/docs#2679.

This assumes Prometheus stores NS and NHCB (and NH) going forward (for
best case efficiency), but is expected to work for classic mode too with
little overhead (benchmarks will tell us).

Part of the PromCon talk we do with @krajorama

Signed-off-by: bwplotka <[email protected]>
bwplotka added a commit to prometheus/prometheus that referenced this pull request Oct 7, 2025
This change is for demo purposes, exploring the benefits (and downsides)
for the complex type format for OM2 captured in
prometheus/docs#2679.

This assumes Prometheus stores NS and NHCB (and NH) going forward (for
best case efficiency), but is expected to work for classic mode too with
little overhead (benchmarks will tell us).

Part of the PromCon talk we do with @krajorama

Signed-off-by: bwplotka <[email protected]>
@bwplotka
Copy link
Member

bwplotka commented Oct 7, 2025

Results are (expectedly) impressive: prometheus/prometheus#17293

One observation is that buckets are a bit dense (readability). However we don't have spaces in any other place (e.g. labels)

bwplotka added a commit to prometheus/prometheus that referenced this pull request Oct 7, 2025
This change is for demo purposes, exploring the benefits (and downsides)
for the complex type format for OM2 captured in
prometheus/docs#2679.

This assumes Prometheus stores NS and NHCB (and NH) going forward (for
best case efficiency), but is expected to work for classic mode too with
little overhead (benchmarks will tell us).

Part of the PromCon talk we do with @krajorama

Signed-off-by: bwplotka <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

3 participants