Skip to content

Commit 8848131

Browse files
committed
Upgrade base package constraint to ^1.0
1 parent 6f2fcbd commit 8848131

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"ext-redis": "*",
1515
"laravel/framework": "^9.0 || ^10.0",
1616
"webmozart/assert": "^1.11",
17-
"zlodes/prometheus-exporter": "^0.9.1"
17+
"zlodes/prometheus-client": "^1.0"
1818
},
1919
"require-dev": {
2020
"ergebnis/composer-normalize": "dev-main",

src/Storage/RedisStorage.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
use Exception;
88
use Generator;
99
use Illuminate\Contracts\Redis\Connection;
10-
use Zlodes\PrometheusClient\Exceptions\MetricKeySerializationException;
11-
use Zlodes\PrometheusClient\Exceptions\MetricKeyUnserializationException;
12-
use Zlodes\PrometheusClient\Exceptions\StorageReadException;
13-
use Zlodes\PrometheusClient\Exceptions\StorageWriteException;
10+
use Zlodes\PrometheusClient\Exception\MetricKeySerializationException;
11+
use Zlodes\PrometheusClient\Exception\MetricKeyUnserializationException;
12+
use Zlodes\PrometheusClient\Exception\StorageReadException;
13+
use Zlodes\PrometheusClient\Exception\StorageWriteException;
1414
use Zlodes\PrometheusClient\KeySerialization\JsonSerializer;
1515
use Zlodes\PrometheusClient\KeySerialization\Serializer;
1616
use Zlodes\PrometheusClient\Storage\DTO\MetricNameWithLabels;

tests/Commands/ListMetricsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
use Mockery;
99
use Orchestra\Testbench\TestCase;
1010
use Zlodes\PrometheusClient\Laravel\ServiceProvider;
11-
use Zlodes\PrometheusClient\MetricTypes\Counter;
11+
use Zlodes\PrometheusClient\Metric\Counter;
1212
use Zlodes\PrometheusClient\Registry\Registry;
1313

1414
class ListMetricsTest extends TestCase

tests/Storage/RedisStorageTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
use Orchestra\Testbench\TestCase;
1111
use RedisException;
1212
use RuntimeException;
13-
use Zlodes\PrometheusClient\Exceptions\MetricKeySerializationException;
14-
use Zlodes\PrometheusClient\Exceptions\MetricKeyUnserializationException;
15-
use Zlodes\PrometheusClient\Exceptions\StorageReadException;
16-
use Zlodes\PrometheusClient\Exceptions\StorageWriteException;
13+
use Zlodes\PrometheusClient\Exception\MetricKeySerializationException;
14+
use Zlodes\PrometheusClient\Exception\MetricKeyUnserializationException;
15+
use Zlodes\PrometheusClient\Exception\StorageReadException;
16+
use Zlodes\PrometheusClient\Exception\StorageWriteException;
1717
use Zlodes\PrometheusClient\KeySerialization\Serializer;
1818
use Zlodes\PrometheusClient\Laravel\Storage\RedisStorage;
1919
use Zlodes\PrometheusClient\Storage\DTO\MetricNameWithLabels;

0 commit comments

Comments
 (0)