Skip to content

Commit

Permalink
skipper: add config to enable prometheus start label
Browse files Browse the repository at this point in the history
See zalando/skipper#3089 for details.

Signed-off-by: Alexander Yastrebov <alexander.yastrebov@zalando.de>
  • Loading branch information
AlexanderYastrebov committed Jun 11, 2024
1 parent de7fef1 commit cf93f0f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cluster/config-defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ skipper_endpointslices_enabled: "true"

skipper_compress_encodings: "gzip,deflate,br"

skipper_prometheus_start_label_enabled: "false"

# skipper profiling settings, 0 keeps default, <0 disable, >0 enable with value
# https://pkg.go.dev/runtime@master#SetBlockProfileRate
# https://pkg.go.dev/runtime@master#SetMutexProfileFraction
Expand Down
1 change: 1 addition & 0 deletions cluster/manifests/skipper/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ spec:
- "-experimental-upgrade"
- "-metrics-exp-decay-sample"
- "-metrics-flavour=prometheus"
- "-enable-prometheus-start-label={{ .Cluster.ConfigItems.skipper_prometheus_start_label_enabled }}"
- "-enable-connection-metrics"
- "-enable-route-lifo-metrics"
- "-enable-route-fifo-metrics"
Expand Down

0 comments on commit cf93f0f

Please sign in to comment.