hotfix(helm):

This commit is contained in:
ITQ
2026-05-23 09:44:01 +03:00
parent 5621fa8652
commit 26619c6399
8 changed files with 67 additions and 387 deletions
@@ -26,7 +26,7 @@ class BusinessMetricsService(
private val jellyfinSyncedItems: Counter = meterRegistry.counter("business_jellyfin_synced_items_total")
private val jellyfinSyncDuration: Timer =
Timer
.builder("business_jellyfin_sync_duration_seconds")
.builder("business_jellyfin_sync_duration")
.publishPercentileHistogram()
.register(meterRegistry)
private val jellyfinSyncFailures: Counter = meterRegistry.counter("business_jellyfin_sync_failures_total")
+9
View File
@@ -58,9 +58,12 @@ spring:
user-name-attribute: response
server:
port: ${SERVER_PORT:8080}
shutdown: graceful
management:
server:
port: ${MANAGEMENT_SERVER_PORT:8081}
endpoints:
web:
base-path: /actuator
@@ -76,6 +79,12 @@ management:
enabled: true
readinessstate:
enabled: true
metrics:
tags:
application: ${MANAGEMENT_METRICS_TAGS_APPLICATION:${spring.application.name}}
distribution:
percentiles-histogram:
http.server.requests: ${MANAGEMENT_METRICS_DISTRIBUTION_PERCENTILES_HISTOGRAM_HTTP_SERVER_REQUESTS:false}
info:
env:
enabled: true