Hoogle Search

Within LTS Haskell 24.64 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. bytesToTraceId :: ByteString -> Either String TraceId

    hs-opentelemetry-api OpenTelemetry.Internal.Trace.Id

    Convert a ByteString to a TraceId. Will fail if the ByteString is not exactly 16 bytes long.

  2. isEmptySpanId :: SpanId -> Bool

    hs-opentelemetry-api OpenTelemetry.Internal.Trace.Id

    Check whether all bytes in the SpanId are zero.

  3. isEmptyTraceId :: TraceId -> Bool

    hs-opentelemetry-api OpenTelemetry.Internal.Trace.Id

    Check whether all bytes in the TraceId are zero.

  4. newSpanId :: MonadIO m => IdGenerator -> m SpanId

    hs-opentelemetry-api OpenTelemetry.Internal.Trace.Id

    Generate a SpanId using the provided IdGenerator This function is generally called by the hs-opentelemetry-sdk, but may be useful in some testing situations.

  5. newTraceId :: MonadIO m => IdGenerator -> m TraceId

    hs-opentelemetry-api OpenTelemetry.Internal.Trace.Id

    Generate a TraceId using the provided IdGenerator This function is generally called by the hs-opentelemetry-sdk, but may be useful in some testing situations.

  6. spanIdBaseEncodedBuilder :: Base -> SpanId -> Builder

    hs-opentelemetry-api OpenTelemetry.Internal.Trace.Id

    Output a SpanId into a base-encoded bytestring Builder.

  7. spanIdBaseEncodedByteString :: Base -> SpanId -> ByteString

    hs-opentelemetry-api OpenTelemetry.Internal.Trace.Id

    Output a SpanId into a base-encoded ByteString.

  8. spanIdBaseEncodedText :: Base -> SpanId -> Text

    hs-opentelemetry-api OpenTelemetry.Internal.Trace.Id

    Output a SpanId into a base-encoded Text.

  9. spanIdBytes :: SpanId -> ByteString

    hs-opentelemetry-api OpenTelemetry.Internal.Trace.Id

    Access the byte-level representation of the provided SpanId

  10. traceIdBaseEncodedBuilder :: Base -> TraceId -> Builder

    hs-opentelemetry-api OpenTelemetry.Internal.Trace.Id

    Output a TraceId into a base-encoded bytestring Builder.

Page 531 of many | Previous | Next