influxdata / community-templates

InfluxDB Community Templates: Quickly collect & analyze time series data from a range of sources: Kubernetes, MySQL, Postgres, AWS, Nginx, Jenkins, and more.
https://www.influxdata.com/products/influxdb-templates/gallery/
Apache License 2.0
351 stars 157 forks source link

Podman template #180

Open mnsmithuk opened 4 years ago

mnsmithuk commented 4 years ago

Hi

As I'm using CentOS8 Docker is not supported and RedHat's solution is to use podman instead and am requesting a template for RedHat's container management tool that replaces Docker and prelude to Kubernetes.

Can we have an input plugin and template that handles the Podman metrics as Docker and Kubenetes templates with some meaningful alerts.

Thank you.

xe-nvdk commented 4 years ago

Hello @mnsmithuk creating the Podman template isn't very straightforward because is needed to create a plugin capable to read all the data that expose Podman (> 2.0). I just try with the docker input plugin and I was capable to get some data, but is very basic. I take this request to develop the plugin and the template.

image

mnsmithuk commented 4 years ago

Thanks for getting back. That would be great thanks. Please can you include a hostname variable to switch between servers like on the community linux system template. That seemed to be missing from the Docker template.

mnsmithuk commented 3 years ago

I've just realised there is an argument to podman called stats that prints out the statitics of each container. ie podman stats.

Could this help you in creating template relating to collecting and displaying the metrics of each container ?

I'm using podman version 3.3.1. I cannot confirm if the argument is available in any earlier releases.