Skip to content

Conversation

@aabmass
Copy link
Member

@aabmass aabmass commented Aug 24, 2023

No description provided.

timeout_millis: float = 10_000,
**kwargs,
) -> None:
print(metrics_data.to_json())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Forgotten print statement, shouldn't be in production code

metrics.append(metric)

for metric in metrics:
label_keyss = []
Copy link
Contributor

@nstawski nstawski Oct 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would recommend using a more descriptive name such as labels_keys_list and label_values_list

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Prometheus exporter undefined behaviour when not all labels are set

2 participants