diff --git a/README.md b/README.md index 96475f2701..07f14a1623 100644 --- a/README.md +++ b/README.md @@ -285,8 +285,8 @@ For this reason, the following instrumentations are disabled by default: - `servlet-filter` which creates spans around Servlet Filter methods. - `servlet-service` which creates spans around Servlet methods. -To enable them, add the `otel.integration..enabled` system property: -`-Dotel.integration.jdbc-datasource.enabled=true` +To enable them, add the `otel.instrumentation..enabled` system property: +`-Dotel.instrumentation.jdbc-datasource.enabled=true` #### Grizzly instrumentation @@ -296,7 +296,7 @@ Servlet-based applications, you get better experience from Servlet-specific support. As these two instrumentations conflict with each other, more generic instrumentation for Grizzly HTTP server is disabled by default. If needed, you can enable it by adding the following system property: -`-Dotel.integration.grizzly.enabled=true` +`-Dotel.instrumentation.grizzly.enabled=true` ### Suppressing specific auto-instrumentation diff --git a/docs/suppressing-instrumentation.md b/docs/suppressing-instrumentation.md index 68c668cfe8..bc3b44bb16 100644 --- a/docs/suppressing-instrumentation.md +++ b/docs/suppressing-instrumentation.md @@ -1,7 +1,7 @@ ## Suppressing specific auto-instrumentation You can suppress auto-instrumentation of specific libraries by using -`-Dotel.integration.[id].enabled=false`. +`-Dotel.instrumentation.[id].enabled=false`. where `id` is the instrumentation `id`: