Skip to content

Commit

Permalink
[EXPORTER] Prometheus: Error on ingesting samples with different valu…
Browse files Browse the repository at this point in the history
…e but same timestamp (#2200)
  • Loading branch information
marcalff authored Jun 20, 2023
1 parent 4cae6aa commit 2db5f29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporters/prometheus/src/exporter_utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ std::vector<prometheus_client::MetricFamily> PrometheusExporterUtils::TranslateT
prometheus_client::MetricFamily metric_family;
metric_family.name = sanitized + "_" + unit;
metric_family.help = metric_data.instrument_descriptor.description_;
auto time = metric_data.start_ts.time_since_epoch();
auto time = metric_data.end_ts.time_since_epoch();
for (const auto &point_data_attr : metric_data.point_data_attr_)
{
auto kind = getAggregationType(point_data_attr.point_data);
Expand Down

0 comments on commit 2db5f29

Please sign in to comment.