Skip to content

Commit

Permalink
Fix metrics typos
Browse files Browse the repository at this point in the history
  • Loading branch information
bryn committed Sep 11, 2023
1 parent 8f2f059 commit 0f14d40
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion apollo-router/src/configuration/metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions apollo-router/src/plugins/authorization/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
);
}

Expand Down

0 comments on commit 0f14d40

Please sign in to comment.