Skip to content

Commit 1ac9e95

Browse files
Update opentelemetry-specification version to v1.42.0 (#6375)
Co-authored-by: Patrice Chalin <[email protected]>
1 parent c61a464 commit 1ac9e95

File tree

4 files changed

+226
-11
lines changed

4 files changed

+226
-11
lines changed

.gitmodules

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
[submodule "content-modules/opentelemetry-specification"]
99
path = content-modules/opentelemetry-specification
1010
url = https://github.com/open-telemetry/opentelemetry-specification.git
11-
spec-pin = v1.41.0
11+
spec-pin = v1.42.0
1212
[submodule "content-modules/community"]
1313
path = content-modules/community
1414
url = https://github.com/open-telemetry/community

scripts/content-modules/adjust-pages.pl

+8-9
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
my %versionsRaw = # Keyname must end with colons because the auto-version update script expects one
2626
qw(
27-
spec: 1.41.0
27+
spec: 1.42.0
2828
otlp: 1.5.0
2929
semconv: 1.30.0
3030
);
@@ -104,13 +104,13 @@ ($$$)
104104
return 0;
105105
}
106106

107-
sub patchEventAliases() {
108-
return unless $ARGV =~ /^tmp\/otel\/specification\/logs\//
109-
&& applyPatchOrPrintMsgIf('2025-01-23-event-aliases', 'spec', '1.41.0');
110-
111-
my $aliases = '^( - )(event-(api|sdk))$';
112-
s|$aliases|$1./$2|;
113-
}
107+
# sub patchEventAliases() {
108+
# return unless $ARGV =~ /^tmp\/otel\/specification\/logs\//
109+
# && applyPatchOrPrintMsgIf('2025-01-23-event-aliases', 'spec', '1.41.0');
110+
#
111+
# my $aliases = '^( - )(event-(api|sdk))$';
112+
# s|$aliases|$1./$2|;
113+
# }
114114

