1
0
mirror of https://github.com/netdata/netdata.git synced 2021-06-06 23:03:21 +03:00

1446 Commits

Author SHA1 Message Date
Stelios Fragkakis
37bee1d197 Store uuid_t metric_uuid in the dimension state structure instead of uuid_t * (#11212) 2021-06-01 14:26:22 +03:00
thiagoftsm
0b09b61997 VFS new thread (#11187)
Split process thread in two different threads.
2021-05-28 18:57:59 +00:00
vkalintiris
b8cd2bdc50 Remove unecessary relative paths when including headers. (#11124)
Currently, we add the repository's top-level dir in the compiler's
header search path. This means that code in every top-level directory
within the repo can include headers sibling top-level directories.

This patch makes header inclusion consistent when it comes to files
that are included from sibling top-level directories within the repo.
2021-05-24 17:44:50 +03:00
thiagoftsm
e8e60465bf Ebpf swap (#11090)
Add new thread to ebpf.plugin.
2021-05-24 12:53:26 +00:00
thiagoftsm
aa087d4306 Move mdstat charts near to Disks (#11119)
Reorganize MD Array Menu.
2021-05-24 11:58:51 +00:00
Austin S. Hemmelgarn
9574cb4c95 Bundle the react dashboard code into the agent repo directly. (#11139)
* Remove code for bundling the dashoard on install.

* Bundle the dashboard code directly into the agent repo.

This diffstat looks huge, but it’s actually relatively simple. The only
_actual_ changes are in the Makefiles, `configure.ac`, and the addition of
`generate_dashboard_makefile.py`. Everything else consists of removing
files that are included in the dashboard tarball, and extracting the
contents of the tarball into `web/gui/dashboard`.

* CI cleanup.

* Automate bundling of the dashboard code.

This replaces the makefile generator script with one that handles
bundling of the dashboard code in it’s entirety, and updates the GHA
workflow used for generating dashboard PRs to use that instead of the
existing shell commands.

It also removes the packaging/dashboard.* files, as they are no longer
needed.
2021-05-14 11:41:16 -04:00
Thomas Anderson
cd089089f7 Remove dash-example, place in community repo (#11077)
* Remove dash-example, place in community repo

* Remove Makefile reference to dash-example.html
2021-05-10 17:00:50 +03:00
Vladimir Kobal
3f93df7aa3 Add a module for ZFS pool state (#11071)
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
2021-05-05 20:33:04 +03:00
thiagoftsm
c9dfe8e102 fix SSL random failures when using multithreaded web server with OpenSSL < 1.1.0 (#11089) 2021-05-05 12:04:24 +00:00
thiagoftsm
ac3f9b1717 Ebpf directory cache (#10855)
Add new thread to ebpf.plugin.
2021-05-03 11:13:37 +00:00
Andrew Maguire
6ec39d20cc add python changefinder collector (#10672)
* add python changefinder collector

- adds python 'changefinder' based collector for online changepoint detection.
2021-04-28 14:47:23 +01:00
Emmanuel Vasilakis
e9ccc75a45 Provide more agent analytics to posthog (#11020)
* Move statistics related functions to analytics.c

* error message change, space added after if

* start an analytics thread

* use heartbeat instead of sleep

* add late enviroment (after rrdinit) pick of some attributes

* change loop

* re-enable info messages

* remove possible new line

* log and report hits on allmetrics pages. detect if exporting engines are enabled/in use, and report them

* use lowercase for analytics variables

* add collectors

* add buildinfo

* more attributes from late environment

* add new attributes to v1/info

* re-gather meta data before exit. update allmetrics counters to be available in v1/info

* log hits to dashboard

* add mirrored hosts

* added notification methods

* fix spaces, proper JSON naming

* add alerts, charts and metrics count

* more attributes

* keep the thread up, and report a meta event every 2 hours

* small formating changes. Disable analytics_log_prometheus when for unit testing. Add the new attributes to the anonymous-statistics.sh.in script

* applied clang-format

* dont gather data again on exit

* safe buffer length in snprintfz

* add rrdset lock

* remove show_archived

* remove setenv

* calculate lengths during sets
2021-04-27 10:11:20 +03:00
Andrew Maguire
b053c8423e Zscores python collector (#10673)
* adding zscores collector
2021-04-26 22:14:25 +01:00
Emmanuel Vasilakis
3d571ebb44 Revert "Provide more agent analytics to posthog (#10887)" (#11011)
This reverts commit a1ce482f3e.
2021-04-21 20:53:12 +03:00
Emmanuel Vasilakis
a1ce482f3e Provide more agent analytics to posthog (#10887)
* Move statistics related functions to analytics.c

* error message change, space added after if

* start an analytics thread

* use heartbeat instead of sleep

* add late enviroment (after rrdinit) pick of some attributes

* change loop

* re-enable info messages

* remove possible new line

* log and report hits on allmetrics pages. detect if exporting engines are enabled/in use, and report them

* use lowercase for analytics variables

* add collectors

* add buildinfo

* more attributes from late environment

* add new attributes to v1/info

* re-gather meta data before exit. update allmetrics counters to be available in v1/info

* log hits to dashboard

* add mirrored hosts

* added notification methods

* fix spaces, proper JSON naming

* add alerts, charts and metrics count

* more attributes

* keep the thread up, and report a meta event every 2 hours

* small formating changes. Disable analytics_log_prometheus when for unit testing. Add the new attributes to the anonymous-statistics.sh.in script

* applied clang-format

* dont gather data again on exit

* safe buffer length in snprintfz

* add rrdset lock

* remove show_archived
2021-04-21 18:24:51 +03:00
Vladimir Kobal
f569beac51 Move global stats to a separate thread (#10991) 2021-04-19 16:46:58 +03:00
Joel Hans
d58f79c098 Update web server options for respecting browser DNT (#10157) 2021-04-16 13:49:26 +03:00
thiagoftsm
f458c64bac Remove condition that was creating gaps on cachestat (#10972) 2021-04-15 17:11:15 +00:00
Thomas Anderson
18a5cb9e7c Improvements to dash-example.html (#10870) 2021-04-15 16:04:28 +02:00
Josh Soref
b9fff8a3aa Spelling web api server (#10921) 2021-04-14 13:39:23 +03:00
Ilya Mashchenko
494b2061c0 web/gui: add systemdunits info to the dashboard_info.js (#10904)
Co-authored-by: Vladimir Kobal <vlad@prokk.net>
2021-04-14 13:23:59 +03:00
Josh Soref
bb13999c40 Spelling web gui (#10922) 2021-04-14 12:45:35 +03:00
Ilya Mashchenko
dc03daec69 health: add Inconsistent state to the mysql_galera_cluster_state alarm (#10945) 2021-04-14 12:20:24 +03:00
Vladimir Kobal
7de64f49ff Add a plugin for the system clock synchronization state (#10895)
Co-authored-by: Joel Hans <joel.g.hans@gmail.com>
2021-04-14 12:20:13 +03:00
Vladimir Kobal
8f0a5e3bb2 Add new charts for extended disk metrics (#10939) 2021-04-14 12:19:17 +03:00
Stelios Fragkakis
ee64ef04f0 Fix memory corruption issue when executing context queries in RAM/SAVE memory mode (#10933) 2021-04-07 19:25:55 +03:00
Vladimir Kobal
46af7de425 Add carrier and mtu charts for network interfaces (#10866)
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
2021-03-26 17:49:10 +02:00
Emmanuel Vasilakis
5510b429a6 Add a new parameter 'chart' to the /api/v1/alarm_log. (#10788)
* add a chart parameter to api alarm_log

* Use hash_chart instead

* also do the strcmp

* cleaner?

* save an if

* move simple_hash out of the loop

* Changed if

* formatting changes

* fix formating
2021-03-26 11:34:23 +02:00
Ilya Mashchenko
c76076b4c4 web/gui: make network state map sytanx consistent in the dashboard info (#10849) 2021-03-24 17:01:38 +03:00
thiagoftsm
a714066bcc Ebpf extend sync (#10814)
Extend synchronization thread.
2021-03-24 12:00:04 +00:00
Stelios Fragkakis
c527863c53 Fix agent crash when executing data query with context and non-existing chart_label_key (#10844) 2021-03-24 11:30:43 +02:00
Stelios Fragkakis
7ebb0a4da2 Fix memory leak when archived data is requested (#10837) 2021-03-23 18:09:34 +02:00
Stelios Fragkakis
0f78020f04 Add lock check to avoid shutdown when compiled with internal and locking checks (#10835) 2021-03-23 14:41:53 +02:00
Stelios Fragkakis
65bc43d9cb Add data query support for archived charts (#10771) 2021-03-22 09:47:22 +02:00
Ilya Mashchenko
0041eeee3a health: remove ram_in_swap alarm (#10789) 2021-03-17 19:40:16 +03:00
thiagoftsm
65f4f12e86 New thread for ebpf.plugin
Add monitoring to `sync` syscall
2021-03-17 10:22:11 +00:00
Tomáš Kopal
757e418090 Rename abs to ABS to avoid clash with standard definitions. Fixes #10353. (#10354) 2021-03-17 12:18:33 +02:00
Ilya Mashchenko
e1614edccf web/gui: add max value to the nvidia_smi.fan_speed gauge (#10780) 2021-03-16 20:07:03 +03:00
Ikko Ashimine
012d7adfb0 Fix typo in dashboard_info.js (#10775)
occured -> occurred
2021-03-16 18:32:41 +03:00
Timotej S
e7e5d0c372 Adds ACLK-NG as fallback(#10315)
* 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-16 12:38:16 +01:00
Ilya Mashchenko
686765cdd7 web/gui: add supervisord to the dashboard_info.js (#10754) 2021-03-11 19:49:32 +03:00
Vladimir Kobal
c2fa644867 Add state map to duplex and operstate charts (#10752) 2021-03-11 16:39:30 +03:00
Stelios Fragkakis
3d7f07fb3f Log ACLK cloud commands to access.log (#10697) 2021-03-04 23:28:42 +02:00
thiagoftsm
7907774e5a New version eBPF programs. (#10707)
Add new eBPF version to bring support for close events on kernel `5.11`.
2021-03-04 11:54:31 +00:00
thiagoftsm
71e711430c Add Linux page cache metrics to eBPF (#10693)
Add new eBPF thread to display page cache utilization.
2021-03-03 16:08:08 +00:00
Vladimir Kobal
9b48ae8690 Fix disk utilization and backlog charts (#10705) 2021-03-03 16:02:13 +02:00
Habetdin
02f9252609 web/gui: Fix broken external links (#10586) 2021-02-25 16:13:05 +03:00
Odysseas Lamtzidis
e1f5a8db55 Statsd dashboard (#10640)
* revamp statsd docs

Signed-off-by: odyslam <odyslam@gmail.com>

* Add StatD definition to dashboard_info.js
2021-02-22 17:30:08 +02:00
Stelios Fragkakis
b76a297de1 Fix the context filtering on the data query endpoint (#10652) 2021-02-17 21:13:38 +02:00
Odysseas Lamtzidis
ec64f3cee0 Fix type in web/gui/readme.md (#10623)
[**Time & date picker**](#time--date-picker)
2021-02-12 10:28:37 +02:00