Implement health check for deploy. Make version endpoint to return revision if not set

This commit is contained in:
2026-03-25 23:48:48 +03:00
parent ee6b510e41
commit fc0c84f7f7
9 changed files with 100 additions and 15 deletions

View File

@@ -7,11 +7,6 @@ Server.Tls.Enabled = false
Server.Tls.CertFile =
Server.Tls.KeyFile =
Socket.MaxHttpBufferSize = 2097152
Socket.PingInterval = 25s
Socket.PingTimeout = 20s
Socket.Debug = false
# Prometheus settings
Metrics.Endpoint = /metrics
Metrics.HistogramBuckets = 0.001,0.002,0.005,0.01,0.025,0.05,0.1,0.25,0.5,1,2.5,5,10
@@ -64,4 +59,4 @@ YooKassa.ApiBaseSecret =
YooKassa.ApiPaymentKey =
YooKassa.ApiPaymentSecret =
# Timeout to process yookassa callback
YooKassa.CallbackProcessTimeout = 1s
YooKassa.CallbackProcessTimeout = 1s