update AsynchronousMetricLog

This commit is contained in:
Bharat Nallan Chakravarthy 2023-11-14 18:36:41 -08:00
parent e164c1d257
commit 4b27fbc4c3
2 changed files with 1 additions and 3 deletions

View File

@ -28,7 +28,7 @@ void AsynchronousMetricLogElement::appendToBlock(MutableColumns & columns) const
{
size_t column_idx = 0;
columns[column_idx++]->insert(hostname);
columns[column_idx++]->insert(getFQDNOrHostName());
columns[column_idx++]->insert(event_date);
columns[column_idx++]->insert(event_time);
columns[column_idx++]->insert(metric_name);
@ -39,7 +39,6 @@ void AsynchronousMetricLog::addValues(const AsynchronousMetricValues & values)
{
AsynchronousMetricLogElement element;
element.hostname = getFQDNOrHostName();
element.event_time = time(nullptr);
element.event_date = DateLUT::instance().toDayNum(element.event_time);

View File

@ -21,7 +21,6 @@ struct AsynchronousMetricLogElement
{
UInt16 event_date;
time_t event_time;
std::string hostname;
std::string metric_name;
double value;