Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jszobody committed Feb 15, 2024
1 parent 1b1bd55 commit cbd2c38
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ AWS_SECRET_ACCESS_KEY=...
2. Configuring the backend to use Prometheus, makes sense only if you have an endpoint to expose them.
Its purpose is only to format the registered metrics in a way that Prometheus can scrape them.

```
METRICS_BACKEND=prometheus
```

### NullDriver (for development)

If you need to disable metrics just set the backend to null:
Expand All @@ -107,10 +111,6 @@ METRICS_BACKEND=null

This `null` driver will simply discard any metrics.

```
METRICS_BACKEND=prometheus
```

## Sending an individual metric

You can create metric by using the facade like this:
Expand Down

0 comments on commit cbd2c38

Please sign in to comment.