Hoogle Search

Within LTS Haskell 24.52 (ghc-9.10.3)

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

  1. class IsReadableLogRecord r => IsReadWriteLogRecord r

    hs-opentelemetry-api OpenTelemetry.Internal.Logs.Types

    This is a typeclass representing LogRecords that can be read from or written to. All ReadWriteLogRecords are ReadableLogRecords. A function receiving this as an argument MUST additionally be able to modify the following information added to the LogRecord:

    • Timestamp
    • ObservedTimestamp
    • SeverityText
    • SeverityNumber
    • Body
    • Attributes (addition, modification, removal)
    • TraceId
    • SpanId
    • TraceFlags

  2. class IsReadableLogRecord r

    hs-opentelemetry-api OpenTelemetry.Internal.Logs.Types

    This is a typeclass representing LogRecords that can be read from. A function receiving this as an argument MUST be able to access all the information added to the LogRecord. It MUST also be able to access the Instrumentation Scope and Resource information (implicitly) associated with the LogRecord. The trace context fields MUST be populated from the resolved Context (either the explicitly passed Context or the current Context) when emitted. Counts for attributes due to collection limits MUST be available for exporters to report as described in the transformation to non-OTLP formats specification.

  3. mkReadWriteLogRecord :: Logger -> ImmutableLogRecord -> IO ReadWriteLogRecord

    hs-opentelemetry-api OpenTelemetry.Internal.Logs.Types

    No documentation available.

  4. mkReadableLogRecord :: ReadWriteLogRecord -> ReadableLogRecord

    hs-opentelemetry-api OpenTelemetry.Internal.Logs.Types

    No documentation available.

  5. class IsReadableLogRecord r => IsReadWriteLogRecord r

    hs-opentelemetry-api OpenTelemetry.Logs.Core

    This is a typeclass representing LogRecords that can be read from or written to. All ReadWriteLogRecords are ReadableLogRecords. A function receiving this as an argument MUST additionally be able to modify the following information added to the LogRecord:

    • Timestamp
    • ObservedTimestamp
    • SeverityText
    • SeverityNumber
    • Body
    • Attributes (addition, modification, removal)
    • TraceId
    • SpanId
    • TraceFlags

  6. class IsReadableLogRecord r

    hs-opentelemetry-api OpenTelemetry.Logs.Core

    This is a typeclass representing LogRecords that can be read from. A function receiving this as an argument MUST be able to access all the information added to the LogRecord. It MUST also be able to access the Instrumentation Scope and Resource information (implicitly) associated with the LogRecord. The trace context fields MUST be populated from the resolved Context (either the explicitly passed Context or the current Context) when emitted. Counts for attributes due to collection limits MUST be available for exporters to report as described in the transformation to non-OTLP formats specification.

  7. unsafeReadSpan :: MonadIO m => Span -> m ImmutableSpan

    hs-opentelemetry-api OpenTelemetry.Trace.Core

    Really only intended for tests, this function does not conform to semantic versioning .

  8. getThreadId :: ThreadId -> Int

    hs-opentelemetry-api OpenTelemetry.Util

    Get an int representation of a thread id

  9. reread :: Monad m => (s -> m (Maybe a)) -> s -> Stream (Of a) m ()

    streaming Streaming.Prelude

    Read an IORef (Maybe a) or a similar device until it reads Nothing. reread provides convenient exit from the io-streams library

    reread readIORef    :: IORef (Maybe a) -> Stream (Of a) IO ()
    reread Streams.read :: System.IO.Streams.InputStream a -> Stream (Of a) IO ()
    

  10. unsafeRead :: (PrimMonad prim, PrimType ty) => MutableBlock ty (PrimState prim) -> Offset ty -> prim ty

    basement Basement.Block.Mutable

    read from a cell in a mutable block without bounds checking. Reading from invalid memory can return unpredictable and invalid values. use read if unsure.

Page 518 of many | Previous | Next