diff options
author | Ilya Mashchenko <ilya@netdata.cloud> | 2023-11-12 16:45:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-12 16:45:36 +0200 |
commit | 98dcabce73d798ede9d546406198627c8c68d889 (patch) | |
tree | 98f3c17fc1d8e0ec1de427909518946bc2f2bf86 /web | |
parent | 826001011f4992c39b9860da7d14501ff2ff97b2 (diff) |
fix v0 dashboard (#16389)
Diffstat (limited to 'web')
-rw-r--r-- | web/api/formatters/rrdset2json.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/api/formatters/rrdset2json.c b/web/api/formatters/rrdset2json.c index 5814cf2bce..ca56ca75b6 100644 --- a/web/api/formatters/rrdset2json.c +++ b/web/api/formatters/rrdset2json.c @@ -34,7 +34,7 @@ void rrdset2json(RRDSET *st, BUFFER *wb, size_t *dimensions_count, size_t *memor buffer_json_member_add_string(wb, "units", rrdset_units(st)); char data_url[RRD_ID_LENGTH_MAX + 16]; - snprintfz(data_url, RRD_ID_LENGTH_MAX + 15, "/api/v1/chart=%s", rrdset_name(st)); + snprintfz(data_url, RRD_ID_LENGTH_MAX + 15, "/api/v1/data?chart=%s", rrdset_name(st)); buffer_json_member_add_string(wb, "data_url", data_url); buffer_json_member_add_string(wb, "chart_type", rrdset_type_name(st->chart_type)); |