Skip to content

[get_executor.sh] Make Grafana variables configurable

Charles Nguyen requested to merge charles@get_executor into master

Makes get_executor.sh respect the environment variables GRAFANA_HOST and GRAFANA_DASHBOARD when generating Grafana links. This allows us to generate links to different monitoring stacks (production monitoring, profiling monitoring ...). Example:

PRIVATE_TOKEN=<TOKEN> \ 
   GRAFANA_HOST=http://3.128.115.189:3000 \
   GRAFANA_DASHBOARD=node_exporter_aws_simplified/node-exporter-ec2-instance-name-simplified \
   ./get_executor.sh --pipeline https://gitlab.com/nomadic-labs/tezos/-/pipelines/892504022
Edited by Arvid Jakobsson

Merge request reports