Skip to content

Commit

Permalink
prometheus: fix labels documentation
Browse files Browse the repository at this point in the history
Many thanks to Norman Brandinger (@NormB on GitHub) for spotting it.

(cherry picked from commit 5449d94)
  • Loading branch information
razvancrainea committed Oct 12, 2023
1 parent 4f6d3ae commit eab3496
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/prometheus/doc/prometheus_admin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ modparam("prometheus", "statistics", "active_dialogs load:")
<programlisting format="linespecific">
...
# convert duration_gateway to stat duration with gateway as a label
modparam("prometheus", "statistics", "group: /^(.*)_(.*)$/\1:gateway=\"\2\"/")
modparam("prometheus", "labels", "group: /^(.*)_(.*)$/\1:gateway=\"\2\"/")
...
</programlisting>
</example>
Expand Down

0 comments on commit eab3496

Please sign in to comment.