Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automated cherry pick of #6514: Fix Prometheus metrics doc (#6514) #6517

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ci/kind/validate-metrics-doc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ METRICS_DOC="$THIS_DIR/../../docs/prometheus-integration.md"
cp -v $METRICS_DOC $METRICS_TMP_DOC
$MAKE_CMD $METRICS_TMP_DOC
result=0
cmp -s $METRICS_DOC $METRICS_TMP_DOC || result=$?
diff $METRICS_DOC $METRICS_TMP_DOC || result=$?
if [ $result -ne 0 ]; then
echo "Error: Prometheus metrics document should be updated"
echo "You can update it by building the Antrea Docker image locally (with 'make'), running ./hack/make-metrics-doc.sh and committing the changes"
Expand Down
3 changes: 3 additions & 0 deletions docs/prometheus-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,9 @@ to a non-default GODEBUG=multipartmaxparts=... setting.
- **go_godebug_non_default_behavior_multipathtcp_events_total:** The number
of non-default behaviors executed by the net package due to a non-default
GODEBUG=multipathtcp=... setting.
- **go_godebug_non_default_behavior_netedns0_events_total:** The number
of non-default behaviors executed by the net package due to a non-default
GODEBUG=netedns0=... setting.
- **go_godebug_non_default_behavior_panicnil_events_total:** The number of
non-default behaviors executed by the runtime package due to a non-default
GODEBUG=panicnil=... setting.
Expand Down
Loading