pub enum MetricName {
Show 33 variants
UaCommand(String),
UaAlreadyConnected,
UaCommandRegister,
UaCommandUnregister,
UaConnectionCheck,
UaConnectionChannelCount,
UaNotificationSent,
UaExpiration,
NotificationAuth,
NotificationAuthBadVapidJson,
NotificationAuthBadVapidOther,
NotificationAuthOk,
NotificationAuthError,
NotificationMessageExpired,
NotificationBridgeError,
NotificationBridgeSent,
NotificationTotalRequestTime,
NotificationMessageData,
NotificationMessageStored,
NotificationMessageDeleted,
ErrorNodeTimeout,
ErrorNodeConnect,
UpdatesDropUser,
UpdatesVapidDraft,
UpdatesClientHostGone,
UpdatesVapid,
MegaphoneUpdaterOk,
MegaphoneUpdaterError,
ReliabilityErrorRedisUnavailable,
ErrorRedisUnavailable,
DatabaseRetry,
DatabaseDropUser,
ReliabilityGc,
}
Expand description
Represents all metric names used in the application.
Variants§
UaCommand(String)
User agent command with dynamic command name
UaAlreadyConnected
User agent is already connected
UaCommandRegister
User agent register command
UaCommandUnregister
User agent unregister command
UaConnectionCheck
User agent connection check
UaConnectionChannelCount
User agent connection channel count
UaNotificationSent
User agent notification sent
UaExpiration
User agent expiration
NotificationAuth
Notification authentication
NotificationAuthBadVapidJson
Notification authentication bad VAPID JSON
NotificationAuthBadVapidOther
Notification authentication bad VAPID other
NotificationAuthOk
Authentication success
NotificationAuthError
Authentication error
NotificationMessageExpired
Notification message expired
NotificationBridgeError
Bridge error in notification routing
NotificationBridgeSent
Bridge successfully sent notification
NotificationTotalRequestTime
Notification total request time
NotificationMessageData
Notification message data
NotificationMessageStored
Notifcation message stored
NotificationMessageDeleted
Notifcation message deleted
ErrorNodeTimeout
Node timeout error
ErrorNodeConnect
Node connection error
UpdatesDropUser
Updates drop user
UpdatesVapidDraft
VAPID version updates
UpdatesClientHostGone
Client host is gone
UpdatesVapid
VAPID update
MegaphoneUpdaterOk
Megaphone updater successful
MegaphoneUpdaterError
Megaphone updater error
Reliability error with Redis unavailable
DatabaseRetry
DatabaseDropUser
ReliabilityGc
Trait Implementations§
Source§impl AsRef<str> for MetricName
impl AsRef<str> for MetricName
Source§impl Clone for MetricName
impl Clone for MetricName
Source§fn clone(&self) -> MetricName
fn clone(&self) -> MetricName
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for MetricName
impl Debug for MetricName
Source§impl Display for MetricName
impl Display for MetricName
Source§impl<'_derivative_strum> From<&'_derivative_strum MetricName> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum MetricName> for &'static str
Source§fn from(x: &'_derivative_strum MetricName) -> &'static str
fn from(x: &'_derivative_strum MetricName) -> &'static str
Source§impl From<MetricName> for &'static str
impl From<MetricName> for &'static str
Source§fn from(x: MetricName) -> &'static str
fn from(x: MetricName) -> &'static str
Source§impl FromStr for MetricName
impl FromStr for MetricName
Auto Trait Implementations§
impl Freeze for MetricName
impl RefUnwindSafe for MetricName
impl Send for MetricName
impl Sync for MetricName
impl Unpin for MetricName
impl UnwindSafe for MetricName
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.