Skip to content

Commit 78b2c9a

Browse files
committed
notes
1 parent 9a65047 commit 78b2c9a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

expfmt/encode.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,8 @@ import (
2121
"google.golang.org/protobuf/encoding/protodelim"
2222
"google.golang.org/protobuf/encoding/prototext"
2323

24-
"github.com/prometheus/common/model"
25-
2624
"github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg"
25+
"github.com/prometheus/common/model"
2726

2827
dto "github.com/prometheus/client_model/go"
2928
)

model/metric.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ const (
5858
type EscapingScheme int
5959

6060
const (
61-
// NoEscaping indicates that a name will not be escaped.
61+
// NoEscaping indicates that a name will not be escaped. Unescaped names that
62+
// do not conform to the legacy validity check will use a new exposition
63+
// format syntax that will be officially standardized in future versions.
6264
NoEscaping EscapingScheme = iota
6365

6466
// UnderscoreEscaping replaces all legacy-invalid characters with underscores.

0 commit comments

Comments
 (0)