@cryptotaxi247 / netdata-1 / commits / 0cd6d0efa

Add dbengine compression info in -W buildinfo (#17257)

Stelios Fragkakis committed Mar 26, 2024 at 12:12 UTC 0cd6d0efa52a145d519610029b3ab701bb1bce83
1 file changed +7 -1
src/daemon/buildinfo.c
+7 -1
@@ -534,7 +534,7 @@ static struct {
534 .category = BIC_DATABASE,
535 .type = BIT_BOOLEAN,
536 .analytics = "dbengine",
537 - .print = "dbengine",
537 + .print = "dbengine (compression)",
538 .json = "dbengine",
539 .value = NULL,
540 },
@@ -1098,6 +1098,12 @@ __attribute__((constructor)) void initialize_build_info(void) {
1098
1099 #ifdef ENABLE_DBENGINE
1100 build_info_set_status(BIB_DB_DBENGINE, true);
1101 +#ifdef ENABLE_ZSTD
1102 + build_info_append_value(BIB_DB_DBENGINE, "zstd");
1103 +#endif
1104 +#ifdef ENABLE_LZ4
1105 + build_info_append_value(BIB_DB_DBENGINE, "lz4");
1106 +#endif
1107 #endif
1108 build_info_set_status(BIB_DB_ALLOC, true);
1109 build_info_set_status(BIB_DB_RAM, true);