diff --git a/.changesets/fix_renee_quieres_queries.md b/.changesets/fix_renee_quieres_queries.md new file mode 100644 index 0000000000..76152d2cc8 --- /dev/null +++ b/.changesets/fix_renee_quieres_queries.md @@ -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 \ No newline at end of file diff --git a/apollo-router/src/services/layers/persisted_queries/mod.rs b/apollo-router/src/services/layers/persisted_queries/mod.rs index 0444590958..457ea67820 100644 --- a/apollo-router/src/services/layers/persisted_queries/mod.rs +++ b/apollo-router/src/services/layers/persisted_queries/mod.rs @@ -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(