diff options
author | Austin S. Hemmelgarn <austin@netdata.cloud> | 2021-10-19 07:29:28 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-19 07:29:28 -0400 |
commit | 36a9d70880b3ced36e0f095f672927893fad23c9 (patch) | |
tree | 5451c77c2e50c14193a989f74550aa03d617eded /database | |
parent | a221b7b2fd6a90189c9badd499caf73ec613d184 (diff) |
Add flag to mark containers as created from official images in analytics. (#11606)
* Add flag to mark containers as created from official images in analytics.
* Fix CI.
* process NETDATA_CONTAINER_IS_OFFICIAL_IMAGE variable from system info and export to anonymous-statistics script
Co-authored-by: Emmanuel Vasilakis <mrzammler@mm.st>
Diffstat (limited to 'database')
-rw-r--r-- | database/rrdhost.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/database/rrdhost.c b/database/rrdhost.c index f6b1834aa0..abb14beaf4 100644 --- a/database/rrdhost.c +++ b/database/rrdhost.c @@ -1640,6 +1640,8 @@ int rrdhost_set_system_info_variable(struct rrdhost_system_info *system_info, ch return res; else if (!strcmp(name, "NETDATA_SYSTEM_DISK_DETECTION")) return res; + else if (!strcmp(name, "NETDATA_CONTAINER_IS_OFFICIAL_IMAGE")) + return res; else { res = 1; } |