Skip to content

Commit

Permalink
Merge branch 'main' of github.com:spatie/laravel-prometheus
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Jun 1, 2023
2 parents 43117a4 + c9e6043 commit 4d12070
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

All notable changes to `laravel-prometheus` will be documented in this file.

## 0.0.3 - 2023-06-01

### What's Changed

- Bump aglipanci/laravel-pint-action from 2.2.0 to 2.3.0 by @dependabot in https://github.com/spatie/laravel-prometheus/pull/1

**Full Changelog**: https://github.com/spatie/laravel-prometheus/compare/0.0.2...0.0.3

## 0.0.1 - 2023-06-01

- experimental release
1 change: 0 additions & 1 deletion src/MetricTypes/Gauge.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use Closure;
use Illuminate\Support\Arr;
use Illuminate\Support\Facades\App;
use Illuminate\Support\Str;
use Prometheus\CollectorRegistry;
use Prometheus\Gauge as PrometheusGauge;
Expand Down
4 changes: 2 additions & 2 deletions tests/Http/Controllers/PrometheusMetricsControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
assertPrometheusResultsMatchesSnapshot();
});

it('can use a custom namespace', function() {
config()->set('prometheus.default_namespace', 'custom_namespace');
it('can use a custom namespace', function () {
config()->set('prometheus.default_namespace', 'custom_namespace');

Prometheus::addGauge('my gauge', 123.45);

Expand Down

0 comments on commit 4d12070

Please sign in to comment.