summaryrefslogtreecommitdiffstats
path: root/src/collectors/freebsd.plugin/freebsd_devstat.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-11-25 17:33:56 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-11-25 17:34:10 +0000
commit83ba6762cc43d9db581b979bb5e3445669e46cc2 (patch)
tree2e69833b43f791ed253a7a20318b767ebe56cdb8 /src/collectors/freebsd.plugin/freebsd_devstat.c
parentReleasing debian version 1.47.5-1. (diff)
downloadnetdata-83ba6762cc43d9db581b979bb5e3445669e46cc2.tar.xz
netdata-83ba6762cc43d9db581b979bb5e3445669e46cc2.zip
Merging upstream version 2.0.3+dfsg (Closes: #923993, #1042533, #1045145).
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/collectors/freebsd.plugin/freebsd_devstat.c')
-rw-r--r--src/collectors/freebsd.plugin/freebsd_devstat.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/collectors/freebsd.plugin/freebsd_devstat.c b/src/collectors/freebsd.plugin/freebsd_devstat.c
index e0e2e97b8..c3ee43961 100644
--- a/src/collectors/freebsd.plugin/freebsd_devstat.c
+++ b/src/collectors/freebsd.plugin/freebsd_devstat.c
@@ -393,8 +393,6 @@ int do_kern_devstat(int update_every, usec_t dt) {
RRDSET_TYPE_LINE
);
- rrdset_flag_set(dm->st_ops, RRDSET_FLAG_DETAIL);
-
dm->rd_ops_in = rrddim_add(dm->st_ops, "reads", NULL, 1, 1,
RRD_ALGORITHM_INCREMENTAL);
dm->rd_ops_out = rrddim_add(dm->st_ops, "writes", NULL, -1, 1,
@@ -428,8 +426,6 @@ int do_kern_devstat(int update_every, usec_t dt) {
RRDSET_TYPE_LINE
);
- rrdset_flag_set(dm->st_qops, RRDSET_FLAG_DETAIL);
-
dm->rd_qops = rrddim_add(dm->st_qops, "operations", NULL, 1, 1, RRD_ALGORITHM_ABSOLUTE);
}
@@ -453,8 +449,6 @@ int do_kern_devstat(int update_every, usec_t dt) {
RRDSET_TYPE_AREA
);
- rrdset_flag_set(dm->st_util, RRDSET_FLAG_DETAIL);
-
dm->rd_util = rrddim_add(dm->st_util, "utilization", NULL, 1, 10,
RRD_ALGORITHM_INCREMENTAL);
}
@@ -479,8 +473,6 @@ int do_kern_devstat(int update_every, usec_t dt) {
RRDSET_TYPE_LINE
);
- rrdset_flag_set(dm->st_iotime, RRDSET_FLAG_DETAIL);
-
dm->rd_iotime_in = rrddim_add(dm->st_iotime, "reads", NULL, 1, 1,
RRD_ALGORITHM_INCREMENTAL);
dm->rd_iotime_out = rrddim_add(dm->st_iotime, "writes", NULL, -1, 1,
@@ -518,8 +510,6 @@ int do_kern_devstat(int update_every, usec_t dt) {
RRDSET_TYPE_LINE
);
- rrdset_flag_set(dm->st_await, RRDSET_FLAG_DETAIL);
-
dm->rd_await_in = rrddim_add(dm->st_await, "reads", NULL, 1, 1,
RRD_ALGORITHM_ABSOLUTE);
dm->rd_await_out = rrddim_add(dm->st_await, "writes", NULL, -1, 1,
@@ -577,8 +567,6 @@ int do_kern_devstat(int update_every, usec_t dt) {
RRDSET_TYPE_AREA
);
- rrdset_flag_set(dm->st_avagsz, RRDSET_FLAG_DETAIL);
-
dm->rd_avagsz_in = rrddim_add(dm->st_avagsz, "reads", NULL, 1, KILO_FACTOR,
RRD_ALGORITHM_ABSOLUTE);
dm->rd_avagsz_out = rrddim_add(dm->st_avagsz, "writes", NULL, -1, KILO_FACTOR,
@@ -627,8 +615,6 @@ int do_kern_devstat(int update_every, usec_t dt) {
RRDSET_TYPE_LINE
);
- rrdset_flag_set(dm->st_svctm, RRDSET_FLAG_DETAIL);
-
dm->rd_svctm = rrddim_add(dm->st_svctm, "svctm", NULL, 1, 1,
RRD_ALGORITHM_ABSOLUTE);
}