Jan_31_2024-Dev

This commit is contained in:
Ned Wright
2024-01-31 17:34:53 +00:00
parent 752a5785f0
commit 6d67818a94
376 changed files with 8101 additions and 7064 deletions

10
core/metric/generic_metric.cc Executable file → Normal file
View File

@@ -229,13 +229,11 @@ void
GenericMetric::sendLog(const LogRest &metric_client_rest) const
{
string fog_metric_uri = getConfigurationWithDefault<string>("/api/v1/agents/events", "metric", "fogMetricUri");
Singleton::Consume<I_Messaging>::by<GenericMetric>()->sendObjectWithPersistence(
metric_client_rest,
I_Messaging::Method::POST,
Singleton::Consume<I_Messaging>::by<GenericMetric>()->sendAsyncMessage(
HTTPMethod::POST,
fog_metric_uri,
"",
true,
MessageTypeTag::METRIC
metric_client_rest,
MessageCategory::METRIC
);
}