You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which instructs the code to insert after the end of the array. Usually this would not end up in rIdx, however in a concurrent environment the timestamp of the last inserted exemplar might be newer than the currently inserted exemplar. So we don't go into this branch:
Data race in native histogram #1605
This issue was referenced by the current issue you're encountering and is still open. It discusses a data race in the native histogram, which might be related to the index out of range error you're seeing.
Index out of range error in native histogram #1607
This issue does not have any comments but is directly related to the index out of range error in the native histogram. It might provide additional context or be a place to track updates related to your problem.
Version github.com/prometheus/client_golang v1.20.0
When testing trivial solution for #1605 👍
I think this is probably due to the fact that we have:
client_golang/prometheus/histogram.go
Line 1754 in dbf72fc
Which instructs the code to insert after the end of the array. Usually this would not end up in rIdx, however in a concurrent environment the timestamp of the last inserted exemplar might be newer than the currently inserted exemplar. So we don't go into this branch:
client_golang/prometheus/histogram.go
Line 1769 in dbf72fc
The text was updated successfully, but these errors were encountered: