Browse Source

dont count scrapes as full scrapes, fall through fail

undefined
Dirk Engling 4 years ago
parent
commit
75c216c82d
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      ot_stats.c

+ 1
- 0
ot_stats.c View File

@@ -679,6 +679,7 @@ void stats_issue_event( ot_status_event event, PROTO_FLAG proto, uintptr_t event
break;
case EVENT_SCRAPE:
if( proto == FLAG_TCP ) ot_overall_tcp_successfulscrapes++; else ot_overall_udp_successfulscrapes++;
break;
case EVENT_FULLSCRAPE:
ot_full_scrape_count++;
ot_full_scrape_size += event_data;


Loading…
Cancel
Save