Age | Commit message (Collapse) | Author |
|
* rrd: move API structures out of rrddim_volatile
In C, unlike C++, it's not possible to reference a nested structure
from outside this structure.
Since we later want to use rrddim_query_ops and rrddim_collect_ops
separately from rrddim_volatile, move these nested structures out.
* rrd: use opaque handle types for different memory modes
|
|
* one way allocator to speed up context queries
* fixed a bug while expanding memory pages
* reworked for clarity and finally fixed the bug of allocating memory beyond the page size
* further optimize allocation step to minimize the number of allocations made
* implement strdup with memcpy instead of strcpy
* added documentation
* prevent an uninitialized use of owa
* added callocz() interface
* integrate onewayalloc everywhere - apart sql queries
* one way allocator is now used in context queries using archived charts in sql
* align on the size of pointers
* forgotten freez()
* removed not needed memcpys
* give unique names to global variables to avoid conflicts with system definitions
|
|
* speedup BUFFER increases by forward looking reallocs
* implemented buffer_vsprintf() and optimized buffer_sprintf() to minimize calls to vsnprintfz()
* optimize json generation for well known strings
|
|
(#12796)
|
|
They are used extensively throughout our code base, and not having
support for them does not generate a thread-safe agent.
|
|
|
|
* Docs: fix GitHub format
Github -> GitHub
github -> GitHub
* Apply suggestions from code review
Co-authored-by: Tina Luedtke <kickoke@users.noreply.github.com>
|
|
* Add the ability to build a host structure by node id to execute queries for archived hosts
* Add the ability to execute queries from the cloud for archived hosts by node id
* Add free_temporary_host function
|
|
Co-authored-by: netdatabot <netdatabot@users.noreply.github.com>
|
|
* update_dashboard_2: Update SWAP description
* ebpf_dashboard_2: Update reviews
* ebpf_dashboard_2: Use two words to define File Systems
* dashboard_network_title: Update swap chart title
* dashboard_network_title: Update shared memory titles
* dashboard_network_title: Update cachestat titles
* dashboard_network_title: Update directory cache titles
* dashboard_network_title: Update mount titles
* dashboard_network_title: Update hardirq description.
* dashboard_network_title: Update softirq description.
* dashboard_network_title: Update centralized description adding IRQ.
* dashboard_network_title: Update shared memory description.
* dashboard_network_title: Update global network description
* dashboard_network_title: Fix reference and remove dupplication
* dashboard_network_title: Update apps description
* dashboard_network_title: Update network cgroup description
* dashboard_network_title: Update main menu
* dashboard_network_title: Fix rebase
* dashboard_network_title: Fix LGTM
* dashboard_network_title: Remove dot
* dashboard_network_title: Remove dot
* dashboard_network_title: Remove dot
* dashboard_network_title: Return to old title
* dashboard_network_title: Return to old title (shm)
* dashboard_network_title: Update swap title
|
|
Co-authored-by: netdatabot <netdatabot@users.noreply.github.com>
|
|
* Add function to filter chart labels
* Add new parameter to filter chart labels on context queries
* Change swagger
* Better formatting for swagger
|
|
* Add timeout parameter in queries and in calling functions
* Add CANCEL flag in RRDR and code to cancel a query
* Update swagger
* Format swagger file properly
|
|
Co-authored-by: Vasilis Kalintiris <vasilis@netdata.cloud>
|
|
|
|
Co-authored-by: netdatabot <netdatabot@users.noreply.github.com>
|
|
* dont fatal on error writing the management key
* make message more descriptive
|
|
|
|
Co-authored-by: netdatabot <netdatabot@users.noreply.github.com>
|
|
|
|
|
|
* [Agent crash on api/v1/info call] - fixes #12559
returns boolean values
updated swagger files
|
|
Co-authored-by: Suraj Neupane <neupanesuraj@gmail.com>
|
|
compressor buffer overflow (#12037)
* [Stream compression] Downgrade stream version if compressor buffer overflows
* [Stream compression] More user friendly compression messages
* [Stream compression] Fix mutex starvation
* [Stream compression] enable compression by default
* Update streaming/README.md
Co-authored-by: Tina Luedtke <kickoke@users.noreply.github.com>
|
|
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
Co-authored-by: Tina Luedtke <kickoke@users.noreply.github.com>
|
|
|
|
(#12454)
|
|
Co-authored-by: netdatabot <netdatabot@users.noreply.github.com>
|
|
* Update netdata-swagger.json
* Update netdata-swagger.yaml
* remove the _rolling suffix
Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>
|
|
|
|
|
|
Co-authored-by: netdatabot <netdatabot@users.noreply.github.com>
|
|
|
|
|
|
* 12139: introduce new chart for process states metrics
This commit introduces new chart for total number of processes
in different states i.e running, sleeping, sleeping_d, zombie
and stopped.
* fix recursive chart generation issue
* fix recursive chart addition
* fixing comments
* Update web/gui/dashboard_info.js
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
* Update collectors/apps.plugin/apps_plugin.c
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
* fixing commenets
* Apply suggestions from code review
* Update collectors/apps.plugin/apps_plugin.c
* Update collectors/apps.plugin/apps_plugin.c
Co-authored-by: Timotej S. <6674623+underhood@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Tina Luedtke <kickoke@users.noreply.github.com>
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
Co-authored-by: Timotej S. <6674623+underhood@users.noreply.github.com>
Co-authored-by: Tina Luedtke <kickoke@users.noreply.github.com>
|
|
|
|
|
|
|
|
* Track anomaly rates with DBEngine.
This commit adds support for tracking anomaly rates with DBEngine. We
do so by creating a single chart with id "anomaly_detection.anomaly_rates" for
each trainable/predictable host, which is responsible for tracking the anomaly
rate of each dimension that we train/predict for that host.
The rrdset->state->is_ar_chart boolean flag is set to true only for anomaly
rates charts. We use this flag to:
- Disable exposing the anomaly rates charts through the functionality
in backends/, exporting/ and streaming/.
- Skip generation of configuration options for the name, algorithm,
multiplier, divisor of each dimension in an anomaly rates chart.
- Skip the creation of health variables for anomaly rates dimensions.
- Skip the chart/dim queue of ACLK.
- Post-process the RRDR result of an anomaly rates chart, so that we can
return a sorted, trimmed number of anomalous dimensions.
In a child/parent configuration where both the child and the parent run
ML for the child, we want to be able to stream the rest of the ML-related
charts to the parent. To be able to do this without any chart name collisions,
the charts are now created on localhost and their IDs and titles have the node's
machine_guid and hostname as a suffix, respectively.
* Fix exporting_engine tests.
* Restore default ML configuration.
The reverted changes where meant for local testing only. This commit
restores the default values that we want to have when someone runs
anomaly detection on their node.
* Set context for anomaly_detection.* charts.
* Check for anomaly rates chart only with a valid pointer.
* Remove duplicate code.
* Use a more descriptive name for id/title pair variable
|
|
|
|
|
|
|
|
|
|
* Add a new parameter (list of dimensions for the context query) to rrdr2ssv & rrdr2value
Add the parameter to the function calls
* Use the temporary dimension list (if available) for the calculations
|
|
|
|
|
|
Co-authored-by: netdatabot <netdatabot@users.noreply.github.com>
|
|
* Extensively reworked MacOS installation page.
* Removing outdated information
* Updated more instances of the old kickstart script
* Update kickstart command with tmp directories
* amend command to avoid merge conflict
* Removed reviewers note
|
|
Co-authored-by: netdatabot <netdatabot@users.noreply.github.com>
|
|
|