Code Monkey home page Code Monkey logo

ocm-otel's Introduction

RHACM OpenTelemetry addon

Overview

This project is a proof of concept for Red Hat OpenShift Advanced Cluster Administration. It demonstrates the installation and configuration of the OpenTelemetry Collector provided by Red Hat, in a Hub and Spoke cluster setup. This setup involves creating one OpenTelemetry Collector in each spoke cluster that forwards data to a central OpenTelemetry Collector in the hub cluster.

flowchart TD
    subgraph Spoke cluster
    A[OTEL Collector] 
    end
    subgraph Hub OTEL Cluster
    D[OTEL Collector] 
    end
    A --> |Traces|D
Loading

Features

  • OpenTelemetry Collector Installation: Automates the deployment of the OpenTelemetry Collector Build by Red Hat in both Hub and Spoke clusters.
  • Cluster Configuration: Configures each spoke cluster's OpenTelemetry Collector to send data to the central collector in the hub cluster.
  • OpenShift Route Exposure: Exposes the OpenTelemetry Collector from the Hub Cluster via an OpenShift Route for accessible monitoring and management.
  • Certificate generation: Generation and configuation of certificates to communicate and authenticate hte OpenTelemetry Collectors.

Warning

Some of those features are not performed directly by the addon. That can be done in the future if needed but, since this is just a PoC, the current approach is fine.

Prerequisites

  • 1 Red Hat OpenShift Cluster connected with RHACM installed
  • 1 Red Hat OpenShift Cluster added as spoke cluster whose name is cluster1.

Installation

  1. Clone the repository.
  2. Change the enpoint field in cmd/manifests/otel.yaml to the URL where the collector will be available in your Hub cluster.
  3. Run make demo IMG=<image name>.

ocm-otel's People

Contributors

iblancasa avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.