From 5d4fb5d7abbb5d7ae61aa8446256110b7d06b88c Mon Sep 17 00:00:00 2001 From: Amnon Heiman Date: Wed, 22 Feb 2023 12:04:12 +0200 Subject: [PATCH] enable native-histogram Adds the command line option --enable-protobuf to start-all.sh Fixes #2155 --- start-all.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/start-all.sh b/start-all.sh index 8e2161689f..8402b5d14f 100755 --- a/start-all.sh +++ b/start-all.sh @@ -104,6 +104,7 @@ Options: --no-renderer - If set, do not run the Grafana renderer container. --thanos-sc - If set, run thanos side car with the Prometheus server. --thanos - If set, run thanos query as a Grafana datasource. + --enable-protobuf - If set, enable the experimental Prometheus Protobuf with Native histograms support. --target-directory - If set, prometheus/targets/ directory will be set as a root directory for the target files the file names should be scylla_server.yml, node_exporter_servers.yml, and scylla_manager_servers.yml --limit container,param - Allow to set a specific Docker parameter for a container, where container can be: @@ -230,6 +231,9 @@ for arg; do (--disable-anonymous) GRAFANA_ENV_COMMAND="$GRAFANA_ENV_COMMAND --disable-anonymous" ;; + (--enable-protobuf) + PROMETHEUS_COMMAND_LINE_OPTIONS_ARRAY+=(--enable-feature=native-histograms) + ;; (--limit) LIMIT="1" ;;