Skip to content

Add tests for HorizonPrometheusExporter and our Custom Exporters#1105

Merged
tarrow merged 2 commits intomainfrom
test-horizon-prometheus-exporter
Apr 24, 2026
Merged

Add tests for HorizonPrometheusExporter and our Custom Exporters#1105
tarrow merged 2 commits intomainfrom
test-horizon-prometheus-exporter

Conversation

@tarrow
Copy link
Copy Markdown
Contributor

@tarrow tarrow commented Apr 21, 2026

Add some simple tests. These instantiate the existing exporters and check that their collection method works. Another test instantiates the exporter repository with our application config to check it is valid

Bug: T423429

Add some simple tests. These instantiate the existing exporters
and check that their collection method works. Another test
instantiates the exporter repository with our application config
to check it is valid

Bug: T423429
@tarrow tarrow force-pushed the test-horizon-prometheus-exporter branch from 6eca64d to 1eb71d7 Compare April 21, 2026 15:09
@tarrow tarrow marked this pull request as ready for review April 21, 2026 19:00
@tarrow tarrow requested a review from outdooracorn April 21, 2026 19:01
Copy link
Copy Markdown
Member

@outdooracorn outdooracorn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this; it looks good!

I've left some minor comments - take them or leave them :)

Comment thread tests/HorizonPrometheusExporter/ExporterRepositoryTest.php Outdated
Comment thread tests/Metrics/FailedQsBatchesTest.php
Comment thread tests/Metrics/PendingQsBatchesTest.php
Comment thread tests/Metrics/WikiEntityImportsTest.php
Co-authored-by: Ollie <43674967+outdooracorn@users.noreply.github.com>
@tarrow tarrow merged commit 99dfd9e into main Apr 24, 2026
5 checks passed
@tarrow tarrow deleted the test-horizon-prometheus-exporter branch April 24, 2026 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants