P
PlayProm
A custom Playwright reporter that exports test execution metrics to StatsD, Prometheus, and Grafana.
PlayProm is a high-performance custom Playwright reporter that converts test results into real-time metrics. It forwards execution data to StatsD, enabling teams to build rich dashboards in Prometheus and Grafana for deep CI pipeline observability.
Key Features of PlayProm
- Time-Series Metric Generation: Automatically maps test execution status, retries, and durations into time-series data.
- UDP StatsD Protocol: Emits metrics asynchronously without adding overhead or delaying test suite completion.
- Metadata Tagging: Appends suite names, environment variables, browser engines, and file paths as searchable tags.
- Grafana Visualization: Easily integrates with Prometheus templates to build visual quality control dashboards.
Benefits of Using PlayProm
- Detect Flaky Tests: Identify tests that fail intermittently across builds through historical trend views.
- Monitor CI Speeds: Track which test files or suites are slowing down developer PR feedback cycles.
- Cross-Build Insights: Maintain a central quality ledger that stays independent of ephemeral CI logs.
Playwright automation engineers can utilize PlayProm to export execution metrics directly to Grafana and Prometheus, simplifying long-term test suite monitoring and flake analysis.
Tags:
PlaywrightMetricsGrafanaPrometheusCI/CDReporting & Analytics


