Module

Yoga.OpenTelemetry.OpenTelemetry

Package
purescript-yoga-opentelemetry
Repository
rowtype-yoga/purescript-yoga-opentelemetry

#TracerProvider Source

#Tracer Source

data Tracer

#Span Source

data Span

#SpanContext Source

#SpanName Source

#ResourceAttributesImpl Source

type ResourceAttributesImpl :: Row Typetype ResourceAttributesImpl = (serviceName :: ServiceName, serviceNamespace :: ServiceNamespace, serviceVersion :: ServiceVersion)

#TracerProviderConfigImpl Source

type TracerProviderConfigImpl :: Row Type -> Row Typetype TracerProviderConfigImpl resource = (exporter :: SpanExporter, resource :: Record resource)

#SpanExporter Source

#createTracerProviderImpl Source

#createTracerProvider Source

createTracerProvider :: forall opts opts_ resource. Union opts opts_ (TracerProviderConfigImpl resource) => Record opts -> Effect TracerProvider

#StartSpanOptionsImpl Source

type StartSpanOptionsImpl :: Row Typetype StartSpanOptionsImpl = (attributes :: Record AttributesRow, kind :: SpanKind, links :: Array SpanLink, parent :: SpanContext, startTime :: Instant)

#AttributesRow Source

#startSpanImpl Source

#startSpanWithOptions Source

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

#startSpanWithAttributes Source

#startSpanWithKind Source

#startActiveSpanImpl Source

startActiveSpanImpl :: forall opts a. EffectFn4 Tracer SpanName (Record opts) (Span -> Effect a) a

#startActiveSpan Source

startActiveSpan :: forall a. SpanName -> (Span -> Effect a) -> Tracer -> Effect a

#startActiveSpanWithOptions Source

startActiveSpanWithOptions :: forall opts opts_ a. Union opts opts_ StartSpanOptionsImpl => SpanName -> Record opts -> (Span -> Effect a) -> Tracer -> Effect a

#setAttributes Source

#addEventWithAttributes Source

#addEventWithTimestamp Source

#recordException Source

#recordExceptionWithTimestamp Source

#endSpanWithTimestamp Source

#withSpan Source

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

#withSpanAff Source

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

#withSpanCatch Source

withSpanCatch :: forall a. SpanName -> Tracer -> Effect a -> Effect a

#withSpanAffCatch Source

withSpanAffCatch :: forall a. SpanName -> Tracer -> Aff a -> Aff a

#HTTPURL Source

#HTTPHost Source

#DBSystem Source

#DBName Source

newtype DBName

Constructors

Instances