zalando/zally

Adding Prometheus metrics to Zally server

Open

#1,161 opened on Jul 1, 2020

 (5 comments) (0 reactions) (0 assignees)Kotlin (156 forks)auto 404
area: serverhelp wanted

Repository metrics

Stars
 (945 stars)
PR merge metrics
 (PR metrics pending)

Description

Hi there, for our own dev stack we wanted to scrape metrics into our grafana dashboards showing historical information on Violations for each individual API.

The idea is that we poll the ApiReview table for available reviews, and based on the name of the API schema we expose any present violations to the /prometheus endpoint so it can be scraped.

I have already written the code needed to expose the prometheus endpoint as well as some code to expose violation metrics.

Contributor guide