blob: f13b8c8312f5159f3cf0bc9c04881b1cb0ebe631 [file] [log] [blame]
Simon Kelley8c1b6a52018-07-21 22:12:32 +01001// If you modify this list, please keep the labels in metrics.c in sync.
2enum {
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
27const char* get_metric_name(int);