Module
Yoga.Jaeger.Jaeger
- Package
- purescript-yoga-jaeger
- Repository
- rowtype-yoga/purescript-yoga-jaeger
#SpanContext Source
data SpanContext#ServiceName Source
#OperationName Source
#CollectorEndpoint Source
#SamplingRate Source
#SamplerType Source
#SamplerHostPort Source
#BaggageKey Source
#BaggageValue Source
#SpanReferenceType Source
#SamplerConfig Source
type SamplerConfig = { hostPort :: SamplerHostPort, param :: SamplingRate, refreshIntervalMs :: Milliseconds, type :: SamplerType }#ReporterConfig Source
type ReporterConfig = { agentHost :: AgentHost, agentPort :: AgentPort, collectorEndpoint :: CollectorEndpoint, flushIntervalMs :: Milliseconds, logSpans :: Boolean, password :: Password, username :: Username }#TracerConfigImpl Source
type TracerConfigImpl :: Row Typetype TracerConfigImpl = (reporter :: ReporterConfig, sampler :: SamplerConfig, serviceName :: ServiceName, shareRpcSpan :: Boolean, traceId128bit :: Boolean)
#initTracer Source
initTracer :: forall opts opts_. Union opts opts_ TracerConfigImpl => Record opts -> Effect Tracer#SpanReference Source
type SpanReference = { refType :: SpanReferenceType, spanContext :: SpanContext }#StartSpanOptionsImpl Source
type StartSpanOptionsImpl :: Row Typetype StartSpanOptionsImpl = (childOf :: SpanContext, references :: Array SpanReference, startTime :: Instant, tags :: Record TagsRow)
#startSpanImpl Source
startSpanImpl :: forall opts. EffectFn3 Tracer OperationName (Record opts) Span#startSpanWithOptions Source
startSpanWithOptions :: forall opts opts_. Union opts opts_ StartSpanOptionsImpl => OperationName -> Record opts -> Tracer -> Effect Span#startSpanWithTags Source
startSpanWithTags :: forall r. Homogeneous r TagValue => OperationName -> Record r -> Tracer -> Effect Span#startSpanAsChild Source
startSpanAsChild :: OperationName -> Span -> Tracer -> Effect Span#getSpanContext Source
getSpanContext :: Span -> Effect SpanContext#logWithTimestamp Source
logWithTimestamp :: forall r. Homogeneous r String => Record r -> Instant -> Span -> Effect Unit#setBaggageItem Source
setBaggageItem :: BaggageKey -> BaggageValue -> Span -> Effect Unit#getBaggageItem Source
getBaggageItem :: BaggageKey -> Span -> Effect (Maybe BaggageValue)#setOperationName Source
setOperationName :: OperationName -> Span -> Effect Unit#extract Source
extract :: forall r. Homogeneous r String => Format -> Record r -> Tracer -> Effect (Maybe SpanContext)#extractFromObject Source
extractFromObject :: Format -> Object String -> Tracer -> Effect (Maybe SpanContext)#withSpanAff Source
withSpanAff :: forall a. OperationName -> Tracer -> Aff a -> Aff a#HTTPMethod Source
#setHTTPMethodTag Source
setHTTPMethodTag :: HTTPMethod -> Span -> Effect Unit#HTTPStatusCode Source
#setHTTPStatusCodeTag Source
setHTTPStatusCodeTag :: HTTPStatusCode -> Span -> Effect Unit- Modules
- Yoga.
Jaeger. Jaeger