Module

Yoga.Jaeger.Jaeger

Package
purescript-yoga-jaeger
Repository
rowtype-yoga/purescript-yoga-jaeger

#Tracer Source

data Tracer

#Span Source

data Span

#SpanContext Source

#Username Source

#Password Source

#Format Source

newtype Format

Constructors

Instances

#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)

#initTracerImpl Source

initTracerImpl :: forall opts. EffectFn1 (Record opts) Tracer

#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)

#TagsRow Source

type TagsRow :: forall k. Row ktype TagsRow = ()

#startSpanImpl Source

#startSpanWithOptions Source

startSpanWithOptions :: forall opts opts_. Union opts opts_ StartSpanOptionsImpl => OperationName -> Record opts -> Tracer -> Effect Span

#startSpanWithTags Source

#setTags Source

setTags :: forall r. Homogeneous r TagValue => Record r -> Span -> Effect Unit

#log Source

log :: forall r. Homogeneous r String => Record r -> Span -> Effect Unit

#logWithTimestamp Source

#finishSpanWithTimestamp Source

#closeTracer Source

#withSpan Source

withSpan :: forall a. OperationName -> Tracer -> Effect a -> Effect a

#withSpanAff Source

withSpanAff :: forall a. OperationName -> Tracer -> Aff a -> Aff a

#HTTPURL Source

#SpanKind Source