Releases: stechstudio/laravel-metrics
Releases · stechstudio/laravel-metrics
Laravel 11 support
Prometheus driver
Thanks @dmtar !
2.3: Avoid warnings on ComputesNanosecondTimestamps (#21)
* Avoid warnings on ComputesNanosecondTimestamps * Tweaks - Compute `strlen` once. - `microtime(true)` can return different number of decimals: These are all valid: ``` 1706498205.1234 1706498205.123 1706498205.12 1706498205.1 ``` * Refactor and tests * Improve float length and more tests
InfluxDB v2 support
Add influx db 2 support (#17) * Added influxdata/influxdb-client-php and deps * Moved InfluxDB::getNanosecondTimestamp to trait * Added InfluxDB2 support * Fixed env variable name * Added MetricsManager::createInfluxdb2Driver * Removed unused namespaces * Fix createInfluxDB2Driver * Fix namespace * Add default write precision * Add InfluxDB2 to provides list * Add default value for $points * Removed configurability of WritePrecision * Add InfluxDB adapters * Convert InfluxDB driver to use adapter * Remove InfluxDB2 driver * Add IDB_VERSION env variable * Create adapters inside Service Provider * Force legacy tests to use Version 1 adapter * Changed tests to match adapter pattern * Remove AbstractInfluxDBAdapter::__construct * Change default signature for writePoints * Fix ternary if statement * Call write points on adapter * Construct with UDP flag when necessary * Add missing configuration values * Set org default to empty string * Set InfluxDB Adapter V1 as default * Updated README * README pass 2 * fix typed point --------- Co-authored-by: David Frailey <[email protected]> Co-authored-by: Joseph Szobody <[email protected]>
2.1
PostHog driver
v2 (#18) * cleanup, php8 types, upgraded deps, first stab at posthog driver * driver created callback * no default value, some backends do better without it * posthog test * list PH up front * ci * ci * .
Octane support
Add FlushMetrics octane listener (#15) * Add FlushMetrics octane listener * Automatically wire FlushMetrics to Octane's RequestTerminated event * Fix typo --------- Co-authored-by: David Frailey <[email protected]>
Laravel 10 support
1.5 laravel 10
Laravel 9 support
1.4 laravel 9 support
0.16: Merge pull request #5 from dp88/patch-1
Replace Deprecated Helper for Laravel 6