Commit Graph

13371 Commits

Author SHA1 Message Date
ionutboangiu
62c30ab539 improve CoreSv1.Status API with more detailed metrics
- add new metrics (off by default)
- add Debug boolean option for full metric details
- add Timezone option for 'running_since' field
- update default metrics shown and their constants
- remove utils.GetStartTime(), now use process metrics
2024-09-09 16:47:38 +02:00
arberkatellari
98f770c61b Adjust balance timing test 2024-09-06 18:29:23 +02:00
ionutboangiu
6e971e954c chore: remove unused call & redundant ping methods
- Ping methods defined by engine.NewService for all services
- Call methods were previously replaced by the centralized call method
(on *birpc.Service) for all components
- All services now register V1/V2 objects from apier package for
consistency
2024-09-06 17:37:05 +02:00
ionutboangiu
67a8dd65f9 add ansible role for alertmanager 2024-09-05 20:56:14 +02:00
ionutboangiu
ef2e1d7527 chore: remove unused prometheus ansible task file 2024-09-05 20:56:14 +02:00
ionutboangiu
162b077d0e SplitPath: stop at '#' for nesting separator 2024-09-05 20:51:30 +02:00
arberkatellari
a898e67558 Add active time checker on DebitConnectionFee 2024-09-05 20:48:23 +02:00
armirveliaj
8fe0fc0cf0 Add new unit tests on engine 2024-09-05 20:47:27 +02:00
armirveliaj
35ae6ebd27 Add new unit tests on apier/v1 2024-09-05 20:47:27 +02:00
armirveliaj
409cd40682 Add new unit tests on migrator 2024-09-05 20:47:27 +02:00
armirveliaj
fb07da9924 Add new unit tests on ees 2024-09-05 20:47:27 +02:00
armirveliaj
0a0aec58b3 Add new unit tests on agents and apier/v1 2024-09-05 20:47:27 +02:00
armirveliaj
ddb25433f7 Add coverage tests on apier/v1 2024-09-05 20:47:27 +02:00
armirveliaj
0a5a7b7d61 Add coverage on engine 2024-09-05 20:47:27 +02:00
armirveliaj
27b789707c Add new unit tests on engine 2024-09-05 20:47:27 +02:00
armirveliaj
ba558ea573 Add coverage tests on apier/v1 2024-09-05 20:47:27 +02:00
ionutboangiu
61711e9573 disable automatic removal of expired balances in test
instead of setting the expiry time sometime in the future and then
waiting for it to expire, now the balances are set directly with
expired balances
2024-09-02 16:18:12 +02:00
ionutboangiu
8fec8dbca1 fix: maintain fallback subj keys configured order 2024-08-30 13:01:01 +02:00
armirveliaj
4dea21c268 Add new unit tests on engine 2024-08-22 20:41:28 +02:00
gezimblliku
ccc999642d added *fileLineNumber variable 2024-08-22 20:40:46 +02:00
armirveliaj
07390d8624 Add new unit tests on ees and sessions 2024-08-21 21:07:15 +02:00
armirveliaj
8baf2f0988 Add new unit tests on engine 2024-08-21 21:07:15 +02:00
armirveliaj
dabbde881c Add coverage tests on engine 2024-08-21 21:07:15 +02:00
gezimblliku
ac44500fea updated dependencies to last versions 2024-08-21 21:04:36 +02:00
gezimblliku
b7b931b8f6 added datamanager GetTrendProfiles method && api 2024-08-21 21:04:36 +02:00
ionutboangiu
c356d1d796 update kafka version in role (3.7.0->3.8.0) 2024-08-19 12:12:16 +02:00
armirveliaj
0a39796581 Add unit tests on apier/v1 2024-08-19 12:10:47 +02:00
ionutboangiu
877c3df954 update rpcclient library 2024-08-19 12:10:10 +02:00
gezimblliku
58e419b002 updated trend structure && model 2024-08-16 12:32:21 +02:00
gezimblliku
b1218c4ae3 added service for trends 2024-08-16 12:32:21 +02:00
armirveliaj
4e6e1e8159 Add unit tests for trends 2024-08-16 11:34:45 +02:00
armirveliaj
f4c72b564b Add unit tests on ees 2024-08-16 11:34:45 +02:00
armirveliaj
67594abffb Add coverage tests on engine 2024-08-16 11:34:45 +02:00
armirveliaj
87648996c6 Add coverage tests on engine 2024-08-14 14:05:33 +02:00
ionutboangiu
6474c1076f update rpcclient library (#4413)
for more details: https://github.com/cgrates/rpcclient/pull/37
2024-08-14 14:04:33 +02:00
ionutboangiu
abba61723a Optimize removeFilterIndexesForFilter func (#4357)
Previously made two trips (get and set) for each group of items from
an index key being removed. Now, we fetch indexes once at the beginning
and store the updated indexes once at the end.

There was a difference compared to the previous v0.10 implementation
regarding the get/set behaviour. On v0.11, we used to get only the items
separately for each index and update only that index. Even though it
might have been more efficient, trips to the db are still too expensive
so it didn't matter much in the end.
2024-08-14 14:03:55 +02:00
gezimblliku
5b75bacff7 added trend with get,set and remove methods in datamanager 2024-08-14 14:03:21 +02:00
ionutboangiu
0748f09758 Revise troubleshooting section in docs 2024-08-13 15:07:44 +02:00
armirveliaj
6f65f09e4f Add new unit tests on engine 2024-08-12 18:37:15 +02:00
armirveliaj
e2f03ef892 Add new unit tests 2024-08-12 18:37:15 +02:00
ionutboangiu
4693983891 Update default config sample 2024-08-12 18:36:45 +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
ionutboangiu
435ba54743 Register prometheus and pprof endpoints using https mux 2024-08-12 18:36:45 +02:00
ionutboangiu
594e8404dc Add http pprof_path cfg option 2024-08-12 18:36:45 +02:00
ionutboangiu
73fc386036 Add stordb pgSSLCertMode option 2024-08-12 18:36:45 +02:00
arberkatellari
9a79b092a5 Add exporter id within the *vars in EEs for templates 2024-08-12 18:34:01 +02:00
ionutboangiu
6079fb23bc Update default config sample 2024-08-09 09:24:04 +02:00
armirveliaj
0d78fb878c Add coverage tests on agents and services 2024-08-09 09:18:46 +02:00
armirveliaj
2f9f07a976 Add new unit tests on ees and ers 2024-08-09 09:18:46 +02:00
arberkatellari
0bab7d5557 Add reader id within the *vars in ERs 2024-08-09 09:14:24 +02:00