Commit Graph

14065 Commits

Author SHA1 Message Date
ionutboangiu
d8eccf83da revise wrong prom metric comment 2025-05-03 21:44:51 +02:00
ionutboangiu
a71c803bc1 update prometheus deps 2025-05-03 21:44:51 +02:00
ionutboangiu
5e46eeb28a move action type definitions to utils 2025-05-03 21:42:36 +02:00
ionutboangiu
eeecae4576 move resources to dedicated package 2025-05-03 21:42:36 +02:00
ionutboangiu
40c2c11158 remove empty chargers test file 2025-05-03 21:42:36 +02:00
gezimbll
1c11eb3582 add *gigawords dataconverter 2025-04-25 16:24:43 +02:00
ionutboangiu
b715aa392c analyzers: lower RequestDuration query threshold 2025-04-22 19:35:11 +02:00
ionutboangiu
e84c434073 remove prints from integration tests 2025-04-22 19:35:11 +02:00
ionutboangiu
bd8c9d3b5e migrate guardian package to external dep 2025-04-22 19:35:11 +02:00
ionutboangiu
16d131b058 move attributes to dedicated package 2025-04-22 19:33:12 +02:00
ionutboangiu
61e94b4a14 refactor URL extraction and API request functions 2025-04-22 19:33:12 +02:00
ionutboangiu
069cadd618 move routes to dedicated package 2025-04-22 19:33:12 +02:00
ionutboangiu
9a42adc716 Retrieve routes default ratio from global var
to prevent cyclic import (utils > config > utils)
2025-04-22 19:33:12 +02:00
ionutboangiu
7b74552c8f export DynamicDP type and constructor 2025-04-22 19:33:12 +02:00
armirveliaj
4507d55b0b add coverage tests in RateS 2025-04-22 19:22:59 +02:00
arberkatellari
7363e29f93 Revise deb_packages script and update Go version 2025-04-18 13:18:37 +02:00
ionutboangiu
f56e46e00d prevent panic when len(AlteredFields) == 0 2025-04-11 12:51:29 +02:00
armirveliaj
ab8188c923 CGREvent inside AttrSProcessEventReply change 2025-03-30 13:55:30 +02:00
ionutboangiu
eafde112ea include recently split pkgs in test scripts 2025-03-30 13:54:43 +02:00
ionutboangiu
14516b69e5 fix wrong api reply type in test 2025-03-30 13:54:43 +02:00
ionutboangiu
ea3ebcc6dd add config sanity checks for prometheus_agent 2025-03-25 14:27:52 +01:00
ionutboangiu
347ea9d988 Add CoreS metrics collection to PrometheusAgent 2025-03-25 14:27:52 +01:00
ionutboangiu
d8c75dd2c3 cores: add GOMAXPROCS, GC percent and memlimit metrics
- gathered when Debug=true
- removed Lookups (always 0)
2025-03-25 14:27:52 +01:00
ionutboangiu
d14d62b865 update prom client library 2025-03-25 14:27:52 +01:00
ionutboangiu
e117b2df30 prometheus_agent: add cores_conns config opt 2025-03-25 14:27:52 +01:00
ionutboangiu
13044ddd9d refactor matched accounts sorting 2025-03-25 14:25:00 +01:00
ionutboangiu
70b6cca25b refactor rating profile matching by weight 2025-03-25 14:25:00 +01:00
ionutboangiu
927a30b682 refactor profile sorting for actions 2025-03-25 14:25:00 +01:00
ionutboangiu
3f3605b349 refactor matched resources sorting 2025-03-25 14:25:00 +01:00
ionutboangiu
37de0c3bd1 refactor matched statqueues sorting 2025-03-25 14:25:00 +01:00
ionutboangiu
52177197f2 refactor matched thresholds sorting 2025-03-25 14:25:00 +01:00
ionutboangiu
4083eb35df refactor attribute matching by weight 2025-03-25 14:25:00 +01:00
ionutboangiu
4244ba2cdf refactor profile sorting for routes 2025-03-25 14:25:00 +01:00
ionutboangiu
b00b2f07ae refactor profile sorting for chargers 2025-03-25 14:25:00 +01:00
ionutboangiu
0b26559d1f move chargers to dedicated package 2025-03-16 16:28:30 +01:00
gezimbll
2f808badb7 added cache parameter in Get*Opts methods 2025-03-12 15:24:18 +01:00
gezimbll
1f686fca63 added RequestProcessors in fsAgent 2025-03-11 18:12:49 +01:00
ionutboangiu
0497016ad6 revise comments in rankings 2025-03-10 13:49:34 +01:00
ionutboangiu
a3d385dd2f revise comments in trends 2025-03-10 13:49:34 +01:00
ionutboangiu
c762de5c28 move rankings to dedicated package 2025-03-10 13:49:34 +01:00
ionutboangiu
47fb25b4ef move trends to dedicated package
reivse/add comments and order of funcs/definitions
2025-03-10 13:49:34 +01:00
ionutboangiu
24d886c8e0 Pass CGRConfig to DataManager
instead of just CacheCfg. Prevents the need of global config var in
engine/datamanager.go
2025-03-10 13:49:34 +01:00
ionutboangiu
e92b5fd026 remove redundant services tests
replaced by TestServiceToggle (general_tests/service_toggle_it_test.go)
2025-03-09 17:36:12 +01:00
ionutboangiu
487062a708 skip testing removed subsystem 2025-03-09 17:27:31 +01:00
ionutboangiu
e79fcdb064 use pre-defined instrumented prometheus handler
instead of creating the handler on each scrape
2025-03-09 17:27:31 +01:00
ionutboangiu
caebee4eab Fix failing elastic exporter test
does not expect OriginID field to be present anymore if exporting without
defining any templates. Not defining them means only the Event will be
exported as is, while OriginID is part of APIOpts.
2025-03-09 17:27:31 +01:00
ionutboangiu
2c8c9b326e remove previous prometheus integration 2025-03-09 17:27:31 +01:00
ionutboangiu
6f0ce88ae2 add test for new prometheus agent implementation 2025-03-09 17:27:31 +01:00
ionutboangiu
4e46f8dbd9 add PrometheusAgent implementation 2025-03-09 17:27:31 +01:00
ionutboangiu
875fdb3993 implement config object for prometheus_agent 2025-03-09 17:27:31 +01:00