From 9485d97d4f7d0dbe7f0e2d146d5712d429aacc90 Mon Sep 17 00:00:00 2001 From: Zach Reyes Date: Thu, 13 Oct 2022 01:15:55 -0400 Subject: [PATCH] Fix o11y typo --- gcp/observability/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcp/observability/config.go b/gcp/observability/config.go index 1920f086479f..0b6067d8e770 100644 --- a/gcp/observability/config.go +++ b/gcp/observability/config.go @@ -162,7 +162,7 @@ type clientRPCEvents struct { // here “goo” is the package name. // 2."goo.Foo/*" selects all methods from service "goo.Foo" // 3. "*" selects all methods from all services. - Methods []string `json:"method,omitempty"` + Methods []string `json:"methods,omitempty"` // Exclude represents whether the methods denoted by Methods should be // excluded from logging. The default value is false, meaning the methods // denoted by Methods are included in the logging. If Exclude is true, the @@ -200,7 +200,7 @@ type serverRPCEvents struct { // here “goo” is the package name. // 2."goo.Foo/*" selects all methods from service "goo.Foo" // 3. "*" selects all methods from all services. - Methods []string `json:"method,omitempty"` + Methods []string `json:"methods,omitempty"` // Exclude represents whether the methods denoted by Methods should be // excluded from logging. The default value is false, meaning the methods // denoted by Methods are included in the logging. If Exclude is true, the