]> arthur.barton.de Git - netdata.git/blobdiff - src/macos_mach_smi.c
fail2bain plugin: "Currently In Jail" chart renamed
[netdata.git] / src / macos_mach_smi.c
index 9b8e1e9b31b5fa33afaa98656eb483a4170c26c8..da28255137be9741693a54a568e515eb4b3fa98d 100644 (file)
@@ -137,7 +137,7 @@ int do_macos_mach_smi(int update_every, usec_t dt) {
                 if (unlikely(!st)) {
                     st = rrdset_create_localhost("mem", "pgfaults", NULL, "system", NULL, "Memory Page Faults"
                                                  , "page faults/s", 500, update_every, RRDSET_TYPE_LINE);
-                    st->isdetail = 1;
+                    rrdset_flag_set(st, RRDSET_FLAG_DETAIL);
 
                     rrddim_add(st, "memory",    NULL, 1, 1, RRD_ALGORITHM_INCREMENTAL);
                     rrddim_add(st, "cow",       NULL, 1, 1, RRD_ALGORITHM_INCREMENTAL);