Skip to content

Commit 6eb15db

Browse files
authored
Drop docs/agent-config.md and link to OTel.io version (#5683)
1 parent 5ec0937 commit 6eb15db

File tree

2 files changed

+4
-71
lines changed

2 files changed

+4
-71
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ configured to send data to
7777
at `http://localhost:4317`.
7878

7979
Configuration parameters are passed as Java system properties (`-D` flags) or
80-
as environment variables. See [the configuration documentation](https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/docs/agent-config.md)
80+
as environment variables. See [the configuration documentation][config]
8181
for the full list of configuration items. For example:
8282
```
8383
java -javaagent:path/to/opentelemetry-javaagent.jar \
@@ -88,11 +88,11 @@ java -javaagent:path/to/opentelemetry-javaagent.jar \
8888

8989
## Configuring the Agent
9090

91-
The agent is [highly configurable](docs/agent-config.md)! Many aspects of the agent's behavior can be
91+
The agent is [highly configurable][config]! Many aspects of the agent's behavior can be
9292
configured for your needs, such as exporter choice, exporter config (like where
9393
data is sent), trace context propagation headers, and much more.
9494

95-
[Click here to see the detailed list of configuration environment variables and system properties](docs/agent-config.md).
95+
[Click here to see the detailed list of configuration environment variables and system properties][config].
9696

9797
*Note: Config parameter names are very likely to change over time, so please check
9898
back here when trying out a new version! Please [report any bugs](https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues) or unexpected
@@ -163,4 +163,5 @@ Thanks to all the people who already contributed!
163163
<img src="https://contributors-img.web.app/image?repo=open-telemetry/opentelemetry-java-instrumentation" />
164164
</a>
165165

166+
[config]: https://opentelemetry.io/docs/instrumentation/java/automatic/agent-config/
166167
[manual]: https://opentelemetry.io/docs/instrumentation/java/manual/

docs/agent-config.md

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

0 commit comments

Comments
 (0)