This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
сервис_prometheus [2026/10/06 11:57] val [Отправка метрик из приложения] |
сервис_prometheus [2026/10/06 12:17] (current) val [Отправка метрик из приложения] |
||
|---|---|---|---|
| Line 553: | Line 553: | ||
| runtime=$(echo "$end - $start" | bc) | runtime=$(echo "$end - $start" | bc) | ||
| echo "roundcube_login_logout_runtime ${runtime}" | \ | echo "roundcube_login_logout_runtime ${runtime}" | \ | ||
| - | curl --data-binary @- http://localhost:9091/metrics/job/roundcube_monitor/host/$(hostname) | + | curl -Ss --data-binary @- http://localhost:9091/metrics/job/roundcube_monitor/host/$(hostname) |
| echo "Выполнено за $runtime сек." | echo "Выполнено за $runtime сек." | ||
| </code><code> | </code><code> | ||