mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-24 03:59:49 +02:00
metrics: reduce gc pressure (#5530)
This commit is contained in:
parent
562101ae03
commit
5ef16bcd28
7 changed files with 393 additions and 23 deletions
|
@ -22,6 +22,9 @@ var (
|
|||
// is deprecated pending removal in a future release, but this flag allows a temporary
|
||||
// opt-out from the deprecation.
|
||||
RuntimeFlagPomeriumJWTEndpoint = runtimeFlag("pomerium_jwt_endpoint", false)
|
||||
|
||||
// RuntimeFlagAddExtraMetricsLabels enables adding extra labels to metrics (host and installation id)
|
||||
RuntimeFlagAddExtraMetricsLabels = runtimeFlag("add_extra_metrics_labels", true)
|
||||
)
|
||||
|
||||
// RuntimeFlag is a runtime flag that can flip on/off certain features
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue