summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2024-01-29Bump google-github-actions/upload-cloud-storage from 2.0.0 to 2.1.0dependabot/github_actions/google-github-actions/upload-cloud-storage-2.1.0dependabot[bot]
Bumps [google-github-actions/upload-cloud-storage](https://github.com/google-github-actions/upload-cloud-storage) from 2.0.0 to 2.1.0. - [Release notes](https://github.com/google-github-actions/upload-cloud-storage/releases) - [Changelog](https://github.com/google-github-actions/upload-cloud-storage/blob/main/CHANGELOG.md) - [Commits](https://github.com/google-github-actions/upload-cloud-storage/compare/v2.0.0...v2.1.0) --- updated-dependencies: - dependency-name: google-github-actions/upload-cloud-storage dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2024-01-27[ci skip] Update changelog and version for nightly build: v1.44.0-242-nightly.netdatabot
2024-01-26CNCF link fix (#16851)Hugo Valente
2024-01-26Improve service thread shutdown (#16841)Stelios Fragkakis
Shutdown service thread first Service thread sleep 1 sec at a time
2024-01-26[ci skip] Update changelog and version for nightly build: v1.44.0-239-nightly.netdatabot
2024-01-25Disable local Go builds in our RPM packages. (#16848)Austin S. Hemmelgarn
2024-01-25Regenerate integrations.js (#16835)Netdata bot
Co-authored-by: ilyam8 <ilyam8@users.noreply.github.com>
2024-01-25Include timer units failed state alert as default (#16845)Tasos Katsoulas
2024-01-25kickstart: use extended-regexp in `get_redirect()` (#16844)Ilya Mashchenko
kickstart: use extended-regexp in get_redirect
2024-01-25Make the kickstart checksum's placeholder value more concrete (#16843)Tasos Katsoulas
Make the kickstart's checksum value more concrete Do not change that
2024-01-25[ci skip] Update changelog and version for nightly build: v1.44.0-233-nightly.netdatabot
2024-01-24adds docs for cloud MS Teams integration (#16834)Konstantinos Papazacharopoulos
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
2024-01-24Fix directory handling in Go toolchain handling script. (#16828)Austin S. Hemmelgarn
2024-01-24Add explicit callback types for readability. (#16820)vkalintiris
2024-01-24Fix coverity issue (#16831)Stelios Fragkakis
CID 414122: Resource leaks (RESOURCE_LEAK)
2024-01-24add brotli and libyaml to buildinfo (#16830)Costa Tsaousis
2024-01-24[ci skip] Update changelog and version for nightly build: v1.44.0-227-nightly.netdatabot
2024-01-23Change query label matching logic (#16827)Stelios Fragkakis
* Match multi labels * Rework, add support for weights * Fix function return value * Cleanup function
2024-01-23DYNCFG: dynamically configured alerts (#16779)Costa Tsaousis
* cleanup alerts * fix references * fix references * fix references * load alerts once and apply them to each node * simplify health_create_alarm_entry() * Compile without warnings with compiler flags: -Wall -Wextra -Wformat=2 -Wshadow -Wno-format-nonliteral -Winit-self * code re-organization and cleanup * generate patterns when applying prototypes; give unique dyncfg names to all alerts * eval expressions keep the source and the parsed_as as STRING pointers * renamed host to node in dyncfg ids * renamed host to node in dyncfg ids * add all cloud roles to the list of parsed X-Netdata-Role header and also default to member access level * working functionality * code re-organization: moved health event-loop to a new file, moved health globals to health.c * rrdcalctemplate is removed; alert_cfg is removed; foreach dimension is removed; RRDCALCs are now instanciated only when they are linked to RRDSETs * dyncfg alert prototypes initialization for alerts * health dyncfg split to separate file * cleanup not-needed code * normalize matches between parsing and json * also detect !* for disabled alerts * dyncfg capability disabled * Store alert config part1 * Add rrdlabels_common_count * wip health variables lookup without indexes * Improve rrdlabels_common_count by reusing rrdlabels_find_label_with_key_unsafe with an additional parameter * working variables with runtime lookup * working variables with runtime lookup * delete rrddimvar and rrdfamily index * remove rrdsetvar; now all variables are in RRDVARs inside hosts and charts * added /api/v1/variable that resolves a variable the same way alerts do * remove rrdcalc from eval * remove debug code * remove duplicate assignment * Fix memory leak * all alert variables are now handled by alert_variable_lookup() and EVAL is now independent of alerts * hide all internal structures of EVAL * Enable -Wformat flag Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud> * Adjust binding for calculation, warning, critical * Remove unused macro * Update config hash id * use the right info and summary in alerts log * use synchronous queries for alerts * Handle cases when config_hash_id is missing from health_log * remove deadlock from health worker * parsing to json payload for health alert prototypes * cleaner parsing and avoiding memory leaks in case of duplicate members in json * fix left-over rename of function * Keep original lookup field to send to the cloud Cleanup / rename function to store config Remove unused DEFINEs, functions * Use ac->lookup * link jobs to the host when the template is registered; do not accept running a function without a host * full dyncfg support for health alerts, except action TEST * working dyncfg additions, updates, removals * fixed missing source, wrong status updates * add alerts by type, component, classification, recipient and module at the /api/v2/alerts endpoint * fix dyncfg unittest * rename functions * generalize the json-c parser macros and move them to libnetdata * report progress when enabling and disabling dyncfg templates * moved rrdcalc and rrdvar to health * update alarms * added schema for alerts; separated alert_action_options from rrdr_options; restructured the json payload for alerts * enable parsed json alerts; allow sending back accepted but disabled * added format_version for alerts payload; enables/disables status now is also inheritted by the status of the rules; fixed variable names in json output * remove the RRDHOST pointer from DYNCFG * Fix command field submitted to the cloud * do not send updates to creation requests, for DYNCFG jobs --------- Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud> Co-authored-by: Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com> Co-authored-by: Tasos Katsoulas <tasos@netdata.cloud> Co-authored-by: ilyam8 <ilya@netdata.cloud>
2024-01-23[ci skip] Update changelog and version for nightly build: v1.44.0-224-nightly.netdatabot
2024-01-22Add script to ensure a usable Go toolchain is installed. (#16815)Austin S. Hemmelgarn
2024-01-22Improve container detection logic for edit-config. (#16825)Austin S. Hemmelgarn
2024-01-22Add netdata_os_info metric (#16756)Colin Leroy-Mira
2024-01-22Bump actions/cache from 3 to 4 (#16824)dependabot[bot]
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-22Bump tj-actions/changed-files from 41 to 42 (#16823)dependabot[bot]
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 41 to 42. - [Release notes](https://github.com/tj-actions/changed-files/releases) - [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md) - [Commits](https://github.com/tj-actions/changed-files/compare/v41...v42) --- updated-dependencies: - dependency-name: tj-actions/changed-files dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-22Preserve label source during migration (#16821)Stelios Fragkakis
2024-01-21[ci skip] Update changelog and version for nightly build: v1.44.0-217-nightly.netdatabot
2024-01-20use fs type to veryfiy procfs/sysfs (#16813)Ilya Mashchenko
2024-01-20fix verify_netdata_host_prefix log spam (#16814)Ilya Mashchenko
2024-01-20[ci skip] Update changelog and version for nightly build: v1.44.0-214-nightly.netdatabot
2024-01-19updates to light onprem docs (#16811)Mateusz Bularz
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
2024-01-19Better support running the Docker entrypoint code as a non-root user. (#15118)Austin S. Hemmelgarn
* Better support running our Docker images without root in the container. Users can override what user ID is used inside of a container when creating the container. We don’t technically properly support this, but we should also ideally not _break_ such usage either as there are legitimate use-cases for it. This moves code that will only work when run as root inside the container inside a conditional in our entrypoint script so that it doesn’t break things otherwise. * Update Docker documentation. * Include all group manipulations in the EUID == 0 case.
2024-01-19set app_group label automatically (#16810)boxjan
2024-01-19[ci skip] Update changelog and version for nightly build: v1.44.0-210-nightly.netdatabot
2024-01-18Update naming for swagger api (#16564)Tasos Katsoulas
Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>
2024-01-18Apply ASCII-based comparisons to commands in kickstart script that rely on a ↵Tasos Katsoulas
particular language setting (#16806) Enforce local on command that depend on a specific language Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>
2024-01-18Fix incorrect major version check in updater. (#16803)Austin S. Hemmelgarn
* Fix incorrect major version check in updater. * Fix additional instance of the issue.
2024-01-18Move mqtt_websockets under aclk/ (#16804)vkalintiris
* Move mqtt_websockets under aclk/ * Use relative paths for includes from mqtt_websockets ...in order to reduce the number of header search paths that we use when building the agent. Ideally, we'd make each component a standalone library target from CMake's perspective but more work needs to be done before we are able to do this. * Remove unused files. * Make licensing information consistent across all files. * Flatten the hierarchy of source files.
2024-01-18[ci skip] Update changelog and version for nightly build: v1.44.0-205-nightly.netdatabot
2024-01-17Remove help text that no longer applies. (#16805)vkalintiris
2024-01-17cgroups: containers-vms add CPU throttling % (#16800)Ilya Mashchenko
2024-01-17Update binaries (eBPF) (#16671)thiagoftsm
2024-01-17Update replication documentation (#16778)thiagoftsm
Co-authored-by: ilyam8 <ilya@netdata.cloud>
2024-01-17Update GHA steps that handle artifacts to use latest versions of ↵Austin S. Hemmelgarn
upload/download actions. (#16714) * Reapply "Update artifact-handling actions to latest version." (#16689) This reverts commit 18fd72e230a5f970f777a21298889dd795f1b279. * Auto-retry downloading artifacts if it fails. * Update .github/workflows/build.yml Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud> * List consolidated artifacts in CI checks. * Change handling of dist artifacts. --------- Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
2024-01-17CI runtime check cleanup (#16713)Austin S. Hemmelgarn
* Centralize runtime check code used throughout CI. * Add checks to confirm that each of the agent dashboards can be fetched.
2024-01-17Add check to avoid auto-installing new major versions of Netdata. (#15898)Austin S. Hemmelgarn
* Add check to avoid auto-installing new major versions of Netdata. With the specific intent of avoiding breaking user’s systems. * Add latest tag check override. * Fix local testing fallback case. * Fix version parsing code. * Allow major version updates in CI jobs. * Fix fetching latest tag. * Properly fix CI jobs. * Switch to using a list of accepted major versions. And pre-populate it with versions we think are fine. * Fix CI again. * Fix check logic.
2024-01-17[ci skip] Update changelog and version for nightly build: v1.44.0-197-nightly.netdatabot
2024-01-16Use named constants for keyword tokens. (#16787)vkalintiris
* name integer constants in keyword switch. * Update gperf config. - Use initializer suffix to silence warnings when enabling all warnings. - Mark the generated table as const * Fix pointer to bool conversion warwning ``` collectors/plugins.d/pluginsd_parser.c:798:37: warning: address of 'parser->user' will always evaluate to 'true' [-Wpointer-bool-conversion] _Bool can_copy = ((&parser->user) && ((&parser->user)->capabilities & (STREAM_CAP_IEEE754)) == (STREAM_CAP_IEEE754)) == ((&parser->user.v2.stream_buffer) && ((&parser->user.v2.stream_buffer)->capabilities & (STREAM_CAP_IEEE754)) == (STREAM_CAP_IEEE754)); ~~~~~~~~^~~~ ~~ ``` * Revert "Fix pointer to bool conversion warwning" This reverts commit 01171d03126411999764196986ffbf163a7df1f3. * Return parser error when handling an unknown keyword.
2024-01-16[ci skip] Update changelog and version for nightly build: v1.44.0-195-nightly.netdatabot
2024-01-15Add additional fail reason and source during database initialization (#16794)Stelios Fragkakis