Learning Generics by extending the prometheus python client
· ☕ 2 min read
Background Imagine you’re writing a library to extend the prometheus python client and you needed to add some dynamic labels specific to the environment. Ideally you would add most of your labels at the collector end and avoid writing extensions.