Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data RootEntry = RootEntry {
- spanAndTraceId :: Id
- spanType :: SpanType
- timestamp :: Int
- errorCount :: Int
- serviceName :: Maybe Text
- synthetic :: Bool
- correlationType :: Maybe Text
- correlationId :: Maybe Text
- spanData :: SpanData
- w3cTraceContext :: Maybe W3CTraceContext
- spanId :: RootEntry -> Id
- traceId :: RootEntry -> Id
- addAnnotation :: Annotation -> RootEntry -> RootEntry
- addToErrorCount :: Int -> RootEntry -> RootEntry
- setServiceName :: Text -> RootEntry -> RootEntry
- setCorrelationType :: Text -> RootEntry -> RootEntry
- setCorrelationId :: Text -> RootEntry -> RootEntry
- setSynthetic :: Bool -> RootEntry -> RootEntry
- setW3cTraceContext :: W3CTraceContext -> RootEntry -> RootEntry
- spanName :: RootEntry -> Text
Documentation
An entry span that is the root span of a trace.
RootEntry | |
|
addAnnotation :: Annotation -> RootEntry -> RootEntry 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.
setServiceName :: Text -> RootEntry -> RootEntry Source #
Override the name of the service for the associated call in Instana.
setCorrelationType :: Text -> RootEntry -> RootEntry Source #
Set the website monitoring correlation type.
setCorrelationId :: Text -> RootEntry -> RootEntry Source #
Set the website monitoring correlation ID.
setW3cTraceContext :: W3CTraceContext -> RootEntry -> RootEntry Source #
Attaches a W3C trace context to the span.