Commit Graph

454 Commits

Author SHA1 Message Date
ionutboangiu
415d027761 stats: implement new REPSC/REPFC metrics
used to track successful/failed requests. REPFC supports error filtering.
2025-08-04 17:56:08 +03:00
ionutboangiu
8466a65d63 prometheus: add node_id label to cache metrics 2025-07-21 10:26:20 +02:00
ionutboangiu
e70908356e prometheus: add cache statistics metrics 2025-07-16 10:44:38 +02:00
armirveliaj
69f9120bf3 Update docs for non-indexed match type filters 2025-07-11 10:49:43 +02:00
ionutboangiu
3759ecc39e update prometheus docs 2025-04-29 07:11:29 +02:00
ionutboangiu
326ab001da add prometheus_agent docs 2025-04-27 12:16:08 +02:00
ionutboangiu
2867be100a update datadb docs 2025-04-23 14:29:48 +02:00
arberkatellari
44b5dd5dbe Add DataDB *internal to docs 2025-04-18 13:19:01 +02:00
arberkatellari
cba94d3efe Update Go version to 1.24.2 and revise deb_package script 2025-04-11 21:13:29 +02:00
arberkatellari
a168f262e2 Add dump and restore functionality for internal DBs 2025-04-06 12:08:40 +02:00
ionutboangiu
a4b2379e89 add guardian documentation section 2025-03-18 15:19:44 +01:00
armirveliaj
172e846d3f Update export_cdrs command in docs 2025-03-09 17:33:09 +01:00
ionutboangiu
7f132f19e4 Bump go version to 1.24.0 2025-02-26 16:19:47 +01:00
armirveliaj
e2c71e355b Rename *cdr_account in the docs 2025-02-07 13:24:23 +01:00
ionutboangiu
5b26b1f4e7 Add docker installation steps in docs 2025-02-05 19:03:40 +01:00
ionutboangiu
5242ba2440 rpc_conns: add docs section about bidirectional conns
Also included details about the *http_jsonrpc codec
2024-10-30 22:12:39 +01:00
ionutboangiu
730d99734c Add rpcconns documentation 2024-10-29 18:56:29 +01:00
ionutboangiu
1630bc7aa3 Slightly revise formatting for dispatchers docs 2024-10-29 18:56:29 +01:00
ionutboangiu
7df0494913 Consider diameter requests when limiting caps
- add possibility to pass custom Error-Message AVP to negative diameter
  answers
- negative answer is now built only when an error occurs
- remove tests that were testing behaviour with max concurrent requests 0
2024-10-29 18:53:22 +01:00
ionutboangiu
e78654716d Add DispatcherS component documentation 2024-10-23 20:26:28 +02:00
DanB
14292a77ea RankingSummary structure, LastUpdate timestamp inside Ranking struct, Ranking documentation 2024-10-18 18:53:58 +02:00
ionutboangiu
ab02a8a8dd Bump go version (1.22.5 -> 1.23.2)
needed for io.CopyFS function
2024-10-16 18:43:34 +02:00
DanB
dfc1ed0f0b Completing TrendS documentation for readthedocs 2024-10-06 17:59:25 +02:00
DanB
86ed9e932b Alpha code for TrendS 2024-10-05 20:30:22 +02:00
ionutboangiu
0748f09758 Revise troubleshooting section in docs 2024-08-13 15:07:44 +02:00
ionutboangiu
b0758d082d Remove redundant http_pprof cgr-engine flag
runtime profiling is now configurable within the http cfg section and
is enabled by default
2024-08-12 18:36:45 +02:00
gezimblliku
59b61f2354 added janusagent documentation 2024-08-04 21:12:01 +02:00
ionutboangiu
63129feb4c prevent memprof file overwrites for small intervals
Previously, the timestamp was accurate only down to seconds. For smaller intervals,
this would truncate the previous file(s). Now, for small intervals, the number of
microseconds is appended to the file name.

Added the possibility to disable timestamps in the memory profile file names and use
increments of 1 instead.

