Skip to content

Commit

Permalink
Fixed an issue in the otlp.exporter.prometheus component (#2102)
Browse files Browse the repository at this point in the history
* Fixed an issue in the `otlp.exporter.prometheus` component

* Fixed an issue in the `otlp.exporter.prometheus` component
  • Loading branch information
YusifAghalar authored and ptodev committed Dec 3, 2024
1 parent 7cf5ff0 commit 031cf2c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ This document contains a historical list of changes between releases. Only
changes that impact end-user behavior are listed; changes to documentation or
internal API changes are not present.

v1.5.1
-----------------

### Bugfixes

- Fixed issue with reloading configuration and prometheus metrics duplication in `prometheus.write.queue`. (@mattdurham)

v1.5.0
-----------------

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ func writeSeries(app storage.Appender, series *memorySeries, dp otelcolDataPoint
series.SetTimestamp(ts)

if dp.Flags().NoRecordedValue() {
val = float64(value.StaleNaN)
val = math.Float64frombits(value.StaleNaN)
}
series.SetValue(val)

Expand Down

0 comments on commit 031cf2c

Please sign in to comment.