Sebastian Malton
5d172b89db
Cleanup Prometheus detection ( #4316 )
2021-11-23 14:34:45 -05:00
Marc Bachmann
851274d314
Fix prometheus operator support ( #3653 )
2021-10-05 12:35:57 -04:00
Sebastian Malton
26fb2e796e
Fix not being able to configure non-Lens prometheus settings ( #3355 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-12 10:13:11 -04:00
mcpappas
008e516715
Use allocatable instead of capacity for node resources. ( #2098 )
2021-06-18 14:53:29 -04:00
Sebastian Malton
652319ac89
Refactor PrometheusProviders ( #2707 )
2021-05-27 09:50:18 -04:00
Patrick J. McNerthney
c9e0aa221a
Ingress and PersistentVolumeClaims metrics need to also be ( #2443 )
...
filtered and grouped by namespace, in addition to ingress.
Signed-off-by: Patrick J McNerthney <pat@mcnerthney.com>
2021-05-26 16:51:44 +03:00
Sebastian Malton
5ed4537979
Turn on noUnusedLocals, noImplicitReturns, importsNotUsedAsValues: error, and isolatedModules ( #2777 )
2021-05-19 12:11:54 -04:00
Jari Kolehmainen
2d0609ed24
Check source files for license header ( #2763 )
...
* check source files for license header
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* tweak
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
* add license header to all relevant source files
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2021-05-12 18:33:26 +03:00
Hannes Wüthrich
c4eb9ba39a
Fix typo in prometheus ingress metrics ( #1896 )
...
Signed-off-by: Hannes Wüthrich <hannes.wuethrich@zebbra.ch>
2021-01-07 07:29:12 +02:00
Panu Horsmalahti
dcf253e7d5
Add eslint rule padding-line-between-statements ( #1593 )
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2020-12-02 09:55:52 +02:00
Sebastian Malton
7451869c25
add no-unused and react/recommended to eslint ( #1523 )
...
* add no-unused-vars and no-unused-imports
* added quotes: double, and remove ignore pattern
* move itif and describeif into utils
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2020-11-27 08:48:38 -05:00
Lauri Nevala
236852774a
Fix pod usage metrics on Kubernetes >=1.19 ( #1514 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-11-25 15:34:33 +02:00
Sebastian Malton
43976f5bd9
fix SwitchCase indent rule in eslint ( #1454 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name>
2020-11-19 15:15:49 -05:00
Panu Horsmalahti
460dfe4d2b
Use @typescript-eslint/semi.
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2020-11-19 18:12:52 +02:00
Panu Horsmalahti
1477bb8274
Enforce semicolons in eslint
...
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
2020-11-19 16:35:04 +02:00
Jakub Štiller
f596b3c45c
Fix CPU/Memory usage metrics when using prometheus operator. ( #632 )
...
Cluster CPU and Memory usage cannot be sum by node as it is rendered as single cluster metrics. Without this changes, the cluster graphs (standard and pie) shows data only from first (or latest) nodes.
For pod specific metrics, when we use prometheus operator the `container_` metics are doubled. Restric search to get those have image tag.
Signed-off-by: Jakub Štiller <stiller@2n.cz>
Co-authored-by: Jakub Štiller <stiller@2n.cz>
2020-09-30 14:56:22 +03:00
dave93cab
0248189c45
typo/translation correction: transit to transmit ( #359 )
...
Signed-off-by: Dave Thomas <davejonthomas@gmail.com>
2020-06-04 12:44:08 +03:00
Jari Kolehmainen
5c1974f07b
Auto-detect prometheus installation ( #343 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-05-06 18:55:49 +03:00
Lauri Nevala
724cf0c687
Allow to select Prometheus query style ( #312 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-05-01 09:37:05 +03:00