Updated the memory profiling integration tests.
2024-08-02 09:35:36 +02:00
ionutboangiu
1c490a9020 Revise memory profiling implementation
- merge StopChanMemProf with StopMemoryProfiling
- remove fileMEM and stopMemProf from struct and constructors
- add separate mutex for memory profiling, ensure thread safety
- handle all significant errors
- log error if StopMemoryProfiling fails during CoreS Shutdown
- ignore errors if profiling inactive in Shutdown and deferred Stop
- move validations inside V1 functions
- return error if StartMemoryProfiling already started
- return error if StopMemoryProfiling already stopped or never started
- close profiling loop on error, not the cgr-engine
- StopMemoryProfiling closes channel and profiling loop writes final profile
- rename Path to DirPath for mandatory field error
- rename memprof_nrfiles flag to memprof_maxfiles
- increase default memprof_interval
- consider MaxFiles <= 0 as unlimited
- move memory profiling logic after starting services
- use CoreService Start/StopMemoryProfiling in main
- remove final memory profile block (created by deferred Stop)
- convert MemProfiling to method on CoreService and rename to profileMemory
- use Ticker for recurrent actions instead of Timer
- compute mem_final.prof full path in StartMemoryProfiling
- suffix profile files with current time instead of numbers
- update dispatcher methods after changes
- move MemoryPrf from utils to cores, rename to MemoryProfilingParams
- add logs for starting/stopping profiling
2024-08-02 09:35:36 +02:00
ionutboangiu
6f4d2144a6 Add test & constant for set_versions flag
Also added set_versions help entry to cgr-engine doc.
2024-08-02 09:35:36 +02:00
ionutboangiu
958aa267cf Refactor HTTP profiling and flag handling
- hardcode the base path for profiling endpoints to '/debug/pprof/'
- change profiling flag 'httprof_path' to boolean 'http_pprof'
  (because of the above)
- remove redundant profiling endpoint registrations (handled by pprof.Index)
- move profiling registration log after actual registration
- make profiling registration log more descriptive
- use utils.Logger instead of log.Print for the log mentioned above
- refactor flags test into a table test (adding also verification for default
  flag values)
- change 'scheduledShutdown' flag type from string to time.Duration (to avoid
  unnecessary time parsing)
- revise flags usage descriptions
- rename flag 'singlecpu' to 'singleCPU'
- switch to 'ExitOnError' for flag parsing to simplify error handling and
  automatically handle 'ErrHelp' by exiting with status 0 when help is
  requested and status 2 for other parsing errors. Before the following error
  log would have been received:
  '<InitS> error received: <flag: help requested>, exiting!'
- update cgr-engine documentation
2024-08-02 09:35:36 +02:00
ionutboangiu
da4bf0d783 Sync (and update) go version
go.mod had a later version than the one used inside the
role, which caused the deb packaging to fail.

Updated all of them to latest.
2024-07-05 11:20:09 +02:00
ionutboangiu
75694bd75d Bump go version to 1.22.3 2024-05-16 14:46:30 +02:00
ionutboangiu
bd4aa99458 Refactor balance's Factor field name with its plural form
Stored balances previous to this commit, that had a non-nil Factors map, will
now have Factors nil due to field name mismatch.
2024-04-01 19:58:04 +03:00
ionutboangiu
51c3e15f1e Fix docs typo 2024-03-13 18:25:06 +01:00
DanB
25e2b1d418 Doc correction 2024-03-13 11:37:08 +01:00
DanB
c18fd40c62 Updating Debian installation instructions with tabs for Bookworkm/Boolseye 2024-03-13 11:09:16 +01:00
DanB
fe39eec4d9 Updating debian installation documentation 2024-03-12 15:30:31 +01:00
arberkatellari
8ab43944a2 Update readthedocs tutorial 2024-02-15 17:02:41 +01:00
arberkatellari
bbaf75c995 Update readthedocs & add console export_cdrs 2024-02-15 17:02:41 +01:00
gezimbll
1ec7cbccf8 updated installation steps for opensips 2024-02-15 16:34:24 +01:00
ionutboangiu
61bcf48678 Bump go version 2024-02-14 10:15:51 +01:00
ionutboangiu
c4664c69c4 Replace nightly with master for deb install 2023-10-19 17:20:00 +02:00
ionutboangiu
27c6d503a5 Bump go version and update checksum 2023-10-12 11:10:01 +02:00
ionutboangiu
84cdf743bd Bump go version 2023-10-09 21:09:27 +02:00
ionutboangiu
e963b22fb5 Bump go version to 1.21 2023-08-28 12:23:28 +02:00
gezimbll
eaa0d808af Updated installation docs 2023-08-09 12:28:10 +02:00
ionutboangiu
553508d1ff Bump go version from 1.20.5 to 1.20.6 2023-07-21 09:00:46 +02:00
ionutboangiu
69ecf60fc3 Make small revisions to installation.rst 2023-07-21 09:00:46 +02:00
gezimbll
af727ce24d Updated installation docs for creating packages 2023-07-04 13:17:13 +02:00