A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/elastic/opentelemetry-demo below:

elastic/opentelemetry-demo: OpenTelemetry Community Demo Application

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)
  1. Start a free trial on Elastic Cloud and copy the 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.
  2. Open the file .env.override in an editor and replace all occurrences the following two placeholders:
  3. Start the demo with the following command from the repository's root directory:
  1. Sign up for a free trial on Elastic Cloud and start an Elastic Cloud Serverless Observability type project. Select Application and then OpenTelemetry.
  2. Copy the OTEL_EXPORTER_OTLP_ENDPOINT URL and replace .apm with .ingest.
  3. Click "Create an API Key" to create one.
  4. Open the file .env.override in an editor and replace all occurrences the following two placeholders:
  5. Add src/otel-collector/otelcol-elastic-otlp-config.yaml as OTEL_COLLECTOR_CONFIG
  6. Start the demo with the following command from the repository's root directory:
Enabling Browser Traffic Generation

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:

  1. Set LOCUST_BROWSER_TRAFFIC_ENABLED to "true" in kubernetes/elastic-helm/demo.yml.
  2. Modify the OTLP HTTP receiver in the DaemonSet OpenTelemetry Collector values file (used in the EDOT Quick Start Guide) to include CORS support:
    receivers:
      otlp:
        protocols:
          http:
            cors:
              allowed_origins:
                - http://frontend-proxy:8080
    This configuration allows the OTLP HTTP endpoint to accept trace data from browser-based sources running at http://frontend-proxy:8080.
  3. Upgrade the EDOT Quick Start deployment.
Kubernetes architecture diagram

Explore and analyze the data With Elastic

Testing with a custom component

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:

  1. Follow the instructions in the elastic-collector-componenets repo in order to build a Docker image that contains your custom component
  2. Edit the deployment.yaml file:
  3. If you wish to enable Kubernetes node level metrics collection, edit the daemonset.yaml file:
  4. Apply the Helm chart changes and install it:
    # !(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