Skip to content

Commit 1c9044e

Browse files
committed
Exempt udp_queues from prom "best practices" scolding.
We want to maintain the names as the kernel has them.
1 parent 146d5e8 commit 1c9044e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

checkmetrics.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ if [[ ( -z "$1" ) || ( -z "$2" ) ]]; then
66
fi
77

88
# Ignore known issues in auto-generated and network specific collectors.
9-
lint=$($1 check metrics < "$2" 2>&1 | grep -v -E "^node_(entropy|memory|netstat|wifi_station)_")
9+
lint=$($1 check metrics < "$2" 2>&1 | grep -v -E "^node_(entropy|memory|netstat|wifi_station|udp_queues)_")
1010

1111
if [[ -n $lint ]]; then
1212
echo -e "Some Prometheus metrics do not follow best practices:\n"

0 commit comments

Comments
 (0)