citrusframework / citrusframework/yaks

Support Prometheus scraping

Open
#178 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
90
Forks
28
PR merge metrics
No merged PRs in 30d

Description

For testing that an application is working correctly also from a management point of view, I think it would be nice if Yaks could support reading Prometheus data that the application produces.
It would be useful to test that the application publishes the expected metrics to the monitoring solution.

Some scenarios:
- (Deep Inspection) Yaks can deploy an application and then test (via Prometheus) that it does not produce errors/warnings on startup
- (Metrics) Yaks can deploy an application, trigger a certain number of events of different types, then verify that produced metrics agree with the data that has been processed
- (Anomalies) Yaks can deploy an application with a wrong network configuration (cannot reach external system), then it verifies that the appropriate event is triggered in Prometheus to signal the anomaly

I think there are other use cases that are valid.

Looking around for Java Prometheus scrapers, I've only found this one: https://github.com/jmazzitelli/prometheus-scraper. I don't know if there are others that are up to date (or officially supported).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.