Add a /metrics endpoint for the server
This is for prometheus integration Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
This commit is contained in:
parent
4310e6d86f
commit
0e1452a4ec
79 changed files with 12803 additions and 7 deletions
2
vendor/github.com/golang/protobuf/proto/text_parser.go
generated
vendored
2
vendor/github.com/golang/protobuf/proto/text_parser.go
generated
vendored
|
@ -865,7 +865,7 @@ func (p *textParser) readAny(v reflect.Value, props *Properties) error {
|
|||
return p.readStruct(fv, terminator)
|
||||
case reflect.Uint32:
|
||||
if x, err := strconv.ParseUint(tok.value, 0, 32); err == nil {
|
||||
fv.SetUint(uint64(x))
|
||||
fv.SetUint(x)
|
||||
return nil
|
||||
}
|
||||
case reflect.Uint64:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue