Skip to content

Commit d629cdd

Browse files
Add example
1 parent 7532554 commit d629cdd

55 files changed

Lines changed: 1637 additions & 39 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
34.2 KB
Binary file not shown.
Binary file not shown.

charts/opentelemetry-kube-stack/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: opentelemetry-kube-stack
3-
version: 0.20.7
3+
version: 0.20.8
44
description: |
55
OpenTelemetry Quickstart chart for Kubernetes.
66
Installs an operator and collector for an easy way to get started with Kubernetes observability.

charts/opentelemetry-kube-stack/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,20 @@ By default, the daemonset collector will load in the daemon_scrape_configs.yaml
125125
**`prometheus-node-exporter` subchart**: when installed via the top-level `nodeExporter.enabled: true` flag, the subchart creates its own `ServiceMonitor` by default.
126126
If a target allocator picks it up and `presets.prometheus.nodeExporter.enabled=true` or `scrape_configs_file=daemon_scrape_configs.yaml`, then node-exporter metrics are scraped twice.
127127

128+
### Profiling
129+
130+
The `presets.profiling` preset adds the profiling receiver and a `profiles` pipeline to a collector, enabling
131+
collection of eBPF-based continuous profiling data.
132+
133+
> [!WARNING]
134+
> The profiling receiver requires elevated capabilities and hostPID, so it should be used with a dedicated
135+
> collector distribution (e.g. [`opentelemetry-collector-ebpf-profiler`](https://github.com/open-telemetry/opentelemetry-collector-releases/tree/main/distributions/otelcol-ebpf-profiler))
136+
> rather than the general-purpose k8s distribution. This avoids granting elevated privileges to the same
137+
> collector that handles metrics, traces, and logs.
138+
139+
See the [`daemonset-profiling`](examples/daemonset-profiling/values.yaml) example for a dedicated daemonset
140+
collector running the `opentelemetry-collector-ebpf-profiler` image with `presets.profiling` enabled.
141+
128142
### Image versioning
129143

130144
The appVersion of the chart is aligned to the latest image version of the operator. Images are upgraded within the chart manually by setting the image tag to the latest release of each image used. This will be the latest patch release for the chart's appVersion. example:

charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/bridge.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ kind: OpAMPBridge
55
metadata:
66
name: example
77
labels:
8-
helm.sh/chart: opentelemetry-kube-stack-0.20.7
8+
helm.sh/chart: opentelemetry-kube-stack-0.20.8
99
app.kubernetes.io/version: "0.154.0"
1010
app.kubernetes.io/managed-by: Helm
1111
release: "example"

charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/collector.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
name: example-daemon
77
namespace: default
88
labels:
9-
helm.sh/chart: opentelemetry-kube-stack-0.20.7
9+
helm.sh/chart: opentelemetry-kube-stack-0.20.8
1010
app.kubernetes.io/version: "0.154.0"
1111
app.kubernetes.io/managed-by: Helm
1212
release: "example"

charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/hooks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,4 @@ spec:
6161
- "delete"
6262
- "instrumentations,opampbridges,opentelemetrycollectors"
6363
- "-l"
64-
- "helm.sh/chart=opentelemetry-kube-stack-0.20.7"
64+
- "helm.sh/chart=opentelemetry-kube-stack-0.20.8"

charts/opentelemetry-kube-stack/examples/cloud-demo/rendered/instrumentation.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ kind: Instrumentation
55
metadata:
66
name: example
77
labels:
8-
helm.sh/chart: opentelemetry-kube-stack-0.20.7
8+
helm.sh/chart: opentelemetry-kube-stack-0.20.8
99
app.kubernetes.io/version: "0.154.0"
1010
app.kubernetes.io/managed-by: Helm
1111
release: "example"

charts/opentelemetry-kube-stack/examples/daemonset-annotation-discovery-logs/rendered/collector.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
name: example-daemon
77
namespace: default
88
labels:
9-
helm.sh/chart: opentelemetry-kube-stack-0.20.7
9+
helm.sh/chart: opentelemetry-kube-stack-0.20.8
1010
app.kubernetes.io/version: "0.154.0"
1111
app.kubernetes.io/managed-by: Helm
1212
release: "example"

charts/opentelemetry-kube-stack/examples/daemonset-annotation-discovery-logs/rendered/hooks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,4 @@ spec:
6161
- "delete"
6262
- "instrumentations,opampbridges,opentelemetrycollectors"
6363
- "-l"
64-
- "helm.sh/chart=opentelemetry-kube-stack-0.20.7"
64+
- "helm.sh/chart=opentelemetry-kube-stack-0.20.8"

0 commit comments

Comments
 (0)