9 #define HS_METRICS_ENTRY_PRIVATE
24 .key = HS_METRICS_NUM_INTRODUCTIONS,
25 .type = METRICS_TYPE_COUNTER,
26 .name = METRICS_NAME(hs_intro_num_total),
27 .help =
"Total number of introduction received",
28 .port_as_label =
false,
31 .key = HS_METRICS_APP_WRITE_BYTES,
32 .type = METRICS_TYPE_COUNTER,
33 .name = METRICS_NAME(hs_app_write_bytes_total),
34 .help =
"Total number of bytes written to the application",
35 .port_as_label =
true,
38 .key = HS_METRICS_APP_READ_BYTES,
39 .type = METRICS_TYPE_COUNTER,
40 .name = METRICS_NAME(hs_app_read_bytes_total),
41 .help =
"Total number of bytes read from the application",
42 .port_as_label =
true,
45 .key = HS_METRICS_NUM_ESTABLISHED_RDV,
46 .type = METRICS_TYPE_GAUGE,
47 .name = METRICS_NAME(hs_rdv_established_count),
48 .help =
"Total number of established rendezvous circuit",
51 .key = HS_METRICS_NUM_RDV,
52 .type = METRICS_TYPE_COUNTER,
53 .name = METRICS_NAME(hs_rdv_num_total),
54 .help =
"Total number of rendezvous circuit created",
57 .key = HS_METRICS_NUM_ESTABLISHED_INTRO,
58 .type = METRICS_TYPE_GAUGE,
59 .name = METRICS_NAME(hs_intro_established_count),
60 .help =
"Total number of established introduction circuit",
Utility macros to handle different features and behavior in different compilers.
const hs_metrics_entry_t base_metrics[]
const size_t base_metrics_size
Header for feature/hs/hs_metrics_entry.c.