Code

collectd.conf(5): Document the per-plugin interval configuration.
[collectd.git] / src / target_set.c
index 8a014c3cd50caa156649f6de3093eda7cd7cac77..099f109679f7f8ac096c8c8b813fd1d43e6f673e 100644 (file)
@@ -214,10 +214,12 @@ static int ts_invoke (const data_set_t *ds, value_list_t *vl, /* {{{ */
   return (FC_TARGET_CONTINUE);
 } /* }}} int ts_invoke */
 
-void module_register (void)
+void module_register (plugin_loaddata_t *data)
 {
        target_proc_t tproc;
 
+    PLUGIN_INIT_INTERVAL (data);
+
        memset (&tproc, 0, sizeof (tproc));
        tproc.create  = ts_create;
        tproc.destroy = ts_destroy;