@adan
To use multiple templates in Grafana, follow these steps:
- In the Grafana dashboard, click on the "Settings" (gear icon) in the top menu bar and then select "Templating" from the dropdown menu.
- Click on the "+ New" button to create a new template.
- Configure the template by giving it a name, selecting the data source, choosing the query type (such as Prometheus or InfluxDB), and specifying the query for the template.
- Once the template is configured, click on the "Add" button to save it.
- Repeat the above steps to create additional templates as needed.
- To use multiple templates in a panel, add the templates to the panel by clicking on the "Panel Title" > "Edit" > "General" tab. In the template variables section, you can select the desired templates that you want to use in that panel.
- Click on the "Save" button to apply the changes to the panel.
By following these steps, you can easily use multiple templates in Grafana to create dynamic and customizable dashboards.