Exporter your cypress.io dashboard into prometheus Metrics

Cypress.io dashboard Prometheus exporter

Prometheus exporter for a project from Cypress.io dashboards, giving the ability to alert, make special operations or correlate with other datasources by using grafana.

Installation

There's no public docker image available yet, but you can simply build it :

docker build -t cypress-exporter .

or the binary :

cd cmd && go build

Usage

  -debug
        activate debug logging
  -email string
        email to connect to the dashboard
  -keepUntil int
        Time ( in days ) to keep in memory the results of a test/run before removing it. (default 14)
  -listen string
        host:port to listen (default "0.0.0.0:8081")
  -password string
        password to connect to the dashboard
  -project string
        host:port to listen (default "7s5okt")

Available metrics

Metric Description
cypress_run_passed_total_last Total number of passed test per run processed ( latest value )
cypress_run_failed_total_last Total number of failed test per run processed ( latest value )
cypress_run_pending_total_last Total number of pending test per run processed ( latest value )
cypress_run_skipped_total_last Total number of skipped test per run processed ( latest value )
cypress_run_muted_tests_total_last Total number of muted tests processed ( latest value )
cypress_run_flaky_tests_total_last Total number of flaky tests processed ( latest value )
cypress_run_duration_ms_last Duration of a processed run ( latest value )
cypress_run_start_time_ms_last Start time of a processed run ( latest value )
cypress_run_passed_sum Total number of passed test per run processed ( summed value )
cypress_run_failed_sum Total number of failed test per run processed ( summed value )
cypress_run_pending_sum Total number of pending test per run processed ( summed value )
cypress_run_skipped_sum Total number of skipped test per run processed ( summed value )
cypress_run_muted_tests_sum Total number of muted runs processed ( summed value )
cypress_run_flaky_tests_sum Total number of flaky tests processed ( summed value )
cypress_run_duration_ms_sum Duration of a processed run ( summed value )
cypress_run_start_time_ms_sum Start time of a processed run ( summed value )
cypress_run_processed_sum Count of processed runs
cypress_test_state_last Last state of a test ( filter with label state and check for value 1.0 )
cypress_test_duration_ms_total_last Last duration of a test
cypress_test_state_sum Summed state of a test ( filter with label state and check for value 1.0 )
cypress_test_duration_ms_total_sum Summed duration of a test
cypress_test_processed_count Total number of processed tests
cypress_dashboard_exporter_available Availability of CypressDashbboardExporter

Labels

For run related metrics, the following labels are exposed :

  • browser_name
  • ci_provider
  • git_branch
  • is_using_retries
  • os_name
  • project_id
  • project_name

For test related metrics :

  • browser_name
  • ci_provider
  • git_branch
  • is_using_retries
  • name
  • os_name
  • project_id
  • project_name
  • run_group
  • spec_file

For cypress_test_state_last and there's one label state with each possible value CANCELED FAILED PASSED SKIPPED or OTHER. Value of the metric will be 1.0 ( or incremented in case of the sum one ) when it's the corresponding state, and 0 ( or not incremented ) if not.

Grafana dashboard

There's a grafana dashboard JSON file available in the grafana dashboard that you can import.

Similar Resources

Prometheus metrics exporter for libvirt.

Libvirt exporter Prometheus exporter for vm metrics written in Go with pluggable metric collectors. Installation and Usage If you are new to Prometheu

Jul 4, 2022

Prometheus Exporter for Kvrocks Metrics

Prometheus Exporter for Kvrocks Metrics

Prometheus Kvrocks Metrics Exporter This is a fork of oliver006/redis_exporter to export the kvrocks metrics. Building and running the exporter Build

Sep 7, 2022

LLS-Exporter exports fuel level sensor data (rs-485 lls protocol) as prometheus metrics

LLS Exporter LLS Exporter reads rs485/rs232 data from serial port, decodes lls protocol and exports fuel level sensor data as prometheus metrics. Lice

Dec 14, 2021

Openshift's hpessa-exporter allows users to export SMART information of local storage devices as Prometheus metrics, by using HPE Smart Storage Administrator tool

hpessa-exporter Overview Openshift's hpessa-exporter allows users to export SMART information of local storage devices as Prometheus metrics, by using

Jan 17, 2022

Github exporter for Prometheus metrics. Written in Go, with love ❤️

Github exporter for Prometheus This is a Github exporter for Prometheus metrics exposed by Github API. Written in Go with pluggable metrics collectors

Oct 5, 2022

Kepler (Kubernetes-based Efficient Power Level Exporter) uses eBPF to probe energy related system stats and exports as Prometheus metrics

Kepler (Kubernetes-based Efficient Power Level Exporter) uses eBPF to probe energy related system stats and exports as Prometheus metrics

kepler Kepler (Kubernetes Efficient Power Level Exporter) uses eBPF to probe energy related system stats and exports as Prometheus metrics Architectur

Dec 26, 2022

Terraform-grafana-dashboard - Grafana dashboard Terraform module

terraform-grafana-dashboard terraform-grafana-dashboard for project Requirements

May 2, 2022

Sensu-go-postgres-metrics - The sensu-go-postgres-metrics is a sensu check that collects PostgreSQL metrics

sensu-go-postgres-metrics Table of Contents Overview Known issues Usage examples

Jan 12, 2022

The metrics-agent collects allocation metrics from a Kubernetes cluster system and sends the metrics to cloudability

metrics-agent The metrics-agent collects allocation metrics from a Kubernetes cluster system and sends the metrics to cloudability to help you gain vi

Jan 14, 2022
A prometheus exporter which reports metrics about your Gmail inbox.

prometheus-gmail-exporter-go A prometheus exporter for gmail. Heavily inspired by https://github.com/jamesread/prometheus-gmail-exporter, but written

Nov 15, 2022
Openvpn exporter - Prometheus OpenVPN exporter For golang

Prometheus OpenVPN exporter Please note: This repository is currently unmaintain

Jan 2, 2022
Amplitude-exporter - Amplitude charts to prometheus exporter PoC

Amplitude exporter Amplitude charts to prometheus exporter PoC. Work in progress

May 26, 2022
Vulnerability-exporter - A Prometheus Exporter for managing vulnerabilities in kubernetes by using trivy
Vulnerability-exporter - A Prometheus Exporter for managing vulnerabilities in kubernetes by using trivy

Kubernetes Vulnerability Exporter A Prometheus Exporter for managing vulnerabili

Dec 4, 2022
Netstat exporter - Prometheus exporter for exposing reserved ports and it's mapped process

Netstat exporter Prometheus exporter for exposing reserved ports and it's mapped

Feb 3, 2022
📡 Prometheus exporter that exposes metrics from SpaceX Starlink Dish
📡  Prometheus exporter that exposes metrics from SpaceX Starlink Dish

Starlink Prometheus Exporter A Starlink exporter for Prometheus. Not affiliated with or acting on behalf of Starlink(™) ?? Starlink Monitoring System

Dec 19, 2022
Prometheus exporter for Chia node metrics

chia_exporter Prometheus metric collector for Chia nodes, using the local RPC API Building and Running With the Go compiler tools installed: go build

Sep 19, 2022
NVIDIA GPU metrics exporter for Prometheus leveraging DCGM

DCGM-Exporter This repository contains the DCGM-Exporter project. It exposes GPU metrics exporter for Prometheus leveraging NVIDIA DCGM. Documentation

Dec 27, 2022
A Prometheus exporter which scrapes metrics from CloudLinux LVE Stats 2
A Prometheus exporter which scrapes metrics from CloudLinux LVE Stats 2

CloudLinux LVE Exporter for Prometheus LVE Exporter - A Prometheus exporter which scrapes metrics from CloudLinux LVE Stats 2 Help on flags: -h, --h

Nov 2, 2021
A Prometheus metrics exporter for AWS that fills in gaps CloudWatch doesn't cover

YAAE (Yet Another AWS Exporter) A Prometheus metrics exporter for AWS that fills in gaps CloudWatch doesn't cover About This exporter is meant to expo

Dec 10, 2022