diff options
author | ncteisen <ncteisen@gmail.com> | 2018-03-07 10:14:22 -0800 |
---|---|---|
committer | ncteisen <ncteisen@gmail.com> | 2018-03-07 10:14:22 -0800 |
commit | d2365d615aa0b8c18d88997ff26ae145844a4d4e (patch) | |
tree | dd00fd14744cd51fa8c7cb4cc59a319b3ca254cd /src/proto | |
parent | 36e02bff2b5287e65ce92a8fd0d9a2b818462f5b (diff) |
Reviewer comments
Diffstat (limited to 'src/proto')
-rw-r--r-- | src/proto/grpc/channelz/channelz.proto | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/proto/grpc/channelz/channelz.proto b/src/proto/grpc/channelz/channelz.proto index f0f17e39e4..ea9636905d 100644 --- a/src/proto/grpc/channelz/channelz.proto +++ b/src/proto/grpc/channelz/channelz.proto @@ -109,10 +109,15 @@ message ChannelData { message ChannelTraceEvent { // High level description of the event. string description = 1; - // the severity of the trace event. Options are INFO, WARNING, and ERROR, - // which are represented by the values 1, 2, and 3, respectively. Any other - // value will be treated as ERROR. - int32 severity = 2; + // The supported severity levels of trace events. + enum Severity { + UNKNOWN = 0; + INFO = 1; + WARNING = 2; + ERROR = 3; + } + // the severity of the trace event + Severity severity = 2; // When this event occurred. google.protobuf.Timestamp timestamp = 3; // ref of referenced channel or subchannel. |