Jimdo / prometheus_client_php

Prometheus instrumentation library for PHP applications
https://prometheus.io/docs/concepts/metric_types/
Apache License 2.0
281 stars 213 forks source link

Bugfix accumulated number of samples in buckets #123

Closed HannesRydberg closed 5 years ago

HannesRydberg commented 5 years ago

Previous code accumulated number of samples in bucket from the previous bucket, which resulted in number of samples in any given bucket was equal to the amount of samples that should be in that bucket plus all the samples in the previous bucket.