diff --git a/apollo-router/src/configuration/metrics.rs b/apollo-router/src/configuration/metrics.rs index eb459b92e9..1bd5db048a 100644 --- a/apollo-router/src/configuration/metrics.rs +++ b/apollo-router/src/configuration/metrics.rs @@ -263,7 +263,7 @@ impl Metrics { log_usage_metrics!( value.apollo.router.config.traffic_shaping, "$.traffic_shaping", - opt.router.timout, + opt.router.timeout, "$$[?(@.router.timeout)]", opt.router.rate_limit, "$.router.global_rate_limit", diff --git a/apollo-router/src/configuration/snapshots/apollo_router__configuration__metrics__test__metrics@entities.router.yaml.snap b/apollo-router/src/configuration/snapshots/apollo_router__configuration__metrics__test__metrics@entities.router.yaml.snap index e4fe10d957..dc5ccc2c68 100644 --- a/apollo-router/src/configuration/snapshots/apollo_router__configuration__metrics__test__metrics@entities.router.yaml.snap +++ b/apollo-router/src/configuration/snapshots/apollo_router__configuration__metrics__test__metrics@entities.router.yaml.snap @@ -8,7 +8,7 @@ value.apollo.router.config.entities: value.apollo.router.config.traffic_shaping: - 1 - opt__router__rate_limit__: false - opt__router__timout__: false + opt__router__timeout__: false opt__subgraph__compression__: false opt__subgraph__deduplicate_query__: false opt__subgraph__http2__: false diff --git a/apollo-router/src/configuration/snapshots/apollo_router__configuration__metrics__test__metrics@traffic_shaping.router.yaml.snap b/apollo-router/src/configuration/snapshots/apollo_router__configuration__metrics__test__metrics@traffic_shaping.router.yaml.snap index ab53cd0460..87a594c8fa 100644 --- a/apollo-router/src/configuration/snapshots/apollo_router__configuration__metrics__test__metrics@traffic_shaping.router.yaml.snap +++ b/apollo-router/src/configuration/snapshots/apollo_router__configuration__metrics__test__metrics@traffic_shaping.router.yaml.snap @@ -5,7 +5,7 @@ expression: "&metrics.metrics" value.apollo.router.config.traffic_shaping: - 1 - opt__router__rate_limit__: true - opt__router__timout__: true + opt__router__timeout__: true opt__subgraph__compression__: true opt__subgraph__deduplicate_query__: true opt__subgraph__http2__: true diff --git a/apollo-router/src/plugins/authorization/mod.rs b/apollo-router/src/plugins/authorization/mod.rs index 7bc42dd114..489f02a4c7 100644 --- a/apollo-router/src/plugins/authorization/mod.rs +++ b/apollo-router/src/plugins/authorization/mod.rs @@ -482,9 +482,9 @@ impl Plugin for AuthorizationPlugin { if needs_authenticated || needs_requires_scopes { tracing::info!( monotonic_counter.apollo.router.operations.authorization = 1u64, - filtered = filtered, - authenticated = needs_authenticated, - requires_scopes = needs_requires_scopes, + authorization.filtered = filtered, + authorization.needs_authenticated = needs_authenticated, + authorization.needs_requires_scopes = needs_requires_scopes, ); }