Skip to content

A Prometheus Exporter for the https://incident.io incident management solution.

License

Notifications You must be signed in to change notification settings

dirsigler/incidentio-exporter

Repository files navigation

Prometheus Exporter for incident.io

License OpenSSF Best Practices Go Report Card

This is an custom Prometheus Exporter for the awesome https://incident.io incident management solution.

Allows your business to monitor all types of pre-configured incidents. Improve your incident management workflow and better understand the usage of your incident.io installation.

⚙️ Metrics

The Incident.io Prometheus Exporter supports all basic pre-configured types of incidents available in incident.io.

Name Label Description
incidentio_incidents_total_count Total count of incidents for the incident.io installation
incidentio_incidents_severity_count severity Total count of incidents labeled per severity
incidentio_incidents_status_count status Total count of incidents labeled per status

🚀 Deployment

IMPORTANT: You have to provide the "INCIDENTIO_API_KEY="<MY_API_KEY>" environment variable to your deployment for the Incident.io Prometheus Exporter to work.


With each release I also provide a secure by default Docker Image.

You can chose from:

Docker

docker run --rm \
--interactive --tty \
--env INCIDENTIO_API_KEY="<MY_API_KEY>" \
dirsigler/incidentio-exporter:latest

You can also enable a logger with Debug mode via the --log.level=DEBUG flag. See the available configuration

🚩 Configuration

$ incidentio-exporter --help
Usage of incidentio-exporter:
  -log.level value
    	Configured Log level. (default INFO)
  -server.addr int
    	Address to listen on for HTTP requests. (default 9193)

📝 License

Built with ☕️ and licensed via Apache 2.0