Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Add Prometheus metrics exporting #23

Merged
merged 9 commits into from
Sep 14, 2023
Merged

Add Prometheus metrics exporting #23

merged 9 commits into from
Sep 14, 2023

Conversation

ellie
Copy link
Contributor

@ellie ellie commented Sep 12, 2023

Useful for us to know what is going on

src/prometheus.rs Outdated Show resolved Hide resolved
@@ -90,7 +90,7 @@ async fn it_matches_django_capture_behaviour() -> anyhow::Result<()> {

let sink = MemorySink::default();
let timesource = FixedTime { time: case.now };
let app = router(timesource, sink.clone());
let app = router(timesource, sink.clone(), false);

let client = TestClient::new(app);
let mut req = client.post(&case.path).body(raw_body);
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: tests will break due to /e not being exposed anymore, I'll patch it myself to rewrite the path

@ellie ellie merged commit 3390610 into main Sep 14, 2023
4 checks passed
@ellie ellie deleted the ellie/metrics branch September 14, 2023 13:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants