Super Heroes on OpenShift Workshop
  • Super Heroes on OpenShift Workshop
    • About Workshop
    • Application Architecture
    • Getting Started
  • Application Services Deployment
    • Databases Deployment
      • Deploy Database For Hero Microservice
      • Deploy Database For Villain Microservice
      • Deploy Database For Fight Microservice
    • AMQ Streams (Kafka) Deployment
    • Service Registry (Apicurio) Deployment
  • Application Deployment
    • Microservices Deployment
      • Hero Microservice
      • Villain Microservice
      • Fight Microservice
      • Super Hero UI Microservice
      • Statistics and UI Microservices
      • Beautify The Topology View
  • Continuous Deployment (CD)
    • GitOps
  • Application Monitoring
    • Application Metrics
      • Configure Service Monitoring
      • Query Application Metrics
    • Distributed Tracing
      • Configure OpenShift Distributed Tracing Platform
      • Configure OpenShift Distributed Tracing Data Collection
      • Trace Application Transaction
  • Appendix
    • What's Quarkus?
    • Useful Resources
Powered by GitBook
On this page
  • Deploy distributed tracing data collection
  • What have you learnt?
  1. Application Monitoring
  2. Distributed Tracing

Configure OpenShift Distributed Tracing Data Collection

PreviousConfigure OpenShift Distributed Tracing PlatformNextTrace Application Transaction

Last updated 2 years ago

Deploy distributed tracing data collection

  1. Click on the book icon, to add application from Developer Catalog then type collector in the search box. Select OpenTelemetry Collector and click Create button.

  2. Switch to YAML view, copy following YAML snippet to the editor. DO NOT FORGET to change userX in line 16 to your user, then click Create button.

    YAML snippet:

    apiVersion: opentelemetry.io/v1alpha1
    kind: OpenTelemetryCollector
    metadata:
      name: otel
    spec:
      mode: deployment
      config: |
        receivers:
          otlp:
            protocols:
              grpc:
              http:
        processors:
        exporters:
          jaeger:
            endpoint: jaeger-collector-headless.userX-super-heroes.svc.cluster.local:14250
            tls:
              ca_file: "/var/run/secrets/kubernetes.io/serviceaccount/service-ca.crt"
        service:
          pipelines:
            traces:
              receivers: [otlp]
              processors: []
              exporters: [jaeger]
  3. Wait for a monent you'll see OpenTelemetry collector instance get deployed.

What have you learnt?

How to deploy distributed tracing data collection (based on open source project).

OpenTelemetry
❗
Deploy OpenTelemetry collector
Deploy OpenTelemetry collector
Deploy OpenTelemetry collector