Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data ExitSpan = ExitSpan {
- parentSpan :: EntrySpan
- spanId :: Id
- spanType :: SpanType
- timestamp :: Int
- serviceName :: Maybe Text
- errorCount :: Int
- spanData :: SpanData
- w3cTraceContext :: W3CTraceContext
- parentId :: ExitSpan -> Id
- traceId :: ExitSpan -> Id
- addAnnotation :: Annotation -> ExitSpan -> ExitSpan
- addToErrorCount :: Int -> ExitSpan -> ExitSpan
- setServiceName :: Text -> ExitSpan -> ExitSpan
- setW3cTraceContext :: W3CTraceContext -> ExitSpan -> ExitSpan
- spanName :: ExitSpan -> Text
Documentation
An exit span.
ExitSpan | |
|
addAnnotation :: Annotation -> ExitSpan -> ExitSpan 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 -> ExitSpan -> ExitSpan Source #
Override the name of the service for the associated call in Instana.
setW3cTraceContext :: W3CTraceContext -> ExitSpan -> ExitSpan Source #
Attaches a W3C trace context to the span.