diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-10-08 17:35:35 +0300 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-10-08 17:35:35 +0300 |
commit | 011b3174743d6d55922537532fb33fbb6d80f395 (patch) | |
tree | 4b7f38a5e3dd2fe0d538d81c981a8226b2263dba /src/rrd2json.c | |
parent | 8a5d720d6f543ca2a7ff90412eff61c452a7ded4 (diff) |
netdata now detects current timezone and reports it to the dashboard; it also streams it to upstream netdata servers; #2698
Diffstat (limited to 'src/rrd2json.c')
-rw-r--r-- | src/rrd2json.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rrd2json.c b/src/rrd2json.c index 27750a7ea3..f962ca1321 100644 --- a/src/rrd2json.c +++ b/src/rrd2json.c @@ -92,6 +92,7 @@ void rrd_stats_api_v1_charts(RRDHOST *host, BUFFER *wb) { "\t\"hostname\": \"%s\"" ",\n\t\"version\": \"%s\"" ",\n\t\"os\": \"%s\"" + ",\n\t\"timezone\": \"%s\"" ",\n\t\"update_every\": %d" ",\n\t\"history\": %ld" ",\n\t\"custom_info\": \"%s\"" @@ -99,6 +100,7 @@ void rrd_stats_api_v1_charts(RRDHOST *host, BUFFER *wb) { , host->hostname , program_version , host->os + , host->timezone , host->rrd_update_every , host->rrd_history_entries , custom_dashboard_info_js_filename |