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.
class IsReadableLogRecord r =>
IsReadWriteLogRecord rhs-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
-
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.
mkReadWriteLogRecord :: Logger -> ImmutableLogRecord -> IO ReadWriteLogRecordhs-opentelemetry-api OpenTelemetry.Internal.Logs.Types No documentation available.
mkReadableLogRecord :: ReadWriteLogRecord -> ReadableLogRecordhs-opentelemetry-api OpenTelemetry.Internal.Logs.Types No documentation available.
class IsReadableLogRecord r =>
IsReadWriteLogRecord rhs-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
-
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.
unsafeReadSpan :: MonadIO m => Span -> m ImmutableSpanhs-opentelemetry-api OpenTelemetry.Trace.Core Really only intended for tests, this function does not conform to semantic versioning .
getThreadId :: ThreadId -> Inths-opentelemetry-api OpenTelemetry.Util Get an int representation of a thread id
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 ()
-
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.