Skip to content

Commit ee38c31

Browse files
committed
Remove unused sections
1 parent b63a855 commit ee38c31

4 files changed

Lines changed: 1 addition & 107 deletions

File tree

observability-tracing-moesif/README.md

Lines changed: 1 addition & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -24,49 +24,13 @@ kubectl create secret generic moesif-tracing-secret \
2424
--namespace openchoreo-observability-plane
2525
```
2626

27-
### Install the Helm Chart
28-
29-
#### Installation modes
30-
31-
This chart supports two `global.installationMode` values:
32-
33-
- **`singleCluster`** *(default)*: Deploy the OpenTelemetry Collector into a single cluster where both the dataplane and the observability plane reside.
34-
- **`multiClusterReceiver`**: Deploy the OpenTelemetry Collector as a central receiver in the observability plane cluster. It accepts OTLP traces from remote dataplane clusters and forwards them to Moesif.
35-
36-
#### Single-cluster topology
37-
38-
```bash
39-
helm upgrade --install observability-tracing-moesif \
40-
oci://ghcr.io/openchoreo/helm-charts/observability-tracing-moesif \
41-
--create-namespace \
42-
--namespace openchoreo-observability-plane \
43-
--version 0.1.0
44-
```
45-
46-
#### Multi-cluster topology (receiver)
47-
48-
Install in the observability plane cluster. An HTTPRoute will be created so that dataplane clusters can push OTLP traces over HTTP/gRPC.
49-
50-
```bash
51-
helm upgrade --install observability-tracing-moesif \
52-
oci://ghcr.io/openchoreo/helm-charts/observability-tracing-moesif \
53-
--create-namespace \
54-
--namespace openchoreo-observability-plane \
55-
--version 0.1.0 \
56-
--set global.installationMode="multiClusterReceiver"
57-
```
58-
5927
### Configuration Options
6028

6129
For easier configuration management, create a `moesif-tracing-values.yaml` file:
6230

6331
```yaml
6432
# moesif-tracing-values.yaml
6533

66-
global:
67-
# installationMode: "singleCluster" # default
68-
# installationMode: "multiClusterReceiver"
69-
7034
moesif:
7135
# List of environment names to collect traces from.
7236
# These must match the openchoreo.dev/environment label on your resources.
@@ -97,7 +61,6 @@ helm upgrade --install observability-tracing-moesif \
9761

9862
| Parameter | Description | Default |
9963
|-----------|-------------|---------|
100-
| `global.installationMode` | Installation mode: `singleCluster` or `multiClusterReceiver` | `singleCluster` |
10164
| `moesif.environments` | List of environment names to collect traces from | `[development, production]` |
10265
| `moesif.endpoint` | (Optional) Moesif API endpoint URL | `https://api.moesif.net` |
10366
| `opentelemetryCollectorCustomizations.tailSampling.enabled` | Enable tail-based sampling | `false` |
@@ -107,7 +70,7 @@ helm upgrade --install observability-tracing-moesif \
10770
This module deploys an **OpenTelemetry Collector** that:
10871

10972
1. Receives OTLP traces (gRPC on port `4317`, HTTP on port `4318`) from instrumented workloads.
110-
2. Enriches spans with Kubernetes metadata (pod name, deployment, namespace, etc.) using the `k8sattributes` processor (in `singleCluster` mode).
73+
2. Enriches spans with Kubernetes metadata (pod name, deployment, namespace, etc.) using the `k8sattributes` processor.
11174
3. Routes traces to the correct Moesif application based on the `openchoreo.dev/environment` resource attribute.
11275
4. Exports traces to Moesif using the Moesif Collector Application ID stored in the `moesif-tracing-secret` Kubernetes secret.
11376

observability-tracing-moesif/helm/templates/opentelemetry-collector/configMap.yaml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,7 @@ data:
2525
otlphttp/{{ . }}:
2626
endpoint: {{ $.Values.moesif.endpoint | default "https://api.moesif.net" | quote }}
2727
headers:
28-
{{- if eq $.Values.moesif.auth_mode "api-key" }}
29-
X-Api-Token: ${env:api_key}
30-
{{- else }}
3128
X-Moesif-Application-Id: ${env:{{ . | replace "-" "_" }}}
32-
{{- end }}
3329
{{- end }}
3430
3531
connectors:
@@ -46,7 +42,6 @@ data:
4642
endpoint: ${env:MY_POD_IP}:13133
4743
4844
processors:
49-
{{- if or (eq .Values.global.installationMode "singleCluster") }}
5045
k8sattributes:
5146
auth_type: "serviceAccount"
5247
passthrough: false
@@ -63,7 +58,6 @@ data:
6358
- k8s.deployment.name
6459
- k8s.namespace.name
6560
- k8s.node.name
66-
{{- end }}
6761
{{- if .Values.opentelemetryCollectorCustomizations.tailSampling.enabled }}
6862
tail_sampling:
6963
decision_wait: {{ .Values.opentelemetryCollectorCustomizations.tailSampling.decisionWait }}
@@ -80,31 +74,17 @@ data:
8074
},
8175
]
8276
{{- end }}
83-
{{- if eq $.Values.moesif.auth_mode "api-key" }}
84-
batch:
85-
metadata_keys:
86-
- x-org-id
87-
- x-app-id
88-
metadata_cardinality_limit: 1000
89-
timeout: 10s
90-
send_batch_size: 1024
91-
{{- end }}
9277
9378
service:
9479
extensions: [health_check]
9580
pipelines:
9681
traces/in:
9782
receivers: [otlp]
9883
{{- $processors := list }}
99-
{{- if or (eq .Values.global.installationMode "singleCluster") }}
10084
{{- $processors = append $processors "k8sattributes" }}
101-
{{- end }}
10285
{{- if .Values.opentelemetryCollectorCustomizations.tailSampling.enabled }}
10386
{{- $processors = append $processors "tail_sampling" }}
10487
{{- end }}
105-
{{- if eq $.Values.moesif.auth_mode "api-key" }}
106-
{{- $processors = append $processors "batch" }}
107-
{{- end }}
10888
{{- if $processors }}
10989
processors: [{{ join ", " $processors }}]
11090
{{- end }}

observability-tracing-moesif/helm/templates/opentelemetry-collector/httproute.yaml

Lines changed: 0 additions & 41 deletions
This file was deleted.

observability-tracing-moesif/helm/values.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
# Copyright 2026 The OpenChoreo Authors
22
# SPDX-License-Identifier: Apache-2.0
33

4-
global:
5-
installationMode: "singleCluster" # supports "singleCluster", "multiClusterReceiver"
6-
74
## -----------------------------------------------------------
85
## Values for OpenTelemetry Collector configuration
96
## -----------------------------------------------------------
@@ -58,8 +55,3 @@ opentelemetryCollectorCustomizations:
5855
sampledCacheSize: 10000
5956
nonSampledCacheSize: 1000
6057
spansPerSecond: 10
61-
62-
http:
63-
observabilityPlaneUrl: ""
64-
observabilityPlaneVirtualHost: ""
65-
hostnames: []

0 commit comments

Comments
 (0)