Simon Kelley | 8c1b6a5 | 2018-07-21 22:12:32 +0100 | [diff] [blame^] | 1 | // If you modify this list, please keep the labels in metrics.c in sync. |
| 2 | enum { |
| 3 | METRIC_DNS_CACHE_INSERTED, |
| 4 | METRIC_DNS_CACHE_LIVE_FREED, |
| 5 | METRIC_DNS_QUERIES_FORWARDED, |
| 6 | METRIC_DNS_AUTH_ANSWERED, |
| 7 | METRIC_DNS_LOCAL_ANSWERED, |
| 8 | METRIC_BOOTP, |
| 9 | METRIC_PXE, |
| 10 | METRIC_DHCPACK, |
| 11 | METRIC_DHCPDECLINE, |
| 12 | METRIC_DHCPDISCOVER, |
| 13 | METRIC_DHCPINFORM, |
| 14 | METRIC_DHCPNAK, |
| 15 | METRIC_DHCPOFFER, |
| 16 | METRIC_DHCPRELEASE, |
| 17 | METRIC_DHCPREQUEST, |
| 18 | METRIC_NOANSWER, |
| 19 | METRIC_LEASES_ALLOCATED_4, |
| 20 | METRIC_LEASES_PRUNED_4, |
| 21 | METRIC_LEASES_ALLOCATED_6, |
| 22 | METRIC_LEASES_PRUNED_6, |
| 23 | |
| 24 | __METRIC_MAX, |
| 25 | }; |
| 26 | |
| 27 | const char* get_metric_name(int); |