15 #ifndef ALEXA_CLIENT_SDK_METRICS_UPLCALCULATOR_INCLUDE_METRICS_UPLMETRICSINK_H_ 16 #define ALEXA_CLIENT_SDK_METRICS_UPLCALCULATOR_INCLUDE_METRICS_UPLMETRICSINK_H_ 19 #include <unordered_map> 28 namespace implementations {
42 std::shared_ptr<avsCommon::utils::metrics::MetricRecorderInterface>
metricRecorder);
51 void consumeMetric(std::shared_ptr<alexaClientSDK::avsCommon::utils::metrics::MetricEvent> metricEvent)
override;
60 std::shared_ptr<alexaClientSDK::avsCommon::utils::metrics::MetricRecorderInterface> metricRecorder);
63 std::unordered_map<std::string, std::unique_ptr<alexaClientSDK::avsCommon::utils::metrics::UplCalculatorInterface>>
67 std::weak_ptr<avsCommon::utils::metrics::MetricRecorderInterface> m_metricRecorder;
74 #endif // ALEXA_CLIENT_SDK_METRICS_UPLCALCULATOR_INCLUDE_METRICS_UPLMETRICSINK_H_ Definition: UplMetricSink.h:33
static std::unique_ptr< avsCommon::utils::metrics::MetricSinkInterface > createMetricSinkInterface(std::shared_ptr< avsCommon::utils::metrics::MetricRecorderInterface > metricRecorder)
static std::shared_ptr< avsCommon::utils::metrics::MetricRecorderInterface > metricRecorder
Metric recorder shared ptr.
Definition: BaseAPLCapabilityAgentTest.cpp:261
Definition: MetricSinkInterface.h:31
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
void consumeMetric(std::shared_ptr< alexaClientSDK::avsCommon::utils::metrics::MetricEvent > metricEvent) override