AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OtelTelemetryProvider.h
1
5#pragma once
6
7#include <smithy/Smithy_EXPORTS.h>
8
9#include <utility>
10#include <smithy/tracing/TelemetryProvider.h>
11#include <opentelemetry/sdk/trace/exporter.h>
12#include <opentelemetry/sdk/metrics/push_metric_exporter.h>
13
14namespace smithy {
15 namespace components {
16 namespace tracing {
20 class SMITHY_API OtelTelemetryProvider final : public TelemetryProvider {
21 public:
23 std::unique_ptr<opentelemetry::sdk::trace::SpanExporter> spanExporter,
24 std::unique_ptr<opentelemetry::sdk::metrics::PushMetricExporter> pushMetricExporter);
25 };
26 }
27 }
28}
static Aws::UniquePtr< TelemetryProvider > CreateOtelProvider(std::unique_ptr< opentelemetry::sdk::trace::SpanExporter > spanExporter, std::unique_ptr< opentelemetry::sdk::metrics::PushMetricExporter > pushMetricExporter)
std::unique_ptr< T, D > UniquePtr
Definition AWSMemory.h:255