diff options
Diffstat (limited to 'bin')
| -rw-r--r-- | bin/dns_decoder.toml | 3 | ||||
| -rw-r--r-- | bin/dns_decoder_local_stat.sh | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/bin/dns_decoder.toml b/bin/dns_decoder.toml index fb60d1b..01957e3 100644 --- a/bin/dns_decoder.toml +++ b/bin/dns_decoder.toml @@ -12,3 +12,6 @@ stat_per_thread_enable="no" stat_name="DNS_DECODER" stat_interval_time_s=5 stat_output="metrics/dns_decoder_local_stat.json" + +[decoder.dns.test] +commit_result_enable="yes" diff --git a/bin/dns_decoder_local_stat.sh b/bin/dns_decoder_local_stat.sh index 588662f..4ed3f12 100644 --- a/bin/dns_decoder_local_stat.sh +++ b/bin/dns_decoder_local_stat.sh @@ -32,6 +32,5 @@ python3 $EXPORTER local -j $TARGET -e -t ' {{ print_tables("memory", ["new", "#Speed<new>", "free", "#Speed<free>"], True )}} {{"\n"}} {{"dns decoder decode status"}} - {{ print_tables("decode_field", ["error", "#Speed<error>"], True )}} {{"\n"}} - + {{ print_tables("section", ["ok", "#Speed<ok>", "error", "#Speed<error>"], True )}} {{"\n"}} ' |
