![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <TelemetrySink.h>
Public Member Functions | |
TelemetrySink (std::shared_ptr< avsCommon::utils::metrics::MetricRecorderInterface > metricRecorder) | |
~TelemetrySink () override=default | |
void | reportTimer (const std::map< std::string, std::string > &metadata, const std::string &name, const std::chrono::nanoseconds &value) override |
void | reportCounter (const std::map< std::string, std::string > &metadata, const std::string &name, uint64_t value) override |
Records telemetry reported by APL through a MetricRecorderInterface
.
alexaClientSDK::sampleApplications::ipcServerSampleApp::TelemetrySink::TelemetrySink | ( | std::shared_ptr< avsCommon::utils::metrics::MetricRecorderInterface > | metricRecorder | ) |
|
overridedefault |
|
override |
Outputs a counter value through this instance's metrics recorder.
metadata | The metadata associated with this counter. |
name | The name of the counter to report |
value | The recorded value of the counter |
|
override |
Outputs a timer value through this instance's metrics recorder.
metadata | The metadata associated with this timer. |
name | The name of the timer to report |
value | The elapsed time recorded by the timer |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0