From 23c969ed39be1641bab5f17e500ffee3911b4654 Mon Sep 17 00:00:00 2001 From: April Ayres Date: Tue, 15 Aug 2023 15:20:29 -0700 Subject: [PATCH] Add observability tags to plugin protobuf. --- internal/proto/controller/api/resources/plugins/v1/plugin.proto | 2 +- sdk/pbs/controller/api/resources/plugins/plugin.pb.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/proto/controller/api/resources/plugins/v1/plugin.proto b/internal/proto/controller/api/resources/plugins/v1/plugin.proto index f5059e7da..b37a45fcf 100644 --- a/internal/proto/controller/api/resources/plugins/v1/plugin.proto +++ b/internal/proto/controller/api/resources/plugins/v1/plugin.proto @@ -9,7 +9,7 @@ option go_package = "github.com/hashicorp/boundary/sdk/pbs/controller/api/resour message PluginInfo { // Output only. The ID of the Plugin. - string id = 1; // @gotags: `class:"public"` + string id = 1; // @gotags: `class:"public" eventstream:"observation"` // Output only. The name of the plugin resource in boundary, if any. string name = 2; // @gotags: `class:"public"` diff --git a/sdk/pbs/controller/api/resources/plugins/plugin.pb.go b/sdk/pbs/controller/api/resources/plugins/plugin.pb.go index 881ff34bd..8f423a056 100644 --- a/sdk/pbs/controller/api/resources/plugins/plugin.pb.go +++ b/sdk/pbs/controller/api/resources/plugins/plugin.pb.go @@ -29,7 +29,7 @@ type PluginInfo struct { unknownFields protoimpl.UnknownFields // Output only. The ID of the Plugin. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"` // Output only. The name of the plugin resource in boundary, if any. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" class:"public"` // @gotags: `class:"public"` // Output only. The description of the plugin in boundary, if any.