Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data RootEntry = RootEntry {
- spanAndTraceId :: Id
- spanName :: Text
- timestamp :: Int
- errorCount :: Int
- serviceName :: Maybe Text
- synthetic :: Bool
- correlationType :: Maybe Text
- correlationId :: Maybe Text
- spanData :: Value
- w3cTraceContext :: Maybe W3CTraceContext
- spanId :: RootEntry -> Id
- traceId :: RootEntry -> Id
- addData :: Value -> 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
Documentation
An entry span that is the root span of a trace.
RootEntry | |
|
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.