Update Prometheus client to latest version

Also let Prometheus export process and Go metrics
This commit is contained in:
Bryan Boreham committed 2020-08-04 10:11:28 +00:00
1 parent 9439606c57
commit d14502e071
852 files changed
+115709 -101480

No files matched your search

+1
View File
@@ -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()))