0
0
mirror of https://github.com/netdata/netdata.git synced 2024-12-03 12:31:51 +00:00
netdata_netdata/packaging/dag
Costa Tsaousis a399128dbf
config parsers (#17238)
* added parser for durations

* preliminary work for timeframes

* Update CMakeLists.txt

* updated parsing and generation for durations

* renames

* report parser errors; added compatibility to existing config_parse_duration()

* duration parsing is used on most netdata.conf and stream.conf entries

* more uses of duration parsing; simplification of stream.conf

* code cleanup

* more duration changes

* added html playground

* improved js code

* duration parsing applied to dbengine retention

* fixed doc

* simplified logic; added size parser

* added parsing for sizes

* renames and documentation updates

* hide appconfig internals from the rest of netdata

* fix crash on cleanup of streaming receivers

* fix buffer overflow in gorilla compression

* config return values are const

* ksm set to auto

* support reformatting migrated values

* removed obsolete metrics correlations settings

* split appconfig to multiple files

* durations documentation

* sizes documentation

* added backward compatibility in retention configuration

* provide description on migrations and reformattings

* config options are now a double linked list

* config sections are now a double linked list; config uses spinlocks; code cleanup and renames

* added data type to all config options

* update data types

* split appconfig api to multiple files

* code cleanup and renames

* removed size units above PiB

* Revert "fix buffer overflow in gorilla compression"

This reverts commit 3d5c48e84b.

* appconfig internal api changes
2024-09-04 14:42:01 +03:00
..
files config parsers (#17238) 2024-09-04 14:42:01 +03:00
build_command.py Use dagger to build and test the agent. (#16868) 2024-01-29 18:39:00 +02:00
imageutils.py WIP - Netdata v2 (#18125) 2024-08-23 14:12:01 +03:00
main.py Use dagger to build and test the agent. (#16868) 2024-01-29 18:39:00 +02:00
nd.py Remove logs-management plugin. (#18186) 2024-07-17 07:04:55 -04:00
README.md Add requirements.txt for dag (#16875) 2024-01-30 20:55:41 +02:00
requirements.txt Bump jinja2 from 3.1.3 to 3.1.4 in /packaging/dag (#17607) 2024-05-07 08:10:41 +03:00
test_command.py Use dagger to build and test the agent. (#16868) 2024-01-29 18:39:00 +02:00

  • Install Dagger CLI:
    cd /usr/local
    curl -L https://dl.dagger.io/dagger/install.sh | sudo sh
    
  • Install python requirements:
    pip install -r packaging/dag/requirements.txt
    

Now you can run something like this:

dagger run python packaging/dag/main.py build -p linux/x86_64 -d debian12

or

dagger run python packaging/dag/main.py test
```.