Related Github Documents
Document Properties
Last Modified01-Oct-2020
Added to KB01-Oct-2020
Public AccessEveryone
Doc TypeGuidelines, Concepts & Cookbooks
ProductIntershop Progressive Web App

Guide - Intershop Progressive Web App - Monitoring with Prometheus

Monitoring with Prometheus

The PWA can be monitored using Prometheus.

Activating the feature Prometheus for NGINX exposes metrics on port 9113 on the /metrics URL.

Activating the Prometheus feature for the express.js server exposes metrics on the /metrics URL on the same port it is running.

After activating the features on both containers, add tasks to prometheus:

  - job_name: 'pwa-nginx'
    scrape_interval: 5s
      - names:
          - 'tasks.pwa-nginx'
        type: 'A'
        port: 9113

  - job_name: 'pwa-ssr'
    scrape_interval: 5s
      - names:
          - 'tasks.pwa-ssr'
        type: 'A'
        port: 4200

To get started, you can import our example Grafana Dashboard:

Example Dashboard

⚠️ We recommend to switch off the SSR container health-check and define alerts in Grafana instead.

Further References


The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.

Customer Support
Knowledge Base
Product Resources