Skip to content

Conversation

@DanArmor
Copy link
Contributor

Feature that was introduced in #339 polutated a lot of code with **self.static_label in exporter.py

Separated static labels logic into child classes of prometheus metrics Gauge, Counter and Histogram and removed hardcoded **self.static_label from other parts of code to reduce chance of mistakes due to necessity to keep in mind this snippet when working with labels.

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.

1 participant