Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- trace_ :: (MonadTracing m, HasCallStack) => SpanSpec -> m a -> m a
- trace :: (MonadTracing m, HasCallStack) => SpanSpec -> (MutableSpan -> m a) -> m a
- class Monad m => MonadTracing m where
- traceCS :: CallStack -> SpanSpec -> (MutableSpan -> m a) -> m a
- getSpanContext :: MutableSpan -> m SpanContext
- updateSpan :: MutableSpan -> UpdateSpanSpec -> m ()
- class (MonadTracing m, MonadIO m) => MonadTracingIO m where
- askTracerIO :: m Tracer
- data TracerProvider = TracerProvider {}
- data Tracer = Tracer {
- tracerInstrumentationScope :: InstrumentationScope
- tracerNow :: IO Timestamp
- tracerStartSpan :: CallStack -> Context -> SpanSpec -> IO (MutableSpan, [Pair])
- tracerProcessSpan :: Span Attrs -> IO ()
- tracerSpanAttrsLimits :: AttrsLimits 'AttrsForSpan
- tracerSpanEventAttrsLimits :: AttrsLimits 'AttrsForSpanEvent
- tracerSpanLinkAttrsLimits :: AttrsLimits 'AttrsForSpanLink
- contextBackendSpan :: ContextBackend MutableSpan
- contextKeySpan :: ContextKey MutableSpan
- data SpanContext = SpanContext {}
- emptySpanContext :: SpanContext
- spanContextIsValid :: SpanContext -> Bool
- spanContextIsSampled :: SpanContext -> Bool
- data TraceId = TraceId {}
- traceIdToHexText :: TraceId -> Text
- traceIdToBytesVector :: TraceId -> Vector Word8
- traceIdToHexBuilder :: TraceId -> Builder
- traceIdToBytesBuilder :: TraceId -> Builder
- emptyTraceId :: TraceId
- traceIdFromWords :: Word64 -> Word64 -> TraceId
- newtype SpanId = SpanId {}
- spanIdToHexText :: SpanId -> Text
- spanIdToBytesVector :: SpanId -> Vector Word8
- spanIdToHexBuilder :: SpanId -> Builder
- spanIdToBytesBuilder :: SpanId -> Builder
- emptySpanId :: SpanId
- spanIdFromWords :: Word64 -> SpanId
- newtype TraceFlags = TraceFlags {}
- traceFlagsToHexText :: TraceFlags -> Text
- traceFlagsToHexBuilder :: TraceFlags -> Builder
- traceFlagsSampled :: TraceFlags
- isSampledFlagSet :: TraceFlags -> Bool
- newtype TraceState = TraceState {}
- emptyTraceState :: TraceState
- nullTraceState :: TraceState -> Bool
- sizeTraceState :: TraceState -> Int
- memberTraceState :: Key Text -> TraceState -> Bool
- lookupTraceState :: Key Text -> TraceState -> Maybe Text
- findWithDefaultTraceState :: Text -> Key Text -> TraceState -> Text
- deleteTraceState :: Key Text -> TraceState -> TraceState
- filterTraceState :: (Text -> Bool) -> TraceState -> TraceState
- filterWithKeyTraceState :: (Key Text -> Text -> Bool) -> TraceState -> TraceState
- foldMapWithKeyTraceState :: forall m. Monoid m => (Key Text -> Text -> m) -> TraceState -> m
- toListTraceState :: TraceState -> [(Key Text, Text)]
- newtype TraceStateBuilder a = TraceStateBuilder {}
- buildTraceState :: forall m. MonadThrow m => TraceStateBuilder TraceState -> m TraceState
- buildTraceStatePure :: TraceStateBuilder TraceState -> Either TraceStateErrors TraceState
- newtype SpanEvents (attrs :: AttrsFor -> Type) = SpanEvents {
- unSpanEvents :: DList (SpanEvent attrs)
- spanEventsFromList :: [SpanEvent attrs] -> SpanEvents attrs
- spanEventsToList :: SpanEvents attrs -> [SpanEvent attrs]
- freezeAllSpanEventAttrs :: AttrsLimits 'AttrsForSpanEvent -> SpanEvents AttrsBuilder -> SpanEvents Attrs
- data SpanEvent (attrs :: AttrsFor -> Type) = SpanEvent {}
- freezeSpanEventAttrs :: AttrsLimits 'AttrsForSpanEvent -> SpanEvent AttrsBuilder -> SpanEvent Attrs
- newtype SpanEventSpecs = SpanEventSpecs {}
- singletonSpanEventSpecs :: SpanEventSpec -> SpanEventSpecs
- spanEventSpecsFromList :: [SpanEventSpec] -> SpanEventSpecs
- spanEventSpecsToList :: SpanEventSpecs -> [SpanEventSpec]
- data SpanEventSpec = SpanEventSpec {}
- defaultSpanEventSpec :: SpanEventSpec
- newtype SpanEventName = SpanEventName {}
- newtype SpanLinks (attrs :: AttrsFor -> Type) = SpanLinks {
- unSpanLinks :: DList (SpanLink attrs)
- spanLinksFromList :: [SpanLink attrs] -> SpanLinks attrs
- spanLinksToList :: SpanLinks attrs -> [SpanLink attrs]
- freezeAllSpanLinkAttrs :: AttrsLimits 'AttrsForSpanLink -> SpanLinks AttrsBuilder -> SpanLinks Attrs
- newtype SpanLinkSpecs = SpanLinkSpecs {}
- singletonSpanLinkSpecs :: SpanLinkSpec -> SpanLinkSpecs
- spanLinkSpecsFromList :: [SpanLinkSpec] -> SpanLinkSpecs
- spanLinkSpecsToList :: SpanLinkSpecs -> [SpanLinkSpec]
- data SpanLink (attrs :: AttrsFor -> Type) = SpanLink {
- spanLinkSpanContext :: SpanContext
- spanLinkAttrs :: attrs 'AttrsForSpanLink
- freezeSpanLinkAttrs :: AttrsLimits 'AttrsForSpanLink -> SpanLink AttrsBuilder -> SpanLink Attrs
- newtype SpanLinkName = SpanLinkName {}
- data SpanLinkSpec = SpanLinkSpec {}
- defaultSpanLinkSpec :: SpanLinkSpec
- data SpanSpec = SpanSpec {}
- defaultSpanSpec :: SpanSpec
- data UpdateSpanSpec = UpdateSpanSpec {}
- defaultUpdateSpanSpec :: UpdateSpanSpec
- buildSpanUpdater :: forall m. Monad m => m Timestamp -> UpdateSpanSpec -> m (Span AttrsBuilder -> Span AttrsBuilder)
- recordException :: SomeException -> Bool -> TimestampSource -> AttrsBuilder 'AttrsForSpanEvent -> UpdateSpanSpec
- exceptionEvent :: SomeException -> Bool -> TimestampSource -> AttrsBuilder 'AttrsForSpanEvent -> SpanEventSpec
- newtype SpanName = SpanName {
- unSpanName :: Text
- newtype MutableSpan = MutableSpan {}
- unsafeNewMutableSpan :: Span AttrsBuilder -> IO MutableSpan
- unsafeReadMutableSpan :: MutableSpan -> IO (Span AttrsBuilder)
- unsafeModifyMutableSpan :: MutableSpan -> (Span AttrsBuilder -> (Span AttrsBuilder, a)) -> IO a
- data Span (attrs :: AttrsFor -> Type) = Span {
- spanLineage :: SpanLineage
- spanContext :: SpanContext
- spanName :: SpanName
- spanStatus :: SpanStatus
- spanStart :: Timestamp
- spanFrozenAt :: SpanFrozenAt attrs
- spanKind :: SpanKind
- spanAttrs :: attrs 'AttrsForSpan
- spanLinks :: SpanLinks attrs
- spanEvents :: SpanEvents attrs
- spanIsRecording :: Bool
- spanInstrumentationScope :: InstrumentationScope
- spanIsRemote :: Span attrs -> Bool
- spanIsSampled :: Span attrs -> Bool
- spanIsRoot :: Span attrs -> Bool
- spanIsChildOf :: Span attrs -> Span attrs -> Bool
- type family SpanFrozenAt (attrs :: AttrsFor -> Type) :: Type where ...
- data SpanFrozenTimestamp
- frozenTimestamp :: SpanFrozenTimestamp -> Timestamp
- freezeSpan :: Timestamp -> AttrsLimits 'AttrsForSpanLink -> AttrsLimits 'AttrsForSpanEvent -> AttrsLimits 'AttrsForSpan -> Span AttrsBuilder -> Span Attrs
- data SpanLineage
- data SpanKind
- data SpanStatus
Disclaimer
In general, changes to this module will not be reflected in the library's version updates. Direct use of this module should be done with utmost care, otherwise invariants will easily be violated.
trace_ :: (MonadTracing m, HasCallStack) => SpanSpec -> m a -> m a Source #
trace :: (MonadTracing m, HasCallStack) => SpanSpec -> (MutableSpan -> m a) -> m a Source #
class Monad m => MonadTracing m where Source #
Nothing
traceCS :: CallStack -> SpanSpec -> (MutableSpan -> m a) -> m a Source #
default traceCS :: (MonadTransControl t, MonadTracing n, m ~ t n) => CallStack -> SpanSpec -> (MutableSpan -> m a) -> m a Source #
getSpanContext :: MutableSpan -> m SpanContext Source #
default getSpanContext :: (MonadTrans t, MonadTracing n, m ~ t n) => MutableSpan -> m SpanContext Source #
updateSpan :: MutableSpan -> UpdateSpanSpec -> m () Source #
default updateSpan :: (MonadTrans t, MonadTracing n, m ~ t n) => MutableSpan -> UpdateSpanSpec -> m () Source #
Instances
class (MonadTracing m, MonadIO m) => MonadTracingIO m where Source #
Nothing
askTracerIO :: m Tracer Source #
default askTracerIO :: (MonadTrans t, MonadTracingIO n, m ~ t n) => m Tracer Source #
Instances
data TracerProvider Source #
data SpanContext Source #
Instances
ToJSON SpanContext Source # | |
Defined in OTel.API.Trace.Core.Internal toJSON :: SpanContext -> Value # toEncoding :: SpanContext -> Encoding # toJSONList :: [SpanContext] -> Value # toEncodingList :: [SpanContext] -> Encoding # omitField :: SpanContext -> Bool # | |
Show SpanContext Source # | |
Defined in OTel.API.Trace.Core.Internal showsPrec :: Int -> SpanContext -> ShowS # show :: SpanContext -> String # showList :: [SpanContext] -> ShowS # | |
Eq SpanContext Source # | |
Defined in OTel.API.Trace.Core.Internal (==) :: SpanContext -> SpanContext -> Bool # (/=) :: SpanContext -> SpanContext -> Bool # |
spanContextIsValid :: SpanContext -> Bool Source #
traceIdToHexText :: TraceId -> Text Source #
traceIdToHexBuilder :: TraceId -> Builder Source #
spanIdToHexText :: SpanId -> Text Source #
spanIdToHexBuilder :: SpanId -> Builder Source #
spanIdToBytesBuilder :: SpanId -> Builder Source #
emptySpanId :: SpanId Source #
spanIdFromWords :: Word64 -> SpanId Source #
newtype TraceFlags Source #
Instances
ToJSON TraceFlags Source # | |
Defined in OTel.API.Trace.Core.Internal toJSON :: TraceFlags -> Value # toEncoding :: TraceFlags -> Encoding # toJSONList :: [TraceFlags] -> Value # toEncodingList :: [TraceFlags] -> Encoding # omitField :: TraceFlags -> Bool # | |
Monoid TraceFlags Source # | |
Defined in OTel.API.Trace.Core.Internal mempty :: TraceFlags # mappend :: TraceFlags -> TraceFlags -> TraceFlags # mconcat :: [TraceFlags] -> TraceFlags # | |
Semigroup TraceFlags Source # | |
Defined in OTel.API.Trace.Core.Internal (<>) :: TraceFlags -> TraceFlags -> TraceFlags # sconcat :: NonEmpty TraceFlags -> TraceFlags # stimes :: Integral b => b -> TraceFlags -> TraceFlags # | |
Show TraceFlags Source # | |
Defined in OTel.API.Trace.Core.Internal showsPrec :: Int -> TraceFlags -> ShowS # show :: TraceFlags -> String # showList :: [TraceFlags] -> ShowS # | |
Eq TraceFlags Source # | |
Defined in OTel.API.Trace.Core.Internal (==) :: TraceFlags -> TraceFlags -> Bool # (/=) :: TraceFlags -> TraceFlags -> Bool # |
traceFlagsToHexText :: TraceFlags -> Text Source #
isSampledFlagSet :: TraceFlags -> Bool Source #
newtype TraceState Source #
Instances
ToJSON TraceState Source # | |
Defined in OTel.API.Trace.Core.Internal toJSON :: TraceState -> Value # toEncoding :: TraceState -> Encoding # toJSONList :: [TraceState] -> Value # toEncodingList :: [TraceState] -> Encoding # omitField :: TraceState -> Bool # | |
Show TraceState Source # | |
Defined in OTel.API.Trace.Core.Internal showsPrec :: Int -> TraceState -> ShowS # show :: TraceState -> String # showList :: [TraceState] -> ShowS # | |
Eq TraceState Source # | |
Defined in OTel.API.Trace.Core.Internal (==) :: TraceState -> TraceState -> Bool # (/=) :: TraceState -> TraceState -> Bool # | |
KV (TraceStateBuilder TraceState) Source # | |
Defined in OTel.API.Trace.Core.Internal type KVConstraints (TraceStateBuilder TraceState) :: Type -> Type -> Constraint # (.@) :: KVConstraints (TraceStateBuilder TraceState) from to => Key to -> from -> TraceStateBuilder TraceState # | |
type KVConstraints (TraceStateBuilder TraceState) Source # | |
Defined in OTel.API.Trace.Core.Internal |
nullTraceState :: TraceState -> Bool Source #
sizeTraceState :: TraceState -> Int Source #
memberTraceState :: Key Text -> TraceState -> Bool Source #
lookupTraceState :: Key Text -> TraceState -> Maybe Text Source #
findWithDefaultTraceState :: Text -> Key Text -> TraceState -> Text Source #
deleteTraceState :: Key Text -> TraceState -> TraceState Source #
filterTraceState :: (Text -> Bool) -> TraceState -> TraceState Source #
filterWithKeyTraceState :: (Key Text -> Text -> Bool) -> TraceState -> TraceState Source #
foldMapWithKeyTraceState :: forall m. Monoid m => (Key Text -> Text -> m) -> TraceState -> m Source #
toListTraceState :: TraceState -> [(Key Text, Text)] Source #
newtype TraceStateBuilder a Source #
Instances
buildTraceState :: forall m. MonadThrow m => TraceStateBuilder TraceState -> m TraceState Source #
newtype SpanEvents (attrs :: AttrsFor -> Type) Source #
SpanEvents | |
|
Instances
spanEventsFromList :: [SpanEvent attrs] -> SpanEvents attrs Source #
spanEventsToList :: SpanEvents attrs -> [SpanEvent attrs] Source #
freezeAllSpanEventAttrs :: AttrsLimits 'AttrsForSpanEvent -> SpanEvents AttrsBuilder -> SpanEvents Attrs Source #
data SpanEvent (attrs :: AttrsFor -> Type) Source #
SpanEvent | |
|
freezeSpanEventAttrs :: AttrsLimits 'AttrsForSpanEvent -> SpanEvent AttrsBuilder -> SpanEvent Attrs Source #
newtype SpanEventSpecs Source #
Instances
Monoid SpanEventSpecs Source # | |
Defined in OTel.API.Trace.Core.Internal mappend :: SpanEventSpecs -> SpanEventSpecs -> SpanEventSpecs # mconcat :: [SpanEventSpecs] -> SpanEventSpecs # | |
Semigroup SpanEventSpecs Source # | |
Defined in OTel.API.Trace.Core.Internal (<>) :: SpanEventSpecs -> SpanEventSpecs -> SpanEventSpecs # sconcat :: NonEmpty SpanEventSpecs -> SpanEventSpecs # stimes :: Integral b => b -> SpanEventSpecs -> SpanEventSpecs # |
data SpanEventSpec Source #
Instances
IsString SpanEventSpec Source # | |
Defined in OTel.API.Trace.Core.Internal fromString :: String -> SpanEventSpec # | |
WithAttrs SpanEventSpec Source # | |
Defined in OTel.API.Trace.Core.Internal type WithAttrsAttrType SpanEventSpec :: AttrsFor # | |
type WithAttrsAttrType SpanEventSpec Source # | |
Defined in OTel.API.Trace.Core.Internal |
newtype SpanEventName Source #
Instances
ToJSON SpanEventName Source # | |
Defined in OTel.API.Trace.Core.Internal toJSON :: SpanEventName -> Value # toEncoding :: SpanEventName -> Encoding # toJSONList :: [SpanEventName] -> Value # toEncodingList :: [SpanEventName] -> Encoding # omitField :: SpanEventName -> Bool # | |
IsString SpanEventName Source # | |
Defined in OTel.API.Trace.Core.Internal fromString :: String -> SpanEventName # | |
Show SpanEventName Source # | |
Defined in OTel.API.Trace.Core.Internal showsPrec :: Int -> SpanEventName -> ShowS # show :: SpanEventName -> String # showList :: [SpanEventName] -> ShowS # | |
Eq SpanEventName Source # | |
Defined in OTel.API.Trace.Core.Internal (==) :: SpanEventName -> SpanEventName -> Bool # (/=) :: SpanEventName -> SpanEventName -> Bool # |
newtype SpanLinks (attrs :: AttrsFor -> Type) Source #
SpanLinks | |
|
spanLinksFromList :: [SpanLink attrs] -> SpanLinks attrs Source #
spanLinksToList :: SpanLinks attrs -> [SpanLink attrs] Source #
freezeAllSpanLinkAttrs :: AttrsLimits 'AttrsForSpanLink -> SpanLinks AttrsBuilder -> SpanLinks Attrs Source #
newtype SpanLinkSpecs Source #
Instances
Monoid SpanLinkSpecs Source # | |
Defined in OTel.API.Trace.Core.Internal mempty :: SpanLinkSpecs # mappend :: SpanLinkSpecs -> SpanLinkSpecs -> SpanLinkSpecs # mconcat :: [SpanLinkSpecs] -> SpanLinkSpecs # | |
Semigroup SpanLinkSpecs Source # | |
Defined in OTel.API.Trace.Core.Internal (<>) :: SpanLinkSpecs -> SpanLinkSpecs -> SpanLinkSpecs # sconcat :: NonEmpty SpanLinkSpecs -> SpanLinkSpecs # stimes :: Integral b => b -> SpanLinkSpecs -> SpanLinkSpecs # |
data SpanLink (attrs :: AttrsFor -> Type) Source #
SpanLink | |
|
freezeSpanLinkAttrs :: AttrsLimits 'AttrsForSpanLink -> SpanLink AttrsBuilder -> SpanLink Attrs Source #
newtype SpanLinkName Source #
Instances
IsString SpanLinkName Source # | |
Defined in OTel.API.Trace.Core.Internal fromString :: String -> SpanLinkName # | |
Show SpanLinkName Source # | |
Defined in OTel.API.Trace.Core.Internal showsPrec :: Int -> SpanLinkName -> ShowS # show :: SpanLinkName -> String # showList :: [SpanLinkName] -> ShowS # | |
Eq SpanLinkName Source # | |
Defined in OTel.API.Trace.Core.Internal (==) :: SpanLinkName -> SpanLinkName -> Bool # (/=) :: SpanLinkName -> SpanLinkName -> Bool # |
data SpanLinkSpec Source #
Instances
WithAttrs SpanLinkSpec Source # | |
Defined in OTel.API.Trace.Core.Internal type WithAttrsAttrType SpanLinkSpec :: AttrsFor # | |
type WithAttrsAttrType SpanLinkSpec Source # | |
Defined in OTel.API.Trace.Core.Internal |
Instances
IsString SpanSpec Source # | |
Defined in OTel.API.Trace.Core.Internal fromString :: String -> SpanSpec # | |
WithAttrs SpanSpec Source # | |
Defined in OTel.API.Trace.Core.Internal type WithAttrsAttrType SpanSpec :: AttrsFor # (.:@) :: SpanSpec -> AttrsBuilder (WithAttrsAttrType SpanSpec) -> SpanSpec # | |
type WithAttrsAttrType SpanSpec Source # | |
Defined in OTel.API.Trace.Core.Internal |
data UpdateSpanSpec Source #
Instances
IsString UpdateSpanSpec Source # | |
Defined in OTel.API.Trace.Core.Internal fromString :: String -> UpdateSpanSpec # | |
WithAttrs UpdateSpanSpec Source # | |
Defined in OTel.API.Trace.Core.Internal type WithAttrsAttrType UpdateSpanSpec :: AttrsFor # | |
type WithAttrsAttrType UpdateSpanSpec Source # | |
Defined in OTel.API.Trace.Core.Internal |
buildSpanUpdater :: forall m. Monad m => m Timestamp -> UpdateSpanSpec -> m (Span AttrsBuilder -> Span AttrsBuilder) Source #
recordException :: SomeException -> Bool -> TimestampSource -> AttrsBuilder 'AttrsForSpanEvent -> UpdateSpanSpec Source #
exceptionEvent :: SomeException -> Bool -> TimestampSource -> AttrsBuilder 'AttrsForSpanEvent -> SpanEventSpec Source #
newtype MutableSpan Source #
unsafeModifyMutableSpan :: MutableSpan -> (Span AttrsBuilder -> (Span AttrsBuilder, a)) -> IO a Source #
data Span (attrs :: AttrsFor -> Type) Source #
Span | |
|
spanIsRemote :: Span attrs -> Bool Source #
spanIsSampled :: Span attrs -> Bool Source #
spanIsRoot :: Span attrs -> Bool Source #
data SpanFrozenTimestamp Source #
Instances
ToJSON SpanFrozenTimestamp Source # | |
Defined in OTel.API.Trace.Core.Internal toJSON :: SpanFrozenTimestamp -> Value # toEncoding :: SpanFrozenTimestamp -> Encoding # toJSONList :: [SpanFrozenTimestamp] -> Value # toEncodingList :: [SpanFrozenTimestamp] -> Encoding # omitField :: SpanFrozenTimestamp -> Bool # | |
Show SpanFrozenTimestamp Source # | |
Defined in OTel.API.Trace.Core.Internal showsPrec :: Int -> SpanFrozenTimestamp -> ShowS # show :: SpanFrozenTimestamp -> String # showList :: [SpanFrozenTimestamp] -> ShowS # | |
Eq SpanFrozenTimestamp Source # | |
Defined in OTel.API.Trace.Core.Internal (==) :: SpanFrozenTimestamp -> SpanFrozenTimestamp -> Bool # (/=) :: SpanFrozenTimestamp -> SpanFrozenTimestamp -> Bool # |
freezeSpan :: Timestamp -> AttrsLimits 'AttrsForSpanLink -> AttrsLimits 'AttrsForSpanEvent -> AttrsLimits 'AttrsForSpan -> Span AttrsBuilder -> Span Attrs Source #
data SpanLineage Source #
Instances
ToJSON SpanLineage Source # | |
Defined in OTel.API.Trace.Core.Internal toJSON :: SpanLineage -> Value # toEncoding :: SpanLineage -> Encoding # toJSONList :: [SpanLineage] -> Value # toEncodingList :: [SpanLineage] -> Encoding # omitField :: SpanLineage -> Bool # | |
Show SpanLineage Source # | |
Defined in OTel.API.Trace.Core.Internal showsPrec :: Int -> SpanLineage -> ShowS # show :: SpanLineage -> String # showList :: [SpanLineage] -> ShowS # | |
Eq SpanLineage Source # | |
Defined in OTel.API.Trace.Core.Internal (==) :: SpanLineage -> SpanLineage -> Bool # (/=) :: SpanLineage -> SpanLineage -> Bool # |
data SpanStatus Source #
Instances
ToJSON SpanStatus Source # | |
Defined in OTel.API.Trace.Core.Internal toJSON :: SpanStatus -> Value # toEncoding :: SpanStatus -> Encoding # toJSONList :: [SpanStatus] -> Value # toEncodingList :: [SpanStatus] -> Encoding # omitField :: SpanStatus -> Bool # | |
Show SpanStatus Source # | |
Defined in OTel.API.Trace.Core.Internal showsPrec :: Int -> SpanStatus -> ShowS # show :: SpanStatus -> String # showList :: [SpanStatus] -> ShowS # | |
Eq SpanStatus Source # | |
Defined in OTel.API.Trace.Core.Internal (==) :: SpanStatus -> SpanStatus -> Bool # (/=) :: SpanStatus -> SpanStatus -> Bool # | |
Ord SpanStatus Source # | |
Defined in OTel.API.Trace.Core.Internal compare :: SpanStatus -> SpanStatus -> Ordering # (<) :: SpanStatus -> SpanStatus -> Bool # (<=) :: SpanStatus -> SpanStatus -> Bool # (>) :: SpanStatus -> SpanStatus -> Bool # (>=) :: SpanStatus -> SpanStatus -> Bool # max :: SpanStatus -> SpanStatus -> SpanStatus # min :: SpanStatus -> SpanStatus -> SpanStatus # |