AXIAM C++ SDK 1.0.0-alpha8
Authentication, authorization, JWKS & route guards (REST + mTLS)
Loading...
Searching...
No Matches
Public Attributes | List of all members
axiam::RequestEndEvent Struct Reference

Emitted after a call completes, success or failure. More...

#include <telemetry.hpp>

Public Attributes

std::string operation
 
std::string method
 
std::string path_template
 
int attempt = 1
 
std::optional< long > status
 HTTP status, or std::nullopt when the call never got a response.
 
std::chrono::milliseconds duration {0}
 Wall-clock time this attempt took.
 
Outcome outcome = Outcome::kSuccess
 

Detailed Description

Emitted after a call completes, success or failure.

Member Data Documentation

◆ operation

std::string axiam::RequestEndEvent::operation

◆ method

std::string axiam::RequestEndEvent::method

◆ path_template

std::string axiam::RequestEndEvent::path_template

◆ attempt

int axiam::RequestEndEvent::attempt = 1

◆ status

std::optional<long> axiam::RequestEndEvent::status

HTTP status, or std::nullopt when the call never got a response.

◆ duration

std::chrono::milliseconds axiam::RequestEndEvent::duration {0}

Wall-clock time this attempt took.

◆ outcome

Outcome axiam::RequestEndEvent::outcome = Outcome::kSuccess

The documentation for this struct was generated from the following file: