Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
OTel.API.Trace.Core.Span
Documentation
data MutableSpan Source #
spanLineage :: Span attrs -> SpanLineage Source #
spanContext :: Span attrs -> SpanContext Source #
spanStatus :: Span attrs -> SpanStatus Source #
spanFrozenAt :: Span attrs -> SpanFrozenAt attrs Source #
spanAttrs :: Span attrs -> attrs 'AttrsForSpan Source #
spanEvents :: Span attrs -> SpanEvents attrs Source #
spanIsRecording :: Span attrs -> Bool Source #
spanInstrumentationScope :: Span attrs -> InstrumentationScope Source #
spanIsRemote :: Span attrs -> Bool Source #
spanIsSampled :: Span attrs -> Bool Source #
spanIsRoot :: Span attrs -> Bool Source #
Constructors
SpanName | |
Fields
|
data SpanLineage Source #
Constructors
SpanLineageRoot | |
SpanLineageChildOf SpanContext |
Instances
ToJSON SpanLineage Source # | |
Defined in OTel.API.Trace.Core.Internal Methods 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 Methods showsPrec :: Int -> SpanLineage -> ShowS # show :: SpanLineage -> String # showList :: [SpanLineage] -> ShowS # | |
Eq SpanLineage Source # | |
Defined in OTel.API.Trace.Core.Internal |
data SpanStatus Source #
Constructors
SpanStatusUnset | |
SpanStatusError Text | |
SpanStatusOk |
Instances
ToJSON SpanStatus Source # | |
Defined in OTel.API.Trace.Core.Internal Methods 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 Methods showsPrec :: Int -> SpanStatus -> ShowS # show :: SpanStatus -> String # showList :: [SpanStatus] -> ShowS # | |
Eq SpanStatus Source # | |
Defined in OTel.API.Trace.Core.Internal | |
Ord SpanStatus Source # | |
Defined in OTel.API.Trace.Core.Internal Methods compare :: SpanStatus -> SpanStatus -> Ordering # (<) :: SpanStatus -> SpanStatus -> Bool # (<=) :: SpanStatus -> SpanStatus -> Bool # (>) :: SpanStatus -> SpanStatus -> Bool # (>=) :: SpanStatus -> SpanStatus -> Bool # max :: SpanStatus -> SpanStatus -> SpanStatus # min :: SpanStatus -> SpanStatus -> SpanStatus # |
type family SpanFrozenAt (attrs :: AttrsFor -> Type) :: Type where ... Source #
Equations
SpanFrozenAt AttrsBuilder = Maybe Timestamp | |
SpanFrozenAt Attrs = SpanFrozenTimestamp |
data SpanFrozenTimestamp Source #
Instances
ToJSON SpanFrozenTimestamp Source # | |
Defined in OTel.API.Trace.Core.Internal Methods 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 Methods showsPrec :: Int -> SpanFrozenTimestamp -> ShowS # show :: SpanFrozenTimestamp -> String # showList :: [SpanFrozenTimestamp] -> ShowS # | |
Eq SpanFrozenTimestamp Source # | |
Defined in OTel.API.Trace.Core.Internal Methods (==) :: SpanFrozenTimestamp -> SpanFrozenTimestamp -> Bool # (/=) :: SpanFrozenTimestamp -> SpanFrozenTimestamp -> Bool # |
Instances
IsString SpanSpec Source # | |
Defined in OTel.API.Trace.Core.Internal Methods fromString :: String -> SpanSpec # | |
WithAttrs SpanSpec Source # | |
Defined in OTel.API.Trace.Core.Internal Associated Types type WithAttrsAttrType SpanSpec :: AttrsFor # Methods (.:@) :: SpanSpec -> AttrsBuilder (WithAttrsAttrType SpanSpec) -> SpanSpec # | |
type WithAttrsAttrType SpanSpec Source # | |
Defined in OTel.API.Trace.Core.Internal |
spanSpecName :: SpanSpec -> SpanName Source #
spanSpecKind :: SpanSpec -> SpanKind Source #
data UpdateSpanSpec Source #
Instances
IsString UpdateSpanSpec Source # | |
Defined in OTel.API.Trace.Core.Internal Methods fromString :: String -> UpdateSpanSpec # | |
WithAttrs UpdateSpanSpec Source # | |
Defined in OTel.API.Trace.Core.Internal Associated Types type WithAttrsAttrType UpdateSpanSpec :: AttrsFor # Methods (.:@) :: UpdateSpanSpec -> AttrsBuilder (WithAttrsAttrType UpdateSpanSpec) -> UpdateSpanSpec # | |
type WithAttrsAttrType UpdateSpanSpec Source # | |
Defined in OTel.API.Trace.Core.Internal |
recordException :: SomeException -> Bool -> TimestampSource -> AttrsBuilder 'AttrsForSpanEvent -> UpdateSpanSpec Source #
exceptionEvent :: SomeException -> Bool -> TimestampSource -> AttrsBuilder 'AttrsForSpanEvent -> SpanEventSpec Source #
data SpanEvents (attrs :: AttrsFor -> Type) Source #
Instances
spanEventsFromList :: [SpanEvent attrs] -> SpanEvents attrs Source #
spanEventsToList :: SpanEvents attrs -> [SpanEvent attrs] Source #
data SpanEvent (attrs :: AttrsFor -> Type) Source #
Constructors
SpanEvent | |
Fields
|
newtype SpanEventName Source #
Constructors
SpanEventName | |
Fields |
Instances
ToJSON SpanEventName Source # | |
Defined in OTel.API.Trace.Core.Internal Methods 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 Methods fromString :: String -> SpanEventName # | |
Show SpanEventName Source # | |
Defined in OTel.API.Trace.Core.Internal Methods showsPrec :: Int -> SpanEventName -> ShowS # show :: SpanEventName -> String # showList :: [SpanEventName] -> ShowS # | |
Eq SpanEventName Source # | |
Defined in OTel.API.Trace.Core.Internal Methods (==) :: SpanEventName -> SpanEventName -> Bool # (/=) :: SpanEventName -> SpanEventName -> Bool # |
data SpanEventSpecs Source #
Instances
Monoid SpanEventSpecs Source # | |
Defined in OTel.API.Trace.Core.Internal Methods mappend :: SpanEventSpecs -> SpanEventSpecs -> SpanEventSpecs # mconcat :: [SpanEventSpecs] -> SpanEventSpecs # | |
Semigroup SpanEventSpecs Source # | |
Defined in OTel.API.Trace.Core.Internal Methods (<>) :: 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 Methods fromString :: String -> SpanEventSpec # | |
WithAttrs SpanEventSpec Source # | |
Defined in OTel.API.Trace.Core.Internal Associated Types type WithAttrsAttrType SpanEventSpec :: AttrsFor # Methods (.:@) :: SpanEventSpec -> AttrsBuilder (WithAttrsAttrType SpanEventSpec) -> SpanEventSpec # | |
type WithAttrsAttrType SpanEventSpec Source # | |
Defined in OTel.API.Trace.Core.Internal |
spanLinksFromList :: [SpanLink attrs] -> SpanLinks attrs Source #
spanLinksToList :: SpanLinks attrs -> [SpanLink attrs] Source #
data SpanLink (attrs :: AttrsFor -> Type) Source #
Constructors
SpanLink | |
Fields
|
newtype SpanLinkName Source #
Constructors
SpanLinkName | |
Fields |
Instances
IsString SpanLinkName Source # | |
Defined in OTel.API.Trace.Core.Internal Methods fromString :: String -> SpanLinkName # | |
Show SpanLinkName Source # | |
Defined in OTel.API.Trace.Core.Internal Methods showsPrec :: Int -> SpanLinkName -> ShowS # show :: SpanLinkName -> String # showList :: [SpanLinkName] -> ShowS # | |
Eq SpanLinkName Source # | |
Defined in OTel.API.Trace.Core.Internal |
data SpanLinkSpecs Source #
Instances
Monoid SpanLinkSpecs Source # | |
Defined in OTel.API.Trace.Core.Internal Methods mempty :: SpanLinkSpecs # mappend :: SpanLinkSpecs -> SpanLinkSpecs -> SpanLinkSpecs # mconcat :: [SpanLinkSpecs] -> SpanLinkSpecs # | |
Semigroup SpanLinkSpecs Source # | |
Defined in OTel.API.Trace.Core.Internal Methods (<>) :: SpanLinkSpecs -> SpanLinkSpecs -> SpanLinkSpecs # sconcat :: NonEmpty SpanLinkSpecs -> SpanLinkSpecs # stimes :: Integral b => b -> SpanLinkSpecs -> SpanLinkSpecs # |
data SpanLinkSpec Source #
Instances
WithAttrs SpanLinkSpec Source # | |
Defined in OTel.API.Trace.Core.Internal Associated Types type WithAttrsAttrType SpanLinkSpec :: AttrsFor # Methods (.:@) :: SpanLinkSpec -> AttrsBuilder (WithAttrsAttrType SpanLinkSpec) -> SpanLinkSpec # | |
type WithAttrsAttrType SpanLinkSpec Source # | |
Defined in OTel.API.Trace.Core.Internal |