summaryrefslogtreecommitdiffstats
path: root/database
AgeCommit message (Collapse)Author
2021-03-23Fix memory leak when archived data is requested (#10837)Stelios Fragkakis
2021-03-22Add data query support for archived charts (#10771)Stelios Fragkakis
2021-03-18Don't show alarms for charts without data (#10804)Vladimir Kobal
2021-03-17Rename abs to ABS to avoid clash with standard definitions. Fixes #10353. ↵Tomáš Kopal
(#10354)
2021-03-16Adds ACLK-NG as fallback(#10315)Timotej S
* adds a new implementation of ACLK written almost from scratch * external dependencies only OpenSSL and JSON-C * fallback for systems where ACLK Legacy can't build (for technical or philosophical reasons) * can be forced to build by giving "--aclk-ng" to the installer
2021-03-15Enable metadata persistence in all memory modes (#10742)Stelios Fragkakis
2021-03-10Rename struct avl to avl_element and the typedef to avl_t (#10735)vkalintiris
Before: ``` struct foobar { avl avl; ... } ``` After: ``` struct foobar { avl_t avl; ... }; ``` Which makes figuring out the type from field name easier.
2021-03-09Activate multidb context always when dbengine is compiled (#10732)Stelios Fragkakis
2021-03-09Use a parameter name that is not a reserved keyword in C++ (#10738)vkalintiris
2021-03-09Use of out-of-line struct definitions. (#10739)vkalintiris
This change, which does not change the memory layout of the parent structs, allows inclusion of daemon/common.h in C++ without relying on -fpermissive.
2021-03-09Update chart's metadata in database when it already exists during creation ↵Stelios Fragkakis
(#10728)
2021-03-09Add the ability to store chart labels in the database (#10718)Stelios Fragkakis
2021-03-08Fix a parameter binding issue when storing chart names in the database (#10717)Stelios Fragkakis
2021-03-02Add support for changing the number of pages per extent dynamically during ↵Markos Fountoulakis
runtime. (#10593)
2021-02-24Try to keep all pages from extents read from disk in the cache. (#10558)Markos Fountoulakis
2021-02-11Add ACLK proxy setting as host label (#10619)Timotej S
* add label showing ACLK proxy setting
2021-01-19Remove unused entries from structures (#10519)Stelios Fragkakis
* Remove compaction_id (increment the unused in rrdset structure) * Remove old_family as it is not used for detection of metadata change (due to concurrency issues it results to data corruption)
2021-01-19Move ACLK Legacy into a subfolder (#10265)Timotej S
* move all legacy ACLK into a subfolder to make space for ACLK-NG
2021-01-18add `_is_k8s_node` label to the host labels (#10501)Ilya Mashchenko
* auto format system-info.sh * detect whether the node is k8s node in system-info.sh * fix unmae=>uname * add_is_k8s_node_to_host_labels: Add new variable to structure * add_is_k8s_node_to_host_labels: Add is_k8_node to labels * add_is_k8s_node_to_host_labels: Add is_k8_node inside endpoint * add_is_k8s_node_to_host_labels: Add data to swagge file * change yes/no to true/false * Update web/api/netdata-swagger.json * add_is_k8s_node_to_host_labels: Add anonymous statistic * add_is_k8s_node_to_host_labels: Add information to using-host-labels.md * add_is_k8s_node_to_host_labels: Add variable to stream * add_is_k8s_node_to_host_labels: Change swagger.yaml * add_is_k8s_node_to_host_labels: Adding missing documentation * add_is_k8s_node_to_host_labels: rename variable * add_is_k8s_node_to_host_labels: Rename lables to match variable names * add_is_k8s_node_to_host_labels: Add to wget * add_is_k8s_node_to_host_labels: Add content to swagger files * add_is_k8s_node_to_host_labels: update both swagger files * add_is_k8s_node_to_host_labels: fix wrong exportation Co-authored-by: Thiago Marques <thiagoftsm@gmail.com>
2021-01-15Fix broken dbengine stress tests. (#10502)Markos Fountoulakis
2021-01-14Support multiple chart label keys in data queries (#10483)Stelios Fragkakis
2021-01-13Fix heap-use-after-free due to the chart using netdata_config memory for ↵Markos Fountoulakis
some strings. (#10498)
2021-01-11ACLK fix error for older compilers (#10470)Timotej S
* organizes code better and fixes error with older C compilers
2021-01-07Docs housekeeping for SEO and syntax, part 1 (#10388)Joel Hans
* First pass to get the script working right * Finish adding analytics tags
2020-12-14Fix issue with chart metadata sent multiple times over ACLK (#10381)Stelios Fragkakis
* Add a flag RRDSET_FLAG_ACLK to mark that a chart needs to go to the cloud * Change calls to aclk_update_chart to set the RRDSET_FLAG_ACLK instead Make the call to aclk_update_chart only in rrdset_done (and in case the chart is deleted) * Fix compilation error when cloud is disabled * Skip netdata_cloud_setting check when setting the flag / calling aclk_update_chart (checked in there)
2020-12-14Kubernetes labels (#10107)Ilya Mashchenko
Co-authored-by: Markos Fountoulakis <markos.fountoulakis.senior@gmail.com> Co-authored-by: Vladimir Kobal <vlad@prokk.net>
2020-12-04Fix a compilation warning (#10320)Vladimir Kobal
2020-12-03dbengine extent cache (#10293)Markos Fountoulakis
* Add initial extent cache implementation * Integrate extent cache with dbengine.
2020-11-28Fix race condition in rrdset_first_entry_t() and rrdset_last_entry_t() (#10276)Markos Fountoulakis
2020-11-26ACLK Child Availability Messages (#9918)Timotej S
* new ACLK messages for Claiming MVP1
2020-11-25Address coverity errors (CID 364045,364046) (#10282)Stelios Fragkakis
Remove the unused sql_database_size function for now
2020-11-24Migrate metadata log to SQLite (#10139)Stelios Fragkakis
2020-11-15database: fix endless loop when cleaning obsolete charts (#10236)hexchain
Thank you very much @hexchain !
2020-11-12Disable chart obsoletion code for archived chart creation. (#10231)Markos Fountoulakis
2020-11-07Make libnetdata headers compilable by C++. (#10185)Tomáš Kopal
2020-10-21Fixed compile error in CENTOS 6 (#10110)Stelios Fragkakis
2020-10-20New alarm entities (#10041)thiagoftsm
Co-authored-by: Joel Hans <joel.g.hans@gmail.com> Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
2020-09-29Add docsv2 project to master branch (#10000)Joel Hans
* Add overview docs to docsv2 project * Add quickstart docs to docsv2 project (#9865) * Init quickstart docs * Begin work on quickstart guides * Finish quickstart drafts * Tweaks to both quickstarts * Add titles * Copyedit pass to both docs * Fixes for Amy and Jen * Add Get doc to docsv2 project (#9854) * Init get file * Add some links * Change h2 to h1 * Rephrase * Add configure docs to docsv2 project (#9878) * Add overview docs to docsv2 project (#9849) * Init files * Add drafts of what and why * Finish initial drafts * Fix edit URL * Copyedit pass * Finish initial drafts of configure docs * Copyedit all docs * Fixes for Amy * Fixes for Jen * Add collect docs to the docsv2 project (#9932) * Init files * Finish first two collect docs * Finish drafts of collect docs * Copyedit pass * Fixes for Amy * Fix for Jen * Add visualize docs to the docsv2 project (#9943) * Add visualize docs * Copyedits and cleanup * New images and features * Copyedit pass and cleanup * Missing word * Fixes for Jen * Add monitor docs to docsv2 project (#9949) * Finish drafts of monitor docs * Copyedit pass * Remove whitespace * Fixes for Jen * Add store docs to docsv2 project (#9969) * Finalize store documents * Fix import path * Finishing edit section * Copyedit pass * Add export docs to docsv2 project (#9986) * Add install and claim videos to Get doc * Finish drafts of exporting docs plus other tweaks * Init new exporting READMEs * Copyedit pass and new links * Fixes for Amy, Vlad, Jen * Fix links in docsv2 project (#9993) * Fix links * Fix a bunch of links ahead of export merge * Fix additional links * Fix links, nuke what-is-netdata * Fixing a few last links * Improve product images in overview * Remove extra paren * Quick tweaks for Jen * Fixes for Jen * Access fix * Remove extra word
2020-09-25Fix cleanup of obsolete charts (#9985)Markos Fountoulakis
* Archive dimensions as well when switching from obsolete charts to archived charts.
2020-09-24Improved the data query when using the context parameter (#9978)Stelios Fragkakis
2020-09-15Added context parameter to the data endpoint (#9931)Stelios Fragkakis
Added functionality to support composite charts
2020-09-11Fix memory mode none not dropping stale dimension data in general when ↵Markos Fountoulakis
streaming to a parent. (#9917)
2020-09-11Fix memory mode none not marking dimensions as obsolete. (#9912)Markos Fountoulakis
* Fix memory mode none not marking dimensions as obsolete.
2020-09-04Fix race condition with orphan hosts (#9862)Markos Fountoulakis
* Fix race condition between orphan host cleanup and new streaming connections. * Remove health enabling from log replay, it will be handled at streaming connection time.
2020-09-01Fix multi-host DB corruption when legacy metrics reside in localhost. (#9855)Markos Fountoulakis
2020-08-28fixes compilation warnings (#9845)Timotej S
2020-08-27Fix empty dbengine files (#9820)Markos Fountoulakis
* Stop aborting when loading empty metadata log files. * Stop aborting when loading empty dbengine data or journal files. * Improve consistency of metadata log file buffers and reduce likelyhood of zero length files on disk.
2020-08-26Improve dbengine docs and add new multihost setting (#9817)Joel Hans
* Clean up dbengine doc and metrics guide * Tweaks to the text * Fixes for Markos
2020-08-26Adds claimed_id streaming (#9804)Timotej S
* streams claimed_id of child nodes to parents * adds this information into /api/v1/info
2020-08-20Added code to release memory used by the global GUID map (#9729)Stelios Fragkakis
Fixed memory leak issues associated with the global GUID map during agent shutdown