How to Monitor Deployed Applications
Expose Metrics Endpoint
Ensure that your application backend exposes the /metrics endpoint. This allows Prometheus to scrape and collect metrics effectively from your deployed applications.
Deploy Application with Monitoring Enabled
If usecase monitoring is enabled in the PhariaOS configuration you can also provide the following in the “config” for your usecase deployment.
"config": {
...,
"serviceMonitor": {
"enabled": true,
"scrapingInterval": "5s"
}
}