diff options
author | thiagoftsm <thiagoftsm@gmail.com> | 2020-05-18 20:48:42 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-18 20:48:42 +0000 |
commit | a01364a8629856fe4e7ac5a381eb17461f78f0e7 (patch) | |
tree | 79d0deb4e8d6485a973dbc6da0d9fbf1ef7f3c23 /exporting/exporting_engine.h | |
parent | 223724f2186f51ea464be04df997ff2e934c8352 (diff) |
Clean instances (#9081)
Brings function used to clean export instances.
Diffstat (limited to 'exporting/exporting_engine.h')
-rw-r--r-- | exporting/exporting_engine.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/exporting/exporting_engine.h b/exporting/exporting_engine.h index 7dc79e3956..bdf58ce757 100644 --- a/exporting/exporting_engine.h +++ b/exporting/exporting_engine.h @@ -235,6 +235,8 @@ void create_main_rusage_chart(RRDSET **st_rusage, RRDDIM **rd_user, RRDDIM **rd_ void send_main_rusage(RRDSET *st_rusage, RRDDIM *rd_user, RRDDIM *rd_system); void send_internal_metrics(struct instance *instance); +extern void clean_instance(struct instance *ptr); + static inline void disable_instance(struct instance *instance) { instance->disabled = 1; |