Repository: ogen-go/ogen
Pull request #471 (2022-07-11 03:21:30)

chore(deps): bump go.opentelemetry.io/otel from 1.7.0 to 1.8.0
Bumps [go.opentelemetry.io/otel](https://github.com/open-telemetry/opentelemetry-go) from 1.7.0 to 1.8.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md">go.opentelemetry.io/otel's changelog</a>.</em></p>
<blockquote>
<h2>[1.8.0/0.31.0] - 2022-07-08</h2>
<h3>Added</h3>
<ul>
<li>Add support for <code>opentracing.TextMap</code> format in the <code>Inject</code> and <code>Extract</code> methods
of the <code>&quot;go.opentelemetry.io/otel/bridge/opentracing&quot;.BridgeTracer</code> type. (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-go/issues/2911">#2911</a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>The <code>crosslink</code> make target has been updated to use the <code>go.opentelemetry.io/build-tools/crosslink</code> package. (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-go/issues/2886">#2886</a>)</li>
<li>In the <code>go.opentelemetry.io/otel/sdk/instrumentation</code> package rename <code>Library</code> to <code>Scope</code> and alias <code>Library</code> as <code>Scope</code> (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-go/issues/2976">#2976</a>)</li>
<li>Move metric no-op implementation form <code>nonrecording</code> to <code>metric</code> package. (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-go/issues/2866">#2866</a>)</li>
</ul>
<h3>Removed</h3>
<ul>
<li>Support for go1.16. Support is now only for go1.17 and go1.18 (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-go/issues/2917">#2917</a>)</li>
</ul>
<h3>Deprecated</h3>
<ul>
<li>The <code>Library</code> struct in the <code>go.opentelemetry.io/otel/sdk/instrumentation</code> package is deprecated.
Use the equivalent <code>Scope</code> struct instead. (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-go/issues/2977">#2977</a>)</li>
<li>The <code>ReadOnlySpan.InstrumentationLibrary</code> method from the <code>go.opentelemetry.io/otel/sdk/trace</code> package is deprecated.
Use the equivalent <code>ReadOnlySpan.InstrumentationScope</code> method instead. (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-go/issues/2977">#2977</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/open-telemetry/opentelemetry-go/commit/08ff959fc4eb8d4b7adf568fab7fa9bc050ceb0b"><code>08ff959</code></a> Release prep 1.8.0 (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-go/issues/3001">#3001</a>)</li>
<li><a href="https://github.com/open-telemetry/opentelemetry-go/commit/eb9e0583f748c09454499f3e212c4bb895370729"><code>eb9e058</code></a> Add workflow to automate bundling dependabot PRs (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-go/issues/2997">#2997</a>)</li>
<li><a href="https://github.com/open-telemetry/opentelemetry-go/commit/ac0221e3a39e4734a1db81b20552da8040595550"><code>ac0221e</code></a> Add a release template (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-go/issues/2863">#2863</a>)</li>
<li><a href="https://github.com/open-telemetry/opentelemetry-go/commit/8b89e49f711b088232129cced09977ca1de6bd3c"><code>8b89e49</code></a> Feat/bridge support text map (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-go/issues/2911">#2911</a>)</li>
<li><a href="https://github.com/open-telemetry/opentelemetry-go/commit/575e1bb27025c73fd76f1e6b9dc2727b85867fdc"><code>575e1bb</code></a> Deprecate Library and move all uses to Scope (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-go/issues/2977">#2977</a>)</li>
<li><a href="https://github.com/open-telemetry/opentelemetry-go/commit/5795c70e0c80d4ae71b83b75c284964557ccfe97"><code>5795c70</code></a> added traces.txt to gitignore for fib (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-go/issues/2993">#2993</a>)</li>
<li><a href="https://github.com/open-telemetry/opentelemetry-go/commit/376973c2d849168655b56a7af382d36fbe6ac2a6"><code>376973c</code></a> typo fix (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-go/issues/2991">#2991</a>)</li>
<li><a href="https://github.com/open-telemetry/opentelemetry-go/commit/c2dc940e0b48e61712e4f8f6f2320d8fd4c9aac6"><code>c2dc940</code></a> fix typo (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-go/issues/2986">#2986</a>)</li>
<li><a href="https://github.com/open-telemetry/opentelemetry-go/commit/36b37c4af5780a543f746d872fa134f545b8b4c3"><code>36b37c4</code></a> Update getting-started.md (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-go/issues/2984">#2984</a>)</li>
<li><a href="https://github.com/open-telemetry/opentelemetry-go/commit/ef6c0da0de3b39c20a753354446807d7577aca61"><code>ef6c0da</code></a> docs(website_docs): fix exporting_data.md and getting-started.md toc (<a href="https://github-redirect.dependabot.com/open-telemetry/opentelemetry-go/issues/2930">#2930</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/open-telemetry/opentelemetry-go/compare/v1.7.0...v1.8.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=go.opentelemetry.io/otel&package-manager=go_modules&previous-version=1.7.0&new-version=1.8.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>

codecov[bot]: # [Codecov](https://codecov.io/gh/ogen-go/ogen/pull/471?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ogen-go) Report
> Merging [#471](https://codecov.io/gh/ogen-go/ogen/pull/471?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ogen-go) (192dcfe) into [main](https://codecov.io/gh/ogen-go/ogen/commit/7a0510ee4a5e0540146ac54cd45327b5994ebaa2?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ogen-go) (7a0510e) will **increase** coverage by `0.02%`.
> The diff coverage is `n/a`.

```diff
@@            Coverage Diff             @@
##             main     #471      +/-   ##
==========================================
+ Coverage   70.15%   70.18%   +0.02%     
==========================================
  Files         145      145              
  Lines       10628    10628              
==========================================
+ Hits         7456     7459       +3     
+ Misses       2723     2721       -2     
+ Partials      449      448       -1     
```


| [Impacted Files](https://codecov.io/gh/ogen-go/ogen/pull/471?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ogen-go) | Coverage Δ | |
|---|---|---|
| [gen/genctx.go](https://codecov.io/gh/ogen-go/ogen/pull/471/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ogen-go#diff-Z2VuL2dlbmN0eC5nbw==) | `87.50% <0.00%> (+7.50%)` | :arrow_up: |

------

[Continue to review full report at Codecov](https://codecov.io/gh/ogen-go/ogen/pull/471?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ogen-go).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ogen-go)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/ogen-go/ogen/pull/471?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ogen-go). Last update [7a0510e...192dcfe](https://codecov.io/gh/ogen-go/ogen/pull/471?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ogen-go). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ogen-go).


Patch:
diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commitlint.yml
index e336973a..61048b2b 100644
--- a/.github/workflows/commitlint.yml
+++ b/.github/workflows/commitlint.yml
@@ -4,7 +4,7 @@ on: [pull_request]
 jobs:
   commitlint:
     runs-on: ubuntu-latest
-    if: github.actor != 'dependabot[bot]'
+    if: github.event.pull_request.user.login != 'dependabot[bot]'
     steps:
       - uses: actions/checkout@v3
         with:
diff --git a/Makefile b/Makefile
index 054f53ff..2ea50448 100644
--- a/Makefile
+++ b/Makefile
@@ -33,5 +33,5 @@ tidy_examples:
 clean: tidy generate tidy_examples examples
 
 commit_gen:
-	git add ./examples ./internal/*/*_gen.go
+	git add ./examples ./internal/*/*_gen*.go
 	git commit -m "chore(gen): update"
diff --git a/examples/ex_2ch/oas_cfg_gen.go b/examples/ex_2ch/oas_cfg_gen.go
index f53eb5f2..8a1dce12 100644
--- a/examples/ex_2ch/oas_cfg_gen.go
+++ b/examples/ex_2ch/oas_cfg_gen.go
@@ -9,7 +9,6 @@ import (
 	"github.com/go-faster/errors"
 	"go.opentelemetry.io/otel"
 	"go.opentelemetry.io/otel/metric"
-	"go.opentelemetry.io/otel/metric/nonrecording"
 	"go.opentelemetry.io/otel/trace"
 
 	ht "github.com/ogen-go/ogen/http"
@@ -58,7 +57,7 @@ type config struct {
 func newConfig(opts ...Option) config {
 	cfg := config{
 		TracerProvider:     otel.GetTracerProvider(),
-		MeterProvider:      nonrecording.NewNoopMeterProvider(),
+		MeterProvider:      metric.NewNoopMeterProvider(),
 		Client:             http.DefaultClient,
 		NotFound:           http.NotFound,
 		ErrorHandler:       respondError,
diff --git a/examples/ex_ent/oas_cfg_gen.go b/examples/ex_ent/oas_cfg_gen.go
index f53eb5f2..8a1dce12 100644
--- a/examples/ex_ent/oas_cfg_gen.go
+++ b/examples/ex_ent/oas_cfg_gen.go
@@ -9,7 +9,6 @@ import (
 	"github.com/go-faster/errors"
 	"go.opentelemetry.io/otel"
 	"go.opentelemetry.io/otel/metric"
-	"go.opentelemetry.io/otel/metric/nonrecording"
 	"go.opentelemetry.io/otel/trace"
 
 	ht "github.com/ogen-go/ogen/http"
@@ -58,7 +57,7 @@ type config struct {
 func newConfig(opts ...Option) config {
 	cfg := config{
 		TracerProvider:     otel.GetTracerProvider(),
-		MeterProvider:      nonrecording.NewNoopMeterProvider(),
+		MeterProvider:      metric.NewNoopMeterProvider(),
 		Client:             http.DefaultClient,
 		NotFound:           http.NotFound,
 		ErrorHandler:       respondError,
diff --git a/examples/ex_firecracker/oas_cfg_gen.go b/examples/ex_firecracker/oas_cfg_gen.go
index f53eb5f2..8a1dce12 100644
--- a/examples/ex_firecracker/oas_cfg_gen.go
+++ b/examples/ex_firecracker/oas_cfg_gen.go
@@ -9,7 +9,6 @@ import (
 	"github.com/go-faster/errors"
 	"go.opentelemetry.io/otel"
 	"go.opentelemetry.io/otel/metric"
-	"go.opentelemetry.io/otel/metric/nonrecording"
 	"go.opentelemetry.io/otel/trace"
 
 	ht "github.com/ogen-go/ogen/http"
@@ -58,7 +57,7 @@ type config struct {
 func newConfig(opts ...Option) config {
 	cfg := config{
 		TracerProvider:     otel.GetTracerProvider(),
-		MeterProvider:      nonrecording.NewNoopMeterProvider(),
+		MeterProvider:      metric.NewNoopMeterProvider(),
 		Client:             http.DefaultClient,
 		NotFound:           http.NotFound,
 		ErrorHandler:       respondError,
diff --git a/examples/ex_github/oas_cfg_gen.go b/examples/ex_github/oas_cfg_gen.go
index 020c515b..480442fa 100644
--- a/examples/ex_github/oas_cfg_gen.go
+++ b/examples/ex_github/oas_cfg_gen.go
@@ -10,7 +10,6 @@ import (
 	"github.com/go-faster/errors"
 	"go.opentelemetry.io/otel"
 	"go.opentelemetry.io/otel/metric"
-	"go.opentelemetry.io/otel/metric/nonrecording"
 	"go.opentelemetry.io/otel/trace"
 
 	ht "github.com/ogen-go/ogen/http"
@@ -67,7 +66,7 @@ type config struct {
 func newConfig(opts ...Option) config {
 	cfg := config{
 		TracerProvider:     otel.GetTracerProvider(),
-		MeterProvider:      nonrecording.NewNoopMeterProvider(),
+		MeterProvider:      metric.NewNoopMeterProvider(),
 		Client:             http.DefaultClient,
 		NotFound:           http.NotFound,
 		ErrorHandler:       respondError,
diff --git a/examples/ex_gotd/oas_cfg_gen.go b/examples/ex_gotd/oas_cfg_gen.go
index f53eb5f2..8a1dce12 100644
--- a/examples/ex_gotd/oas_cfg_gen.go
+++ b/examples/ex_gotd/oas_cfg_gen.go
@@ -9,7 +9,6 @@ import (
 	"github.com/go-faster/errors"
 	"go.opentelemetry.io/otel"
 	"go.opentelemetry.io/otel/metric"
-	"go.opentelemetry.io/otel/metric/nonrecording"
 	"go.opentelemetry.io/otel/trace"
 
 	ht "github.com/ogen-go/ogen/http"
@@ -58,7 +57,7 @@ type config struct {
 func newConfig(opts ...Option) config {
 	cfg := config{
 		TracerProvider:     otel.GetTracerProvider(),
-		MeterProvider:      nonrecording.NewNoopMeterProvider(),
+		MeterProvider:      metric.NewNoopMeterProvider(),
 		Client:             http.DefaultClient,
 		NotFound:           http.NotFound,
 		ErrorHandler:       respondError,
diff --git a/examples/ex_k8s/oas_cfg_gen.go b/examples/ex_k8s/oas_cfg_gen.go
index fdc6a348..72005837 100644
--- a/examples/ex_k8s/oas_cfg_gen.go
+++ b/examples/ex_k8s/oas_cfg_gen.go
@@ -10,7 +10,6 @@ import (
 	"github.com/go-faster/errors"
 	"go.opentelemetry.io/otel"
 	"go.opentelemetry.io/otel/metric"
-	"go.opentelemetry.io/otel/metric/nonrecording"
 	"go.opentelemetry.io/otel/trace"
 
 	ht "github.com/ogen-go/ogen/http"
@@ -63,7 +62,7 @@ type config struct {
 func newConfig(opts ...Option) config {
 	cfg := config{
 		TracerProvider:     otel.GetTracerProvider(),
-		MeterProvider:      nonrecording.NewNoopMeterProvider(),
+		MeterProvider:      metric.NewNoopMeterProvider(),
 		Client:             http.DefaultClient,
 		NotFound:           http.NotFound,
 		ErrorHandler:       respondError,
diff --git a/examples/ex_manga/oas_cfg_gen.go b/examples/ex_manga/oas_cfg_gen.go
index f53eb5f2..8a1dce12 100644
--- a/examples/ex_manga/oas_cfg_gen.go
+++ b/examples/ex_manga/oas_cfg_gen.go
@@ -9,7 +9,6 @@ import (
 	"github.com/go-faster/errors"
 	"go.opentelemetry.io/otel"
 	"go.opentelemetry.io/otel/metric"
-	"go.opentelemetry.io/otel/metric/nonrecording"
 	"go.opentelemetry.io/otel/trace"
 
 	ht "github.com/ogen-go/ogen/http"
@@ -58,7 +57,7 @@ type config struct {
 func newConfig(opts ...Option) config {
 	cfg := config{
 		TracerProvider:     otel.GetTracerProvider(),
-		MeterProvider:      nonrecording.NewNoopMeterProvider(),
+		MeterProvider:      metric.NewNoopMeterProvider(),
 		Client:             http.DefaultClient,
 		NotFound:           http.NotFound,
 		ErrorHandler:       respondError,
diff --git a/examples/ex_petstore/oas_cfg_gen.go b/examples/ex_petstore/oas_cfg_gen.go
index f53eb5f2..8a1dce12 100644
--- a/examples/ex_petstore/oas_cfg_gen.go
+++ b/examples/ex_petstore/oas_cfg_gen.go
@@ -9,7 +9,6 @@ import (
 	"github.com/go-faster/errors"
 	"go.opentelemetry.io/otel"
 	"go.opentelemetry.io/otel/metric"
-	"go.opentelemetry.io/otel/metric/nonrecording"
 	"go.opentelemetry.io/otel/trace"
 
 	ht "github.com/ogen-go/ogen/http"
@@ -58,7 +57,7 @@ type config struct {
 func newConfig(opts ...Option) config {
 	cfg := config{
 		TracerProvider:     otel.GetTracerProvider(),
-		MeterProvider:      nonrecording.NewNoopMeterProvider(),
+		MeterProvider:      metric.NewNoopMeterProvider(),
 		Client:             http.DefaultClient,
 		NotFound:           http.NotFound,
 		ErrorHandler:       respondError,
diff --git a/examples/ex_petstore_expanded/oas_cfg_gen.go b/examples/ex_petstore_expanded/oas_cfg_gen.go
index f53eb5f2..8a1dce12 100644
--- a/examples/ex_petstore_expanded/oas_cfg_gen.go
+++ b/examples/ex_petstore_expanded/oas_cfg_gen.go
@@ -9,7 +9,6 @@ import (
 	"github.com/go-faster/errors"
 	"go.opentelemetry.io/otel"
 	"go.opentelemetry.io/otel/metric"
-	"go.opentelemetry.io/otel/metric/nonrecording"
 	"go.opentelemetry.io/otel/trace"
 
 	ht "github.com/ogen-go/ogen/http"
@@ -58,7 +57,7 @@ type config struct {
 func newConfig(opts ...Option) config {
 	cfg := config{
 		TracerProvider:     otel.GetTracerProvider(),
-		MeterProvider:      nonrecording.NewNoopMeterProvider(),
+		MeterProvider:      metric.NewNoopMeterProvider(),
 		Client:             http.DefaultClient,
 		NotFound:           http.NotFound,
 		ErrorHandler:       respondError,
diff --git a/examples/ex_route_params/oas_cfg_gen.go b/examples/ex_route_params/oas_cfg_gen.go
index f53eb5f2..8a1dce12 100644
--- a/examples/ex_route_params/oas_cfg_gen.go
+++ b/examples/ex_route_params/oas_cfg_gen.go
@@ -9,7 +9,6 @@ import (
 	"github.com/go-faster/errors"
 	"go.opentelemetry.io/otel"
 	"go.opentelemetry.io/otel/metric"
-	"go.opentelemetry.io/otel/metric/nonrecording"
 	"go.opentelemetry.io/otel/trace"
 
 	ht "github.com/ogen-go/ogen/http"
@@ -58,7 +57,7 @@ type config struct {
 func newConfig(opts ...Option) config {
 	cfg := config{
 		TracerProvider:     otel.GetTracerProvider(),
-		MeterProvider:      nonrecording.NewNoopMeterProvider(),
+		MeterProvider:      metric.NewNoopMeterProvider(),
 		Client:             http.DefaultClient,
 		NotFound:           http.NotFound,
 		ErrorHandler:       respondError,
diff --git a/examples/ex_telegram/oas_cfg_gen.go b/examples/ex_telegram/oas_cfg_gen.go
index f53eb5f2..8a1dce12 100644
--- a/examples/ex_telegram/oas_cfg_gen.go
+++ b/examples/ex_telegram/oas_cfg_gen.go
@@ -9,7 +9,6 @@ import (
 	"github.com/go-faster/errors"
 	"go.opentelemetry.io/otel"
 	"go.opentelemetry.io/otel/metric"
-	"go.opentelemetry.io/otel/metric/nonrecording"
 	"go.opentelemetry.io/otel/trace"
 
 	ht "github.com/ogen-go/ogen/http"
@@ -58,7 +57,7 @@ type config struct {
 func newConfig(opts ...Option) config {
 	cfg := config{
 		TracerProvider:     otel.GetTracerProvider(),
-		MeterProvider:      nonrecording.NewNoopMeterProvider(),
+		MeterProvider:      metric.NewNoopMeterProvider(),
 		Client:             http.DefaultClient,
 		NotFound:           http.NotFound,
 		ErrorHandler:       respondError,
diff --git a/examples/ex_tinkoff/oas_cfg_gen.go b/examples/ex_tinkoff/oas_cfg_gen.go
index f53eb5f2..8a1dce12 100644
--- a/examples/ex_tinkoff/oas_cfg_gen.go
+++ b/examples/ex_tinkoff/oas_cfg_gen.go
@@ -9,7 +9,6 @@ import (
 	"github.com/go-faster/errors"
 	"go.opentelemetry.io/otel"
 	"go.opentelemetry.io/otel/metric"
-	"go.opentelemetry.io/otel/metric/nonrecording"
 	"go.opentelemetry.io/otel/trace"
 
 	ht "github.com/ogen-go/ogen/http"
@@ -58,7 +57,7 @@ type config struct {
 func newConfig(opts ...Option) config {
 	cfg := config{
 		TracerProvider:     otel.GetTracerProvider(),
-		MeterProvider:      nonrecording.NewNoopMeterProvider(),
+		MeterProvider:      metric.NewNoopMeterProvider(),
 		Client:             http.DefaultClient,
 		NotFound:           http.NotFound,
 		ErrorHandler:       respondError,
diff --git a/examples/go.mod b/examples/go.mod
index 851e18ca..a246b456 100644
--- a/examples/go.mod
+++ b/examples/go.mod
@@ -8,9 +8,9 @@ require (
 	github.com/google/uuid v1.3.0
 	github.com/ogen-go/ogen v0.0.0
 	github.com/stretchr/testify v1.8.0
-	go.opentelemetry.io/otel v1.7.0
-	go.opentelemetry.io/otel/metric v0.30.0
-	go.opentelemetry.io/otel/trace v1.7.0
+	go.opentelemetry.io/otel v1.8.0
+	go.opentelemetry.io/otel/metric v0.31.0
+	go.opentelemetry.io/otel/trace v1.8.0
 	go.uber.org/multierr v1.8.0
 )
 
diff --git a/examples/go.sum b/examples/go.sum
index 4a236573..eb4278cf 100644
--- a/examples/go.sum
+++ b/examples/go.sum
@@ -14,8 +14,7 @@ github.com/go-logr/logr v1.2.3 h1:2DntVwHkVopvECVRSlL5PSo9eG+cAkDCuckLubN+rq0=
 github.com/go-logr/logr v1.2.3/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
 github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag=
 github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE=
-github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o=
-github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE=
+github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg=
 github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I=
 github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
 github.com/kr/pretty v0.2.1 h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI=
@@ -31,12 +30,12 @@ github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/
 github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
 github.com/stretchr/testify v1.8.0 h1:pSgiaMZlXftHpm5L7V1+rVB+AZJydKsMxsQBIJw4PKk=
 github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
-go.opentelemetry.io/otel v1.7.0 h1:Z2lA3Tdch0iDcrhJXDIlC94XE+bxok1F9B+4Lz/lGsM=
-go.opentelemetry.io/otel v1.7.0/go.mod h1:5BdUoMIz5WEs0vt0CUEMtSSaTSHBBVwrhnz7+nrD5xk=
-go.opentelemetry.io/otel/metric v0.30.0 h1:Hs8eQZ8aQgs0U49diZoaS6Uaxw3+bBE3lcMUKBFIk3c=
-go.opentelemetry.io/otel/metric v0.30.0/go.mod h1:/ShZ7+TS4dHzDFmfi1kSXMhMVubNoP0oIaBp70J6UXU=
-go.opentelemetry.io/otel/trace v1.7.0 h1:O37Iogk1lEkMRXewVtZ1BBTVn5JEp8GrJvP92bJqC6o=
-go.opentelemetry.io/otel/trace v1.7.0/go.mod h1:fzLSB9nqR2eXzxPXb2JW9IKE+ScyXA48yyE4TNvoHqU=
+go.opentelemetry.io/otel v1.8.0 h1:zcvBFizPbpa1q7FehvFiHbQwGzmPILebO0tyqIR5Djg=
+go.opentelemetry.io/otel v1.8.0/go.mod h1:2pkj+iMj0o03Y+cW6/m8Y4WkRdYN3AvCXCnzRMp9yvM=
+go.opentelemetry.io/otel/metric v0.31.0 h1:6SiklT+gfWAwWUR0meEMxQBtihpiEs4c+vL9spDTqUs=
+go.opentelemetry.io/otel/metric v0.31.0/go.mod h1:ohmwj9KTSIeBnDBm/ZwH2PSZxZzoOaG2xZeekTRzL5A=
+go.opentelemetry.io/otel/trace v1.8.0 h1:cSy0DF9eGI5WIfNwZ1q2iUyGj00tGzP24dE1lOlHrfY=
+go.opentelemetry.io/otel/trace v1.8.0/go.mod h1:0Bt3PXY8w+3pheS3hQUt+wow8b1ojPaTBoTCh2zIFI4=
 go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc=
 go.uber.org/atomic v1.9.0 h1:ECmE8Bn/WFTYwEW/bpKD3M8VtR/zQVbavAoalC1PYyE=
 go.uber.org/atomic v1.9.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc=
@@ -51,7 +50,6 @@ golang.org/x/sys v0.0.0-20220622161953-175b2fd9d664 h1:wEZYwx+kK+KlZ0hpvP2Ls1Xr4
 golang.org/x/sys v0.0.0-20220622161953-175b2fd9d664/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
 golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk=
 golang.org/x/tools v0.1.11 h1:loJ25fNOEhSXfHrpoGj91eCUThwdNX6u24rO1xnNteY=
-golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
 gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
 gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo=
 gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
diff --git a/gen/_template/cfg.tmpl b/gen/_template/cfg.tmpl
index 1814db8b..fcd1ae3c 100644
--- a/gen/_template/cfg.tmpl
+++ b/gen/_template/cfg.tmpl
@@ -54,7 +54,7 @@ type config struct {
 func newConfig(opts ...Option) config {
 	cfg := config{
 		TracerProvider: otel.GetTracerProvider(),
-		MeterProvider: nonrecording.NewNoopMeterProvider(),
+		MeterProvider: metric.NewNoopMeterProvider(),
 		{{- if $.ClientEnabled }}
 		Client: http.DefaultClient,
 		{{- end }}
diff --git a/gen/_template/header.tmpl b/gen/_template/header.tmpl
index 8b09c2c5..7bb2046a 100644
--- a/gen/_template/header.tmpl
+++ b/gen/_template/header.tmpl
@@ -52,7 +52,7 @@ import (
 	"go.opentelemetry.io/otel/codes"
 	"go.opentelemetry.io/otel/metric"
 	"go.opentelemetry.io/otel/metric/instrument/syncint64"
-	"go.opentelemetry.io/otel/metric/nonrecording"
+	"go.opentelemetry.io/otel/metric"
 	"go.opentelemetry.io/otel/trace"
 
 	"github.com/ogen-go/ogen/conv"
@@ -63,4 +63,4 @@ import (
 	"github.com/ogen-go/ogen/uri"
 	"github.com/ogen-go/ogen/validate"
 )
-{{ end }}
\ No newline at end of file
+{{ end }}
diff --git a/go.mod b/go.mod
index 872823da..7d09bbb6 100644
--- a/go.mod
+++ b/go.mod
@@ -10,9 +10,9 @@ require (
 	github.com/google/uuid v1.3.0
 	github.com/stretchr/testify v1.8.0
 	github.com/valyala/fasthttp v1.38.0
-	go.opentelemetry.io/otel v1.7.0
-	go.opentelemetry.io/otel/metric v0.30.0
-	go.opentelemetry.io/otel/trace v1.7.0
+	go.opentelemetry.io/otel v1.8.0
+	go.opentelemetry.io/otel/metric v0.31.0
+	go.opentelemetry.io/otel/trace v1.8.0
 	go.uber.org/multierr v1.8.0
 	go.uber.org/zap v1.21.0
 	golang.org/x/net v0.0.0-20220622184535-263ec571b305
diff --git a/go.sum b/go.sum
index 8d0109df..33d8e709 100644
--- a/go.sum
+++ b/go.sum
@@ -19,8 +19,7 @@ github.com/go-logr/logr v1.2.3 h1:2DntVwHkVopvECVRSlL5PSo9eG+cAkDCuckLubN+rq0=
 github.com/go-logr/logr v1.2.3/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
 github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag=
 github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE=
-github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o=
-github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE=
+github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg=
 github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I=
 github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
 github.com/klauspost/compress v1.15.0/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk=
@@ -50,12 +49,12 @@ github.com/valyala/fasthttp v1.38.0 h1:yTjSSNjuDi2PPvXY2836bIwLmiTS2T4T9p1coQshp
 github.com/valyala/fasthttp v1.38.0/go.mod h1:t/G+3rLek+CyY9bnIE+YlMRddxVAAGjhxndDB4i4C0I=
 github.com/valyala/tcplisten v1.0.0/go.mod h1:T0xQ8SeCZGxckz9qRXTfG43PvQ/mcWh7FwZEA7Ioqkc=
 github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
-go.opentelemetry.io/otel v1.7.0 h1:Z2lA3Tdch0iDcrhJXDIlC94XE+bxok1F9B+4Lz/lGsM=
-go.opentelemetry.io/otel v1.7.0/go.mod h1:5BdUoMIz5WEs0vt0CUEMtSSaTSHBBVwrhnz7+nrD5xk=
-go.opentelemetry.io/otel/metric v0.30.0 h1:Hs8eQZ8aQgs0U49diZoaS6Uaxw3+bBE3lcMUKBFIk3c=
-go.opentelemetry.io/otel/metric v0.30.0/go.mod h1:/ShZ7+TS4dHzDFmfi1kSXMhMVubNoP0oIaBp70J6UXU=
-go.opentelemetry.io/otel/trace v1.7.0 h1:O37Iogk1lEkMRXewVtZ1BBTVn5JEp8GrJvP92bJqC6o=
-go.opentelemetry.io/otel/trace v1.7.0/go.mod h1:fzLSB9nqR2eXzxPXb2JW9IKE+ScyXA48yyE4TNvoHqU=
+go.opentelemetry.io/otel v1.8.0 h1:zcvBFizPbpa1q7FehvFiHbQwGzmPILebO0tyqIR5Djg=
+go.opentelemetry.io/otel v1.8.0/go.mod h1:2pkj+iMj0o03Y+cW6/m8Y4WkRdYN3AvCXCnzRMp9yvM=
+go.opentelemetry.io/otel/metric v0.31.0 h1:6SiklT+gfWAwWUR0meEMxQBtihpiEs4c+vL9spDTqUs=
+go.opentelemetry.io/otel/metric v0.31.0/go.mod h1:ohmwj9KTSIeBnDBm/ZwH2PSZxZzoOaG2xZeekTRzL5A=
+go.opentelemetry.io/otel/trace v1.8.0 h1:cSy0DF9eGI5WIfNwZ1q2iUyGj00tGzP24dE1lOlHrfY=
+go.opentelemetry.io/otel/trace v1.8.0/go.mod h1:0Bt3PXY8w+3pheS3hQUt+wow8b1ojPaTBoTCh2zIFI4=
 go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc=
 go.uber.org/atomic v1.9.0 h1:ECmE8Bn/WFTYwEW/bpKD3M8VtR/zQVbavAoalC1PYyE=
 go.uber.org/atomic v1.9.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc=
@@ -111,7 +110,6 @@ golang.org/x/tools v0.1.11 h1:loJ25fNOEhSXfHrpoGj91eCUThwdNX6u24rO1xnNteY=
 golang.org/x/tools v0.1.11/go.mod h1:SgwaegtQh8clINPpECJMqnxLv9I09HLqnW3RMqW0CA4=
 golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
 golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
 golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
 gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
 gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
diff --git a/internal/sample_api/oas_cfg_gen.go b/internal/sample_api/oas_cfg_gen.go
index 3f3f999b..11344457 100644
--- a/internal/sample_api/oas_cfg_gen.go
+++ b/internal/sample_api/oas_cfg_gen.go
@@ -12,7 +12,6 @@ import (
 	"github.com/go-faster/errors"
 	"go.opentelemetry.io/otel"
 	"go.opentelemetry.io/otel/metric"
-	"go.opentelemetry.io/otel/metric/nonrecording"
 	"go.opentelemetry.io/otel/trace"
 
 	ht "github.com/ogen-go/ogen/http"
@@ -84,7 +83,7 @@ type config struct {
 func newConfig(opts ...Option) config {
 	cfg := config{
 		TracerProvider:     otel.GetTracerProvider(),
-		MeterProvider:      nonrecording.NewNoopMeterProvider(),
+		MeterProvider:      metric.NewNoopMeterProvider(),
 		Client:             http.DefaultClient,
 		NotFound:           http.NotFound,
 		ErrorHandler:       respondError,
diff --git a/internal/sample_api_nc/oas_cfg_gen.go b/internal/sample_api_nc/oas_cfg_gen.go
index 3c31bd61..513a52c8 100644
--- a/internal/sample_api_nc/oas_cfg_gen.go
+++ b/internal/sample_api_nc/oas_cfg_gen.go
@@ -12,7 +12,6 @@ import (
 	"github.com/go-faster/errors"
 	"go.opentelemetry.io/otel"
 	"go.opentelemetry.io/otel/metric"
-	"go.opentelemetry.io/otel/metric/nonrecording"
 	"go.opentelemetry.io/otel/trace"
 
 	ht "github.com/ogen-go/ogen/http"
@@ -83,7 +82,7 @@ type config struct {
 func newConfig(opts ...Option) config {
 	cfg := config{
 		TracerProvider:     otel.GetTracerProvider(),
-		MeterProvider:      nonrecording.NewNoopMeterProvider(),
+		MeterProvider:      metric.NewNoopMeterProvider(),
 		NotFound:           http.NotFound,
 		ErrorHandler:       respondError,
 		MaxMultipartMemory: 32 << 20, // 32 MB
diff --git a/internal/sample_api_ns/oas_cfg_gen.go b/internal/sample_api_ns/oas_cfg_gen.go
index ee5f3560..f1777d7d 100644
--- a/internal/sample_api_ns/oas_cfg_gen.go
+++ b/internal/sample_api_ns/oas_cfg_gen.go
@@ -10,7 +10,6 @@ import (
 
 	"go.opentelemetry.io/otel"
 	"go.opentelemetry.io/otel/metric"
-	"go.opentelemetry.io/otel/metric/nonrecording"
 	"go.opentelemetry.io/otel/trace"
 
 	ht "github.com/ogen-go/ogen/http"
@@ -51,7 +50,7 @@ type config struct {
 func newConfig(opts ...Option) config {
 	cfg := config{
 		TracerProvider: otel.GetTracerProvider(),
-		MeterProvider:  nonrecording.NewNoopMeterProvider(),
+		MeterProvider:  metric.NewNoopMeterProvider(),
 		Client:         http.DefaultClient,
 	}
 	for _, opt := range opts {
diff --git a/internal/sample_err/oas_cfg_gen.go b/internal/sample_err/oas_cfg_gen.go
index f53eb5f2..8a1dce12 100644
--- a/internal/sample_err/oas_cfg_gen.go
+++ b/internal/sample_err/oas_cfg_gen.go
@@ -9,7 +9,6 @@ import (
 	"github.com/go-faster/errors"
 	"go.opentelemetry.io/otel"
 	"go.opentelemetry.io/otel/metric"
-	"go.opentelemetry.io/otel/metric/nonrecording"
 	"go.opentelemetry.io/otel/trace"
 
 	ht "github.com/ogen-go/ogen/http"
@@ -58,7 +57,7 @@ type config struct {
 func newConfig(opts ...Option) config {
 	cfg := config{
 		TracerProvider:     otel.GetTracerProvider(),
-		MeterProvider:      nonrecording.NewNoopMeterProvider(),
+		MeterProvider:      metric.NewNoopMeterProvider(),
 		Client:             http.DefaultClient,
 		NotFound:           http.NotFound,
 		ErrorHandler:       respondError,
diff --git a/internal/techempower/oas_cfg_gen.go b/internal/techempower/oas_cfg_gen.go
index 75ab3479..88a14016 100644
--- a/internal/techempower/oas_cfg_gen.go
+++ b/internal/techempower/oas_cfg_gen.go
@@ -9,7 +9,6 @@ import (
 	"github.com/go-faster/errors"
 	"go.opentelemetry.io/otel"
 	"go.opentelemetry.io/otel/metric"
-	"go.opentelemetry.io/otel/metric/nonrecording"
 	"go.opentelemetry.io/otel/trace"
 
 	ht "github.com/ogen-go/ogen/http"
@@ -58,7 +57,7 @@ type config struct {
 func newConfig(opts ...Option) config {
 	cfg := config{
 		TracerProvider:     otel.GetTracerProvider(),
-		MeterProvider:      nonrecording.NewNoopMeterProvider(),
+		MeterProvider:      metric.NewNoopMeterProvider(),
 		Client:             http.DefaultClient,
 		NotFound:           http.NotFound,
 		ErrorHandler:       respondError,


Test patch:
diff --git a/examples/ex_test_format/oas_cfg_gen.go b/examples/ex_test_format/oas_cfg_gen.go
index f53eb5f2..8a1dce12 100644
--- a/examples/ex_test_format/oas_cfg_gen.go
+++ b/examples/ex_test_format/oas_cfg_gen.go
@@ -9,7 +9,6 @@ import (
 	"github.com/go-faster/errors"
 	"go.opentelemetry.io/otel"
 	"go.opentelemetry.io/otel/metric"
-	"go.opentelemetry.io/otel/metric/nonrecording"
 	"go.opentelemetry.io/otel/trace"
 
 	ht "github.com/ogen-go/ogen/http"
@@ -58,7 +57,7 @@ type config struct {
 func newConfig(opts ...Option) config {
 	cfg := config{
 		TracerProvider:     otel.GetTracerProvider(),
-		MeterProvider:      nonrecording.NewNoopMeterProvider(),
+		MeterProvider:      metric.NewNoopMeterProvider(),
 		Client:             http.DefaultClient,
 		NotFound:           http.NotFound,
 		ErrorHandler:       respondError,
diff --git a/internal/test_allof/oas_cfg_gen.go b/internal/test_allof/oas_cfg_gen.go
index 5781e2ab..ee0de295 100644
--- a/internal/test_allof/oas_cfg_gen.go
+++ b/internal/test_allof/oas_cfg_gen.go
@@ -10,7 +10,6 @@ import (
 	"github.com/go-faster/errors"
 	"go.opentelemetry.io/otel"
 	"go.opentelemetry.io/otel/metric"
-	"go.opentelemetry.io/otel/metric/nonrecording"
 	"go.opentelemetry.io/otel/trace"
 
 	ht "github.com/ogen-go/ogen/http"
@@ -63,7 +62,7 @@ type config struct {
 func newConfig(opts ...Option) config {
 	cfg := config{
 		TracerProvider:     otel.GetTracerProvider(),
-		MeterProvider:      nonrecording.NewNoopMeterProvider(),
+		MeterProvider:      metric.NewNoopMeterProvider(),
 		Client:             http.DefaultClient,
 		NotFound:           http.NotFound,
 		ErrorHandler:       respondError,
diff --git a/internal/test_form/oas_cfg_gen.go b/internal/test_form/oas_cfg_gen.go
index f53eb5f2..8a1dce12 100644
--- a/internal/test_form/oas_cfg_gen.go
+++ b/internal/test_form/oas_cfg_gen.go
@@ -9,7 +9,6 @@ import (
 	"github.com/go-faster/errors"
 	"go.opentelemetry.io/otel"
 	"go.opentelemetry.io/otel/metric"
-	"go.opentelemetry.io/otel/metric/nonrecording"
 	"go.opentelemetry.io/otel/trace"
 
 	ht "github.com/ogen-go/ogen/http"
@@ -58,7 +57,7 @@ type config struct {
 func newConfig(opts ...Option) config {
 	cfg := config{
 		TracerProvider:     otel.GetTracerProvider(),
-		MeterProvider:      nonrecording.NewNoopMeterProvider(),
+		MeterProvider:      metric.NewNoopMeterProvider(),
 		Client:             http.DefaultClient,
 		NotFound:           http.NotFound,
 		ErrorHandler:       respondError,
diff --git a/internal/test_http_requests/oas_cfg_gen.go b/internal/test_http_requests/oas_cfg_gen.go
index f53eb5f2..8a1dce12 100644
--- a/internal/test_http_requests/oas_cfg_gen.go
+++ b/internal/test_http_requests/oas_cfg_gen.go
@@ -9,7 +9,6 @@ import (
 	"github.com/go-faster/errors"
 	"go.opentelemetry.io/otel"
 	"go.opentelemetry.io/otel/metric"
-	"go.opentelemetry.io/otel/metric/nonrecording"
 	"go.opentelemetry.io/otel/trace"
 
 	ht "github.com/ogen-go/ogen/http"
@@ -58,7 +57,7 @@ type config struct {
 func newConfig(opts ...Option) config {
 	cfg := config{
 		TracerProvider:     otel.GetTracerProvider(),
-		MeterProvider:      nonrecording.NewNoopMeterProvider(),
+		MeterProvider:      metric.NewNoopMeterProvider(),
 		Client:             http.DefaultClient,
 		NotFound:           http.NotFound,
 		ErrorHandler:       respondError,
diff --git a/internal/test_http_responses/oas_cfg_gen.go b/internal/test_http_responses/oas_cfg_gen.go
index f53eb5f2..8a1dce12 100644
--- a/internal/test_http_responses/oas_cfg_gen.go
+++ b/internal/test_http_responses/oas_cfg_gen.go
@@ -9,7 +9,6 @@ import (
 	"github.com/go-faster/errors"
 	"go.opentelemetry.io/otel"
 	"go.opentelemetry.io/otel/metric"
-	"go.opentelemetry.io/otel/metric/nonrecording"
 	"go.opentelemetry.io/otel/trace"
 
 	ht "github.com/ogen-go/ogen/http"
@@ -58,7 +57,7 @@ type config struct {
 func newConfig(opts ...Option) config {
 	cfg := config{
 		TracerProvider:     otel.GetTracerProvider(),
-		MeterProvider:      nonrecording.NewNoopMeterProvider(),
+		MeterProvider:      metric.NewNoopMeterProvider(),
 		Client:             http.DefaultClient,
 		NotFound:           http.NotFound,
 		ErrorHandler:       respondError,
diff --git a/internal/test_single_endpoint/oas_cfg_gen.go b/internal/test_single_endpoint/oas_cfg_gen.go
index f53eb5f2..8a1dce12 100644
--- a/internal/test_single_endpoint/oas_cfg_gen.go
+++ b/internal/test_single_endpoint/oas_cfg_gen.go
@@ -9,7 +9,6 @@ import (
 	"github.com/go-faster/errors"
 	"go.opentelemetry.io/otel"
 	"go.opentelemetry.io/otel/metric"
-	"go.opentelemetry.io/otel/metric/nonrecording"
 	"go.opentelemetry.io/otel/trace"
 
 	ht "github.com/ogen-go/ogen/http"
@@ -58,7 +57,7 @@ type config struct {
 func newConfig(opts ...Option) config {
 	cfg := config{
 		TracerProvider:     otel.GetTracerProvider(),
-		MeterProvider:      nonrecording.NewNoopMeterProvider(),
+		MeterProvider:      metric.NewNoopMeterProvider(),
 		Client:             http.DefaultClient,
 		NotFound:           http.NotFound,
 		ErrorHandler:       respondError,