Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iblancasa/ocm-otel
PoC to create an RHACM addon to deploy OpenTelemetry Collectors instances
https://github.com/iblancasa/ocm-otel
acm multicluster observability ocm openshift opentelemetry
Last synced: about 1 month ago
JSON representation
PoC to create an RHACM addon to deploy OpenTelemetry Collectors instances
- Host: GitHub
- URL: https://github.com/iblancasa/ocm-otel
- Owner: iblancasa
- Created: 2023-11-28T11:34:41.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-12T17:55:14.000Z (about 1 year ago)
- Last Synced: 2024-11-15T22:42:28.249Z (2 months ago)
- Topics: acm, multicluster, observability, ocm, openshift, opentelemetry
- Language: Go
- Homepage:
- Size: 58.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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.```mermaid
flowchart TD
subgraph Spoke cluster
A[OTEL Collector]
end
subgraph Hub OTEL Cluster
D[OTEL Collector]
end
A --> |Traces|D
```## 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](https://www.redhat.com/es/technologies/management/advanced-cluster-management) 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=`.