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
reimda
34e5d821f7
docs: remove recommendation for prometheus metric_version=2 ( #11158 )
2022-05-26 10:07:44 -06:00
Sven Rebhan
56eb914998
chore: Embed sample configurations into README for inputs ( #11136 )
2022-05-24 08:49:47 -05:00
Joshua Powers
596b0e149b
fix: Remove any content type from prometheus accept header ( #11082 )
...
In #6745 , the prometheus accept header was changed to accept any media
type. However, our prometheus plugin only accepts text. With the release
of newer versions of prometheus, the OpenMetrics type is now available
and could potentially be setup as the exclusive response type. As this
new content type is not supported, Telegraf should not accept it.
The original issue, #6523 , was filed around getting a 406. The issue had
comments from the rabbit-mq maintainers who made changes to their code
to be less regid resolving the issue. The change to telegraf was made
afterwards anyway.
fixes : #10248
2022-05-24 15:11:17 +02:00
Sebastian Spaink
0f5dc9946c
chore(inputs_m-z): migrate sample configs into separate files ( #11133 )
2022-05-18 11:31:34 -05:00
Sebastian Spaink
b355be5ccb
feat: migrate input plugins to new sample config format (M-Z) ( #10926 )
2022-04-11 16:32:25 -05:00
Shubham Kumar Singh Rajput
777f8bf715
fix(inputs.prometheus): moved from watcher to informer ( #10932 )
2022-04-08 08:09:02 -06:00
William Wilson
5992fc47ac
tests: remove redundant newlines that go 1.18 treats as errors ( #10847 )
2022-03-21 09:11:25 -07:00
Alec
2269ff1242
docs: address documentation gap when running telegraf in k8s ( #10215 )
2021-12-03 11:48:46 -06:00
Joshua Powers
121ae1faaa
fix: check error before defer in prometheus k8s ( #10091 )
2021-11-24 12:19:25 -07:00
Mya
d4582dca70
chore: clean up all markdown lint error on input plugins n through r ( #10168 )
2021-11-24 11:50:01 -07:00
Paweł Żak
b9e4978b17
fix: Linter fixes for plugins/inputs/p* ( #10066 )
2021-11-15 09:14:09 -06: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