Commit Graph

140 Commits

Author SHA1 Message Date
Andreas Deininger 5f5a56ed01
docs: Fix typos (#14376) 2024-01-05 22:34:02 +01:00
Sven Rebhan 9e88381085
chore(parsers.prometheus): Migrate tests to test-cases (#14527) 2024-01-05 09:23:38 -07:00
Sven Rebhan d7a5bf6d70
chore(inputs.prometheus): Consolidate parsers for metric v1 and v2 (#14524) 2024-01-04 12:30:04 -07:00
Andreas Deininger 6814d7af8a
docs: Fix typos (#14359)
Co-authored-by: Josh Powers <powersj@fastmail.com>
2023-11-29 14:47:39 +01:00
Paweł Żak 8fbea28ab3
chore(linters): Fix findings found by testifylint: expected-actual (#14229) 2023-11-01 14:09:55 -06:00
Paweł Żak 34ae468a8c
chore(linters): Fix findings found by testifylint: len (#14203) 2023-10-31 10:29:53 +01: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 fe87db594c
chore(linters): Fix findings found by testifylint: error-nil (#14198) 2023-10-27 07:42:25 -06:00
Paweł Żak 97f47c11dd
chore(linters): Fix findings found by testifylint: empty (#14179) 2023-10-25 15:09:13 -06:00
Paweł Żak 7c5b3ea068
chore(linters): Fix findings found by testifylint: compares (#14177) 2023-10-24 15:02:26 -06:00
Paweł Żak 990ffc7222
chore(linters): Fix findings found by testifylint: bool-compare (#14163) 2023-10-24 10:45:17 -06: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
Eng Zer Jun 7e6b98226e
chore(inputs): Remove unnecessary nil check (#13749)
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2023-08-14 10:39:56 +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 42c7a2027f
feat(inputs.prometheus): Always apply kubernetes label and field selectors (#13624) 2023-07-21 11:00:54 +02:00
Sven Rebhan 6d1da80ebb
docs(inputs.prometheus): Add example for prometheus timestamps (#13362) 2023-06-06 07:28:45 -06: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
r3inbowari 19c4316694
chore: Update README.md (#12989) 2023-04-04 13:43:49 +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
Joshua Powers 77bebd8660
fix(inputs.prometheus): Use set over add for custom headers (#12907) 2023-03-21 16:39:34 +01:00
Joshua Powers bd065e3553
fix(inputs.prometheus): Correctly set timeout param (#12864) 2023-03-15 17:52:51 +01: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
Joshua Powers 5cc55fa900
chore: run make docs (#12802) 2023-03-06 07:29:29 -07:00
Jovan Kostovski 332997089b
docs: Add optional tls parameters to the documentation (#12788) 2023-03-06 12:25:04 +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
Thomas Casteleyn 6a2f6f301f
chore: eliminate unnecessary use of quoted strings in printf (#12722) 2023-02-23 06:49:36 -07:00
Eng Zer Jun 4d0f05980e
test: Use `t.Setenv` to set env vars (#12621) 2023-02-10 11:46:14 +01:00
Pascal Zimmermann aa0b9d7dcf
fix: Rename the Prometheus Input Plugin Timeout variable (#12626) 2023-02-10 11:44:42 +01:00
Francois Steyn 7345b400ff
docs(inputs.prometheus): fix incorrect headers option (#12625) 2023-02-06 09:52:51 -07:00
Pascal Zimmermann dc9eb02301
fix(inputs.prometheus): Set the timeout for slow running API endpoints correctly (#12559) 2023-01-30 15:52:54 +01:00
Maxim Ivanov 51f23d244e
fix(inputs.prometheus): correctly track deleted pods (#12522) 2023-01-23 08:13:51 -07:00
Thomas Casteleyn 61523bd4b9
feat(tools/readme_linter): Check for global configuration section (#12426) 2023-01-12 16:55:21 +01:00
Maxim Ivanov 9d5c879cac
fix(inputs.prometheus): correctly default to 9102 port (#12282) 2022-11-28 08:19:44 -07:00
Maxim Ivanov 55c8cfafb0
fix(inputs.promethes): respect selectors when scraping pods (#12278) 2022-11-28 08:05:31 -07:00
Maxim Ivanov c3562ae8b2
feat(inputs.prometheus): Allow explicit scrape configuration without annotations (#11962) 2022-11-22 18:04:52 +01:00
Charly Nanfack d4eda21742
feat(inputs.prometheus): Add support for custom header (#12050) 2022-11-21 21:55:21 +01:00
Paweł Żak d3fabdd0a9
chore: wrap long lines in plugins/inputs/[l-s]* (#12217) 2022-11-10 11:55:58 -07:00
Joshua Powers 49ac03fa80
docs: add global configuration header (#12107) 2022-10-26 14:58:36 -05:00
erwiese 215e8e030a
feat(inputs.prometheus): use system wide proxy settings (#11729) 2022-09-13 10:48:13 -07: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
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
reimda f7aab29381
chore: Fix readme linter errors for input plugins M-Z (#11274) 2022-06-08 15:22:56 -06:00
Sven Rebhan 91d50ee374
fix: Update sample.conf for prometheus (#11217) 2022-06-01 09:22:25 -06:00
Joshua Powers 2fc19fa308
chore: correctly spell embed (#11200) 2022-05-27 07:13:47 -06:00