fix: http handler: use RequestSpan

This commit is contained in:
Christian Schwarz
2023-03-20 17:17:52 +01:00
parent 68b3e68642
commit 751c93c8f7

View File

@@ -1175,7 +1175,7 @@ pub fn make_router(
"/v1/tenant/:tenant_id/timeline/:timeline_id/layer/:layer_file_name",
|r| RequestSpan(evict_timeline_layer_handler).handle(r),
)
.put("/v1/disk_usage_eviction/run", disk_usage_eviction_run)
.put("/v1/disk_usage_eviction/run", |r| RequestSpan(disk_usage_eviction_run).handle(r))
.put(
"/v1/tenant/:tenant_id/break",
testing_api!("set tenant state to broken", handle_tenant_break),