AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Meter.h
1
5#pragma once
6
7#include <smithy/tracing/Gauge.h>
8#include <smithy/tracing/MonotonicCounter.h>
9#include <smithy/tracing/UpDownCounter.h>
10#include <smithy/tracing/Histogram.h>
11#include <smithy/Smithy_EXPORTS.h>
12
13namespace smithy {
14 namespace components {
15 namespace tracing {
20 class SMITHY_API Meter {
21 public:
22 virtual ~Meter() = default;
23
35 std::function<void(Aws::UniquePtr<AsyncMeasurement>)> callback,
36 Aws::String units,
37 Aws::String description) const = 0;
38
49 Aws::String units,
50 Aws::String description) const = 0;
51
62 Aws::String units,
63 Aws::String description) const = 0;
64
75 Aws::String units,
76 Aws::String description) const = 0;
77 };
78 }
79 }
80}
virtual Aws::UniquePtr< GaugeHandle > CreateGauge(Aws::String name, std::function< void(Aws::UniquePtr< AsyncMeasurement >)> callback, Aws::String units, Aws::String description) const =0
virtual Aws::UniquePtr< MonotonicCounter > CreateCounter(Aws::String name, Aws::String units, Aws::String description) const =0
virtual Aws::UniquePtr< UpDownCounter > CreateUpDownCounter(Aws::String name, Aws::String units, Aws::String description) const =0
virtual Aws::UniquePtr< Histogram > CreateHistogram(Aws::String name, Aws::String units, Aws::String description) const =0
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition AWSString.h:97
std::unique_ptr< T, D > UniquePtr
Definition AWSMemory.h:255