metrics
metrics copied to clipboard
Simple library that abstracts different metrics collectors. I find this necessary to have a consistent and simple metrics (functional) API that doesn't cause vendor lock-in.
In order to prove out some basic metrics collection, I wanted to extend the `InMemory` class and customize the behavior of `flush`. This PR just makes the instance variables of...
We needed a fsocket connection timeout that is shorter than the default value. Additionally, we have to know if an error occurred storing the metric.
Hey @lyrixx here is an attempt to separate current InfluxDB integration and a new one using official package. This, if accepted, should replace #68 . Unfortunately both packages use the...
The timing example provides the time parameter as a float in microseconds, while the interface expects an int in milliseconds. (#70)
I tested the current implementation of StatsD collector by running netcat and I was not receiving any data. Not sure what is the cause of the problem, but this implementation...
PR to answer enhancement reported in issue https://github.com/beberlei/metrics/issues/53 Implementation details: - as all TaggableCollectors are in fact "InlineTaggable", I renamed the interface InlineTaggableGaugeableCollector into TaggableGaugeableCollector - I added inline tags...
It looks like the example documentation on how to use the timing functionality isn't consistent with the expected data type and unit of measure: [README.md](https://github.com/beberlei/metrics/blob/master/README.md#api): ``` php $start = microtime(true);...