Matthis
a3becc9906
feat: add server metrics ( #273 )
...
* feat: expose metrics path & init analyzer errors metrics
This commit add metrics path & the analyzer error metrics in the codebase. The changes have been made across all analyzers and include the addition of a new metric with label values for the analyzer's name, analyzed object's name, and namespace. The metric's value is set to the length of the analyzer objects failures.
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
* feat: add metric to cronjob & deployment & netpol
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
* feat: expose metric to NodeAnalyzer
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
---------
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
2023-04-15 19:03:37 +02:00
Matthis Holleville
960ba568d0
fix: resolve issue with duplicated integration filters.
...
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
2023-04-15 15:49:39 +02:00
Dominik Augustin
6247a1c0f3
feat: add node analyzer ( #272 )
...
Signed-off-by: Dominik Augustin <dom.augustin@gmx.at >
2023-04-14 15:08:47 +02:00
Alex Jones
ddb51c7af4
chore: removing field
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2023-04-14 09:14:45 +01:00
Alex Jones
19e1b94e7c
feat: anoymization based on pr feedback
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2023-04-14 07:40:27 +01:00
Alex Jones
fe529510b6
feat: anoymization based on pr feedback
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2023-04-14 07:39:05 +01:00
Alex Jones
f9b25d9e85
chore: fixing up tests
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2023-04-13 21:48:33 +01:00
Alex Jones
498d454c17
chore: fixing up tests
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2023-04-13 21:44:33 +01:00
Alex Jones
23071fd2e6
chore: additional analyzers
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2023-04-13 21:25:41 +01:00
Thomas Schuetz
26c0cb2eed
feat: add simple health endpoint
...
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu >
2023-04-13 13:29:19 +02:00
Thomas Schuetz
336ec2a426
fix: bool conversion
...
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu >
2023-04-13 13:13:45 +02:00
Thomas Schuetz
6b630275eb
fix: start message
...
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu >
2023-04-13 13:11:39 +02:00
Thomas Schuetz
ddf3561105
Merge branch 'main' of github.com:k8sgpt-ai/k8sgpt into feat/serve
2023-04-13 13:08:27 +02:00
Thomas Schuetz
159b3851ec
fix: naming
...
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu >
2023-04-13 09:00:14 +02:00
Alex Jones
bffad41134
chore: added oidc
...
Signed-off-by: Alex Jones <alex@Alexs-MBP.lan >
2023-04-13 07:18:19 +01:00
Thomas Schuetz
9157d4dd13
feat: unified cmd and api
...
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu >
2023-04-13 08:11:56 +02:00
Thomas Schuetz
adae2ef71d
feat: updated api
...
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu >
2023-04-12 16:30:09 +02:00
Thomas Schuetz
b2e8adda33
feat: first version of serve
...
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu >
2023-04-12 15:05:01 +02:00
Matthis Holleville
c0afc0f5c9
feat: refactor integration to use Failure object
...
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
2023-04-12 11:40:51 +02:00
Alex Jones
096321b31a
chore: merged
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2023-04-12 08:58:07 +01:00
Alex Jones
0cf5eab988
Merge branch 'main' into analysis_test
2023-04-12 08:47:30 +01:00
chetan gupta
825e9a43bd
chore: updated analysis_test.go
...
Signed-off-by: chetan gupta <chetangupta123raj@gmail.com >
2023-04-12 07:50:06 +05:30
Alex Jones
ced0de6448
Merge branch 'main' into feat/integrate
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2023-04-11 19:24:30 +01:00
Alex Jones
4d20f70fb4
chore: fixing filters
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2023-04-11 19:22:12 +01:00
Alex Jones
1b7f4ce44a
chore: updated link output
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2023-04-11 19:22:12 +01:00
Alex Jones
3682f5c7eb
feat: integration ready for first review
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2023-04-11 19:22:12 +01:00
Alex Jones
c809af3f47
chore: Fixing broken tests
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2023-04-11 19:22:12 +01:00
Thomas Stadler
428c348586
chore: fix mistake introduced by ab55f157 ( #240 )
...
Signed-off-by: Thomas Stadler <thomas@thomasst.xyz >
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2023-04-11 19:22:12 +01:00
Thomas Stadler
fe261b375f
fix: exit progressbar on error ( #99 )
...
Signed-off-by: Thomas Stadler <thomas@thomasst.xyz >
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2023-04-11 19:22:12 +01:00
Alex Jones
4984840de1
wip
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2023-04-11 19:22:06 +01:00
Alex Jones
80ac51c804
chore: compiling successfully
...
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2023-04-11 19:22:06 +01:00
AlexsJones
b0e517006e
feat: initial impl of integration
...
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2023-04-11 19:22:06 +01:00
AlexsJones
61d6e52465
feat: initial impl of integration
...
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
Signed-off-by: Alex Jones <alexsimonjones@gmail.com >
2023-04-11 19:22:06 +01:00
HOLLEVILLE Matthis
45c7ecf98b
Merge branch 'main' into feature/add-anonymize-option
2023-04-11 20:19:12 +02:00
Matthis Holleville
dd5824f436
feat: return errors if filter specified by flag does not exist.
...
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
2023-04-11 19:21:15 +02:00
Matthis Holleville
08f2a89e54
feat: improve security of the MaskString function
...
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
2023-04-11 19:12:59 +02:00
Matthis Holleville
b687473e61
feat: add more details on anonymize flag
...
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
2023-04-11 13:41:59 +02:00
Matthis Holleville
11326c1c5f
feat: improve documentation & update hpa message
...
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
2023-04-11 13:28:05 +02:00
Thomas Schuetz
fe502e1135
Merge branch 'main' into feature/add-anonymize-option
2023-04-11 07:47:06 +02:00
Matthis Holleville
705d2a0dce
fix: pdb test
...
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
2023-04-10 23:44:16 +02:00
Matthis Holleville
fd936ceaf7
fix: improve ReplaceIfMatch regex
...
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
2023-04-10 23:36:43 +02:00
Matthis Holleville
30e33495e0
Merge branch 'main' into feature/add-anonymize-option
2023-04-10 23:12:30 +02:00
Matthis Holleville
d2a84ea2b5
feat: add anonymization flag
...
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
2023-04-10 23:12:02 +02:00
Thomas Stadler
3845d4747f
chore: fix mistake introduced by ab55f157 ( #240 )
...
Signed-off-by: Thomas Stadler <thomas@thomasst.xyz >
2023-04-10 22:30:10 +02:00
Thomas Stadler
ab55f157ef
fix: exit progressbar on error ( #99 )
...
Signed-off-by: Thomas Stadler <thomas@thomasst.xyz >
2023-04-10 20:01:55 +02:00
HOLLEVILLE Matthis
a582d444c5
fix: use hpa namespace instead analyzer namespace ( #230 )
...
Signed-off-by: Matthis Holleville <matthish29@gmail.com >
2023-04-10 07:49:22 +02:00
Aris Boutselis
c8ba7d62d2
feat: add storage class names' check.
...
Signed-off-by: Aris Boutselis <aris.boutselis@senseon.io >
2023-04-07 21:39:14 +01:00
Thomas Schuetz
e449cb6023
chore: add fakeai provider ( #218 )
...
* chore: add fakeai provider
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu >
* chore: add fakeai provider
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu >
* fix: name of openai provider
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu >
* fix: renamed fakeai backend to noopai
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu >
* fix: renamed fakeai backend to noopai
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu >
---------
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu >
Co-authored-by: Alex Jones <alexsimonjones@gmail.com >
2023-04-06 21:10:01 +02:00
Aris Boutselis
c041ce2bbb
feat: introduce StatefulSet analyser.
...
Signed-off-by: Aris Boutselis <aris.boutselis@senseon.io >
2023-04-06 13:31:58 +01:00
AlexsJones
93bcc627ba
fix: regression on dynamic filters
...
Signed-off-by: AlexsJones <alexsimonjones@gmail.com >
2023-04-05 20:05:17 +01:00