Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
Loading...
Searching...
No Matches
grpc_transport.h File Reference

gRPC transport layer for OTLP exporters More...

#include "../core/result_types.h"
#include "../core/error_codes.h"
#include <string>
#include <vector>
#include <cstdint>
#include <chrono>
#include <memory>
#include <atomic>
#include <span>
#include <functional>
Include dependency graph for grpc_transport.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kcenon::monitoring::grpc_request
 gRPC request configuration More...
 
struct  kcenon::monitoring::grpc_response
 gRPC response data More...
 
struct  kcenon::monitoring::grpc_statistics
 Statistics for gRPC transport operations. More...
 
class  kcenon::monitoring::grpc_transport
 Abstract gRPC transport interface. More...
 
class  kcenon::monitoring::stub_grpc_transport
 Stub gRPC transport for testing. More...
 

Namespaces

namespace  kcenon
 
namespace  kcenon::monitoring
 

Functions

std::unique_ptr< grpc_transportkcenon::monitoring::create_default_grpc_transport ()
 Create default gRPC transport.
 
std::unique_ptr< stub_grpc_transportkcenon::monitoring::create_stub_grpc_transport ()
 Create stub gRPC transport for testing.
 

Detailed Description

gRPC transport layer for OTLP exporters

This file provides gRPC client abstraction for sending telemetry data to OpenTelemetry Protocol (OTLP) backends via gRPC.

Note
gRPC implementation requires external gRPC library. When gRPC is not available, HTTP-based OTLP should be used instead.

Definition in file grpc_transport.h.