16 #ifndef ACSDKASSETSCOMMON_AMDMETRICWRAPPER_H_ 17 #define ACSDKASSETSCOMMON_AMDMETRICWRAPPER_H_ 25 #define METRIC_PREFIX_ERROR(str) ("ERROR." str) 26 #define METRIC_PREFIX_ERROR_CREATE(str) METRIC_PREFIX_ERROR("Create." str) 27 #define METRIC_PREFIX_ERROR_INIT(str) METRIC_PREFIX_ERROR("Init." str) 30 namespace acsdkAssets {
48 std::shared_ptr<alexaClientSDK::avsCommon::utils::metrics::MetricRecorderInterface> recorder);
87 std::vector<alexaClientSDK::avsCommon::utils::metrics::DataPoint> m_dataPoints;
89 static std::shared_ptr<alexaClientSDK::avsCommon::utils::metrics::MetricRecorderInterface> s_recorder;
96 #endif // ACSDKASSETSCOMMON_AMDMETRICWRAPPER_H_
int * count
Definition: gmock_stress_test.cc:176
::std::string string
Definition: gtest-port.h:1097
Definition: AmdMetricWrapper.h:36
AmdMetricsWrapper(const std::string &sourceName)
AmdMetricsWrapper & addTimer(const std::string &name, std::chrono::milliseconds value)
static std::function< AmdMetricsWrapper()> creator(const std::string &sourceName)
Definition: AmdMetricWrapper.h:43
static void setStaticRecorder(std::shared_ptr< alexaClientSDK::avsCommon::utils::metrics::MetricRecorderInterface > recorder)
AmdMetricsWrapper & addCounter(const std::string &name, int count=1)
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
AmdMetricsWrapper & addString(const std::string &name, const std::string &str)
AmdMetricsWrapper & operator=(const AmdMetricsWrapper &other)=delete
AmdMetricsWrapper & addZeroCounter(const std::string &name)
Definition: AmdMetricWrapper.h:65