Skip to content

Commit 5e373a1

Browse files
committed
now it should work
Signed-off-by: emdneto <[email protected]>
1 parent 2acff12 commit 5e373a1

File tree

1 file changed

+5
-2
lines changed
  • exporter/opentelemetry-exporter-prometheus/src/opentelemetry/exporter/prometheus

1 file changed

+5
-2
lines changed

exporter/opentelemetry-exporter-prometheus/src/opentelemetry/exporter/prometheus/__init__.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,11 @@ def _translate_to_prometheus(
268268
else:
269269
values.append(number_data_point.value)
270270

271-
for pre_metric_family_id, label_values, value in zip(
272-
per_metric_family_ids, label_values_data_points, values
271+
for pre_metric_family_id, label_keys, label_values, value in zip(
272+
per_metric_family_ids,
273+
label_keys_data_points,
274+
label_values_data_points,
275+
values,
273276
):
274277
is_non_monotonic_sum = (
275278
isinstance(metric.data, Sum)

0 commit comments

Comments
 (0)