Skip to content

Commit

Permalink
Merge pull request #6 from kaystrobach/patch-1
Browse files Browse the repository at this point in the history
Add a clear warning in InMemoryStorage
  • Loading branch information
robertlemke authored Aug 1, 2022
2 parents 6cc22bb + c2b82aa commit de2521b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Classes/Storage/InMemoryStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
use Flownative\Prometheus\Sample;
use Flownative\Prometheus\SampleCollection;

/*
* Warning:
*
* InMemoryStorage for testing purposes.
* You will want to use the RedisStorage instead, so you don't loose all metrics values between requests.
*/
class InMemoryStorage extends AbstractStorage
{
/**
Expand Down

0 comments on commit de2521b

Please sign in to comment.