Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data NonRootEntry = NonRootEntry {}
- addAnnotation :: Annotation -> NonRootEntry -> NonRootEntry
- addToErrorCount :: Int -> NonRootEntry -> NonRootEntry
- setServiceName :: Text -> NonRootEntry -> NonRootEntry
- setSynthetic :: Bool -> NonRootEntry -> NonRootEntry
- setTpFlag :: NonRootEntry -> NonRootEntry
- setW3cTraceContext :: W3CTraceContext -> NonRootEntry -> NonRootEntry
- spanName :: NonRootEntry -> Text
Documentation
data NonRootEntry Source #
An entry span that is not the root span of a trace.
NonRootEntry | |
|
Instances
Eq NonRootEntry Source # | |
Defined in Instana.SDK.Span.NonRootEntry (==) :: NonRootEntry -> NonRootEntry -> Bool # (/=) :: NonRootEntry -> NonRootEntry -> Bool # | |
Show NonRootEntry Source # | |
Defined in Instana.SDK.Span.NonRootEntry showsPrec :: Int -> NonRootEntry -> ShowS # show :: NonRootEntry -> String # showList :: [NonRootEntry] -> ShowS # | |
Generic NonRootEntry Source # | |
Defined in Instana.SDK.Span.NonRootEntry type Rep NonRootEntry :: Type -> Type # from :: NonRootEntry -> Rep NonRootEntry x # to :: Rep NonRootEntry x -> NonRootEntry # | |
type Rep NonRootEntry Source # | |
Defined in Instana.SDK.Span.NonRootEntry |
addAnnotation :: Annotation -> NonRootEntry -> NonRootEntry Source #
Add an annotation to the span's data section. For SDK spans, the annotation is added to span.data.sdk.custom.tags, for registered spans it is added directly to span.data.
addToErrorCount :: Int -> NonRootEntry -> NonRootEntry Source #
Add to the error count.
setServiceName :: Text -> NonRootEntry -> NonRootEntry Source #
Override the name of the service for the associated call in Instana.
setSynthetic :: Bool -> NonRootEntry -> NonRootEntry Source #
Set the synthetic flag.
setTpFlag :: NonRootEntry -> NonRootEntry Source #
Set the span.tp flag. A span with span.tp = True has inherited the trace ID/ parent ID from W3C trace context instead of Instana headers.
setW3cTraceContext :: W3CTraceContext -> NonRootEntry -> NonRootEntry Source #
Attaches a W3C trace context to the span.
spanName :: NonRootEntry -> Text Source #
The span name/type, e.g. a short string like "haskell.wai.server", "haskell.http.client". For SDK spans this is always "sdk", the actual name is then in span.data.sdk.name.