diff options
author | Dirk Engling <erdgeist@erdgeist.org> | 2015-11-26 20:30:00 +0100 |
---|---|---|
committer | Dirk Engling <erdgeist@erdgeist.org> | 2015-11-26 20:30:00 +0100 |
commit | 75c216c82db5f18b2fea156df16682655029e3c6 (patch) | |
tree | 5ec3dfb54928cc9a788c8d1eae541eeb5e9ad000 | |
parent | a215479d1a1f0df4759f95357538369664b57e6c (diff) |
dont count scrapes as full scrapes, fall through fail
-rw-r--r-- | ot_stats.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -679,6 +679,7 @@ void stats_issue_event( ot_status_event event, PROTO_FLAG proto, uintptr_t event | |||
679 | break; | 679 | break; |
680 | case EVENT_SCRAPE: | 680 | case EVENT_SCRAPE: |
681 | if( proto == FLAG_TCP ) ot_overall_tcp_successfulscrapes++; else ot_overall_udp_successfulscrapes++; | 681 | if( proto == FLAG_TCP ) ot_overall_tcp_successfulscrapes++; else ot_overall_udp_successfulscrapes++; |
682 | break; | ||
682 | case EVENT_FULLSCRAPE: | 683 | case EVENT_FULLSCRAPE: |
683 | ot_full_scrape_count++; | 684 | ot_full_scrape_count++; |
684 | ot_full_scrape_size += event_data; | 685 | ot_full_scrape_size += event_data; |