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
Yuji Kawamoto
d2a25456d5
feat(prometheus): add ignore_timestamp option ( #9740 )
2021-10-05 15:11:46 -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
Samantha Wang
c4c3c8ade9
docs: update caddy server instructions ( #9698 )
2021-09-21 14:03:41 -05: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
Russ Savage
467ab87912
chore: update prometheus input readme to match config options ( #9270 )
2021-05-25 15:11:14 -06:00
Russ Savage
e8ae01921b
Set user agent when scraping prom metrics ( #9271 )
2021-05-20 08:36:36 -06:00
Helen Weller
66e12e062d
remove deprecation warning ( #9125 )
2021-04-13 16:13:06 -04:00
David Bennett
842a788022
Remove error return type from metric.New method ( #9116 )
...
* Remove error return type from metric.New method.
* Formatting changes for linter + gofmt
* Additional linter fixes.
* More linter fixes.
* Linter fix.
* address comments
2021-04-13 14:40:03 -04: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
Paweł Żak
099ccda3f9
Linter fixes - gosimple ( #9046 )
2021-03-25 13:57:01 -04: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