movio / bramble

A federated GraphQL API gateway
https://movio.github.io/bramble/
MIT License
497 stars 53 forks source link

Remove incorrect prometheus counter reset. #198

Closed lucianjon closed 1 year ago

lucianjon commented 1 year ago

The counter being reset every single time the schema was updated caused the metric to virtually be unscrapable. Every reset throws away the existing values. If prometheus has a larger scrape interval than bramble's schema update you will lose most of the counter's data.