From ecd42a4def62ae6389770860b933a455dae9268d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9e=20Kooi?= Date: Tue, 26 Nov 2024 10:48:35 +0100 Subject: [PATCH 1/2] Fix typo in persisted query metric attribute --- apollo-router/src/services/layers/persisted_queries/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( From c23804445253c7601fad1f70d91719720c6c0cf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9e=20Kooi?= Date: Tue, 26 Nov 2024 10:56:12 +0100 Subject: [PATCH 2/2] changeset --- .changesets/fix_renee_quieres_queries.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .changesets/fix_renee_quieres_queries.md 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