Update Prometheus client to latest version
Also let Prometheus export process and Go metrics
This commit is contained in:
1 parent
9439606c57
commit
d14502e071
852 files changed
+115709
-101480
No files matched your search
+1
@@ -200,6 +200,7 @@ type stringModeStringEncoder struct {
|
||||
|
||||
func (encoder *stringModeStringEncoder) Encode(ptr unsafe.Pointer, stream *Stream) {
|
||||
tempStream := encoder.cfg.BorrowStream(nil)
|
||||
tempStream.Attachment = stream.Attachment
|
||||
defer encoder.cfg.ReturnStream(tempStream)
|
||||
encoder.elemEncoder.Encode(ptr, tempStream)
|
||||
stream.WriteString(string(tempStream.Buffer()))
|
||||
|
||||
Reference in new issue
Block a user