0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-28 14:42:31 +00:00
netdata_netdata/web/api
vkalintiris ebdd819d6e
Remove per chart configuration. ()
After https://github.com/netdata/netdata/pull/12209 per-chart configuration
was used for (a) enabling/disabling a chart, and (b) renaming dimensions.

Regarding the first use case: We already have component-specific
configuration options|flags to finely control how a chart should behave.
Eg. "send charts matching" in streaming, "charts to skip from training"
in ML, etc. If we really need the concept of a disabled chart, we can
add a host-level simple pattern to match these charts.

Regarding the second use case: It's not obvious why we'd need to provide
support for remapping dimension names through a chart-specific configuration
from the core agent. If the need arises, we could add such support at
the right place, ie. a exporter/streaming config section.

This will allow each flag to act indepentendly from each other and
avoid managing flag-state manually at various places, eg:

```
    if(unlikely(!rrdset_flag_check(st, RRDSET_FLAG_ENABLED))) {
        rrdset_flag_clear(st, RRDSET_FLAG_UPSTREAM_SEND);
        rrdset_flag_set(st, RRDSET_FLAG_UPSTREAM_IGNORE);
    } ...
```
2022-05-03 19:02:36 +03:00
..
badges Docs: fix GitHub format () 2022-04-20 07:22:51 -04:00
exporters Remove backends subsystem () 2022-03-15 11:50:24 +01:00
formatters Remove per chart configuration. () 2022-05-03 19:02:36 +03:00
health Docs: Removed Google Analytics tags () 2022-02-17 10:37:46 +00:00
queries Configurable storage engine for Netdata agents: step 1 () 2022-05-03 11:34:15 +03:00
tests Add the ability to perform a data query using an offline node id () 2022-04-19 11:32:49 +03:00
Makefile.am Makefile.am files indentation () 2019-11-11 01:30:00 +02:00
netdata-swagger.json Add a chart label filter parameter in context data queries () 2022-04-12 08:18:40 +03:00
netdata-swagger.yaml Add a chart label filter parameter in context data queries () 2022-04-12 08:18:40 +03:00
README.md Docs: Removed Google Analytics tags () 2022-02-17 10:37:46 +00:00
web_api_v1.c One way allocator to double the speed of parallel context queries () 2022-05-03 00:31:19 +03:00
web_api_v1.h Add a chart label filter parameter in context data queries () 2022-04-12 08:18:40 +03:00

API

Netdata REST API

The complete documentation of the Netdata API is available at the Swagger Editor.

If your prefer it over the Swagger Editor, you can also use Swagger UI. This however does not provide all the information available.