Skip to content

Commit c006b31

Browse files
authored
Add known issue to v0.127.0 CHANGELOG.md notes (#6326)
* Add known issue open-telemetry/opentelemetry-collector-contrib#40722 to v0.127.0 CHANGELOG.md notes, disable test coverage for labels
1 parent e227abb commit c006b31

File tree

3 files changed

+47
-33
lines changed

3 files changed

+47
-33
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@
77
This Splunk OpenTelemetry Collector release includes changes from the [opentelemetry-collector v0.127.0](https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.127.0)
88
and the [opentelemetry-collector-contrib v0.127.0](https://github.com/open-telemetry/opentelemetry-collector-contrib/releases/tag/v0.127.0) releases where appropriate.
99

10+
### ❗ Known Issues ❗
11+
12+
- **`simpleprometheusreceiver`: Metrics from this receiver may be missing labels or exhibit unexpected label behavior**
13+
An issue has been identified in this receiver where labels are not being passed and processed correctly.
14+
This means Prometheus metrics may be missing expected labels or exhibit unexpected label behavior,
15+
which can affect internal Collector processing as well as downstream dashboards, alerts, and metric analysis.
16+
See contrib issue [#40722](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/40722) for more details on this bug.
17+
1018
### 🛑 Breaking changes 🛑
1119

1220
- (Contrib) `sqlserverreceiver`: Zero values in delta attributes will be reported in top query collection. ([#40041](https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/40041))

tests/general/discoverymode/testdata/expected/docker-observer-internal-prometheus-expected.yaml

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,22 @@ resourceMetrics:
3232
dataPoints:
3333
- asDouble: 0
3434
attributes:
35-
- key: label_five
36-
value:
37-
stringValue: actual.label.five.value
38-
- key: label_four
39-
value:
40-
stringValue: actual.label.four.value
41-
- key: label_one
42-
value:
43-
stringValue: actual.label.one.value
44-
- key: label_three
45-
value:
46-
stringValue: actual.label.three.value
47-
- key: label_two
48-
value:
49-
stringValue: actual.label.two.value
35+
#. . TODO: Re-enable test coverage after https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/40722
36+
# - key: label_five
37+
# value:
38+
# stringValue: actual.label.five.value
39+
# - key: label_four
40+
# value:
41+
# stringValue: actual.label.four.value
42+
# - key: label_one
43+
# value:
44+
# stringValue: actual.label.one.value
45+
# - key: label_three
46+
# value:
47+
# stringValue: actual.label.three.value
48+
# - key: label_two
49+
# value:
50+
# stringValue: actual.label.two.value
5051
timeUnixNano: "1000000"
5152
metadata:
5253
- key: prometheus.type

tests/general/discoverymode/testdata/expected/host-observer-internal-prometheus-expected.yaml

Lines changed: 23 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,19 @@ resourceMetrics:
44
- key: url.scheme
55
value:
66
stringValue: http
7-
- key: label_one
8-
value:
9-
stringValue: actual.label.one.value.from.env.var
10-
- key: label_three
11-
value:
12-
stringValue: actual.label.three.value.from.cmdline.property
13-
- key: label_two
14-
value:
15-
stringValue: actual.label.two.value.from.env.var
7+
# TODO: Re-enable test coverage after https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/40722
8+
# - key: label_one
9+
# value:
10+
# stringValue: actual.label.one.value.from.env.var
11+
# - key: label_three
12+
# value:
13+
# stringValue: actual.label.three.value.from.cmdline.property
14+
# - key: label_two
15+
# value:
16+
# stringValue: actual.label.two.value.from.env.var
17+
# - key: net.host.port
18+
# value:
19+
# stringValue: "52144"
1620
- key: net.host.port
1721
value:
1822
stringValue: "52144"
@@ -47,15 +51,16 @@ resourceMetrics:
4751
dataPoints:
4852
- asDouble: 21.150509204
4953
attributes:
50-
- key: label_one
51-
value:
52-
stringValue: actual.label.one.value.from.env.var
53-
- key: label_three
54-
value:
55-
stringValue: actual.label.three.value.from.cmdline.property
56-
- key: label_two
57-
value:
58-
stringValue: actual.label.two.value.from.env.var
54+
# TODO: Re-enable test coverage after https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/40722
55+
# - key: label_one
56+
# value:
57+
# stringValue: actual.label.one.value.from.env.var
58+
# - key: label_three
59+
# value:
60+
# stringValue: actual.label.three.value.from.cmdline.property
61+
# - key: label_two
62+
# value:
63+
# stringValue: actual.label.two.value.from.env.var
5964
startTimeUnixNano: "1000000"
6065
timeUnixNano: "2000000"
6166
isMonotonic: true

0 commit comments

Comments
 (0)