-
Notifications
You must be signed in to change notification settings - Fork 10.2k
Closed
Closed
Copy link
Description
What did you do?
I was writing unit test in open-telemetry/opentelemetry-collector-contrib#38652 when I noticed that I get the native histogram exemplars from Prometheus scrape, even if native histograms ingestion is disabled.
Basically AppendExemplar call here
Line 1836 in 1f56e84
| _, exemplarErr := app.AppendExemplar(ref, lset, e) |
Line 1755 in 1f56e84
| if isHistogram && sl.enableNativeHistogramIngestion { |
isHistogram && sl.enableNativeHistogramIngestion
What did you expect to see?
Exemplars for native histograms ignored when native histogram ingestion is disabled.
What did you see instead? Under which circumstances?
AppendExemplar called.
System information
No response
Prometheus version
3.0 - 3.3
Prometheus configuration file
noneAlertmanager version
Alertmanager configuration file
Logs
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels