Skip to content

Commit

Permalink
Fix path for custom-prom.yml in grafana-cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickdowne committed Nov 11, 2022
1 parent b6bd9e3 commit 8ffd97e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prometheus/choose-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ case "$CLIENT" in
*alert* ) cat /etc/prometheus/alert-prom.yml >> /etc/prometheus/prometheus.yml;;
esac

if [ -f "./prometheus/custom-prom.yml" ]; then
if [ -f "/etc/prometheus/custom-prom.yml" ]; then
cat /etc/prometheus/custom-prom.yml >> /etc/prometheus/prometheus.yml
fi

Expand Down

0 comments on commit 8ffd97e

Please sign in to comment.