Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Add note to define the settings.
  • Loading branch information
JellyFishCode authored Sep 25, 2023
1 parent 240eaf8 commit 50ba796
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,20 @@ A gauge:
);
```

Setting for each metric:

```yaml
Flownative:
Prometheus:
metrics:
acme_myproject_controller_hits_total:
type: counter
help: 'metric description'
acme_myproject_successful_login_total:
type: counter
help: 'metric description'
```

Manual usage of the Collector Registry, using the `InMemoryStorage`:

````php
Expand Down

0 comments on commit 50ba796

Please sign in to comment.