- a generic template for all the infra and go process metrics of pods.
- it has variable filter with namespace,pods, and container
- create a source with name called "promethues"
- import grafana-template-pod-metrics.json file.
- grafanalib
- jinja2
- python
- is a python template, which is responsible for generating a final python file for grafanalib.
- it will consume multiple jinja2 templates (inside template/*.j2).
- is main jinja template which include several other jinja templates(pods_metrics.txt.j2,kafka_metrics.txt.j2 and go_metrics.txt.j2).
- create jenkin pipline job and clone this repo and pass Jenkinfile
- click on blue ocean button, then click on Run button.
- now fill this input form.
- then visit Artifact and download generated .json file and import on Grafana.