Commit Graph

61 Commits

Author SHA1 Message Date
Joshua Powers 71718fba7d
chore: Update removal dates to either v1.35.0 or v1.40.0 (#15452) 2024-06-05 15:19:47 -05:00
Paweł Żak 98ec91478a
chore(linters): replace 'fmt.Sprintf' with string addition (#14699) 2024-02-08 15:46:22 -05:00
Andreas Deininger 5f5a56ed01
docs: Fix typos (#14376) 2024-01-05 22:34:02 +01:00
Paweł Żak e48b72f965
chore(linters): Enable rangeValCopy and hugeParams checkers for gocritic (#14454) 2023-12-15 07:36:34 -07:00
Thomas Casteleyn 193479a988
feat(config): Deprecate `fieldpass` and `fielddrop` modifiers (#14012) 2023-12-04 08:22:12 -07:00
Paweł Żak 171dccb7d7
chore(tools): Bump golangci-lint from v1.54.2 to v1.55.0 (#14155) 2023-10-23 08:12:08 -06:00
Noy-Simon f8a5a17b47
feat(inputs.kube_inventory): Support using kubelet to get pods data (#13996) 2023-10-04 08:55:18 -06:00
Noy-Simon 01b5834cb7
feat(inputs.kube_inventory): Support filtering pods and nodes by node name (#13993) 2023-10-04 07:26:41 -06:00
Sven Rebhan 1d24efe55c
chore(tools): Bump golangci-lint from v1.53.2 to v1.54.2 (#13838) 2023-08-29 07:07:41 -06:00
varunjain0606 1b74a25252
feat(inputs.kubernetes): Extend kube_inventory plugin to include and extend resourcequota, secrets, node, and pod measurement (#13040) 2023-05-19 07:54:09 -06: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
r3inbowari 19c4316694
chore: Update README.md (#12989) 2023-04-04 13:43:49 +02:00
Thomas Casteleyn 61523bd4b9
feat(tools/readme_linter): Check for global configuration section (#12426) 2023-01-12 16:55:21 +01:00
Maxim Ivanov 95bdcbb7d5
fix(inputs.kube_inventory): Change default token path, use in-cluster config by default (#12284) 2022-12-09 16:58:14 +01:00
Jörg Thalheim 2e99a1258e
docs(inputs.kube_inventory): update k3s integration guide (#12285) 2022-11-28 08:15:27 -07:00
Joshua Powers 49ac03fa80
docs: add global configuration header (#12107) 2022-10-26 14:58:36 -05:00
Sebastian Spaink d67f75e557
docs: Remove warning not to remove go:embed (#11797)
Co-authored-by: Joshua Powers <powersj@fastmail.com>
2022-09-13 12:47:58 -05:00
Joshua Powers 8c49ddccc3
chore: update to go1.19.1 (#11776) 2022-09-08 12:49:36 -06:00
Sven Rebhan 9fbd275d17
chore: Markdown fixes for inputs/[a-m]* (#11606) 2022-08-09 18:57:31 +02:00
Joshua Powers b741f3288a
fix(inputs.kube_inventory): send file location to enable token auto-refresh (#11577) 2022-08-02 15:29:33 -06:00
Sven Rebhan e2578462a5
fix(inputs): Linter issues (#11576) 2022-08-02 13:52:17 +02:00
reimda 453e276718
chore: Fix readme linter errors for input plugins E-L (#11214) 2022-06-07 15:37:08 -06:00
Joshua Powers 2fc19fa308
chore: correctly spell embed (#11200) 2022-05-27 07:13:47 -06:00
Sven Rebhan 56eb914998
chore: Embed sample configurations into README for inputs (#11136) 2022-05-24 08:49:47 -05:00
Sebastian Spaink 6b697db11e
chore(inputs_a-l): migrate sample configs into separate files (#11132) 2022-05-18 11:31:52 -05:00
Sebastian Spaink 8e2b4988fe
feat: migrate input plugins to new sample config format (A-L) (#10924) 2022-04-07 16:01:21 -06:00
Sam Lai 2fdf223efb
fix(inputs/kube_inventory): set TLS server name config properly (#9975) 2021-12-07 08:30:27 -07:00
Mya 84562877cc
chore: clean up all markdown lint errors for input plugins i through m (#10173) 2021-11-24 12:18:53 -07:00
Paweł Żak eec6fd5702
fix: Linter fixes for plugins/inputs/[k-l]* (#9999) 2021-10-27 09:48:57 -06:00
Sam Lai ecd4d3782c
fix(inputs/kube_inventory): don't skip resources with zero s/ns timestamps (#9978) 2021-10-25 16:01:35 -05:00
Aleksandr Venger a7582fb893
fix: segfault in ingress, persistentvolumeclaim, statefulset in kube_inventory (#9585) 2021-10-19 15:09:37 -06:00
Eng Zer Jun 6a3b27126a
refactor: move from io/ioutil to io and os package (#9811) 2021-09-28 15:16:32 -06:00
varunjain0606 16597586f5
fix: Fixing k8s nodes and pods parsing error (#9581) 2021-08-04 17:52:52 -05:00
Alexander Krantz fdec5f1f31
Prevent segfault in persistent volume claims (#9549) 2021-07-28 14:50:18 -06:00
Alexander Krantz a0ec75a62b
Fix segfault in kube_inventory (#9456) 2021-07-06 13:57:52 -06:00
Jörg Thalheim cf616939f1
kube_inventory: expand tls key/tls certificate documentation (#9357) 2021-06-21 11:56:16 -05:00
Alexander Krantz d7afebf7e6
Fix connecting to the wrong url (#9329) 2021-06-15 16:04:22 -05:00
Sven Rebhan 9853bf6c54
Get rid of deprecated internal.{Duration,Size,Number} (#8969) 2021-04-09 13:15:04 -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
Daniel Moran 1b09a9f3dc
chore: remove references to outdated InfluxDB settings. (#8754) 2021-03-16 16:02:59 -04:00
Paul Choi aabec054a7
Set $HOSTIP in default URL (#8721)
Telegraf daemonset pod cannot contact kube-apiserver via localhost.
Should be `$HOSTIP`, and the default port is 6443.

Co-authored-by: Paul Choi <pchoi@apple.com>
2021-03-05 11:30:45 -06:00
Vyacheslav Stepanov 0fe2386494
Fixing issue with missing metrics when pod has only pending containers (#8472)
Also added Pod Phase and Pod Reason fields
fixes #8347

Co-authored-by: Vyacheslav-Stepanov <Vyacheslav_Stepanov@epam.com>
2020-12-11 09:08:30 -05:00
Joe Wang 99287d89e0
Update string parsing of allocatable cpu cores in kube_inventory (#8512) 2020-12-10 12:38:01 -07:00
Joe Wang 97469f6d85
Update kube_inventory readme (#8510) 2020-12-07 13:59:32 -05:00
Russ Savage 40c6d189fe
fix(readmes): standarize first line of readmes (#7973) 2020-08-11 16:10:41 -04:00
Daniel Nelson c73ed8ca6c
Export internal/tls package for use in execd plugins (#7697) 2020-06-25 11:44:22 -07:00