Paulo Dias
cb71790cf7
chore(linters): Enforce import grouping with gci linter ( #16526 )
...
Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
Co-authored-by: Thomas Casteleyn <thomas.casteleyn@me.com>
2025-02-24 19:37:12 -06:00
Paweł Żak
d829a5b29c
chore: Fix linter findings for `revive:unused-receiver` in `plugins/inputs/[l-r]` ( #16325 )
2024-12-18 12:47:47 -06:00
Paweł Żak
e2b5a9910b
chore: Fix linter findings for `revive:exported` in `plugins/inputs/p*` ( #16307 )
2024-12-17 11:10:18 -06:00
Paweł Żak
22b153ac65
chore: Fix linter findings for `revive:enforce-map-style` in `plugins/inputs/[n-z]*` ( #16072 )
2024-10-25 12:54:05 +02:00
Sven Rebhan
4664b6d017
fix(inputs.prometheus): List namespaces only when filtering by namespace ( #14871 )
2024-03-07 13:23:26 -06:00
Ganga Mahesh Siddem
920a49c846
fix(input.prometheus): Read bearer token from file every time ( #14191 )
2023-10-30 09:12:12 +01:00
Paweł Żak
5661341813
chore: Enable filepathJoin checker for gocritic ( #13758 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2023-08-14 23:18:20 +02:00
Maxim Ivanov
9d894e7dee
fix(inputs.prometheus): Don't collect metrics from finished pods ( #13629 )
2023-07-21 11:09:44 +02:00
Maxim Ivanov
cb966ebf6b
fix(inputs.prometheus): Fix missing metrics when multiple plugin instances specified ( #13627 )
2023-07-21 11:06:51 +02:00
Maxim Ivanov
5cb928cc5d
fix(inputs.prometheus): Avoid race when creating informer factory ( #13231 )
2023-05-08 16:25:32 +02:00
Luke Winikates
e9f55a848f
chore(deps): Bump prometheus from v1.8.2 to v2.42.0 ( #13225 )
...
Dependency version 0.42.0 corresponds to release version 2.42.0 see [prometheus versioning description](https://github.com/prometheus/prometheus#prometheus-code-base ) for details.
2023-05-03 09:47:00 +02:00
Ivaylo Ivanov
14c84a00ee
fix(inputs.prometheus): Add namespace option in k8s informer factory ( #13063 )
...
Co-authored-by: ivayloi2 <ivayloi2@vmware.com>
2023-04-12 17:00:57 +02:00
Maxim Ivanov
5fdeae1ab1
feat(inputs.prometheus): Control which pod metadata is added as tags ( #12851 )
2023-04-03 10:08:15 +02:00
Maxim Ivanov
ee682539e7
feat(inputs.prometheus): Use namespace annotations to filter pods to be scraped ( #12777 )
2023-03-07 09:26:38 +01:00
Paweł Żak
b2b58bab9e
chore: Fix linter findings for errorlint (part6) ( #12733 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-01 22:19:38 +01:00
Maxim Ivanov
51f23d244e
fix(inputs.prometheus): correctly track deleted pods ( #12522 )
2023-01-23 08:13:51 -07:00
Maxim Ivanov
9d5c879cac
fix(inputs.prometheus): correctly default to 9102 port ( #12282 )
2022-11-28 08:19:44 -07:00
Maxim Ivanov
c3562ae8b2
feat(inputs.prometheus): Allow explicit scrape configuration without annotations ( #11962 )
2022-11-22 18:04:52 +01:00
yahaa
4f4d168e74
fix(inputs.prometheus): plugin run outside k8s cluster error ( #11673 )
2022-08-17 08:27:46 -06:00
Grace Wehner
f4e76893d1
feat (inputs/prometheus): add setting to set custom namespace label name to avoid conflicts ( #11538 )
2022-08-05 08:27:20 -06:00
Sven Rebhan
e2578462a5
fix(inputs): Linter issues ( #11576 )
2022-08-02 13:52:17 +02:00
Shubham Kumar Singh Rajput
777f8bf715
fix(inputs.prometheus): moved from watcher to informer ( #10932 )
2022-04-08 08:09:02 -06:00
Joshua Powers
121ae1faaa
fix: check error before defer in prometheus k8s ( #10091 )
2021-11-24 12:19:25 -07:00
Alexander Krantz
2e216825db
fix: decode Prometheus scrape path from Kuberentes labels ( #9662 )
2021-10-18 16:47:45 -05:00
Sebastian Spaink
432b30d2e9
fix(input/prometheus): move err check to correct place ( #9920 )
2021-10-13 14:43:05 -05:00
Eng Zer Jun
6a3b27126a
refactor: move from io/ioutil to io and os package ( #9811 )
2021-09-28 15:16:32 -06:00
Grace Wehner
fe144e7c99
fix: issues with prometheus kubernetes pod discovery ( #9605 )
2021-08-17 15:54:55 -06:00
Martin Molnar
1a42c7d289
For Prometheus Input add ability to query Consul Service catalog ( #5464 )
2021-07-27 17:23:01 -04:00
Imran Ismail
8965291f29
Fix prometheus cadvisor authentication ( #9497 )
2021-07-20 17:08:29 -04:00
Sven Rebhan
8e7da355b3
Linter fixes (unhandled errors) -- Part 1 ( #8992 )
2021-04-08 11:43:39 -05:00
Sebastian Spaink
29ac77906d
Change duplicate kubernetes import and update protobuf to v1.5.1 ( #9039 )
...
* Change import and update protobuf
* fix check-deps
* go mod tidy
* keep imports consistent
2021-03-24 10:59:05 -05:00
Paweł Żak
5de640b855
Linter fixes - unconvert, revive:empty-lines, revive:var-naming, revive:unused-parameter ( #9036 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2021-03-24 11:27:46 -04:00
Paweł Żak
74a1acd814
Linter fixes - revive:unused-parameter, unparam, varcheck and unused ( #8984 )
...
* Linter fixes - revive:unused-parameter and unparam
* Linter fixes - revive:unused-parameter and unparam
* Linter fixes - revive:unused-parameter and unparam
* "nolint"'s removed
* Fixes for "varcheck" and "unused" added.
* Fixes for "varcheck" and "unused" added.
* Fixes for "varcheck" and "unused" added.
* Fixes for "varcheck" and "unused" added.
* Fixes for "varcheck" and "unused" added.
* Fixes for "varcheck" and "unused" added.
* Fixes for "varcheck" and "unused" added.
Co-authored-by: Pawel Zak <Pawel Zak>
2021-03-22 12:21:36 -05:00
Sebastian Spaink
79f5803444
Migrate from github.com/ericchiang/k8s to github.com/kubernetes/client-go ( #8937 )
...
* new k8 client
* Make all tests pass
* Update licenses
* add timeout back
* Resolve merge conflicts
* Fix tests and linter
* Fix linter errors
* Linting issues
* Extra empty line
Co-authored-by: Bas <3441183+BattleBas@users.noreply.github.com>
2021-03-17 16:35:25 -05:00
Paweł Żak
38c61c07ef
Revive fixes - part 4: ( #8981 )
...
empty-lines
Co-authored-by: Pawel Zak <Pawel Zak>
2021-03-12 14:21:51 -06:00
Grace Wehner
d7df2c546b
Prometheus [Input] plugin - Optimizing for bigger kubernetes clusters (500+ pods) when scraping thru 'monitor_kubernetes_pods' ( #8762 )
2021-03-08 11:00:56 -05:00
mg03
dd1ace73b0
Add label and field selectors to prometheus input k8s discovery ( #6969 )
2020-03-02 18:51:31 -08:00
Greg
817c9a69a9
Document and add support to input plugins for logging alias ( #6357 )
2019-09-23 15:39:50 -07:00
Benjamin Fuller
b2baa2fdd5
Add optional namespace restriction to prometheus input plugin ( #5697 )
2019-04-10 14:52:46 -07:00
liispon
3b80d8a7fd
Use github.com/ghodss/yaml to parse k8s config ( #5643 )
2019-04-02 11:04:37 -07:00
Greg
b620a56d21
Collect from newly discovered/launched pods ( #5293 )
2019-01-16 15:49:24 -08:00
Greg
9c866553e8
Add scraping for Prometheus endpoint in Kubernetes ( #4920 )
2018-11-05 13:30:16 -08:00