The following guide describes how to setup the OpenTelemetry demo with Elastic Observability using Docker compose or Kubernetes. This fork introduces several changes to the agents used in the demo:
Additionally, the OpenTelemetry Contrib collector has also been changed to the Elastic OpenTelemetry Collector distribution. This ensures a more integrated and optimized experience with Elastic Observability.
Elasticsearch exporter (default)Elasticsearch endpoint
and the API Key
from the Help -> Connection details
drop down instructions in your Kibana. These variables will be used by the elasticsearch exporter to authenticate and transmit data to your Elasticsearch instance..env.override
in an editor and replace all occurrences the following two placeholders:
YOUR_ELASTICSEARCH_ENDPOINT
: your Elasticsearch endpoint (with https://
prefix example: https://1234567.us-west2.gcp.elastic-cloud.com:443
).YOUR_ELASTICSEARCH_API_KEY
: your Elasticsearch API Key.apm
with .ingest
..env.override
in an editor and replace all occurrences the following two placeholders:
YOUR_OTEL_EXPORTER_OTLP_ENDPOINT
: your OTEL_EXPORTER_OTLP_ENDPOINT_URL.YOUR_OTEL_EXPORTER_OTLP_TOKEN
: your Elastic OTLP endpoint token. This is what comes after ApiKey=
.src/otel-collector/otelcol-elastic-otlp-config.yaml
as OTEL_COLLECTOR_CONFIG
helm install my-otel-demo open-telemetry/opentelemetry-demo -f kubernetes/elastic-helm/demo.yml
In the installed configuration, browser-based load generation is disabled by default to avoid CORS (Cross-Origin Resource Sharing) issues when sending telemetry data from simulated browser clients to the OpenTelemetry Collector. If you'd like to enable browser traffic in the load generator again:
receivers: otlp: protocols: http: cors: allowed_origins: - http://frontend-proxy:8080This configuration allows the OTLP HTTP endpoint to accept trace data from browser-based sources running at http://frontend-proxy:8080.
Suppose you want to see how your new processor is going to play out in this demo app. You can create a custom OpenTelemetry collector and test it within this demo app by following these steps:
opentelemetry-collector
image definitions to point at your custom image repository and tagconfig
section. For example, if you are testing a processor, make sure to add its config to the processors
sub-section.service
section. For example, if you are testing a logs processor, make sure to add its config to the processors
sub-section of the logs
pipeline.image
section to point at your custom image repository and tagconfig
section. For example, if you are testing a processor, make sure to add its config to the processors
sub-section.service
section. For example, if you are testing a logs processor, make sure to add its config to the processors
sub-section of the logs
pipeline.# !(when running it for the first time) add the open-telemetry Helm repostiroy
helm repo add open-telemetry https://open-telemetry.github.io/opentelemetry-helm-charts
# !(when an older helm open-telemetry repo exists) update the open-telemetry helm repo
helm repo update open-telemetry
# deploy the demo through helm install
helm install -f deployment.yaml my-otel-demo open-telemetry/opentelemetry-demo
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4