mirror of
https://github.com/openappsec/openappsec.git
synced 2025-11-16 09:21:54 +03:00
Jan_31_2024-Dev
This commit is contained in:
10
core/metric/generic_metric.cc
Executable file → Normal file
10
core/metric/generic_metric.cc
Executable file → Normal 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
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user