Skip to content

Tags: stechstudio/laravel-metrics

Tags

2.6

Toggle 2.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump dependencies for Laravel 12 (#23)

2.5

Toggle 2.5's commit message
L11

2.4

Toggle 2.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
add: prometheus driver (#20)

* upd: wip prometheus support

* upd: wip. basic prometheus counter metric support

* upd: wip. flush and get as prometheus formatted text

* upd: cleanup composer. add more tests. increase php version requirement to use enums.

* add: description prop to metric. wipe registry before formatting. update readme

* upd: driver cleanup and description assertion in test

* upd: format underscore all metric names and labels. fix tests

* fix: readme

* upd: remove not needed dev dependencies, we have them in suggestions so its up to the client which one to install

2.3

Toggle 2.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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

2.2

Toggle 2.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
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

Toggle 2.1's commit message
allow any method call in null driver

2.0

Toggle 2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
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

* .

1.7

Toggle 1.7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
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]>

1.6

Toggle 1.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add log driver (#12)

Co-authored-by: David Frailey <[email protected]>

1.5

Toggle 1.5's commit message
laravel 10