Skip to content

Commit 7795041

Browse files
committed
Reduce span attributes to clean up logs on startup
1 parent e586a9b commit 7795041

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

crates/apollo-mcp-server/src/operations/operation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ impl Operation {
4848
self.inner
4949
}
5050

51-
#[tracing::instrument(skip(graphql_schema, custom_scalar_map))]
51+
#[tracing::instrument(skip_all, name = "load_tool")]
5252
pub fn from_document(
5353
raw_operation: RawOperation,
5454
graphql_schema: &GraphqlSchema,

crates/apollo-schema-index/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ pub struct SchemaIndex {
119119
}
120120

121121
impl SchemaIndex {
122+
#[tracing::instrument(skip_all, name = "schema_index")]
122123
pub fn new(
123124
schema: &Valid<Schema>,
124125
root_types: EnumSet<OperationType>,

0 commit comments

Comments
 (0)