Merge branch 'collectd-5.6' into collectd-5.7
[collectd.git] / src / daemon / utils_tail_match.h
index 6c6019a..09e3d40 100644 (file)
@@ -33,6 +33,7 @@
  *   regular expressions.
  */
 
+#include "utils_latency_config.h"
 #include "utils_match.h"
 
 struct cu_tail_match_s;
@@ -107,6 +108,7 @@ int tail_match_add_match(cu_tail_match_t *obj, cu_match_t *match,
  *  passed `plugin', `plugin_instance', `type', and `type_instance' are
  *  directly used when submitting these values.
  *  With excluderegex it is possible to exlude lines from the match.
+ *  The `latency_cfg' specifies configuration for submitting latency.
  *
  * RETURN VALUE
  *   Zero upon success, non-zero otherwise.
@@ -115,6 +117,7 @@ int tail_match_add_match_simple(cu_tail_match_t *obj, const char *regex,
                                 const char *excluderegex, int ds_type,
                                 const char *plugin, const char *plugin_instance,
                                 const char *type, const char *type_instance,
+                                const latency_config_t latency_cfg,
                                 const cdtime_t interval);
 
 /*