Skip to content

Commit

Permalink
Revert operation suggestion, operation should be extracted before the…
Browse files Browse the repository at this point in the history
… subgraph service.
  • Loading branch information
bryn committed Apr 20, 2022
1 parent 609e19a commit 2a472b5
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions apollo-router/src/plugins/telemetry/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -463,15 +463,6 @@ impl Telemetry {
.body()
.operation_name
.clone()
.or_else(|| {
http_request
.url()
.query()
.and_then(|query| {
graphql::Request::from_urlencoded_query(query.to_string()).ok()
})
.and_then(|q| q.operation_name)
})
.unwrap_or_default();
let client_name = headers
.get(&client_name_header)
Expand Down

0 comments on commit 2a472b5

Please sign in to comment.