Skip to content

Commit 8fa0d9e

Browse files
authored
[otel-integration] fix up docs (#555) (#556)
1 parent a1a698b commit 8fa0d9e

1 file changed

Lines changed: 17 additions & 37 deletions

File tree

otel-integration/k8s-helm/README.md

Lines changed: 17 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,6 @@ Depending on your needs, you can use both charts (default behavior) or decide to
3232

3333
Additionally, the OpenTelemetry Integration chart enables the collection of telemetry data needed for the Kubernetes Dashboard setup. This dashboard is a powerful web-based interface for monitoring and managing Kubernetes clusters. It provides real-time CPU, memory, network, and disk usage metrics for nodes and pods. Users can track resource trends, optimize workload placement, and troubleshoot issues effectively. The dashboard also displays Kubernetes events for quick problem identification and resolution. Streamlining cluster management ensures efficient performance and smooth operation of applications.
3434

35-
### OpenTelemetry Operator (for CRD users)
36-
37-
If you want to use the OpenTelemetry Integration Helm chart as an `OpenTelemetryCollector` CRD, you will need to have the OpenTelemetry Operator installed in your cluster. Please refer to the [OpenTelemetry Operator documentation](https://github.com/open-telemetry/opentelemetry-operator/blob/main/README.md) for full details.
38-
39-
We recommend to install the operator with the help of the community Helm charts from the [OpenTelemetry Helm Charts](https://github.com/open-telemetry/opentelemetry-helm-charts/tree/main/charts/opentelemetry-operator) repository.
40-
4135
## OpenTelemetry Agent
4236

4337
The OpenTelemetry Agent simplifies the collection of logs, metrics, and traces from applications running in your Kubernetes cluster. It is configured to deploy as a `daemonset` and runs on every node in the cluster. The agent maps metadata - such as Kubernetes attributes, Kubelet metrics, and host data - to the collected telemetry. This is particularly beneficial for high-traffic clusters or when utilizing our [APM capabilities](https://coralogix.com/docs/opentelemetry/integrations/apm-kubernetes/).
@@ -106,9 +100,6 @@ Utilizing OpenTelemetry, we ensure seamless and automated data collection from v
106100
- [Kubernetes](https://kubernetes.io/) (v1.24+) installed
107101
- [Helm](https://helm.sh/) (v3.9+) installed and configured
108102

109-
!!! Note
110-
If you have previously installed the Coralogix Exporter or [Kubernetes Infrastructure Monitoring](https://coralogix.com/docs/user-guides/monitoring-and-insights/kubernetes-dashboard/kubernetes-infrastructure-monitoring/), they must be **removed** before proceeding with this integration.
111-
112103
### Secret key
113104

114105
Follow the [private key tutorial](https://coralogix.com/docs/private-key/) to obtain your secret key.
@@ -138,15 +129,6 @@ type: Opaque
138129
139130
## Installation
140131
141-
!!! Note
142-
With some Helm versions (< `v3.14.3`), users might experience multiple warning messages during installation:
143-
144-
```
145-
index.go:366: skipping loading invalid entry for chart "otel-integration" \<version> from \<path>: validation: more than one dependency with name or alias "opentelemetry-collector"
146-
```
147-
148-
This is a known validation bug in Helm (see this [issue](https://github.com/helm/helm/issues/12748)). The warning messages do not impact the installation process, and the chart will be installed successfully. To avoid these warnings, we recommend upgrading to the latest Helm version or using a version that is not affected by this issue.
149-
150132
### UI-based installation
151133
152134
For UI-based installation check [Kubernetes Complete Observability](https://coralogix.com/docs/opentelemetry/kubernetes-observability/kubernetes-complete-observability-basic-configuration/).
@@ -180,7 +162,9 @@ When providing custom overrides for array values like `extraEnvs`, `extraVolumes
180162

181163
The OpenTelemetry Operator provides advanced capabilities like automatic collector upgrades and CRD-defined auto-instrumentation. To leverage these features, you can deploy the `otel-integration` using the Operator by generating an `OpenTelemetryCollector` Custom Resource Definition (CRD).
182164

183-
For full details on how to install and use the Operator, refer to the [OpenTelemetry Operator documentation](https://github.com/open-telemetry/opentelemetry-operator/blob/main/README.md).
165+
If you want to use the OpenTelemetry Integration Helm chart as an `OpenTelemetryCollector` CRD, you will need to have the OpenTelemetry Operator installed in your cluster. Please refer to the [OpenTelemetry Operator documentation](https://github.com/open-telemetry/opentelemetry-operator/blob/main/README.md) for full details.
166+
167+
We recommend to install the operator with the help of the community Helm charts from the [OpenTelemetry Helm Charts](https://github.com/open-telemetry/opentelemetry-helm-charts/tree/main/charts/opentelemetry-operator) repository.
184168

185169
**STEP 1**. First, make sure to add our Helm charts repository to the local repos list using the following command:
186170

@@ -210,21 +194,17 @@ helm upgrade --install otel-coralogix-integration coralogix-charts-virtual/otel-
210194
--render-subchart-notes -f values-crd-override.yaml --set global.clusterName=<cluster_name> --set global.domain=<domain>
211195
```
212196

213-
!!! Note
214-
During installation, you may encounter warning messages about missing namespace rules (`get`, `list`, `watch`). This is a known issue in OpenTelemetry (see [issue #2685](https://github.com/open-telemetry/opentelemetry-operator/issues/2685)) and does not impact the successful installation of the chart.
215-
216-
### Limits & quotas
217-
218-
- Coralogix places a **hard limit of 10MB** of data to our [**OpenTelemetry Endpoints**](https://coralogix.com/docs/integrations/coralogix-endpoints/, with a **recommendation of 2MB**.
197+
### Troubleshooting
219198

220-
- Metric names must be a maximum of 255 characters.
199+
During installation, you may encounter warning messages about missing namespace rules (`get`, `list`, `watch`). This is a known issue in OpenTelemetry (see [issue #2685](https://github.com/open-telemetry/opentelemetry-operator/issues/2685)) and does not impact the successful installation of the chart.
221200

222-
- Attribute keys for metric data must be a maximum of 255 characters.
201+
With some Helm versions (< `v3.14.3`), users might experience multiple warning messages during installation:
223202

224-
### Additional resources
203+
```
204+
index.go:366: skipping loading invalid entry for chart "otel-integration" \<version> from \<path>: validation: more than one dependency with name or alias "opentelemetry-collector"
205+
```
225206

226-
- [GitHub Repository](https://github.com/coralogix/telemetry-shippers/tree/master/otel-integration/k8s-helm#prerequisites)
227-
- [Kubernetes Dashboard](https://coralogix.com/docs/user-guides/monitoring-and-insights/kubernetes-dashboard/kubernetes-dashboard/)
207+
This is a known validation bug in Helm (see this [issue](https://github.com/helm/helm/issues/12748)). The warning messages do not impact the installation process, and the chart will be installed successfully. To avoid these warnings, we recommend upgrading to the latest Helm version or using a version that is not affected by this issue.
228208

229209
# Kubernetes complete observability: advanced configuration
230210

@@ -342,7 +322,7 @@ If there are nodes without a running OpenTelemetry Agent pod, the hosted pods of
342322

343323
The multi-instanced OpenTelemetry Agent can be deployed across multiple nodes as a `daemonset`. It provides presets for collecting host metrics, Kubernetes attributes, and Kubelet metrics. When logs, metrics, and traces are generated from a pod, the collector enriches them with the metadata associated with the hosting machine. This metadata is very useful for linking infrastructure issues with performance degradation in services.
344324

345-
For more information on presets, refer to the documentation in [values.yam](https://github.com/coralogix/opentelemetry-helm-charts/blob/main/charts/opentelemetry-collector/values.yaml#L129)
325+
For more information on presets, refer to the documentation in [values.yaml](https://github.com/coralogix/opentelemetry-helm-charts/blob/main/charts/opentelemetry-collector/values.yaml#L129)
346326

347327
```yaml
348328
# example
@@ -1057,9 +1037,6 @@ You can customize the scrape interval for Prometheus Custom Resources by configu
10571037

10581038
For more details on Prometheus custom resources and target allocator see the documentation [here](https://github.com/open-telemetry/opentelemetry-operator/tree/main/cmd/otel-allocator#discovery-of-prometheus-custom-resources).
10591039

1060-
!!! Note
1061-
Due to a [known issue](https://github.com/open-telemetry/opentelemetry-operator/issues/3034) with the Prometheus Receiver, OpenTelemetry Collector self-monitoring is currently not functioning. As a workaround, ensure you enable both the PodMonitor and metrics port to collect Collector metrics.
1062-
10631040
### Discovery
10641041

10651042
The Target Allocator discovers [Prometheus Operator](https://github.com/prometheus-operator/prometheus-operator/tree/main) Custom Resources, namely the ServiceMonitor and PodMonitor as Metrics Targets. These metrics targets detail the endpoints of exportable metrics available on the Kubernetes cluster as "jobs."
@@ -1200,8 +1177,6 @@ Also, as shown above, the default allocation strategy is `per node` to align wit
12001177

12011178
```
12021179
helm upgrade --install otel-coralogix-integration coralogix-charts-virtual/otel-integration --render-subchart-notes -n <namespace> -f values.yaml
1203-
kubectl get pod -n <namespace>
1204-
12051180
```
12061181
12071182
### Troubleshooting
@@ -1214,7 +1189,6 @@ Port forward to the target allocator pod with the following `kubectl` command:
12141189
12151190
```
12161191
kubectl port-forward -n <namespace> svc/coralogix-opentelemetry-targetallocator 8080:8080
1217-
12181192
```
12191193
12201194
You can browse or curl the `/jobs` and `/scrape_configs` endpoints for the detected PodMonitor & ServiceMonitor resources and the generated scrape configs.
@@ -1668,6 +1642,12 @@ Example:
16681642

16691643
# Troubleshooting
16701644

1645+
## Limits & quotas
1646+
1647+
- Coralogix places a **hard limit of 10MB** of data to our [**OpenTelemetry Endpoints**](https://coralogix.com/docs/integrations/coralogix-endpoints/, with a **recommendation of 2MB**.
1648+
- Metric names must be a maximum of 255 characters.
1649+
- Attribute keys for metric data must be a maximum of 255 characters.
1650+
16711651
## Metrics
16721652

16731653
You can enhance metrics telemetry level using `level` field. The following is a list of all possible values and their explanations.

0 commit comments

Comments
 (0)