diff options
Diffstat (limited to 'src/components/telemetry_monitor')
3 files changed, 8 insertions, 7 deletions
diff --git a/src/components/telemetry_monitor/CMakeLists.txt b/src/components/telemetry_monitor/CMakeLists.txt index a9c0e14224..3e8b2a9741 100644 --- a/src/components/telemetry_monitor/CMakeLists.txt +++ b/src/components/telemetry_monitor/CMakeLists.txt @@ -47,6 +47,7 @@ include_directories ( ${COMPONENTS_DIR}/media_manager/include/ ${COMPONENTS_DIR}/smart_objects/include/ ${COMPONENTS_DIR}/config_profile/include/ + ${COMPONENTS_DIR}/resumption/include ${JSONCPP_INCLUDE_DIRECTORY} ${CMAKE_BINARY_DIR}/src/components/ ${LOG4CXX_INCLUDE_DIRECTORY} diff --git a/src/components/telemetry_monitor/src/application_manager_metric_wrapper.cc b/src/components/telemetry_monitor/src/application_manager_metric_wrapper.cc index 90c5ffb87e..9bf4ec494b 100644 --- a/src/components/telemetry_monitor/src/application_manager_metric_wrapper.cc +++ b/src/components/telemetry_monitor/src/application_manager_metric_wrapper.cc @@ -45,10 +45,10 @@ Json::Value ApplicationManagerMetricWrapper::GetJsonMetric() { result[strings::end] = Json::Int64(date_time::getuSecs(message_metric->end)); const ns_smart_device_link::ns_smart_objects::SmartObject& params = message_metric->message->getElement(application_manager::strings::params); - result[strings::correlation_id] = utils::ConvertInt64ToLongLongInt( - params[application_manager::strings::correlation_id].asInt()); - result[strings::connection_key] = utils::ConvertInt64ToLongLongInt( - params[application_manager::strings::connection_key].asInt()); + result[strings::correlation_id] = + params[application_manager::strings::correlation_id].asInt(); + result[strings::connection_key] = + params[application_manager::strings::connection_key].asInt(); return result; } } // namespace telemetry_monitor diff --git a/src/components/telemetry_monitor/src/metric_wrapper.cc b/src/components/telemetry_monitor/src/metric_wrapper.cc index 8b2ba6f220..fdcd8f6a9c 100644 --- a/src/components/telemetry_monitor/src/metric_wrapper.cc +++ b/src/components/telemetry_monitor/src/metric_wrapper.cc @@ -54,9 +54,9 @@ std::string MetricWrapper::GetStyledString() { Json::Value MetricWrapper::GetJsonMetric() { Json::Value result; if (resources) { - result[strings::stime] = resources->stime; - result[strings::utime] = resources->utime; - result[strings::memory] = resources->memory; + result[strings::stime] = static_cast<Json::Int64>(resources->stime); + result[strings::utime] = static_cast<Json::Int64>(resources->utime); + result[strings::memory] = static_cast<Json::Int64>(resources->memory); } return result; } |