Update api.md

This commit is contained in:
Maxim Devaev 2021-07-22 03:09:43 +03:00 committed by GitHub
parent fc9967be13
commit 20a71149c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -317,7 +317,7 @@ On `POST` it will interact with selected GPIO driver channel in `pulse` mode. Pa
- `wait` Boolean. Says if call should return immediately or just after finishing operation. - `wait` Boolean. Says if call should return immediately or just after finishing operation.
## Get Prometheus metrics: `/api/export/prometheus/metrics` ## Get Prometheus metrics: `/api/export/prometheus/metrics`
On `GET` it will return the exported Prometheus metrics. On `GET` it will return the exported Prometheus metrics. Also see [here](prometheus.md) for details.
``` ```
$ curl -k -u admin:admin https://<pikvm-ip>/api/export/prometheus/metrics $ curl -k -u admin:admin https://<pikvm-ip>/api/export/prometheus/metrics