From c34c5a8ff4ba460673c50c7cda9a7dc5c744ed03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Istv=C3=A1n=20Zolt=C3=A1n=20Szab=C3=B3?= Date: Wed, 12 Mar 2025 15:22:05 +0100 Subject: [PATCH 1/2] Updates links pointing to apm-agent-java. --- docset.yml | 1 + .../observability-apm-get-started.md | 6 ++-- .../observability-ecs-application-logs.md | 2 +- ...bservability-plaintext-application-logs.md | 2 +- solutions/observability/apps/api-keys.md | 2 +- .../apps/apm-agent-central-configuration.md | 2 +- .../apps/apm-agent-tls-communication.md | 4 +-- .../observability/apps/apm-server-binary.md | 6 ++-- .../apps/built-in-data-filters.md | 8 ++--- .../observability/apps/elastic-apm-agents.md | 10 +++--- .../apps/filter-application-data.md | 2 +- .../apps/fleet-managed-apm-server.md | 6 ++-- solutions/observability/apps/metadata.md | 6 ++-- solutions/observability/apps/metrics.md | 4 +-- .../apps/monitoring-aws-lambda-functions.md | 2 +- solutions/observability/apps/secret-token.md | 4 +-- solutions/observability/apps/spans.md | 4 +-- .../apps/ssltls-input-settings.md | 4 +-- solutions/observability/apps/traces.md | 8 ++--- .../apps/transaction-sampling.md | 2 +- .../apps/tutorial-monitor-java-application.md | 12 +++---- .../apps/use-opentelemetry-with-apm.md | 2 +- ...s-when-apm-server-elasticsearch-is-down.md | 2 +- ...tutorial-observe-kubernetes-deployments.md | 4 +-- .../logs/apm-agent-log-sending.md | 2 +- .../logs/ecs-formatted-application-logs.md | 2 +- .../logs/plaintext-application-logs.md | 2 +- .../logs/stream-application-logs.md | 4 +-- .../apm-agent-java/apm-java-agent.md | 34 +++++++++---------- ...s-when-apm-server-elasticsearch-is-down.md | 2 +- 30 files changed, 76 insertions(+), 75 deletions(-) diff --git a/docset.yml b/docset.yml index 6d80ca5ac7..e5ba789a29 100644 --- a/docset.yml +++ b/docset.yml @@ -11,6 +11,7 @@ cross_links: - apm-agent-dotnet - apm-agent-go - apm-agent-ios + - apm-agent-java - apm-aws-lambda - apm-k8s-attacher - asciidocalypse diff --git a/raw-migrated-files/docs-content/serverless/observability-apm-get-started.md b/raw-migrated-files/docs-content/serverless/observability-apm-get-started.md index c78944043c..f5c118e0a1 100644 --- a/raw-migrated-files/docs-content/serverless/observability-apm-get-started.md +++ b/raw-migrated-files/docs-content/serverless/observability-apm-get-started.md @@ -118,12 +118,12 @@ To send APM data to Elastic, you must install an APM agent and configure it to s java -javaagent:/path/to/elastic-apm-agent-.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 ``` - Refer to [Manual setup with `-javaagent` flag](asciidocalypse://docs/apm-agent-java/docs/reference/setup-javaagent.md) to learn more. + Refer to [Manual setup with `-javaagent` flag](apm-agent-java://reference/setup-javaagent.md) to learn more. **Alternate setup methods** - * **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. - * **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. + * **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. + * **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.