Fields are attached as a "simple" google.protobuf.Struct which basically implements a map[string]Value where Value can be one of nil, float64, string, bool, google.protobuf.Struct, []Value.
Errors are put under the Error field; error fields (if present) are merged.
This PR adds a
rpc Logs(stream LogMessage)
to themonitor
API.monitor/monitor.proto
, the rest is generated code.google.protobuf.Struct
which basically implements amap[string]Value
whereValue
can be one ofnil
,float64
,string
,bool
,google.protobuf.Struct
,[]Value
.Error
field; error fields (if present) are merged.