115115
sub patchSemConv1_30_0() {
116116
return unless $ARGV =~ /^tmp\/semconv\/docs\//
@@ -164,7 +164,6 @@ ()
164164
while(<>) {
165165
$lineNum++;
166166
last if /^--->?/;
167-
patchEventAliases();
168167
patchSemConv1_30_0();
169168
$frontMatterFromFile .= $_;
170169
}

static/refcache.json

+216
Original file line numberDiff line numberDiff line change
@@ -2507,6 +2507,10 @@
25072507
"StatusCode": 206,
25082508
"LastSeen": "2025-01-16T13:32:59.446378-05:00"
25092509
},
2510+
"https://github.com/Prometheus/docs/blob/777846211d502a287ab2b304cb515dc779de3474/content/docs/instrumenting/exposition_formats.md": {
2511+
"StatusCode": 206,
2512+
"LastSeen": "2025-02-18T15:49:01.466493-05:00"
2513+
},
25102514
"https://github.com/Prometheus/docs/blob/777846211d502a287ab2b304cb515dc779de3474/content/docs/instrumenting/exposition_formats.md#exposition-formats": {
25112515
"StatusCode": 200,
25122516
"LastSeen": "2025-02-06T02:08:12.345Z"
@@ -6575,6 +6579,14 @@
65756579
"StatusCode": 206,
65766580
"LastSeen": "2025-01-16T11:37:42.816792-05:00"
65776581
},
6582+
"https://github.com/open-telemetry/opentelemetry-configuration/blob/main/examples/sdk-config.yaml": {
6583+
"StatusCode": 206,
6584+
"LastSeen": "2025-02-18T15:49:03.302206-05:00"
6585+
},
6586+
"https://github.com/open-telemetry/opentelemetry-configuration/blob/main/examples/sdk-migration-config.yaml": {
6587+
"StatusCode": 206,
6588+
"LastSeen": "2025-02-18T15:49:02.655822-05:00"
6589+
},
65786590
"https://github.com/open-telemetry/opentelemetry-cpp": {
65796591
"StatusCode": 200,
65806592
"LastSeen": "2025-01-06T11:32:23.983579-05:00"
@@ -7207,6 +7219,10 @@
72077219
"StatusCode": 206,
72087220
"LastSeen": "2025-01-07T10:31:43.730419-05:00"
72097221
},
7222+
"https://github.com/open-telemetry/opentelemetry-go-contrib/blob/aeb198d6de25588afef49545cfa06533d0e67f1d/bridges/otelzap/core.go#L194-L244": {
7223+
"StatusCode": 200,
7224+
"LastSeen": "2025-02-18T20:50:12.345Z"
7225+
},
72107226
"https://github.com/open-telemetry/opentelemetry-go-contrib/blob/dafdad14b7858c7f491c8cb72e4bc7deaf9378e3/instrgen/README.md": {
72117227
"StatusCode": 206,
72127228
"LastSeen": "2025-01-17T13:21:30.685258Z"
@@ -9987,10 +10003,178 @@
998710003
"StatusCode": 200,
998810004
"LastSeen": "2025-02-06T02:19:12.345Z"
998910005
},
10006+
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.41.0/specification/common#attribute": {
10007+
"StatusCode": 200,
10008+
"LastSeen": "2025-02-18T20:50:12.345Z"
10009+
},
10010+
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.41.0/specification/compatibility/prometheus_and_openmetrics.md": {
10011+
"StatusCode": 206,
10012+
"LastSeen": "2025-02-18T15:48:32.733049-05:00"
10013+
},
10014+
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.41.0/specification/configuration/sdk-environment-variables.md": {
10015+
"StatusCode": 206,
10016+
"LastSeen": "2025-02-18T15:48:54.896052-05:00"
10017+
},
10018+
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.41.0/specification/context/api-propagators.md": {
10019+
"StatusCode": 206,
10020+
"LastSeen": "2025-02-18T15:48:42.470261-05:00"
10021+
},
10022+
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.41.0/specification/document-status.md": {
10023+
"StatusCode": 206,
10024+
"LastSeen": "2025-02-18T15:48:34.590453-05:00"
10025+
},
10026+
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.41.0/specification/logs/api.md": {
10027+
"StatusCode": 206,
10028+
"LastSeen": "2025-02-18T15:48:32.932795-05:00"
10029+
},
10030+
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.41.0/specification/logs/api.md#emit-a-logrecord": {
10031+
"StatusCode": 200,
10032+
"LastSeen": "2025-02-18T20:50:12.345Z"
10033+
},
999010034
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.41.0/specification/logs/api.md#logger": {
999110035
"StatusCode": 200,
999210036
"LastSeen": "2025-02-06T02:19:12.345Z"
999310037
},
10038+
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.41.0/specification/logs/data-model.md#field-eventname": {
10039+
"StatusCode": 200,
10040+
"LastSeen": "2025-02-18T20:50:12.345Z"
10041+
},
10042+
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.41.0/specification/logs/data-model.md#log-and-event-record-definition": {
10043+
"StatusCode": 200,
10044+
"LastSeen": "2025-02-18T20:50:12.345Z"
10045+
},
10046+
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.41.0/specification/metrics/api.md#instrument-advisory-parameters": {
10047+
"StatusCode": 200,
10048+
"LastSeen": "2025-02-18T20:50:12.345Z"
10049+
},
10050+
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.41.0/specification/resource/sdk.md": {
10051+
"StatusCode": 206,
10052+
"LastSeen": "2025-02-18T15:48:28.751624-05:00"
10053+
},
10054+
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.41.0/specification/resource/sdk.md#sdk-provided-resource-attributes": {
10055+
"StatusCode": 200,
10056+
"LastSeen": "2025-02-18T20:50:12.345Z"
10057+
},
10058+
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.41.0/specification/trace/api.md#set-status": {
10059+
"StatusCode": 200,
10060+
"LastSeen": "2025-02-18T20:50:12.345Z"
10061+
},
10062+
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.41.0/specification/trace/api.md#span": {
10063+
"StatusCode": 200,
10064+
"LastSeen": "2025-02-18T20:50:12.345Z"
10065+
},
10066+
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.41.0/specification/trace/api.md#spankind": {
10067+
"StatusCode": 200,
10068+
"LastSeen": "2025-02-18T20:50:12.345Z"
10069+
},
10070+
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.41.0/specification/trace/sdk.md#span-processor": {
10071+
"StatusCode": 200,
10072+
"LastSeen": "2025-02-18T20:50:12.345Z"
10073+
},
10074+
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.42.0/oteps/0035-opentelemetry-protocol.md": {
10075+
"StatusCode": 206,
10076+
"LastSeen": "2025-02-18T15:49:02.679076-05:00"
10077+
},
10078+
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.42.0/oteps/0152-telemetry-schemas.md": {
10079+
"StatusCode": 206,
10080+
"LastSeen": "2025-02-18T15:49:04.258874-05:00"
10081+
},
10082+
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.42.0/oteps/0232-maturity-of-otel.md#explanation": {
10083+
"StatusCode": 200,
10084+
"LastSeen": "2025-02-18T20:50:12.345Z"
10085+
},
10086+
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.42.0/oteps/logs/0091-logs-vocabulary.md": {
10087+
"StatusCode": 206,
10088+
"LastSeen": "2025-02-18T15:49:05.633812-05:00"
10089+
},
10090+
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.42.0/oteps/logs/0092-logs-vision.md": {
10091+
"StatusCode": 206,
10092+
"LastSeen": "2025-02-18T15:49:07.915352-05:00"
10093+
},
10094+
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.42.0/oteps/logs/0097-log-data-model.md": {
10095+
"StatusCode": 206,
10096+
"LastSeen": "2025-02-18T15:49:03.121255-05:00"
10097+
},
10098+
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.42.0/oteps/logs/0097-log-data-model.md#appendix-a-example-mappings": {
10099+
"StatusCode": 200,
10100+
"LastSeen": "2025-02-18T20:50:12.345Z"
10101+
},
10102+
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.42.0/oteps/logs/0150-logging-library-sdk.md": {
10103+
"StatusCode": 206,
10104+
"LastSeen": "2025-02-18T15:48:53.816777-05:00"
10105+
},
10106+
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.42.0/oteps/metrics/0003-measure-metric-type.md": {
10107+
"StatusCode": 206,
10108+
"LastSeen": "2025-02-18T15:49:04.269144-05:00"
10109+
},
10110+
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.42.0/oteps/metrics/0008-metric-observer.md": {
10111+
"StatusCode": 206,
10112+
"LastSeen": "2025-02-18T15:49:05.590752-05:00"
10113+
},
10114+
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.42.0/oteps/metrics/0009-metric-handles.md": {
10115+
"StatusCode": 206,
10116+
"LastSeen": "2025-02-18T15:49:07.507028-05:00"
10117+
},
10118+
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.42.0/oteps/metrics/0010-cumulative-to-counter.md": {
10119+
"StatusCode": 206,
10120+
"LastSeen": "2025-02-18T15:49:09.009451-05:00"
10121+
},
10122+
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.42.0/oteps/metrics/0049-metric-label-set.md": {
10123+
"StatusCode": 206,
10124+
"LastSeen": "2025-02-18T15:49:02.874191-05:00"
10125+
},
10126+
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.42.0/oteps/metrics/0070-metric-bound-instrument.md": {
10127+
"StatusCode": 206,
10128+
"LastSeen": "2025-02-18T15:49:12.797637-05:00"
10129+
},
10130+
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.42.0/oteps/metrics/0072-metric-observer.md": {
10131+
"StatusCode": 206,
10132+
"LastSeen": "2025-02-18T15:49:15.149625-05:00"
10133+
},
10134+
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.42.0/oteps/metrics/0080-remove-metric-gauge.md": {
10135+
"StatusCode": 206,
10136+
"LastSeen": "2025-02-18T15:49:18.403055-05:00"
10137+
},
10138+
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.42.0/oteps/metrics/0088-metric-instrument-optional-refinements.md": {
10139+
"StatusCode": 206,
10140+
"LastSeen": "2025-02-18T15:49:23.588078-05:00"
10141+
},
10142+
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.42.0/oteps/metrics/0090-remove-labelset-from-metrics-api.md": {
10143+
"StatusCode": 206,
10144+
"LastSeen": "2025-02-18T15:49:27.183928-05:00"
10145+
},
10146+
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.42.0/oteps/metrics/0098-metric-instruments-explained.md": {
10147+
"StatusCode": 206,
10148+
"LastSeen": "2025-02-18T15:49:30.157664-05:00"
10149+
},
10150+
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.42.0/oteps/metrics/0108-naming-guidelines.md": {
10151+
"StatusCode": 206,
10152+
"LastSeen": "2025-02-18T15:49:34.124814-05:00"
10153+
},
10154+
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.42.0/oteps/metrics/0113-exemplars.md": {
10155+
"StatusCode": 206,
10156+
"LastSeen": "2025-02-18T15:48:54.18727-05:00"
10157+
},
10158+
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.42.0/oteps/metrics/0126-Configurable-Metric-Aggregations.md": {
10159+
"StatusCode": 206,
10160+
"LastSeen": "2025-02-18T15:48:55.204211-05:00"
10161+
},
10162+
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.42.0/oteps/metrics/0131-otlp-export-behavior.md": {
10163+
"StatusCode": 206,
10164+
"LastSeen": "2025-02-18T15:49:02.418228-05:00"
10165+
},
10166+
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.42.0/oteps/metrics/0146-metrics-prototype-scenarios.md": {
10167+
"StatusCode": 206,
10168+
"LastSeen": "2025-02-18T15:48:57.567607-05:00"
10169+
},
10170+
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.42.0/oteps/profiles/0239-profiles-data-model.md#message-mapping": {
10171+
"StatusCode": 200,
10172+
"LastSeen": "2025-02-18T20:51:12.345Z"
10173+
},
10174+
"https://github.com/open-telemetry/opentelemetry-specification/tree/v1.42.0/oteps/trace/0235-sampling-threshold-in-trace-state.md": {
10175+
"StatusCode": 206,
10176+
"LastSeen": "2025-02-18T15:49:01.492329-05:00"
10177+
},
999410178
"https://github.com/open-telemetry/opentelemetry-swift": {
999510179
"StatusCode": 206,
999610180
"LastSeen": "2025-01-13T11:43:31.834306-05:00"
@@ -11635,6 +11819,14 @@
1163511819
"StatusCode": 200,
1163611820
"LastSeen": "2025-02-06T02:21:12.345Z"
1163711821
},
11822+
"https://github.com/prometheus/OpenMetrics/blob/1386544931307dff279688f332890c31b6c5de36/specification/OpenMetrics.md#protobuf-format": {
11823+
"StatusCode": 200,
11824+
"LastSeen": "2025-02-18T20:51:12.345Z"
11825+
},
11826+
"https://github.com/prometheus/OpenMetrics/blob/1386544931307dff279688f332890c31b6c5de36/specification/OpenMetrics.md#text-format": {
11827+
"StatusCode": 200,
11828+
"LastSeen": "2025-02-18T20:51:12.345Z"
11829+
},
1163811830
"https://github.com/prometheus/OpenMetrics/blob/v1.0.0/specification/OpenMetrics.md#counter-1": {
1163911831
"StatusCode": 200,
1164011832
"LastSeen": "2025-02-06T02:21:12.345Z"
@@ -18103,6 +18295,30 @@
1810318295
"StatusCode": 206,
1810418296
"LastSeen": "2025-01-30T16:54:36.793368-05:00"
1810518297
},
18298+
"https://www.w3.org/TR/trace-context-2": {
18299+
"StatusCode": 206,
18300+
"LastSeen": "2025-02-18T15:48:55.3615-05:00"
18301+
},
18302+
"https://www.w3.org/TR/trace-context-2/": {
18303+
"StatusCode": 206,
18304+
"LastSeen": "2025-02-18T15:49:06.548926-05:00"
18305+
},
18306+
"https://www.w3.org/TR/trace-context-2/#random-trace-id-flag": {
18307+
"StatusCode": 200,
18308+
"LastSeen": "2025-02-18T20:51:12.345Z"
18309+
},
18310+
"https://www.w3.org/TR/trace-context-2/#randomness-of-trace-id": {
18311+
"StatusCode": 200,
18312+
"LastSeen": "2025-02-18T20:51:12.345Z"
18313+
},
18314+
"https://www.w3.org/TR/trace-context-2/#sampled-flag": {
18315+
"StatusCode": 200,
18316+
"LastSeen": "2025-02-18T20:51:12.345Z"
18317+
},
18318+
"https://www.w3.org/TR/trace-context-2/#tracestate-header": {
18319+
"StatusCode": 200,
18320+
"LastSeen": "2025-02-18T20:51:12.345Z"
18321+
},
1810618322
"https://www.w3.org/TR/trace-context/": {
1810718323
"StatusCode": 206,
1810818324
"LastSeen": "2025-01-06T11:32:23.294627-05:00"

0 commit comments

Comments
 (0)