-
Task
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
None
-
None
-
False
-
-
False
-
-
At the moment, we have several IQE tests that use a prometheus instance to push mock metrics and validate that these metrics are correctly ingested by the swatch-metrics.
One of these tests is test_verify_metering_operation_for_events_received_from_prometheus_for_openshift_products.
The idea of this task is to document how to run this test locally against a local swatch metrics service and a local prometheus service.
Additionally, adds a script to push metrics into this local prometheus service.
Acceptance Criteria
- Add a new prometheus folder under "config/prometheus" including a docker-compose file to start up the prometheus service that we'll use for local testing.
- The image to use should be the one from
SWATCH-3640. - Document how to run the test "test_verify_metering_operation_for_events_received_from_prometheus_for_openshift_products" locally
- Document how to run a simple scenario by pushing data into the local prometheus service and checking the events are being processed.
- is blocked by
-
SWATCH-3640 Convert swatch-mock-prometheus into a test component
-
- Closed
-