Skip to content

Commit f40d35a

Browse files
committed
fix: lint
1 parent 1935ad8 commit f40d35a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.chloggen/fix_mdatagen-deprecated-metrics.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
change_type: enhancement
55

66
# The name of the component, or a single word describing the area of concern, (e.g. receiver/otlp)
7-
component: pkg/otelcol
7+
component: cmd/metadata
88

99
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
1010
note: "Introduce additional metadata (the version since the deprecation started, and the deprecation reason) for deprecated metrics."

cmd/mdatagen/internal/metric.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ func (s Stability) String() string {
6666
return fmt.Sprintf(" [%s]", s.Level.String())
6767
}
6868

69+
// Unmarshal decodes the stability configuration.
6970
// NOTE: confmap rejects unknown keys by default.
7071
// The "from" field cannot be tested via full metadata loading
7172
// unless WithIgnoreUnused() is used by the caller.

0 commit comments

Comments
 (0)