Skip to content

Commit

Permalink
Update README.md (#412)
Browse files Browse the repository at this point in the history
  • Loading branch information
hatamiarash7 authored Dec 12, 2023
1 parent 0374ab4 commit 4f7b537
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 @@ -86,6 +86,20 @@ increases accuracy: <https://prometheus.io/docs/practices/histograms/>
PROMETHEUS_LATENCY_BUCKETS = (.1, .2, .5, .6, .8, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.5, 9.0, 12.0, 15.0, 20.0, 30.0, float("inf"))
```

---

You can have a custom namespace for your metrics:

```python
PROMETHEUS_METRIC_NAMESPACE = "project"
```

This will prefix all metrics with `project_` word like this:

```text
project_django_http_requests_total_by_method_total{method="GET"} 1.0
```

### Monitoring your databases

SQLite, MySQL, and PostgreSQL databases can be monitored. Just
Expand Down

0 comments on commit 4f7b537

Please sign in to comment.