jochen-schweizer / express-prom-bundle

express middleware with standard prometheus metrics in one bundle
MIT License
303 stars 67 forks source link

update types to correct transformLabels #43

Closed GabrielCastro closed 3 years ago

GabrielCastro commented 5 years ago

transformLabels should return void as the library expects the labels object to be modified in place and does not use the return value

campezzi commented 4 years ago

Hopefully this will be merged soon - I just spent some time figuring out why my immutable solution wasn't working!