AXIAM C++ SDK 1.0.0-alpha8
Authentication, authorization, JWKS & route guards (REST + mTLS)
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Enumerations
telemetry.hpp File Reference
#include <chrono>
#include <cstdint>
#include <functional>
#include <optional>
#include <string>
#include <variant>

Go to the source code of this file.

Classes

struct  axiam::RequestStartEvent
 Emitted before an outbound call leaves the SDK. More...
 
struct  axiam::RequestEndEvent
 Emitted after a call completes, success or failure. More...
 
struct  axiam::RetryEvent
 Emitted before each §16 retry wait. More...
 
struct  axiam::RefreshEvent
 Emitted around a §9 single-flight refresh. More...
 
struct  axiam::ConfigClampedEvent
 Emitted at client construction, once per caller-supplied setting the SDK clamped (§19.1, §19.2 rule 6). More...
 

Namespaces

namespace  axiam
 

Typedefs

using axiam::TelemetryEvent = std::variant< RequestStartEvent, RequestEndEvent, RetryEvent, RefreshEvent, ConfigClampedEvent >
 One §19.1 event.
 
using axiam::TelemetryHook = std::function< void(const TelemetryEvent &)>
 A caller-supplied telemetry sink (§19).
 

Enumerations

enum class  axiam::Outcome { axiam::kSuccess , axiam::kFailure }
 Why a request finished. More...
 
enum class  axiam::RefreshRole { axiam::kLeader , axiam::kFollower }
 Whether this caller performed a §9 refresh or waited on another thread's. More...