chore: completely drop prometheus support

This commit is contained in:
yusing
2025-04-24 18:41:13 +08:00
parent 1a0edc8bfe
commit 080bbc18eb
12 changed files with 5 additions and 367 deletions

View File

@@ -36,8 +36,6 @@ var (
APIHTTPPort,
APIHTTPURL = GetAddrEnv("API_ADDR", "127.0.0.1:8888", "http")
PrometheusEnabled = GetEnvBool("PROMETHEUS_ENABLED", false)
APIJWTSecure = GetEnvBool("API_JWT_SECURE", true)
APIJWTSecret = decodeJWTKey(GetEnvString("API_JWT_SECRET", ""))
APIJWTTokenTTL = GetDurationEnv("API_JWT_TOKEN_TTL", 24*time.Hour)