mirror of
https://github.com/prometheus-community/postgres_exporter
synced 2025-04-08 10:11:26 +00:00
More specific glob for metric files.
This commit is contained in:
parent
df0bb41a13
commit
711ab8490b
@ -17,7 +17,7 @@ mkdir -p "$METRICS_DIR/"
|
|||||||
rm -f "$METRICS_DIR/*.unique"
|
rm -f "$METRICS_DIR/*.unique"
|
||||||
|
|
||||||
# Copy new files
|
# 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.
|
# Enter the assets dir and push.
|
||||||
cd "$ASSETS_DIR" || exit 1
|
cd "$ASSETS_DIR" || exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user