Skip to content

Commit 8abba13

Browse files
docs(ad): tighten Prometheus-to-OTel migration recommendation
Trim the recommendation in the "Custom metrics" section: prefer OTel SDK for new metrics, migrate existing Prometheus-client metrics either incrementally (as code is touched) or via a focused refactor -- the incremental path has proven successful in practice, but both work.
1 parent 9174d40 commit 8abba13

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

src/ad/README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,8 @@ exporters, or legacy services) and want to ingest those metrics into an
6161
OpenTelemetry-native pipeline without rewriting everything up front. The
6262
Collector's `prometheus` receiver is the bridge that makes this possible.
6363

64-
**Recommendation**: this is a *transitional* pattern. For new custom
65-
metrics, prefer the OpenTelemetry SDK directly - it gives you a single
66-
SDK, native context propagation (exemplars linked to traces, resource
67-
attributes, baggage), and a single configuration surface. Migrate existing
68-
Prometheus-client metrics to the OTel SDK as you touch the surrounding
69-
code, rather than as a separate, large refactor.
64+
**Recommendation**: this is a *transitional* pattern. Prefer the
65+
OpenTelemetry SDK for new custom metrics, and migrate existing
66+
Prometheus-client metrics to it - incremental migration as you touch
67+
the surrounding code has proven successful in practice, but a focused
68+
refactor works too; what matters is that the migration happens.

0 commit comments

Comments
 (0)