mirror of
https://github.com/Dannecron/spring-boot-demo.git
synced 2025-12-26 00:32:34 +03:00
19 lines
480 B
Markdown
19 lines
480 B
Markdown
Метрики приложения в формате prometheus:
|
|
|
|
```shell
|
|
curl --request GET \
|
|
--url 'http://localhost:8081/metrics'
|
|
```
|
|
|
|
Список доступных для отображения метрик приложения:
|
|
```shell
|
|
curl --request GET \
|
|
--url 'http://localhost:8081/spring-metrics'
|
|
```
|
|
|
|
Значение конкретной метрики:
|
|
```shell
|
|
curl --request GET \
|
|
--url 'http://localhost:8081/spring-metrics/<metric-name>'
|
|
```
|