use lazy_static::lazy_static;
pub mod label_values {
pub const PROTOCOL_IPV4: &str = "ipv4";
pub const PROTOCOL_IPV6: &str = "ipv6";
pub const PROTOCOL_ICMP: &str = "icmp";
pub const PROTOCOL_ICMPV6: &str = "icmpv6";
pub const PROTOCOL_TCP: &str = "tcp";
pub const PROTOCOL_UDP: &str = "udp";
pub const STATUS_DROPPED: &str = "dropped";
pub const STATUS_TRANSLATED: &str = "translated";
}
lazy_static! {
pub static ref PACKET_COUNTER: prometheus::IntCounterVec = prometheus::register_int_counter_vec!(
"protomask_packets",
"Number of packets processed",
&["protocol", "status"]
).unwrap();
pub static ref ICMP_COUNTER: prometheus::IntCounterVec = prometheus::register_int_counter_vec!(
"protomask_icmp_packets_recv",
"Number of ICMP packets received",
&["protocol", "icmp_type", "icmp_code"]
).unwrap();
}