Skip to content

Releases: stechstudio/laravel-metrics

Laravel 11 support

12 Mar 23:24
Compare
Choose a tag to compare

Prometheus driver

15 Feb 13:44
fe1b99d
Compare
Choose a tag to compare

2.3: Avoid warnings on ComputesNanosecondTimestamps (#21)

07 Feb 22:35
6e64912
Compare
Choose a tag to compare
* 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

04 Oct 22:23
4e5b02d
Compare
Choose a tag to compare
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

09 Aug 01:26
Compare
Choose a tag to compare
2.1
allow any method call in null driver

PostHog driver

06 Aug 20:22
01eb0fc
Compare
Choose a tag to compare
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

23 Mar 16:58
f05dcd8
Compare
Choose a tag to compare
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

15 Feb 14:17
Compare
Choose a tag to compare
1.5

laravel 10

Laravel 9 support

11 Feb 18:40
Compare
Choose a tag to compare
1.4

laravel 9 support

0.16: Merge pull request #5 from dp88/patch-1

16 Sep 17:55
83aa939
Compare
Choose a tag to compare
Replace Deprecated Helper for Laravel 6