Skip to content

Commit 6ed4ca3

Browse files
author
Samuel Vazquez
committed
feat: make process_batch and process_batches spans trace level
1 parent d5b17f1 commit 6ed4ca3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apollo-router/src/services/subgraph_service.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -806,7 +806,7 @@ fn http_response_to_graphql_response(
806806
}
807807

808808
/// Process a single subgraph batch request
809-
#[instrument(skip(client_factory, contexts, request))]
809+
#[instrument(skip(level="trace", client_factory, contexts, request))]
810810
pub(crate) async fn process_batch(
811811
client_factory: HttpClientServiceFactory,
812812
service: String,
@@ -1113,7 +1113,7 @@ type BatchInfo = (
11131113
);
11141114

11151115
/// Collect all batch requests and process them concurrently
1116-
#[instrument(skip_all)]
1116+
#[instrument(level="trace", skip_all)]
11171117
pub(crate) async fn process_batches(
11181118
client_factory: HttpClientServiceFactory,
11191119
svc_map: HashMap<String, Vec<BatchQueryInfo>>,

0 commit comments

Comments
 (0)