16 #ifndef ALEXA_CLIENT_SDK_LIBIPCSERVERSAMPLEAPP_INCLUDE_IPCSERVERSAMPLEAPP_TELEMETRYSINK_H_ 17 #define ALEXA_CLIENT_SDK_LIBIPCSERVERSAMPLEAPP_INCLUDE_IPCSERVERSAMPLEAPP_TELEMETRYSINK_H_ 20 #include <APLClient/Telemetry/AplMetricsSinkInterface.h> 23 namespace sampleApplications {
24 namespace ipcServerSampleApp {
29 class TelemetrySink :
public APLClient::Telemetry::AplMetricsSinkInterface {
41 const std::map<std::string, std::string>& metadata,
43 const std::chrono::nanoseconds& value)
override;
55 std::shared_ptr<avsCommon::utils::metrics::MetricRecorderInterface> m_metricRecorder;
62 #endif // ALEXA_CLIENT_SDK_LIBIPCSERVERSAMPLEAPP_INCLUDE_IPCSERVERSAMPLEAPP_TELEMETRYSINK_H_ ~TelemetrySink() override=default
::std::string string
Definition: gtest-port.h:1097
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
TelemetrySink(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
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
Definition: TelemetrySink.h:29