Module
Yoga.OpenTelemetry.OpenTelemetry
- Package
- purescript-yoga-opentelemetry
- Repository
- rowtype-yoga/purescript-yoga-opentelemetry
#TracerProvider Source
data TracerProvider#SpanContext Source
data SpanContext#ServiceName Source
#ServiceVersion Source
#ServiceNamespace Source
#InstrumentationName Source
#InstrumentationVersion Source
#TracerName Source
#SpanStatusCode 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
data SpanExporter#createTracerProviderImpl Source
createTracerProviderImpl :: forall opts. EffectFn1 (Record opts) TracerProvider#createTracerProvider Source
createTracerProvider :: forall opts opts_ resource. Union opts opts_ (TracerProviderConfigImpl resource) => Record opts -> Effect TracerProvider#getTracer Source
getTracer :: TracerName -> TracerProvider -> Effect Tracer#StartSpanOptionsImpl Source
type StartSpanOptionsImpl :: Row Typetype StartSpanOptionsImpl = (attributes :: Record AttributesRow, kind :: SpanKind, links :: Array SpanLink, parent :: SpanContext, startTime :: Instant)
#AttributesRow Source
type AttributesRow :: Row Typetype AttributesRow = ()
#SpanLink Source
type SpanLink = { attributes :: Object AttributeValue, context :: SpanContext }#startSpanWithOptions Source
startSpanWithOptions :: forall opts opts_. Union opts opts_ StartSpanOptionsImpl => SpanName -> Record opts -> Tracer -> Effect Span#startSpanWithAttributes Source
startSpanWithAttributes :: forall r. Homogeneous r AttributeValue => SpanName -> Record r -> Tracer -> Effect Span#startSpanWithKind Source
startSpanWithKind :: forall r. Homogeneous r AttributeValue => SpanName -> SpanKind -> Record r -> Tracer -> Effect Span#startActiveSpanWithOptions Source
startActiveSpanWithOptions :: forall opts opts_ a. Union opts opts_ StartSpanOptionsImpl => SpanName -> Record opts -> (Span -> Effect a) -> Tracer -> Effect a#getSpanContext Source
getSpanContext :: Span -> Effect SpanContext#setAttribute Source
setAttribute :: String -> AttributeValue -> Span -> Effect Unit#setAttributes Source
setAttributes :: forall r. Homogeneous r AttributeValue => Record r -> Span -> Effect Unit#addEventWithAttributes Source
addEventWithAttributes :: forall r. Homogeneous r AttributeValue => String -> Record r -> Span -> Effect Unit#addEventWithTimestamp Source
addEventWithTimestamp :: forall r. Homogeneous r AttributeValue => String -> Record r -> Instant -> Span -> Effect Unit#setStatusWithMessage Source
setStatusWithMessage :: SpanStatusCode -> String -> Span -> Effect Unit#forceFlush Source
forceFlush :: TracerProvider -> Aff Unit#HTTPMethod Source
#setHTTPMethod Source
setHTTPMethod :: HTTPMethod -> Span -> Effect Unit#HTTPTarget Source
#setHTTPTarget Source
setHTTPTarget :: HTTPTarget -> Span -> Effect Unit#HTTPStatusCode Source
#setHTTPStatusCode Source
setHTTPStatusCode :: HTTPStatusCode -> Span -> Effect Unit#HTTPScheme Source
#setHTTPScheme Source
setHTTPScheme :: HTTPScheme -> Span -> Effect Unit#DBStatement Source
#setDBStatement Source
setDBStatement :: DBStatement -> Span -> Effect Unit#PeerService Source
#setPeerService Source
setPeerService :: PeerService -> Span -> Effect Unit