Skip to content

Commit e908b7f

Browse files
authored
docs: drop suppressing-instrumentation page and script (#5694)
1 parent 5267462 commit e908b7f

File tree

3 files changed

+5
-24
lines changed

3 files changed

+5
-24
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ We support an impressively huge number of [libraries and frameworks](docs/suppor
104104
a majority of the most popular [application servers](docs/supported-libraries.md#application-servers)...right out of the box!
105105
[Click here to see the full list](docs/supported-libraries.md) and to learn more about
106106
[disabled instrumentation](docs/supported-libraries.md#disabled-instrumentations)
107-
and how to [suppress unwanted instrumentation](docs/suppressing-instrumentation.md).
107+
and how to [suppress unwanted instrumentation][suppress].
108108

109109
## Creating agent extensions
110110

@@ -165,3 +165,4 @@ Thanks to all the people who already contributed!
165165

166166
[config]: https://opentelemetry.io/docs/instrumentation/java/automatic/agent-config/
167167
[manual]: https://opentelemetry.io/docs/instrumentation/java/manual/
168+
[suppress]: https://opentelemetry.io/docs/instrumentation/java/automatic/agent-config/#suppressing-specific-auto-instrumentation

buildscripts/check-suppressing-instrumentation-docs.sh

Lines changed: 0 additions & 22 deletions
This file was deleted.

docs/contributing/writing-instrumentation-module.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class MyLibraryInstrumentationModule extends InstrumentationModule {
2929
```
3030

3131
An `InstrumentationModule` needs to have at least one name. The user of the javaagent can
32-
[suppress a chosen instrumentation](../suppressing-instrumentation.md) by referring to it by one of
32+
[suppress a chosen instrumentation][suppress] by referring to it by one of
3333
its names. The instrumentation module names use `kebab-case`. The main instrumentation name, which
3434
is the first one, must be the same as the gradle module name, excluding the version suffix if present.
3535

@@ -355,3 +355,5 @@ we prefer to use
355355
because the former inserts a call to `Class.getMethod(...)` in transformed method. In contrast,
356356
getting the declaring class and method name is just loading constants from constant pool, which is
357357
a much simpler operation.
358+
359+
[suppress]: https://opentelemetry.io/docs/instrumentation/java/automatic/agent-config/#suppressing-specific-auto-instrumentation

0 commit comments

Comments
 (0)