Skip to content

Commit

Permalink
statistics docs: Fix quoted integers in function call example
Browse files Browse the repository at this point in the history
Credits to Fabien Aunay for the report!
  • Loading branch information
liviuchircu committed Feb 17, 2023
1 parent 22d0b71 commit 31f5265
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/statistics/doc/statistics_admin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -408,13 +408,13 @@ timer_route [clear_packet_stats, 7200] {
<programlisting format="linespecific">
...
# account failed calls
update_stat_series("perc_1h", "ASR_1h", "-1");
update_stat_series("perc_1h", "ASR_1h", -1);

# account successful calls
update_stat_series("perc_1h", "ASR_1h", "1");
update_stat_series("perc_1h", "ASR_1h", 1);

# compute average PDD
update_stat_series("avg", "PDD", "$var(pdd_ms)");
update_stat_series("avg", "PDD", $var(pdd_ms));
...
</programlisting>
</example>
Expand Down

0 comments on commit 31f5265

Please sign in to comment.