A11 (C++ runtime)
Native C++ implementation of the A11 action and streaming runtime
Loading...
Searching...
No Matches
a11::obs::ProviderOptions Struct Reference

Configure how an A11 process records and exports agent traces. More...

#include <cpp/a11/obs/provider.h>

Public Attributes

std::string service_name = "a11"
 OTel service.name resource value.
 
std::vector< std::pair< std::string, std::string > > resource_attributes
 Additional attributes attached to the process-level OTel resource.
 
ExporterKind exporter = ExporterKind::kNone
 Span destination; must not remain kNone when passed to Configure().
 
bool use_simple_processor = false
 Export synchronously as spans end.
 
std::string otlp_endpoint
 Full OTLP/HTTP traces URL.
 
std::vector< std::pair< std::string, std::string > > otlp_headers
 Request headers such as backend authentication.
 
int otlp_timeout_millis = 10000
 Export request timeout.
 
std::vector< std::string > baggage_span_attributes
 Baggage keys promoted to same-named span attributes.
 

Detailed Description

Configure how an A11 process records and exports agent traces.

Member Data Documentation

◆ baggage_span_attributes

std::vector<std::string> a11::obs::ProviderOptions::baggage_span_attributes

Baggage keys promoted to same-named span attributes.

◆ exporter

ExporterKind a11::obs::ProviderOptions::exporter = ExporterKind::kNone

Span destination; must not remain kNone when passed to Configure().

◆ otlp_endpoint

std::string a11::obs::ProviderOptions::otlp_endpoint

Full OTLP/HTTP traces URL.

◆ otlp_headers

std::vector<std::pair<std::string, std::string> > a11::obs::ProviderOptions::otlp_headers

Request headers such as backend authentication.

◆ otlp_timeout_millis

int a11::obs::ProviderOptions::otlp_timeout_millis = 10000

Export request timeout.

◆ resource_attributes

std::vector<std::pair<std::string, std::string> > a11::obs::ProviderOptions::resource_attributes

Additional attributes attached to the process-level OTel resource.

◆ service_name

std::string a11::obs::ProviderOptions::service_name = "a11"

OTel service.name resource value.

◆ use_simple_processor

bool a11::obs::ProviderOptions::use_simple_processor = false

Export synchronously as spans end.


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