summaryrefslogtreecommitdiffstats
path: root/src/proc_net_rpc_nfsd.c
diff options
context:
space:
mode:
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2017-02-18 22:29:43 +0200
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2017-02-22 01:00:23 +0200
commitd0cd29a9196763270421280e97bf53a49a3db85c (patch)
tree7e7d05d7619281c666258fcddae9164fd61e38ab /src/proc_net_rpc_nfsd.c
parent99e33cc6d52402d77c2be0409386461281e86be0 (diff)
unified rrdset and rrddim to use enum for flags
Diffstat (limited to 'src/proc_net_rpc_nfsd.c')
-rw-r--r--src/proc_net_rpc_nfsd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/proc_net_rpc_nfsd.c b/src/proc_net_rpc_nfsd.c
index 0cdf61ff00..b0ed58d136 100644
--- a/src/proc_net_rpc_nfsd.c
+++ b/src/proc_net_rpc_nfsd.c
@@ -516,7 +516,7 @@ int do_proc_net_rpc_nfsd(int update_every, usec_t dt) {
if(!st) {
st = rrdset_create_localhost("nfsd", "filehandles", NULL, "filehandles", NULL, "NFS Server File Handles"
, "handles/s", 5001, update_every, RRDSET_TYPE_LINE);
- st->isdetail = 1;
+ rrdset_flag_set(st, RRDSET_FLAG_DETAIL);
rrddim_add(st, "stale", NULL, 1, 1, RRD_ALGORITHM_ABSOLUTE);
rrddim_add(st, "total_lookups", NULL, 1, 1, RRD_ALGORITHM_INCREMENTAL);
@@ -658,7 +658,7 @@ int do_proc_net_rpc_nfsd(int update_every, usec_t dt) {
if(!st) {
st = rrdset_create_localhost("nfsd", "net", NULL, "network", NULL, "NFS Server Network Statistics"
, "packets/s", 5007, update_every, RRDSET_TYPE_STACKED);
- st->isdetail = 1;
+ rrdset_flag_set(st, RRDSET_FLAG_DETAIL);
rrddim_add(st, "udp", NULL, 1, 1, RRD_ALGORITHM_INCREMENTAL);
rrddim_add(st, "tcp", NULL, 1, 1, RRD_ALGORITHM_INCREMENTAL);
@@ -682,7 +682,7 @@ int do_proc_net_rpc_nfsd(int update_every, usec_t dt) {
st = rrdset_create_localhost("nfsd", "rpc", NULL, "rpc", NULL
, "NFS Server Remote Procedure Calls Statistics", "calls/s", 5008, update_every
, RRDSET_TYPE_LINE);
- st->isdetail = 1;
+ rrdset_flag_set(st, RRDSET_FLAG_DETAIL);
rrddim_add(st, "calls", NULL, 1, 1, RRD_ALGORITHM_INCREMENTAL);
rrddim_add(st, "bad_format", NULL, -1, 1, RRD_ALGORITHM_INCREMENTAL);