Documentation
¶
Index ¶
Constants ¶
View Source
const ( HEALTH_TOKEN = "HEALTH_TOKEN" ALLOWED_ORIGINS = "ALLOWED_ORIGINS" PYROSCOPE_SERVER_ADDRESS = "PYROSCOPE_SERVER_ADDRESS" PYROSCOPE_TENANT_ID = "PYROSCOPE_TENANT_ID" // AUTH_API_URL is auth-api's base URL, used by server/middleware.WriteAuth to verify // forwarded user bearer tokens via /authz/check. AUTH_API_URL = "AUTH_API_URL" )
Environment variable names
View Source
const ( ServiceName = "admin-api" // ProfilingEnabledFlag is the feature-flag key gating continuous // profiling, evaluated via api-core.go/featureflags. Replaces the old // PYROSCOPE_SERVER_ADDRESS-presence check; see // openspec/changes/pyroscope-profiling-feature-flag in sweetrpg/platform. ProfilingEnabledFlag = "profiling-enabled" // BannerCollection is the MongoDB collection name for banner messages. BannerCollection = "banners" // MaintenanceModeCollection is the MongoDB collection name for maintenance-mode // records. MaintenanceModeCollection = "maintenance_modes" // AdminActionAuditLogCollection is the MongoDB collection name for write-route // audit records. AdminActionAuditLogCollection = "admin_action_audit_logs" )
Value constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.