If you previously created a database, you'll noticed that we did not let the operator create a PodMonitor. The reason of this, is that the PodMonitor requires specific lables to be picked-up by the team's own Prometheus. In this lab we'll create a custom PodMonitor and create a dashboard in the team's own Grafana.
Create a PodMonitor
In the apps section in Otomi console, click on Gitea. In the list of repo's you'll now see a new repo called
Create a new file called
- port: metrics
- Save the file and commit the changes.
The pod monitor will be picked-up by the team's own Prometheus. You can now add a dashboard to the team's Grafana instance.
Add a custom dashboard to the team's Grafana
- Create a new file called
# your dashboard json