Skip to content

Commit

Permalink
Fix typo in persisted query metric attribute (#6332)
Browse files Browse the repository at this point in the history
  • Loading branch information
goto-bus-stop authored Nov 26, 2024
1 parent 5d25d92 commit 5cda200
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changesets/fix_renee_quieres_queries.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
### Fix typo in persisted query metric attribute ([PR #6332](https://github.com/apollographql/router/pull/6332))

The `apollo.router.operations.persisted_queries` metric reports an attribute when a persisted query was not found.
Previously, the attribute name was `persisted_quieries.not_found`, with one `i` too many. Now it's `persisted_queries.not_found`.

By [@goto-bus-stop](https://github.com/goto-bus-stop) in https://github.com/apollographql/router/pull/6332
2 changes: 1 addition & 1 deletion apollo-router/src/services/layers/persisted_queries/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ impl PersistedQueryLayer {
} else {
tracing::info!(
monotonic_counter.apollo.router.operations.persisted_queries = 1u64,
persisted_quieries.not_found = true
persisted_queries.not_found = true
);
// if APQ is not enabled, return an error indicating the query was not found
Err(supergraph_err_operation_not_found(
Expand Down

0 comments on commit 5cda200

Please sign in to comment.