diff options
| author | liuxueli <[email protected]> | 2024-06-12 14:46:15 +0000 |
|---|---|---|
| committer | liuxueli <[email protected]> | 2024-06-12 14:46:15 +0000 |
| commit | aaba41c67cdcbe80938dff2c504c4bc56c4a0590 (patch) | |
| tree | 083fa4b61eefbcb49e7138e6f876e76effb90d6b /bin | |
| parent | 5ba9d3ce4afe9d43dfd2c1a7a011f1b1fdca184c (diff) | |
Feature: export dns_message_transaction_index_get and local stat
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"}} ' |
