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
Paweł Żak
ba66d4facb
Revive fixes - part 1 ( #8797 )
...
* Revive fixes regarding following set of rules:
[rule.blank-imports]
[rule.context-as-argument]
[rule.context-keys-type]
[rule.dot-imports]
[rule.error-return]
[rule.error-strings]
[rule.indent-error-flow]
[rule.errorf]
2021-02-08 11:18:40 -05:00
Helen Weller
d41569caed
Integration test audit ( #8725 )
2021-01-26 11:06:12 -07:00
Aladex
4b7d11385c
Using mime-type in prometheus parser to handle protocol-buffer responses ( #8545 )
2021-01-07 11:21:09 -05:00
Dmitry Senin
0ccb134ae4
Add a parser plugin for prometheus ( #7778 )
2020-12-02 12:48:44 -07:00
Paweł Żak
c8e69aca3c
Fixed almost all bugs found by LGTM analysis platform ( #8240 )
2020-10-08 11:20:35 -04:00
Russ Savage
75e701c288
fix(readmes): adding code block annotations ( #7963 )
2020-08-10 15:50:48 -04:00
Daniel Nelson
c73ed8ca6c
Export internal/tls package for use in execd plugins ( #7697 )
2020-06-25 11:44:22 -07:00
Daniel Nelson
9fbf288518
Remove init checks for valid label and field selectors ( #7198 )
...
Importing k8s.io/klog starts a long running goroutine at init time.
2020-03-18 13:48:29 -07:00
mg03
dd1ace73b0
Add label and field selectors to prometheus input k8s discovery ( #6969 )
2020-03-02 18:51:31 -08:00
Anthony Arnaud
8c99dc7b5e
Use the same timestamp per call if no time is provided ( #7063 )
2020-02-25 12:19:28 -08:00
Daniel Nelson
0710cc7488
Parse NaN values from summary types in prometheus input ( #6997 )
2020-02-10 14:18:29 -08:00
Daniel Nelson
add8332990
Accept any media type in the prometheus input ( #6745 )
2019-12-03 11:47:31 -08:00
Daniel Nelson
80c5edd48e
Add prometheus serializer and use it in prometheus output ( #6703 )
2019-11-26 15:46:31 -08:00
Vishwanath
12ecdaba5b
Add prometheus metric_version = 2 and url tag configurable ( #5767 )
2019-11-20 20:53:57 -08:00
Greg
817c9a69a9
Document and add support to input plugins for logging alias ( #6357 )
2019-09-23 15:39:50 -07:00
Greg
f7e85ebac2
Add basic auth to prometheus input plugin ( #6062 )
2019-07-02 11:14:48 -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
d759b46345
Support passing bearer token directly in prometheus input ( #5294 )
2019-01-15 15:25:26 -08:00
Greg
891eff0930
Run stop logic only if required in prometheus input ( #5144 )
2018-12-14 14:34:05 -08:00
Greg
9c866553e8
Add scraping for Prometheus endpoint in Kubernetes ( #4920 )
2018-11-05 13:30:16 -08:00
Greg
ddcbfe79bb
Allow connecting to prometheus via unix socket ( #4798 )
2018-11-02 17:51:40 -07:00
Daniel Nelson
de355b76d6
Simplify testing with TLS ( #4095 )
2018-05-04 16:33:23 -07:00
Daniel Nelson
1c0f63a90d
Add new line protocol parser and serializer, influxdb output ( #3924 )
2018-03-27 17:30:51 -07:00
Philipp Weber
b7a68eef56
Remove userinfo from url tag in prometheus input ( #3743 )
2018-02-05 11:16:00 -08:00
Jeremy Doupe
a6797a44d5
Add history and summary types to telegraf and prometheus plugins ( #3337 )
2017-10-24 16:28:52 -07:00
Daniel Nelson
6e5915c59f
Fix prometheus passthrough for existing value types ( #3351 )
2017-10-18 14:51:08 -07:00
Christian Meilke
73df179bd6
Tag original URL for k8s services in prometheus input ( #3257 )
2017-09-22 17:26:19 -07:00
Daniel Nelson
daee48c861
Update prometheus input documentation
2017-09-18 16:21:45 -07:00
Christian Meilke
292c5229bf
Add support for k8s service DNS discovery to prometheus input ( #3236 )
2017-09-18 15:06:11 -07:00
Olivier Lambert
a96f85c847
Add documentation for fetching metrics on Caddy HTTP and Prometheus ( #2853 )
2017-05-25 13:07:49 -07:00
Zack Zatkin-Gold
dd537b3382
Fix telegraf example arguments ( #2788 )
...
Many of the examples provided within documentation are using a single
dash for the command line arguments, but the telegraf executable
explicitly has two dashes.
There are also some inconsistencies with the ordering of the command
line argument examples. I've ordered them so that the examples will
show: config, config-directory, input-filter, test
2017-05-12 15:22:29 -07:00
Daniel Nelson
b88eb0f59d
Fix prometheus input creation of transport on every gather
2017-05-09 16:21:49 -07:00
Patrick Hemmer
06baf7cf78
use AddError everywhere ( #2372 )
2017-04-24 11:13:26 -07:00
djjorjinho
cc5b2f68b6
fix timestamp parsing on prometheus plugin ( #2596 )
2017-03-29 15:04:29 -07:00
Leandro Piccilli
5da40d56ad
Check if tag value is empty before allocation
...
closes #2390
closes #2404
2017-02-16 23:07:27 +00:00