| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Ecluse.Core.Telemetry.Upstream
Description
Public HTTP attempt kinds and raw outcomes shared by observation and telemetry.
Synopsis
Documentation
data PublicReadKind Source #
The public operation that caused an HTTP attempt.
Constructors
| Listing | |
| SelectedRead | |
| Artifact | |
| Companion | |
| WorkerMetadata | |
| WorkerArtifact |
Instances
| Show PublicReadKind Source # | |
Defined in Ecluse.Core.Telemetry.Upstream Methods showsPrec :: Int -> PublicReadKind -> ShowS # show :: PublicReadKind -> String # showList :: [PublicReadKind] -> ShowS # | |
| Eq PublicReadKind Source # | |
Defined in Ecluse.Core.Telemetry.Upstream Methods (==) :: PublicReadKind -> PublicReadKind -> Bool # (/=) :: PublicReadKind -> PublicReadKind -> Bool # | |
publicReadKindName :: PublicReadKind -> Text Source #
The bounded wire name of a public request kind.
data ExchangeOutcome Source #
A response status or an interruption before response headers arrive.
Constructors
| ResponseStatus Int | |
| TransportFailure | |
| Cancelled |
Instances
| Show ExchangeOutcome Source # | |
Defined in Ecluse.Core.Telemetry.Upstream Methods showsPrec :: Int -> ExchangeOutcome -> ShowS # show :: ExchangeOutcome -> String # showList :: [ExchangeOutcome] -> ShowS # | |
| Eq ExchangeOutcome Source # | |
Defined in Ecluse.Core.Telemetry.Upstream Methods (==) :: ExchangeOutcome -> ExchangeOutcome -> Bool # (/=) :: ExchangeOutcome -> ExchangeOutcome -> Bool # | |
exchangeOutcomeName :: ExchangeOutcome -> Text Source #
Keep exact HTTP codes distinct from transport failure and cancellation.