How often will Heapster get metrics from kubelet

2,277 views
Skip to first unread message

Qian Zhang

unread,
Dec 29, 2016, 2:11:40 AM12/29/16
to Kubernetes user discussion and Q&A
Hi,

I'd like to know how often Heapster will get metrics from kubelet, every 10s? Is this configurable?

And I have configured Heapster to send metrics to Elasticsearch with "--sink" option, again, how often will Heapster send metrics to Elasticsearch? Is it configurable?


Thanks,
Qian

Filip Grzadkowski

unread,
Jan 10, 2017, 4:54:42 PM1/10/17
to kubernet...@googlegroups.com, Piotr Szczesniak
+Piotr Szczesniak

--
Filip

--
You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-users+unsubscribe@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.

Piotr Szczesniak

unread,
Jan 11, 2017, 1:34:57 AM1/11/17
to Filip Grzadkowski, kubernet...@googlegroups.com
Hi Qian,

The default scraping interval is 60s. It's configurable via metric_resolution flag, though it should be at least 2X bigger than scraping interval on kubelet which currently is 15s. Once metrics are being collected they are immediatelly sent to storage backends and there is no control here.

Piotr

Qian Zhang

unread,
Jan 11, 2017, 1:39:11 AM1/11/17
to kubernet...@googlegroups.com, Filip Grzadkowski
Thanks Piotr!

So that means I should set the metric_resolution flag to 30s at least, right?


Thanks,
Qian Zhang

You received this message because you are subscribed to a topic in the Google Groups "Kubernetes user discussion and Q&A" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kubernetes-users/D-xsnFtmeAk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kubernetes-users+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages