update(userspace): minor polishing

Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
This commit is contained in:
Jason Dellaluce
2023-05-19 15:54:10 +00:00
committed by poiana
parent f117d5273c
commit 5d35cda8dc
5 changed files with 10 additions and 5 deletions

View File

@@ -70,7 +70,6 @@ uint64_t parse_metrics_interval(std::string interval_str)
{
/* todo: deprecate for Falco 0.36. */
interval = std::stoull(interval_str, nullptr, 0);
std::cerr << "Metrics interval was passed as numeric value without Prometheus time unit, this option will no longer be supported starting Falco 0.36" << std::endl;
}
/* Option 2: Passing a Prometheus time duration.
* https://prometheus.io/docs/prometheus/latest/querying/basics/#time-durations