Age | Commit message (Collapse) | Author |
|
* disable logging to syslog
* set to 0 the rest of log_syslog vars
|
|
|
|
|
|
* stop the query 250ms before the timeout, to allow sending back partial responses
* on timeout return partial responses
* give it 500ms
* give some additional timeout to plugins.d garbage collection
* define an extension to the timeout for all intermediate hops
* hunting for the crash...
* set value name and len to zero
* remove unneeded memset()
|
|
* do not copy values, unless needed
* linear probing hashtables
* abstract hashtable implementation to avoid dereferencing pointers to compare the hash
* use 2 hashes and linear probing on hashtable collisions
* turn bool flags into an enum, to speed up reseting between rows
|
|
* make all columns wrap
* do not show that many default columns on processes
|
|
do not corrupt the index when doubling the hashtable
|
|
Drop warning when parent is not accepting job status updates
|
|
* dynamic facets hashtables; more facets fields for journal; enforce the facets blacklist
* enable fstat caching per thread
* enable fstat caching to speed up journal queries
|
|
* Remove unused functions
* No need for prepare statement because the function is not used frequently
* Remove db_meta check, already assumed valid
* Remove D_ACLK_SYNC and D_METADATALOG, fix log message
* Reuse prepared statements per run to avoid sql parsing all the time
* Keep rowid in charts and dimensions
* Host and chart labels keep rowids
* Don't store internal flags
* Remove commented out code
* Formatting
* Fix algorithm when updating dimension
|
|
|
|
* remove loading and storing families from alert configs
* remove families from silencers
* remove from alarm log
* start remove from alarm-notify.sh.in
* fix test alarm
* rebase
* remove from api/v1/alarm_log
* remove from alert stream
* remove from config stream
* remove from more
* remove from swagger for health api
* revert md changes
* remove from health cmd api test
|
|
* fix journal help and mark debug keys in the output
* updated help
|
|
provide a relative_to_absolute function that does not touch the current realtime time
|
|
respect anchor on non-data-only queries
|
|
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
|
|
|
|
fix if_modified_since to not return empty responses and no overlapping data
|
|
* func to set global log sev level for ext plugins
* apps: set log sev level
* cgroup-network: set log sev level
* cups: set log sev level
* debugfs: set log sev level
* freeipmi: set log sev level
* nfacct: set log sev level
* perf: set log sev level
* slabinfo: set log sev level
* xenstat: set log sev level
* cgroup-name.sh: handle log sev level
* alarm-notify.sh: handle log sev level
* systemd-journal: set log sev e level
* ebpf.plugin: set log sev level
* ioping: handle log sev level
* cgroup-network-helper.sh: handle log sev level
* fix for cgroup-network-helper.sh
|
|
* log_level: Add new data type and variable used to control log level
* log_level: Add helper and constants used to simplify user life when they are setting log level. I initially thought to create a log_select_log_level as void, but I thought the worse would be to have a variable defined inside a function, instead tto set outside like other calls inside log_init is doing.
* log_level: Modify option name to match https://github.com/netdata/netdata/issues/14388#issuecomment-1412188747
* log_level: Modify function info_int to store data according user defintion for new variable
* log_level: Modify function error_int to match new variable configuration.
* documentation_adjust_code: After to clarify goals, I am removing level that is not necessary.
* documentation_adjust_code: Pass serverity-level as argument for plugins. I had to modify the argument in this commit, because plugins like apps have specific algorithm to parse the arguments.
* documentation_adjust_code: As informed in previous commit, to avoid modify all plugins, I am renaming configuration option.
* documentation_adjust_code: Add new helper to modify log level from collectors and also modify the first collector (apps.plugin)
* documentation_adjust_code: Modify cgroup-network to use severity-level
* documentation_adjust_code: Add missing documentation for apps plugin
* documentation_adjust_code: Modify cups.plugin to use severity-level
* documentation_adjust_code: Modify ebpf.plugin to use severity-level
* documentation_adjust_code: Modify freeimpi.plugin to use severity-level
* documentation_adjust_code: Modify nfacct.plugin to use severity-level
* documentation_adjust_code: Modify perf.plugin to use severity-level
* documentation_adjust_code: Modify slab.plugin to use severity-level
* documentation_adjust_code: Fix python.plugin
* log_level: Revert condition added for info_int, because in any situation we will have INFO data
* log_level: Rename function to match new circustances and add an argument instead to create another function that would have the same algorithm
* log_level: The eBPF.plugin without this commit will not work properly with new variables, on the other hand the proper solution needs more than 14 lines of code. So I am pushing this commit to achieve the goal and simplify my reviewers.
* log_level: Add additional information for our documentation
* log_level: Bring initial changes for Plugin classes
* log_level: Rename log_level to use_severity_level to simplify code read
* log_level: Rename functions for a more meaningful name and also add a new function to pass the same value for all collectors
* log_level: Modify all collectors to receive string as argument instead integer, this will simplify for developers that want to work with dictionary, and also we will have one unique common value for core/collectors.
* log_level: Modify cgroup to inform cgroup_network what is the current severity_level
* log_level: Modify class JobsConfigBuilder to use external severity level
* log_level: Modify PythonDLogger class and add arguments for callers
* log_level: Address flake8
* log_level: Modify daemon/config/README.md adding information about new log file and also new option
* log_level: Accept suggestion given in https://github.com/netdata/netdata/pull/14727#pullrequestreview-1361221097
* log_level: Add informatin about tags with a link to configuration doc
* ebpf_functions: Fix rebase.
* rename_error_fcnt: Fix previous rebase and rebase again
* log_level: Moddfy charts.
* log_level: Modify tc-qos-helper to dispach message according security-level
* log_level: Fix charts.d and typo
* log_level: Remove unnecesary cast
* log_level: Fix rebase
* Fix rebase
* log_level: Fix shellcheck
* log_level: Remove severity level for external plugins
* log_level: Remove severity level for external plugins (2)
* log_level: Remove severity level for external plugins (cgrooup)
* log_level: Restore cgroup line
* log_level: Only set severity when developers do not need message
* log_level: Add environment variable to communicate with external plugin and modify default level.
* log_level: Modify functions to use severity level
* Apply suggestions from code review
fix sev level/global sev level comparison
* rename var and add err short str
* simplify logic in log level cmp
* update docs
* fix log_severity_level_to_severity_string
* Update daemon/README.md
---------
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
|
|
prevent a busy wait loop
|
|
* query journal file by file: 17% faster
* maintain a registry of journal files in memory and support multiple journal directories; offer sources of journal directories
* fixes
* overloaded libc fstat64() call to speed up libsystemd
* do not just copy unset values, there is a flag that tracks them
* optimize facets_row_finished()
* use container name in ND_JOURNAL_PROCESS
* fix compatibility with versions of libsystemd without sd_journal_open_files_fd()
* added more statistics about the time spent per journal file
* optimize facets_row_finished()
* optimize facets_rows_begin()
* tuning
* progress reporting
* fix journal seek to precisely match log timestamps
* support remote sources and namespaces
* jf_is_mine() as function
* fixes
* fixes 2
* fixes 3
* added debug
* fixed log
* added source for fqs
* fix all source names
* fix jf_is_mine() to return a value
* add rows_useful to journal files
* sorted list of all sources
* make hostname visible by default
* rename sources
* increase number of columns
* updated apps_groups.conf
* support view only transformations
* add support for slicing
* add support for older versions of systemd
* cleanup
* added ordering of key values
* convert remote IPs to hostnames
* fix for hostname resolution
* standardize the source name length
* added versions
* added sources pills and info
* fix plural
* better formatting for durations
* support dynamic unset value
* fix sorting
* errno to still show numeric values
* maintain a used hashes registry
* fixed severity
* updated function help message with all current parameters accepted
* remove internal error
* always return null as empty values in data
* add default sd_journal_open flags
* validate anchor
* fix compiler warning
* calculate journal vs realtime delta per journal file
* up to 2 minutes journal vs realtime delta
* more detailed message
* do not log zero anchor
* fixed message
* fix seek to db
* request details and dump of all journal files in response
* sort files before processing them
* do not sort if fewer than 2 files
* documentation
* added documentation about performance
* added field transformations documentation and annotated _CAP_EFFECTIVE
* updated docs
* updated docs
* annotated SOURCE_REALTIME_TIMESTAMP
* updated docs
* workaround for old systems
* updated docs
* updated docs
* updated docs
* updated docs
* more fields to show by default
* filter data-only query by libsystemd on slice mode
* better tail
* restore operation of full queries
* updated docs
* updated docs
* added smart field _BOOT_ID to automatically extract the timestamp of the first message of this boot_id
* do not seek to anchor on full queries
* added tail and delta
* alphabetical sort on calculated columns
* simplify sorting of facet values
* fix sorting of transformed values
* simplify code
* numeric values for capabilities that do not exist in old systems
* do not log if directories do not exist or are not directories
|
|
* dyncfg fncnames as constants
* add helper macros to know parser streaming/plugin
* plugins dictionary per RRDHOST
* api_request_v2_config add support for /host/
* streamify pluginsd_register_plugin
* streamify pluginsd_register_module
* streamify report_job_status
* streamify dyncfg get functions
* module_type2str
* add job type and flags
* add DYNCFG_REGISTER_JOB
* implement register job
* push all to parent at startup
* add helper function is_dyncfg_function
* forward virtual functions trough streaming
* separate job2json
* add api/v2/job_statuses
* do cleanup on streaming
* streamify set functions
* support FUNCTION_PAYLOAD trough streaming
* WIP tests
* dont attempt loading non-localhost configs
* move cfg persistence to proper place
* prevent race
* properly update job state at runtime
* cleanup 1
* job2json add missing reason
* add tests
* correct HTTP code
* add test
* streamify delete_job_cb
* add DELETE_JOB keyword
* job delete over streaming
* add tests for create and delete job over parent
* rrdpush common checks to macro
* add missing forwarders
* fix jobs according to test results
* more tests
* review comment 1
* codacy remove valid warning
* codacy ruby fixes
* fix wrong rc check
* minimal test plugin for child
* add test
* dict walk insted of master lock
* minor - english spelling fixes
* thiago comments 1
* minor - rename folder to dynconf
* enable only when built with -DNETDATA_TEST_DYNCFG
* minor - compiler warning
* create dir post daemonization
* stricter URL check
|
|
* remove the line length limit from pluginsd
* initialize the buffer on every iteration
* buffer_tostring inlined
* Release buffer
---------
Co-authored-by: Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Co-authored-by: Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com>
|
|
rebased
|
|
|
|
|
|
* Fix compilation warnings
* Fix adding compilation warnings when NETDATA_INTERNAL_CHECKS or NETDATA_DEV_MODE is specified
|
|
|
|
|
|
|
|
Release reason if job not found
|