From 03ed70164ac6185d747b8c8c043e1a8222644957 Mon Sep 17 00:00:00 2001 From: Brandon Morelli Date: Wed, 25 Aug 2021 14:09:15 -0700 Subject: [PATCH] docs: remove tab widget code (#6038) --- docs/guide/distributed-tracing.asciidoc | 3 - docs/guide/install-and-run.asciidoc | 3 - docs/guide/opentelemetry-elastic.asciidoc | 7 +- docs/jaeger-support.asciidoc | 3 - docs/tab-widgets/code.asciidoc | 166 ---------------------- 5 files changed, 2 insertions(+), 180 deletions(-) delete mode 100644 docs/tab-widgets/code.asciidoc diff --git a/docs/guide/distributed-tracing.asciidoc b/docs/guide/distributed-tracing.asciidoc index 15e44200de..51a69d2b2b 100644 --- a/docs/guide/distributed-tracing.asciidoc +++ b/docs/guide/distributed-tracing.asciidoc @@ -1,9 +1,6 @@ [[distributed-tracing]] === Distributed tracing -// Make tab-widgets work -include::../tab-widgets/code.asciidoc[] - A `trace` is a group of <> and <> with a common root. Each `trace` tracks the entirety of a single request. When a `trace` travels through multiple services, as is common in a microservice architecture, diff --git a/docs/guide/install-and-run.asciidoc b/docs/guide/install-and-run.asciidoc index 66f1b5e89f..cacd159531 100644 --- a/docs/guide/install-and-run.asciidoc +++ b/docs/guide/install-and-run.asciidoc @@ -1,9 +1,6 @@ [[install-and-run]] == Quick start guide -// Make tab-widgets work -include::../tab-widgets/code.asciidoc[] - This guide describes how to get started quickly with Elastic APM. You’ll learn how to: * Spin up {es}, {kib}, and APM Server on {ess} diff --git a/docs/guide/opentelemetry-elastic.asciidoc b/docs/guide/opentelemetry-elastic.asciidoc index 407917f5aa..71eef16b39 100644 --- a/docs/guide/opentelemetry-elastic.asciidoc +++ b/docs/guide/opentelemetry-elastic.asciidoc @@ -26,7 +26,7 @@ business KPIs and technical components with the {stack}. IMPORTANT: The https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/exporter/elasticexporter#legacy-opentelemetry-collector-exporter-for-elastic[OpenTelemetry Collector exporter for Elastic] was deprecated in 7.13 and replaced by the native support of the OpenTelemetry Line Protocol in -Elastic Observability (OTLP). To learn more, see +Elastic Observability (OTLP). To learn more, see https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/exporter/elasticexporter#migration[migration]. Elastic APM Server natively supports the OpenTelemetry protocol. @@ -359,7 +359,7 @@ Lambda layer for OpenTelemetry]. For example, `arn:aws:lambda:eu-west-1:90192057 ** `OPENTELEMETRY_COLLECTOR_CONFIG_FILE="/var/task/opentelemetry-collector.yaml"` to specify the path to your OpenTelemetry Collector configuration ** `OTEL_EXPORTER_OTLP_ENDPOINT="http://localhost:55681/v1/traces"` this environment variable is required to be set until https://github.com/open-telemetry/opentelemetry-js/pull/2331[PR #2331] is merged and released. ** `OTEL_TRACES_SAMPLER="AlwaysOn"` define the required sampler strategy if it is not sent from the caller. Note that `Always_on` can potentially create a very large amount of data, so in production set the correct sampling configuration, as per the https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/sdk.md#sampling[specification]. - + [[open-telemetry-aws-lambda-elastic-nodejs-terraform]] ===== Instrumenting AWS Lambda Node.js functions with Terraform @@ -394,6 +394,3 @@ and https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-api/latest/io/open ===== OpenTelemetry logs * OpenTelemetry logs are not yet supported https://github.com/elastic/apm-server/issues/5491[#5491] - -// Make tab-widgets work -include::../tab-widgets/code.asciidoc[] diff --git a/docs/jaeger-support.asciidoc b/docs/jaeger-support.asciidoc index 75fd546739..2b1cfb5eb2 100644 --- a/docs/jaeger-support.asciidoc +++ b/docs/jaeger-support.asciidoc @@ -67,6 +67,3 @@ for more information. ==== Start sending span data That's it! Data sent from Jaeger clients to the APM Server can now be viewed in the APM app. - -// Make tab-widgets work -include::./tab-widgets/code.asciidoc[] \ No newline at end of file diff --git a/docs/tab-widgets/code.asciidoc b/docs/tab-widgets/code.asciidoc deleted file mode 100644 index 6a30cf55c8..0000000000 --- a/docs/tab-widgets/code.asciidoc +++ /dev/null @@ -1,166 +0,0 @@ -// Defining styles and script here for simplicity. -++++ - - - -++++ \ No newline at end of file