mirror of
https://github.com/TwiN/gatus.git
synced 2026-02-16 07:26:12 +00:00
chore(docs): add section about response time chart
This commit is contained in:
13
README.md
13
README.md
@@ -2385,6 +2385,19 @@ Where:
|
|||||||
- `{duration}` is `30d`, `7d`, `24h` or `1h`
|
- `{duration}` is `30d`, `7d`, `24h` or `1h`
|
||||||
- `{key}` has the pattern `<GROUP_NAME>_<ENDPOINT_NAME>` in which both variables have ` `, `/`, `_`, `,` and `.` replaced by `-`.
|
- `{key}` has the pattern `<GROUP_NAME>_<ENDPOINT_NAME>` in which both variables have ` `, `/`, `_`, `,` and `.` replaced by `-`.
|
||||||
|
|
||||||
|
#### Response time (chart)
|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
|
The endpoint to generate a response time chart is the following:
|
||||||
|
```
|
||||||
|
/api/v1/endpoints/{key}/response-times/{duration}/chart.svg
|
||||||
|
```
|
||||||
|
Where:
|
||||||
|
- `{duration}` is `30d`, `7d`, `24h` or `1h`
|
||||||
|
- `{key}` has the pattern `<GROUP_NAME>_<ENDPOINT_NAME>` in which both variables have ` `, `/`, `_`, `,` and `.` replaced by `-`.
|
||||||
|
|
||||||
##### How to change the color thresholds of the response time badge
|
##### How to change the color thresholds of the response time badge
|
||||||
To change the response time badges' threshold, a corresponding configuration can be added to an endpoint.
|
To change the response time badges' threshold, a corresponding configuration can be added to an endpoint.
|
||||||
|
|||||||
Reference in New Issue
Block a user