summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5b36272)
raw | patch | inline | side by side (parent: 5b36272)
author | Wilfried Goesgens <willi@arangodb.com> | |
Fri, 29 Sep 2017 10:47:27 +0000 (12:47 +0200) | ||
committer | Wilfried Goesgens <willi@arangodb.com> | |
Fri, 29 Sep 2017 10:47:27 +0000 (12:47 +0200) |
src/processes.c | patch | blob | history | |
src/types.db | patch | blob | history |
diff --git a/src/processes.c b/src/processes.c
index 459ab985dd8e156a07a6d34831c77854da7d6004..0984d7f64286a15d3acb984d90950e4b13ed8496 100644 (file)
--- a/src/processes.c
+++ b/src/processes.c
}
if (ps->num_maps > 0) {
- sstrncpy(vl.type, "memory_maps", sizeof(vl.type));
+ sstrncpy(vl.type, "file_handles", sizeof(vl.type));
+ sstrncpy(vl.type_instance, "mapped", sizeof(vl.type_instance));
vl.values[0].gauge = ps->num_maps;
vl.values_len = 1;
plugin_dispatch_values(&vl);
diff --git a/src/types.db b/src/types.db
index c5bcab63cbe40d65468a44a5ecfb66ac7a62cf21..577d28f184c8a67cca60754fa34c0c4618a16834 100644 (file)
--- a/src/types.db
+++ b/src/types.db
links value:GAUGE:0:U
load shortterm:GAUGE:0:5000, midterm:GAUGE:0:5000, longterm:GAUGE:0:5000
memory_bandwidth value:DERIVE:0:U
-memory_maps value:GAUGE:0:U
md_disks value:GAUGE:0:U
memcached_command value:DERIVE:0:U
memcached_connections value:GAUGE:0:U