summaryrefslogtreecommitdiffstats
path: root/database/rrdcalctemplate.h
diff options
context:
space:
mode:
authorthiagoftsm <thiagoftsm@gmail.com>2021-04-28 23:32:43 +0000
committerGitHub <noreply@github.com>2021-04-28 23:32:43 +0000
commite1b409efd10491b281e39f5637a08fb7b542866d (patch)
treebf3484d717d1410fd526250a2c7847277839b456 /database/rrdcalctemplate.h
parent6ec39d20ccb48f90b8e801dd91f51ab9141b941a (diff)
Add `charts` to templates (#11054)
Add new entities to Netdata templates.
Diffstat (limited to 'database/rrdcalctemplate.h')
-rw-r--r--database/rrdcalctemplate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/database/rrdcalctemplate.h b/database/rrdcalctemplate.h
index 64c201c8c0..65114da6af 100644
--- a/database/rrdcalctemplate.h
+++ b/database/rrdcalctemplate.h
@@ -31,6 +31,9 @@ struct rrdcalctemplate {
char *module_match;
SIMPLE_PATTERN *module_pattern;
+ char *charts_match;
+ SIMPLE_PATTERN *charts_pattern;
+
char *source; // the source of this alarm
char *units; // the units of the alarm
char *info; // a short description of the alarm