1
0
mirror of https://github.com/prometheus-community/postgres_exporter.git synced 2025-08-08 04:42:07 +03:00

More specific glob for metric files.

This commit is contained in:
Will Rouesnel
2018-11-11 17:13:06 +11:00
parent df0bb41a13
commit 711ab8490b

View File

@@ -17,7 +17,7 @@ mkdir -p "$METRICS_DIR/"
rm -f "$METRICS_DIR/*.unique"
# Copy new files
cp -f -t "$METRICS_DIR/" ./*.unique || exit 1
cp -f -t "$METRICS_DIR/" ./.metrics.*.prom.unique || exit 1
# Enter the assets dir and push.
cd "$ASSETS_DIR" || exit 1