Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 28 additions & 7 deletions observability-logs-openobserve/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
| ------------- |-----------|
| Code coverage | [![Codecov](https://codecov.io/gh/openchoreo/community-modules/branch/main/graph/badge.svg?component=observability_logs_openobserve)](https://codecov.io/gh/openchoreo/community-modules) |

This module collects container logs using Fluent Bit and stores them in OpenObserve.
This module collects container logs using Fluent Bit and stores them in [OpenObserve](https://openobserve.ai).

## Prerequisites

Expand All @@ -20,20 +20,41 @@ Before installing, create Kubernetes Secrets with the OpenObserve admin credenti
```bash
kubectl create secret generic openobserve-admin-credentials \
--namespace openchoreo-observability-plane \
--from-literal=username='root@example.com' \
--from-literal=password='YOUR_PASSWORD'
--from-literal=ZO_ROOT_USER_EMAIL='root@example.com' \
--from-literal=ZO_ROOT_USER_PASSWORD='YOUR_PASSWORD'
```

## OpenObserve deployment modes

This chart includes two OpenObserve Helm chart dependencies:

- **`openobserve-standalone`** — A single-node deployment that uses local disk storage. This is enabled by default and suitable for most use cases.
- **`openobserve`** — A distributed, high-availability (HA) deployment with separate components (router, ingester, querier, etc.) that requires object storage (e.g. S3, MinIO). This is disabled by default.

Install this module in your OpenChoreo cluster using:

```bash
helm upgrade --install observability-logs-openobserve \
oci://ghcr.io/openchoreo/helm-charts/observability-logs-openobserve \
--create-namespace \
--namespace openchoreo-observability-plane \
--version 0.3.10
--version 0.4.0
```

To switch to HA mode, disable the standalone chart and enable the distributed chart:

```bash
helm upgrade --install observability-logs-openobserve \
oci://ghcr.io/openchoreo/helm-charts/observability-logs-openobserve \
--namespace openchoreo-observability-plane \
--version 0.4.0 \
--reuse-values \
--set openobserve-standalone.enabled=false \
--set openobserve.enabled=true
```

Refer to the [openobserve Helm chart documentation](https://github.com/openobserve/openobserve-helm-chart/tree/main/charts/openobserve) to configure the distributed deployment.

## Enable log collection

### Single-cluster topology
Expand All @@ -45,7 +66,7 @@ to start collecting logs from the cluster and publish them to OpenObserve:
helm upgrade observability-logs-openobserve \
oci://ghcr.io/openchoreo/helm-charts/observability-logs-openobserve \
--namespace openchoreo-observability-plane \
--version 0.3.10 \
--version 0.4.0 \
--reuse-values \
--set fluent-bit.enabled=true
```
Expand All @@ -60,9 +81,9 @@ helm upgrade --install observability-logs-openobserve \
oci://ghcr.io/openchoreo/helm-charts/observability-logs-openobserve \
--create-namespace \
--namespace openchoreo-observability-plane \
--version 0.3.10 \
--version 0.4.0 \
--set fluent-bit.enabled=true \
--set openObserve.enabled=false \
--set openobserve-standalone.enabled=false \
--set openObserveSetup.enabled=false \
--set adapter.enabled=false
```
Expand Down
10 changes: 8 additions & 2 deletions observability-logs-openobserve/helm/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,11 @@ dependencies:
- name: fluent-bit
repository: https://fluent.github.io/helm-charts
version: 0.56.0
digest: sha256:e120960dbb5fbcfb6bccdd7bb486bd94fd013387bfd4490fada383d43f492cf5
generated: "2026-03-09T12:36:21.83531+05:30"
- name: openobserve-standalone
repository: https://charts.openobserve.ai
version: 0.60.3
- name: openobserve
repository: https://charts.openobserve.ai
version: 0.60.3
digest: sha256:cc9a336d17c32c1e3a31406ac107ff08c1b14898355b0efa7a333a8291978915
generated: "2026-03-18T17:34:53.607968+05:30"
12 changes: 10 additions & 2 deletions observability-logs-openobserve/helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ apiVersion: v2
name: observability-logs-openobserve
description: A Helm chart for OpenChoreo Logs Module for OpenObserve
type: application
version: 0.3.10
appVersion: "0.3.10"
version: 0.4.0
appVersion: "0.4.0"
keywords:
- openobserve
- openchoreo
Expand All @@ -19,3 +19,11 @@ dependencies:
version: "0.56.0"
repository: https://fluent.github.io/helm-charts
condition: fluent-bit.enabled
- name: openobserve-standalone
version: "0.60.3"
repository: https://charts.openobserve.ai
condition: openobserve-standalone.enabled
- name: openobserve
version: "0.60.3"
repository: https://charts.openobserve.ai
condition: openobserve.enabled
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ spec:
valueFrom:
secretKeyRef:
name: openobserve-admin-credentials
key: username
key: ZO_ROOT_USER_EMAIL
- name: OPENOBSERVE_PASSWORD
valueFrom:
secretKeyRef:
name: openobserve-admin-credentials
key: password
key: ZO_ROOT_USER_PASSWORD
resources:
limits:
cpu: {{ .Values.adapter.resources.limits.cpu }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ data:
Format json
http_user ${OPENOBSERVE_USERNAME}
http_passwd ${OPENOBSERVE_PASSWORD}
tls On
tls {{ index .Values "fluent-bit" "openObserveTls" }}

parsers.conf: |
[PARSER]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ spec:
valueFrom:
secretKeyRef:
name: openobserve-admin-credentials
key: username
key: ZO_ROOT_USER_EMAIL
- name: OPENOBSERVE_PASSWORD
valueFrom:
secretKeyRef:
name: openobserve-admin-credentials
key: password
key: ZO_ROOT_USER_PASSWORD
- name: OPENOBSERVE_ORG
value: {{ .Values.common.openObserveOrg | quote }}
{{- end }}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 2026 The OpenChoreo Authors
# SPDX-License-Identifier: Apache-2.0

{{- if .Values.openObserve.enabled }}
{{- if (index .Values "openobserve-standalone" "enabled") }}
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
Expand All @@ -11,7 +11,7 @@ spec:
parentRefs:
- name: gateway-default
namespace: {{ .Release.Namespace }}
{{- with .Values.openObserve.httpRouteHostnames }}
{{- with (index .Values "openobserve-standalone" "httpRouteHostnames") }}
hostnames:
{{- range . }}
- {{ . | quote }}
Expand Down

This file was deleted.

This file was deleted.

28 changes: 20 additions & 8 deletions observability-logs-openobserve/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ fluent-bit:
valueFrom:
secretKeyRef:
name: openobserve-admin-credentials
key: username
key: ZO_ROOT_USER_EMAIL
- name: OPENOBSERVE_PASSWORD
valueFrom:
secretKeyRef:
name: openobserve-admin-credentials
key: password
key: ZO_ROOT_USER_PASSWORD

fullnameOverride: "fluent-bit"

Expand Down Expand Up @@ -90,21 +90,33 @@ fluent-bit:
# Values for fluent-bit config map
openObserveHost: "openobserve"
openObservePort: 5080
openObserveTls: "Off"

openObserve:
openobserve-standalone:
enabled: true
httpRouteHostnames: []
fullnameOverride: "openobserve"
auth:
ZO_ROOT_USER_EMAIL: ""
ZO_ROOT_USER_PASSWORD: ""
existingRootUserSecret:
name: "openobserve-admin-credentials"
persistence:
enabled: true
size: 10Gi
resources:
limits:
cpu: 500m
memory: 1000Mi
requests:
cpu: 20m
memory: 500Mi
service:
type: ClusterIP
storage:
size: 10Gi

## OpenChoreo specific values. These are not passed to the upstream chart
httpRouteHostnames: []

openobserve:
enabled: false
fullnameOverride: "openobserve"

## -----------------------------------------------------------
## Values for OpenChoreo specific customizations and workloads
Expand Down
33 changes: 27 additions & 6 deletions observability-tracing-openobserve/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
| ------------- |-----------|
| Code coverage | [![Codecov](https://codecov.io/gh/openchoreo/community-modules/branch/main/graph/badge.svg?component=observability_tracing_openobserve)](https://codecov.io/gh/openchoreo/community-modules) |

This module collects distributed traces using OpenTelemetry collector and stores them in OpenObserve.
This module collects distributed traces using OpenTelemetry collector and stores them in [OpenObserve](https://openobserve.ai).

## Prerequisites

Expand All @@ -19,27 +19,48 @@ Before installing, create Kubernetes Secrets with the OpenObserve admin credenti
```bash
kubectl create secret generic openobserve-admin-credentials \
--namespace openchoreo-observability-plane \
--from-literal=username='root@example.com' \
--from-literal=password='YOUR_PASSWORD'
--from-literal=ZO_ROOT_USER_EMAIL='root@example.com' \
--from-literal=ZO_ROOT_USER_PASSWORD='YOUR_PASSWORD'
```

## OpenObserve deployment modes

This chart includes two OpenObserve Helm chart dependencies:

- **`openobserve-standalone`** — A single-node deployment that uses local disk storage. This is enabled by default and suitable for most use cases.
- **`openobserve`** — A distributed, high-availability (HA) deployment with separate components (router, ingester, querier, etc.) that requires object storage (e.g. S3, MinIO). This is disabled by default.

Install this module in your OpenChoreo cluster using:

```bash
helm upgrade --install observability-tracing-openobserve \
oci://ghcr.io/openchoreo/helm-charts/observability-tracing-openobserve \
--create-namespace \
--namespace openchoreo-observability-plane \
--version 0.1.5
--version 0.2.0
```

To switch to HA mode, disable the standalone chart and enable the distributed chart:

```bash
helm upgrade --install observability-tracing-openobserve \
oci://ghcr.io/openchoreo/helm-charts/observability-tracing-openobserve \
--namespace openchoreo-observability-plane \
--version 0.2.0 \
--reuse-values \
--set openobserve-standalone.enabled=false \
--set openobserve.enabled=true
```

Refer to the [openobserve Helm chart documentation](https://github.com/openobserve/openobserve-helm-chart/tree/main/charts/openobserve) to configure the distributed deployment.

> **Note:** If OpenObserve is already installed by another module (e.g., `observability-logs-openobserve`), disable it to avoid conflicts:
>
> ```bash
> helm upgrade --install observability-tracing-openobserve \
> oci://ghcr.io/openchoreo/helm-charts/observability-tracing-openobserve \
> --create-namespace \
> --namespace openchoreo-observability-plane \
> --version 0.1.5 \
> --set openObserve.enabled=false
> --version 0.2.0 \
> --set openobserve-standalone.enabled=false
>```
10 changes: 8 additions & 2 deletions observability-tracing-openobserve/helm/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,11 @@ dependencies:
- name: opentelemetry-collector
repository: https://open-telemetry.github.io/opentelemetry-helm-charts
version: 0.146.1
digest: sha256:5c2e1ccda7de58680e652026f89d9f8c004493920cef11720fd8b2da584195ff
generated: "2026-03-09T12:37:55.691904+05:30"
- name: openobserve-standalone
repository: https://charts.openobserve.ai
version: 0.60.3
- name: openobserve
repository: https://charts.openobserve.ai
version: 0.60.3
digest: sha256:cd1df75167cbc6225f3032dc0ecdf9a6bafe14f3d1ef530e16d49b2d11adcc2e
generated: "2026-03-18T18:00:14.02564+05:30"
Loading
Loading