|
155 | 155 | }{$1/v1.52/$3}gx; |
156 | 156 | } |
157 | 157 |
|
158 | | -sub patchSpec_because_of_SemConv_DockerAPIVersions() { |
159 | | - return unless |
160 | | - # Restrict the patch to the proper spec, and section or file: |
161 | | - $ARGV =~ m|^tmp/semconv/docs/| |
162 | | - && |
163 | | - applyPatchOrPrintMsgIf('2025-11-21-docker-api-versions', 'semconv', '1.38.0'); |
164 | | - |
165 | | - s{ |
166 | | - (https://docs.docker.com/reference/api/engine/version)/v1.(43|51)/(\#tag/) |
167 | | - }{$1/v1.52/$3}gx; |
168 | | -} |
169 | | - |
170 | 158 | sub patchSpec_because_of_SemConv_DatabaseRenamedToDb() { |
171 | 159 | return unless |
172 | 160 | # Restrict the patch to the proper spec, and section or file: |
173 | 161 | # Note that here we replace links into semconv from the spec |
174 | 162 | $ARGV =~ m|^tmp/otel/specification/| |
175 | | - && applyPatchOrPrintMsgIf('2025-11-26-database-section-renamed-to-db', 'semconv', '1.39.0'); |
| 163 | + && applyPatchOrPrintMsgIf('2025-11-26-database-section-renamed-to-db', 'spec', '1.53.0'); |
176 | 164 |
|
177 | 165 | # Give infor about the patch, see: |
178 | 166 | # https://github.com/open-telemetry/opentelemetry.io/pull/8311#issue-3577941378 |
|
184 | 172 | sub patchSpec_because_of_SemConv_MetricRPCServerDurationRenamedToMetricRPCServerCallDuration() { |
185 | 173 | return unless |
186 | 174 | $ARGV =~ m|^tmp/otel/specification/| |
187 | | - && applyPatchOrPrintMsgIf('2025-12-05-metric-rpc-server-duration-renamed-to-rpc-server-call-duration', 'semconv', '1.39.0'); |
| 175 | + && applyPatchOrPrintMsgIf('2025-12-05-metric-rpc-server-duration-renamed-to-rpc-server-call-duration', 'spec', '1.53.0'); |
188 | 176 |
|
189 | 177 | # Give infor about the patch, see: |
190 | 178 | # https://github.com/open-telemetry/opentelemetry-specification/pull/4778 |
191 | 179 |
|
192 | 180 | # Replace the old metric anchor with the new one |
| 181 | + # cSpell:disable-next-line |
193 | 182 | s|#metric-rpcserverduration|#metric-rpcservercallduration|g; |
194 | 183 | } |
195 | 184 |
|
|
278 | 267 | s|(\]\()/docs/|$1$specBasePath/semconv/|g; |
279 | 268 | s|(\]:\s*)/docs/|$1$specBasePath/semconv/|; |
280 | 269 | s|\((/model/.*?)\)|($semconvSpecRepoUrl/tree/v$semconvVers/$1)|g; |
281 | | - |
282 | | - patchSpec_because_of_SemConv_DockerAPIVersions(); |
283 | 270 | } |
284 | 271 |
|
285 | 272 |
|
|
0 commit comments