Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to customize timeouts on Kubernetes plugin #3203

Closed
adrianlzt opened this issue Sep 6, 2017 · 4 comments
Closed

Allow to customize timeouts on Kubernetes plugin #3203

adrianlzt opened this issue Sep 6, 2017 · 4 comments
Labels
feature request Requests for new plugin and for new features to existing plugins
Milestone

Comments

@adrianlzt
Copy link
Contributor

I'm using the kubernetes plugin to obtain metrics from OpenShift applications nodes.
The response time varies from 1.5s to 4s, so when it crosses the 3s barrier telegraf discard it because of timeout.

Could be possible to add some parameters to increase the timeout values?

@jchauncey ?

@danielnelson danielnelson added this to the 1.5.0 milestone Sep 6, 2017
@danielnelson danielnelson added the feature request Requests for new plugin and for new features to existing plugins label Sep 6, 2017
@danielnelson
Copy link
Contributor

Yeah, I'll get it.

@jchauncey
Copy link

jchauncey commented Sep 6, 2017

Ive got the work done for this. Just have to go through the channels at microsoft to submit the pr. Should have it up first thing tomorrow.

(this will be my first pr outside of my normal oss projects so I had to make sure I was following the correct protocol first =P)

@jchauncey
Copy link

So might just be easier for someone else do this or I can throw up the code somewhere that Ive got and someone else can submit it

@jchauncey
Copy link

Here is a gist with the changes - https://gist.github.com/jchauncey/325956b3d03db33fd1a3241ecf6b9e78

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Requests for new plugin and for new features to existing plugins
Projects
None yet
Development

No branches or pull requests

3 participants