Skip to content

Commit 5122545

Browse files
Updates links pointing to apm-agent-java (#747)
## Description Related to #673 This PR updates the links that point to the `apm-agent-java` repo from `asciidocalypse://docs/apm-agent-java/docs/reference/` to `apm-agent-java://reference/`. --------- Co-authored-by: Colleen McGinnis <[email protected]>
1 parent 0485ba4 commit 5122545

30 files changed

+76
-75
lines changed

docset.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ cross_links:
1111
- apm-agent-dotnet
1212
- apm-agent-go
1313
- apm-agent-ios
14+
- apm-agent-java
1415
- apm-agent-rum-js
1516
- apm-aws-lambda
1617
- apm-k8s-attacher

raw-migrated-files/docs-content/serverless/observability-apm-get-started.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,12 @@ To send APM data to Elastic, you must install an APM agent and configure it to s
118118
java -javaagent:/path/to/elastic-apm-agent-<version>.jar -Delastic.apm.service_name=my-cool-service -Delastic.apm.application_packages=org.example,org.another.example -Delastic.apm.server_url=http://127.0.0.1:8200 -jar my-application.jar
119119
```
120120

121-
Refer to [Manual setup with `-javaagent` flag](asciidocalypse://docs/apm-agent-java/docs/reference/setup-javaagent.md) to learn more.
121+
Refer to [Manual setup with `-javaagent` flag](apm-agent-java://reference/setup-javaagent.md) to learn more.
122122

123123
**Alternate setup methods**
124124

125-
* **Automatic setup with `apm-agent-attach-cli.jar`** Automatically set up the agent without needing to alter the configuration of your JVM or application server. This method requires no changes to application code or JVM options, and allows attaching to a running JVM. Refer to the [Java agent documentation](asciidocalypse://docs/apm-agent-java/docs/reference/setup-attach-cli.md) for more information on this setup method.
126-
* **Programmatic API setup to self-attach** Set up the agent with a one-line code change and an extra `apm-agent-attach` dependency. This method requires no changes to JVM options, and the agent artifact is embedded within the packaged application binary. Refer to the [Java agent documentation](asciidocalypse://docs/apm-agent-java/docs/reference/setup-attach-api.md) for more information on this setup method.
125+
* **Automatic setup with `apm-agent-attach-cli.jar`** Automatically set up the agent without needing to alter the configuration of your JVM or application server. This method requires no changes to application code or JVM options, and allows attaching to a running JVM. Refer to the [Java agent documentation](apm-agent-java://reference/setup-attach-cli.md) for more information on this setup method.
126+
* **Programmatic API setup to self-attach** Set up the agent with a one-line code change and an extra `apm-agent-attach` dependency. This method requires no changes to JVM options, and the agent artifact is embedded within the packaged application binary. Refer to the [Java agent documentation](apm-agent-java://reference/setup-attach-api.md) for more information on this setup method.
127127

128128
</div>
129129
<div tabindex="0" role="tabpanel" id="apm-apm-get-started-net-panel" aria-labelledby="apm-apm-get-started-net-button" hidden="">

raw-migrated-files/docs-content/serverless/observability-ecs-application-logs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ To set up log ECS reformatting:
4141

4242
Log ECS reformatting is controlled by the `log_ecs_reformatting` configuration option, and is disabled by default. Refer to the guide for your framework for information on enabling:
4343

44-
* [Java](asciidocalypse://docs/apm-agent-java/docs/reference/config-logging.md#config-log-ecs-reformatting)
44+
* [Java](apm-agent-java://reference/config-logging.md#config-log-ecs-reformatting)
4545
* [Ruby](asciidocalypse://docs/apm-agent-ruby/docs/reference/configuration.md#config-log-ecs-formatting)
4646
* [Python](asciidocalypse://docs/apm-agent-python/docs/reference/configuration.md#config-log_ecs_reformatting)
4747

raw-migrated-files/docs-content/serverless/observability-plaintext-application-logs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ Log correlation works on two levels:
386386
Learn about correlating plaintext logs in the agent-specific ingestion guides:
387387

388388
* [Go](apm-agent-go://reference/logs.md)
389-
* [Java](asciidocalypse://docs/apm-agent-java/docs/reference/logs.md#log-correlation-ids)
389+
* [Java](apm-agent-java://reference/logs.md#log-correlation-ids)
390390
* [.NET](apm-agent-dotnet://reference/logs.md)
391391
* [Node.js](asciidocalypse://docs/apm-agent-nodejs/docs/reference/logs.md)
392392
* [Python](asciidocalypse://docs/apm-agent-python/docs/reference/logs.md#log-correlation-ids)

solutions/observability/apps/api-keys.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ You can now apply your newly created API keys in the configuration of each of yo
110110
* **Go agent**: [`ELASTIC_APM_API_KEY`](apm-agent-go://reference/configuration.md#config-api-key)
111111
* **.NET agent**: [`ApiKey`](apm-agent-dotnet://reference/config-reporter.md#config-api-key)
112112
* **iOS**: [`withApiKey`](apm-agent-ios://reference/configuration.md#withapikey)
113-
* **Java agent**: [`api_key`](asciidocalypse://docs/apm-agent-java/docs/reference/config-reporter.md#config-api-key)
113+
* **Java agent**: [`api_key`](apm-agent-java://reference/config-reporter.md#config-api-key)
114114
* **Node.js agent**: [`apiKey`](asciidocalypse://docs/apm-agent-nodejs/docs/reference/configuration.md#api-key)
115115
* **PHP agent**: [`api_key`](asciidocalypse://docs/apm-agent-php/docs/reference/configuration-reference.md#config-api-key)
116116
* **Python agent**: [`api_key`](asciidocalypse://docs/apm-agent-python/docs/reference/configuration.md#config-api-key)

solutions/observability/apps/apm-agent-central-configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ iOS agent
4141
: [Configuration reference](apm-agent-ios://reference/configuration.md)
4242

4343
Java agent
44-
: [Configuration reference](asciidocalypse://docs/apm-agent-java/docs/reference/configuration.md)
44+
: [Configuration reference](apm-agent-java://reference/configuration.md)
4545

4646
.NET agent
4747
: [Configuration reference](apm-agent-dotnet://reference/configuration.md)

solutions/observability/apps/apm-agent-tls-communication.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ When the APM server uses a certificate that is not chained to a publicly-trusted
6060
* **Ruby agent**: certificate pinning through [`server_ca_cert`](asciidocalypse://docs/apm-agent-ruby/docs/reference/configuration.md#config-ssl-ca-cert)
6161
* **.NET agent**: [`ServerCert`](apm-agent-dotnet://reference/config-reporter.md#config-server-cert)
6262
* **Node.js agent**: custom CA setting through [`serverCaCertFile`](asciidocalypse://docs/apm-agent-nodejs/docs/reference/configuration.md#server-ca-cert-file)
63-
* **Java agent**: adding the certificate to the JVM `trustStore`. See [APM Server authentication](asciidocalypse://docs/apm-agent-java/docs/reference/ssl-configuration.md#ssl-server-authentication) for more details.
63+
* **Java agent**: adding the certificate to the JVM `trustStore`. See [APM Server authentication](apm-agent-java://reference/ssl-configuration.md#ssl-server-authentication) for more details.
6464

6565
We do not recommend disabling {{apm-agent}} verification of the server’s certificate, but it is possible:
6666

6767
* **Go agent**: [`ELASTIC_APM_VERIFY_SERVER_CERT`](apm-agent-go://reference/configuration.md#config-verify-server-cert)
6868
* **.NET agent**: [`VerifyServerCert`](apm-agent-dotnet://reference/config-reporter.md#config-verify-server-cert)
69-
* **Java agent**: [`verify_server_cert`](asciidocalypse://docs/apm-agent-java/docs/reference/config-reporter.md#config-verify-server-cert)
69+
* **Java agent**: [`verify_server_cert`](apm-agent-java://reference/config-reporter.md#config-verify-server-cert)
7070
* **PHP agent**: [`verify_server_cert`](asciidocalypse://docs/apm-agent-php/docs/reference/configuration-reference.md#config-verify-server-cert)
7171
* **Python agent**: [`verify_server_cert`](asciidocalypse://docs/apm-agent-python/docs/reference/configuration.md#config-verify-server-cert)
7272
* **Ruby agent**: [`verify_server_cert`](asciidocalypse://docs/apm-agent-ruby/docs/reference/configuration.md#config-verify-server-cert)

solutions/observability/apps/apm-server-binary.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -383,12 +383,12 @@ Different application servers have different ways of setting the `-javaagent` fl
383383
java -javaagent:/path/to/elastic-apm-agent-<version>.jar -Delastic.apm.service_name=my-cool-service -Delastic.apm.application_packages=org.example,org.another.example -Delastic.apm.server_url=http://127.0.0.1:8200 -jar my-application.jar
384384
```
385385

386-
Refer to [Manual setup with `-javaagent` flag](asciidocalypse://docs/apm-agent-java/docs/reference/setup-javaagent.md) to learn more.
386+
Refer to [Manual setup with `-javaagent` flag](apm-agent-java://reference/setup-javaagent.md) to learn more.
387387

388388
**Alternate setup methods**
389389

390-
* **Automatic setup with `apm-agent-attach-cli.jar`**<br> Automatically set up the agent without needing to alter the configuration of your JVM or application server. This method requires no changes to application code or JVM options, and allows attaching to a running JVM. Refer to the [Java agent documentation](asciidocalypse://docs/apm-agent-java/docs/reference/setup-attach-cli.md) for more information on this setup method.
391-
* **Programmatic API setup to self-attach**<br> Set up the agent with a one-line code change and an extra `apm-agent-attach` dependency. This method requires no changes to JVM options, and the agent artifact is embedded within the packaged application binary. Refer to the [Java agent documentation](asciidocalypse://docs/apm-agent-java/docs/reference/setup-attach-api.md) for more information on this setup method.
390+
* **Automatic setup with `apm-agent-attach-cli.jar`**<br> Automatically set up the agent without needing to alter the configuration of your JVM or application server. This method requires no changes to application code or JVM options, and allows attaching to a running JVM. Refer to the [Java agent documentation](apm-agent-java://reference/setup-attach-cli.md) for more information on this setup method.
391+
* **Programmatic API setup to self-attach**<br> Set up the agent with a one-line code change and an extra `apm-agent-attach` dependency. This method requires no changes to JVM options, and the agent artifact is embedded within the packaged application binary. Refer to the [Java agent documentation](apm-agent-java://reference/setup-attach-api.md) for more information on this setup method.
392392
::::::
393393

394394
::::::{tab-item} .NET

solutions/observability/apps/built-in-data-filters.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The default list of sanitized fields attempts to target common field names for d
2525
This setting supports [Central configuration](apm-agent-central-configuration.md), which means the list of sanitized fields can be updated without needing to redeploy your services:
2626

2727
* Go: [`ELASTIC_APM_SANITIZE_FIELD_NAMES`](apm-agent-go://reference/configuration.md#config-sanitize-field-names)
28-
* Java: [`sanitize_field_names`](asciidocalypse://docs/apm-agent-java/docs/reference/config-core.md#config-sanitize-field-names)
28+
* Java: [`sanitize_field_names`](apm-agent-java://reference/config-core.md#config-sanitize-field-names)
2929
* .NET: [`sanitizeFieldNames`](apm-agent-dotnet://reference/config-core.md#config-sanitize-field-names)
3030
* Node.js: [`sanitizeFieldNames`](asciidocalypse://docs/apm-agent-nodejs/docs/reference/configuration.md#sanitize-field-names)
3131
* Python: [`sanitize_field_names`](asciidocalypse://docs/apm-agent-python/docs/reference/configuration.md#config-sanitize-field-names)
@@ -34,7 +34,7 @@ This setting supports [Central configuration](apm-agent-central-configuration.md
3434
Alternatively, you can completely disable the capturing of HTTP headers. This setting also supports [Central configuration](apm-agent-central-configuration.md):
3535

3636
* Go: [`ELASTIC_APM_CAPTURE_HEADERS`](apm-agent-go://reference/configuration.md#config-capture-headers)
37-
* Java: [`capture_headers`](asciidocalypse://docs/apm-agent-java/docs/reference/config-core.md#config-capture-headers)
37+
* Java: [`capture_headers`](apm-agent-java://reference/config-core.md#config-capture-headers)
3838
* .NET: [`CaptureHeaders`](apm-agent-dotnet://reference/config-http.md#config-capture-headers)
3939
* Node.js: [`captureHeaders`](asciidocalypse://docs/apm-agent-nodejs/docs/reference/configuration.md#capture-headers)
4040
* Python: [`capture_headers`](asciidocalypse://docs/apm-agent-python/docs/reference/configuration.md#config-capture-headers)
@@ -48,7 +48,7 @@ By default, the body of HTTP requests is not recorded. Request bodies often cont
4848
This setting supports [Central configuration](apm-agent-central-configuration.md), which means the list of sanitized fields can be updated without needing to redeploy your services:
4949

5050
* Go: [`ELASTIC_APM_CAPTURE_BODY`](apm-agent-go://reference/configuration.md#config-capture-body)
51-
* Java: [`capture_body`](asciidocalypse://docs/apm-agent-java/docs/reference/config-core.md#config-capture-body)
51+
* Java: [`capture_body`](apm-agent-java://reference/config-core.md#config-capture-body)
5252
* .NET: [`CaptureBody`](apm-agent-dotnet://reference/config-http.md#config-capture-body)
5353
* Node.js: [`captureBody`](asciidocalypse://docs/apm-agent-nodejs/docs/reference/configuration.md#capture-body)
5454
* Python: [`capture_body`](asciidocalypse://docs/apm-agent-python/docs/reference/configuration.md#config-capture-body)
@@ -96,4 +96,4 @@ Certain agents offer additional filtering and obfuscating options:
9696
**Agent configuration options**
9797

9898
* (Node.js) Remove errors raised by the server-side process: disable with [captureExceptions](asciidocalypse://docs/apm-agent-nodejs/docs/reference/configuration.md#capture-exceptions).
99-
* (Java) Remove process arguments from transactions: disabled by default with [`include_process_args`](asciidocalypse://docs/apm-agent-java/docs/reference/config-reporter.md#config-include-process-args).
99+
* (Java) Remove process arguments from transactions: disabled by default with [`include_process_args`](apm-agent-java://reference/config-reporter.md#config-include-process-args).

solutions/observability/apps/elastic-apm-agents.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ Spans are grouped in transactions—by default, one for each incoming HTTP reque
3333

3434
If you're ready to give Elastic APM a try, see [Get started with traces and APM](../../../solutions/observability/apps/get-started-with-apm.md).
3535

36-
See the [Java agent reference](asciidocalypse://docs/apm-agent-java/docs/reference/index.md) for full documentation, including:
36+
See the [Java agent reference](apm-agent-java://reference/index.md) for full documentation, including:
3737

38-
* [Supported technologies](asciidocalypse://docs/apm-agent-java/docs/reference/supported-technologies.md)
39-
* [Set up](asciidocalypse://docs/apm-agent-java/docs/reference/set-up-apm-java-agent.md)
40-
* [Configuration reference](asciidocalypse://docs/apm-agent-java/docs/reference/configuration.md)
41-
* [API reference](asciidocalypse://docs/apm-agent-java/docs/reference/tracing-apis.md)
38+
* [Supported technologies](apm-agent-java://reference/supported-technologies.md)
39+
* [Set up](apm-agent-java://reference/set-up-apm-java-agent.md)
40+
* [Configuration reference](apm-agent-java://reference/configuration.md)
41+
* [API reference](apm-agent-java://reference/tracing-apis.md)
4242

4343
::::{important}
4444
Not all APM agent configuration options are compatible with Elastic Cloud serverless.

0 commit comments

Comments
 (0)