pub struct Metrics {Show 16 fields
pub pkarr_publish_update: Counter,
pub pkarr_publish_noop: Counter,
pub dns_requests: Counter,
pub dns_requests_udp: Counter,
pub dns_requests_https: Counter,
pub dns_lookup_success: Counter,
pub dns_lookup_notfound: Counter,
pub dns_lookup_error: Counter,
pub http_requests: Counter,
pub http_requests_success: Counter,
pub http_requests_error: Counter,
pub http_requests_duration_ms: Counter,
pub store_packets_inserted: Counter,
pub store_packets_removed: Counter,
pub store_packets_updated: Counter,
pub store_packets_expired: Counter,
}
Expand description
Metrics for iroh-dns-server
Fields§
§pkarr_publish_update: Counter
Number of pkarr relay puts that updated the state
pkarr_publish_noop: Counter
Number of pkarr relay puts that did not update the state
dns_requests: Counter
DNS requests (total)
dns_requests_udp: Counter
DNS requests via UDP
dns_requests_https: Counter
DNS requests via HTTPS (DoH)
dns_lookup_success: Counter
DNS lookup responses with at least one answer
dns_lookup_notfound: Counter
DNS lookup responses with no answers
dns_lookup_error: Counter
DNS lookup responses which failed
http_requests: Counter
Number of HTTP requests
http_requests_success: Counter
Number of HTTP requests with a 2xx status code
http_requests_error: Counter
Number of HTTP requests with a non-2xx status code
http_requests_duration_ms: Counter
Total duration of all HTTP requests
store_packets_inserted: Counter
Signed packets inserted into the store
store_packets_removed: Counter
Signed packets removed from the store
store_packets_updated: Counter
Number of updates to existing packets
store_packets_expired: Counter
Number of expired packets
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Metrics
impl RefUnwindSafe for Metrics
impl Send for Metrics
impl Sync for Metrics
impl Unpin for Metrics
impl UnwindSafe for Metrics
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoIterable for Twhere
T: Iterable,
impl<T> IntoIterable for Twhere
T: Iterable,
§fn as_iterable(&self) -> &dyn Iterable
fn as_iterable(&self) -> &dyn Iterable
Returns
self
as dyn Iterable
§fn field_iter(&self) -> FieldIter<'_>
fn field_iter(&self) -> FieldIter<'_>
Returns an iterator over the fields of the struct.