summaryrefslogtreecommitdiffstats
path: root/src/controller.c
Commit message (Collapse)AuthorAgeFilesLines
* [Feature] Support metrics command in normal/proxy workersVsevolod Stakhov2024-06-241-7/+4
|
* [Minor] Unify metrics conversionVsevolod Stakhov2024-06-221-143/+1
|
* [Rework] Allow metrics endpoint to be enabled for each scannerVsevolod Stakhov2024-06-211-71/+14
|
* [Minor] Fix typo in Prometheus helper message for rspamd_ham_totalLucas Rolff2024-05-301-1/+1
|
* [Fix] Allow to set 0 as number of rows to disable roll historyVsevolod Stakhov2024-04-291-2/+2
| | | | | Issue: #4947 Closes: #4947
* [Rework] Further types conversion (no functional changes)Vsevolod Stakhov2024-03-181-71/+71
|
* [Rework] Remove some of the GLib types in lieu of standard onesVsevolod Stakhov2024-03-181-6/+6
| | | | This types have constant conflicts with the system ones especially on OSX.
* [Minor] Fix invocationVsevolod Stakhov2024-03-111-1/+1
|
* [Feature] Support reply in message pack formatVsevolod Stakhov2024-03-111-4/+11
| | | | | | Rspamd currently sends reply in JSON format. However, message pack seems to be a better choice for a compatible client. It is faster and does not need escaping or even UTF8 validation. This is a surface for further updates.
* [Project] Convert the remainingVsevolod Stakhov2024-03-051-7/+7
|
* [Project] Start optimization of userdata hashingVsevolod Stakhov2024-03-051-4/+5
|
* [Minor] Remove stupid threshold for saving symbol valueVsevolod Stakhov2023-12-151-1/+1
|
* [Minor] Fix format stringVsevolod Stakhov2023-11-211-1/+1
|
* [Rework] Use a more sane data structure and refactorVsevolod Stakhov2023-11-211-6/+10
|
* [Rework] More abstractions to hide C++ internalsVsevolod Stakhov2023-08-141-16/+20
|
* [Rework] Finish utils reworkVsevolod Stakhov2023-08-141-4/+3
|
* [Rework] Use clang-format to unify formatting in all sourcesVsevolod Stakhov2023-07-261-1748/+1729
| | | | No meaningful changes.
* [Minor] Plug memory leak for sigaltstackVsevolod Stakhov2022-10-291-0/+1
|
* [Rework] Make http normalize path function a generic functionVsevolod Stakhov2022-10-231-6/+6
|
* [Fix] Another fix for the enable passwordVsevolod Stakhov2022-10-111-0/+4
|
* [Fix] Try to fix the case where password == enable_passwordVsevolod Stakhov2022-10-101-10/+26
| | | | Issue: #4306
* [Minor] Declare variable where it is usedVsevolod Stakhov2022-09-051-6/+4
|
* [Minor] Add utility function for task timeoutsVsevolod Stakhov2022-08-191-9/+2
|
* [Fix] Try to fix the mess with read only flagVsevolod Stakhov2022-07-251-9/+24
| | | | Issue: #4219
* [Minor] Return 401 error code on `Unauthorized` errorVsevolod Stakhov2022-07-201-1/+1
| | | | Issue: #4218
* [Minor] Try to fix passwords case in the controllerVsevolod Stakhov2022-05-311-13/+1
| | | | Issue: #4186
* [Minor] Replace some of macro usesVsevolod Stakhov2022-05-071-7/+7
|
* [Minor] Do not add stats for invalid requestsVsevolod Stakhov2022-04-251-0/+1
|
* [Minor] Add average scan time metricVsevolod Stakhov2022-03-051-0/+11
| | | | Issue: #4096
* [Minor] Fix printingVsevolod Stakhov2022-03-051-1/+1
|
* [Minor] Move common stuff to a functionVsevolod Stakhov2022-03-041-73/+102
|
* [Feature] Output average scan time in /stat endpointVsevolod Stakhov2022-02-261-0/+6
|
* [Minor] Always report actions countVsevolod Stakhov2022-02-261-16/+14
|
* [Minor] Align rspamd_stat structureVsevolod Stakhov2022-02-261-10/+10
|
* Spelling (#4086)Josh Soref2022-02-221-3/+3
| | | [Rework] Massive spelling fix from @jsoref
* [Minor] Fix some more issuesVsevolod Stakhov2021-09-251-0/+2
| | | | Found by: coverity scan
* [Minor] Fix some more issuesVsevolod Stakhov2021-09-181-0/+4
| | | | Found by: coverity scan
* [Minor] Plug some leaks on error pathsVsevolod Stakhov2021-09-181-1/+2
| | | | Found by: coverity scan
* [Minor] Cleanup metrics outputVsevolod Stakhov2021-09-081-17/+28
|
* [Fix] Namespace and add metadata for OpenMetrics, fix interleavingPeter Fern2021-09-081-27/+114
|
* [Minor] Slightly improve health checksVsevolod Stakhov2021-07-211-14/+66
|
* Merge pull request #3788 from mrueg/healthcheckVsevolod Stakhov2021-07-211-0/+48
|\ | | | | Add health and readiness checks
| * controller.c: Implement ready/health endpointsManuel Rüger2021-06-091-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These endpoints allow an orchestrator like kubernetes to verify the status of rspamd (https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/) Current implementation is very minimal. The health endpoint allows to verify rspamd internally. It could check for internal configuration and ensure that rspamd itself is healthy and available. The ready endpoint signals that rspamd is ready to receive and process traffic and thus ensures that configured external components are available. The readiness check could for example test if configured redis servers or at least one rspamd upstreams is available.
* | src/controller.c: Replace formatterManuel Rüger2021-06-091-1/+1
|/ | | | | | | | | Otherwise the endpoint will output: pools_freed 53d instead of pools_freed 53
* [Fix] Rework metrics handlingVsevolod Stakhov2021-05-181-60/+75
| | | | Issue: #3754
* Implement an endpoint for OpenMetricsManuel Rüger2021-05-171-0/+276
| | | | Now /metrics provides an endpoint that is openmetrics compatible.
* [Minor] Various fixes for display link detectionVsevolod Stakhov2021-03-051-2/+2
|
* [Rework] Track maps originsVsevolod Stakhov2020-10-261-1/+1
|
* [Minor] Extend /stat responsemoisseev2020-08-051-0/+8
|
* [Minor] Check message field before dereferencingVsevolod Stakhov2020-07-261-1/+1
|