Open tomklapka opened 5 years ago
This looks really good! I don't have time to review in depth tho!
Let's remove the eks updates from this PR and keep it focused on updating the telegraf configs.
also, let's enable prometheus plugin scrape targets by default. https://github.com/influxdata/telegraf/tree/master/plugins/inputs/prometheus#kubernetes-scraping
@russorat Regarding Prometheus pod scraping - it's a matter of plugin configuration and relevant annotations on pods. Beside that there should be something in the pod which can collect and serve prometheus metrics if I'am not mistaken. The simplest sample solution could be to enable prometheus client output telegraf plugin which will then serve metrics at least on one pod in the cluster and then collect them back in the same pod - not ideal real world usage.