summaryrefslogtreecommitdiffstats
path: root/registry
diff options
context:
space:
mode:
authorVladimir Kobal <vlad@prokk.net>2018-12-17 13:20:51 +0200
committerGitHub <noreply@github.com>2018-12-17 13:20:51 +0200
commit989604bada2a5d075d3025fe8a85b77cede9c586 (patch)
tree561b478e6efc6291574f88aa81c11c928fd90f20 /registry
parent928d4c50f6174a170318625ec69bcbfe968797c0 (diff)
Make units compliant with IEC standard (#4985)
* Change GB to GiB * Change MB to MiB in apps.plugin * Change MB to MiB in cgroups.plugin * Change MB to MiB in freebsd.plugin and macos.plugin * Change MB to MiB in proc.plugin * Change KB to KiB * Change kB to KiB for divisor 1024 * Fix units for memory.failcnt * Fix other units * Change CPU time percentage * Change kilobytes to KiB in apps.plugin * Small fixes
Diffstat (limited to 'registry')
-rw-r--r--registry/registry.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/registry/registry.c b/registry/registry.c
index 9a38fcbadb..e449f1aead 100644
--- a/registry/registry.c
+++ b/registry/registry.c
@@ -131,7 +131,7 @@ static inline int registry_person_url_callback_verify_machine_exists(void *entry
int registry_request_hello_json(RRDHOST *host, struct web_client *w) {
registry_json_header(host, w, "hello", REGISTRY_STATUS_OK);
- buffer_sprintf(w->response.data,
+ buffer_sprintf(w->response.data,
",\n\t\"registry\": \"%s\",\n\t\"cloud_base_url\": \"%s\"",
registry.registry_to_announce,
registry.cloud_base_url);
@@ -334,7 +334,7 @@ void registry_statistics(void) {
, "registry"
, NULL
, "NetData Registry Sessions"
- , "session"
+ , "sessions"
, "registry"
, "stats"
, 131000
@@ -392,7 +392,7 @@ void registry_statistics(void) {
, "registry"
, NULL
, "NetData Registry Memory"
- , "KB"
+ , "KiB"
, "registry"
, "stats"
, 131300