Skip to content

Commit

Permalink
Drop manual-instrumentation and redirect to otel website pages (#5516)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin committed Mar 8, 2022
1 parent 4ef6d16 commit 9904352
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 145 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,13 @@ For most users, the out-of-the-box instrumentation is completely sufficient and
be done. Sometimes, however, users wish to add attributes to the otherwise automatic spans,
or they might want to manually create spans for their own custom code.

[See here for detailed instructions](docs/manual-instrumentation.md).

For detailed instructions, see [Manual instrumentation][manual].

## Logger MDC (Mapped Diagnostic Context) auto-instrumentation

It is possible to inject trace information like trace id and span id into your custom application logs.

See [Logger MDC auto-instrumentation](docs/logger-mdc-instrumentation.md)
It is possible to inject trace information like trace IDs and span IDs into your
custom application logs. For details, see [Logger MDC
auto-instrumentation](docs/logger-mdc-instrumentation.md).

## Troubleshooting

Expand Down Expand Up @@ -163,3 +162,5 @@ Thanks to all the people who already contributed!
<a href="https://github.com/open-telemetry/opentelemetry-java-instrumentation/graphs/contributors">
<img src="https://contributors-img.web.app/image?repo=open-telemetry/opentelemetry-java-instrumentation" />
</a>

[manual]: https://opentelemetry.io/docs/instrumentation/java/manual/
139 changes: 0 additions & 139 deletions docs/manual-instrumentation.md

This file was deleted.

4 changes: 3 additions & 1 deletion instrumentation/methods/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

| System property | Type | Default | Description |
|----------------- |------ |--------- |------------- |
| `otel.instrumentation.methods.include` | String| None | List of methods to include for tracing. See [Creating spans around methods with `otel.instrumentation.methods.include`](https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/docs/manual-instrumentation.md#creating-spans-around-methods-with-otelinstrumentationmethodsinclude). |
| `otel.instrumentation.methods.include` | String| None | List of methods to include for tracing. For more information, see [Creating spans around methods with `otel.instrumentation.methods.include`][cs].

[cs]: https://opentelemetry.io/docs/instrumentation/java/annotations/#creating-spans-around-methods-with-otelinstrumentationmethodsinclude

0 comments on commit 9904352

Please sign in to comment.