The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/scripts/protobuf-check.sh

16 lines
340 B

#!/usr/bin/env bash
# Check whether buf cli is installed
BUF_HELP_URL="https://buf.build/docs/installation"
EXIT_CODE=0
if ! [ -x "$(command -v buf)" ]; then
echo "Buf CLI not found."
echo "Please install Buf CLI and ensure 'buf' is available in your PATH."
echo "See ${BUF_HELP_URL} for help."
echo
EXIT_CODE=1
fi
exit $EXIT_CODE