Skip to content

Commit 1c85d25

Browse files
authored
Add stat metrics support (#948)
# Description This PR adds stat metrics option to OBI config, defaults `false`. <!-- Please describe the changes you made in a few words or sentences. --> <!-- (provide issue number, if applicable; otherwise remove) --> Fixes # # How Has This Been Tested? <!-- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration. --> # Checklist: - [x] I have updated the relevant Helm chart(s) version(s) - [x] I have updated the relevant component changelog(s) - [x] This change does not affect any particular component (e.g. it's CI or docs change) --------- Signed-off-by: Giuseppe Ognibene <giuseppe.ognibene@coralogix.com>
1 parent 3693c43 commit 1c85d25

8 files changed

Lines changed: 66 additions & 61 deletions

File tree

otel-integration/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## OpenTelemetry-Integration
44

5+
### v0.0.322 / 2026-07-01
6+
7+
- [Feat] Add stat metrics option to OBI config, defaults false.
8+
59
### v0.0.321 / 2026-06-30
610

711
- [Chore] Bump chart dependency to opentelemetry-collector 0.134.2

otel-integration/k8s-helm/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
name: otel-integration
33
description: OpenTelemetry Integration
4-
version: 0.0.321
4+
version: 0.0.322
55
keywords:
66
- OpenTelemetry Collector
77
- OpenTelemetry Agent
@@ -61,7 +61,7 @@ dependencies:
6161
condition: opentelemetry-ebpf-profiler.enabled
6262
- name: opentelemetry-ebpf-instrumentation
6363
alias: opentelemetry-ebpf-instrumentation
64-
version: "0.1.16"
64+
version: "0.1.17"
6565
repository: https://cgx.jfrog.io/artifactory/coralogix-charts
6666
condition: opentelemetry-ebpf-instrumentation.enabled
6767
- name: coralogix-operator

otel-integration/k8s-helm/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1571,15 +1571,16 @@ opentelemetry-cluster-collector:
15711571
```
15721572
15731573
Notes:
1574+
15741575
- To discover services via annotations, set `observeServices: true` and `enableServiceRule: true`.
15751576
- Pod discovery uses `prometheus.io/scrape`, `prometheus.io/path`, and `prometheus.io/port` annotations.
15761577
- Use the `prometheusAnnotationDiscovery` preset on the cluster-collector instead of adding a custom receiver_creator block to avoid double-scraping.
15771578

15781579
## Opentelemetry EBPF Instrumentation
15791580

1580-
The [OpenTelemetry EBPF Instrumentation](https://github.com/open-telemetry/opentelemetry-ebpf-instrumentation) is an OpenTelemetry component that uses eBPF to collect telemetry data from the Linux kernel, such as network metrics and spans, without requiring modifications to the application code. To enable the OpenTelemetry EBPF Instrumentation, set `opentelemetry-ebpf-instrumenat.enabled` to `true` in the `values.yaml` file.
1581+
The [OpenTelemetry EBPF Instrumentation](https://github.com/open-telemetry/opentelemetry-ebpf-instrumentation) is an OpenTelemetry component that uses eBPF to collect telemetry data from the Linux kernel, such as network metrics and spans, without requiring modifications to the application code. To enable the OpenTelemetry EBPF Instrumentation, set `opentelemetry-ebpf-instrumentation.enabled` to `true` in the `values.yaml` file.
15811582

1582-
for a full list of values for this chart, please look at [values.yaml](https://github.com/coralogix/opentelemetry-helm-charts/blob/main/charts/opentelemetry-ebpf-instrumentation/values.yaml)
1583+
For a full list of values for this chart, please look at [values.yaml](https://github.com/coralogix/opentelemetry-helm-charts/blob/main/charts/opentelemetry-ebpf-instrumentation/values.yaml)
15831584

15841585
### K8s Cache
15851586

otel-integration/k8s-helm/tests/golden/ebpf-profiler.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -184,14 +184,14 @@ data:
184184
timeout: 10s
185185
logs:
186186
headers:
187-
X-Coralogix-Distribution: helm-otel-integration/0.0.321
187+
X-Coralogix-Distribution: helm-otel-integration/0.0.322
188188
metrics:
189189
headers:
190-
X-Coralogix-Distribution: helm-otel-integration/0.0.321
190+
X-Coralogix-Distribution: helm-otel-integration/0.0.322
191191
private_key: ${env:CORALOGIX_PRIVATE_KEY}
192192
profiles:
193193
headers:
194-
X-Coralogix-Distribution: helm-otel-integration/0.0.321
194+
X-Coralogix-Distribution: helm-otel-integration/0.0.322
195195
x-coralogix-ingress: otlp/v1.10.0
196196
sending_queue:
197197
batch:
@@ -213,13 +213,13 @@ data:
213213
timeout: 30s
214214
traces:
215215
headers:
216-
X-Coralogix-Distribution: helm-otel-integration/0.0.321
216+
X-Coralogix-Distribution: helm-otel-integration/0.0.322
217217
coralogix/resource_catalog:
218218
application_name: resource
219219
domain: eu2.coralogix.com
220220
logs:
221221
headers:
222-
X-Coralogix-Distribution: helm-otel-integration/0.0.321
222+
X-Coralogix-Distribution: helm-otel-integration/0.0.322
223223
x-coralogix-ingress: metadata-as-otlp-logs/v1
224224
private_key: ${CORALOGIX_PRIVATE_KEY}
225225
sending_queue:
@@ -1034,14 +1034,14 @@ data:
10341034
timeout: 10s
10351035
logs:
10361036
headers:
1037-
X-Coralogix-Distribution: helm-otel-integration/0.0.321
1037+
X-Coralogix-Distribution: helm-otel-integration/0.0.322
10381038
metrics:
10391039
headers:
1040-
X-Coralogix-Distribution: helm-otel-integration/0.0.321
1040+
X-Coralogix-Distribution: helm-otel-integration/0.0.322
10411041
private_key: ${env:CORALOGIX_PRIVATE_KEY}
10421042
profiles:
10431043
headers:
1044-
X-Coralogix-Distribution: helm-otel-integration/0.0.321
1044+
X-Coralogix-Distribution: helm-otel-integration/0.0.322
10451045
x-coralogix-ingress: otlp/v1.10.0
10461046
sending_queue:
10471047
batch:
@@ -1063,13 +1063,13 @@ data:
10631063
timeout: 30s
10641064
traces:
10651065
headers:
1066-
X-Coralogix-Distribution: helm-otel-integration/0.0.321
1066+
X-Coralogix-Distribution: helm-otel-integration/0.0.322
10671067
coralogix/resource_catalog:
10681068
application_name: resource
10691069
domain: eu2.coralogix.com
10701070
logs:
10711071
headers:
1072-
X-Coralogix-Distribution: helm-otel-integration/0.0.321
1072+
X-Coralogix-Distribution: helm-otel-integration/0.0.322
10731073
x-coralogix-ingress: metadata-as-otlp-logs/v1
10741074
private_key: ${CORALOGIX_PRIVATE_KEY}
10751075
sending_queue:
@@ -2011,7 +2011,7 @@ spec:
20112011
template:
20122012
metadata:
20132013
annotations:
2014-
checksum/config: 98bbeb5021f9c873cd5054eaff03fd56249404067b12eb19ed4f50d2a35b19c5
2014+
checksum/config: 302617afedf9fa30610d2dec4b6a57f568838445840e3375c301f2808fb5d093
20152015

20162016
labels:
20172017
app.kubernetes.io/name: opentelemetry-agent
@@ -2198,7 +2198,7 @@ spec:
21982198
template:
21992199
metadata:
22002200
annotations:
2201-
checksum/config: fe89e85f601cf3663a39bde39357b04380f9a5b7a758cced1c8e2b451b251ea7
2201+
checksum/config: 18e43fa21539c674b94050afd53f358661d0c4d98600daac27e9d229420ed34e
22022202

22032203
labels:
22042204
app.kubernetes.io/name: opentelemetry-cluster-collector

otel-integration/k8s-helm/tests/golden/eks-fargate.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,14 @@ data:
5555
timeout: 10s
5656
logs:
5757
headers:
58-
X-Coralogix-Distribution: helm-otel-integration/0.0.321
58+
X-Coralogix-Distribution: helm-otel-integration/0.0.322
5959
metrics:
6060
headers:
61-
X-Coralogix-Distribution: helm-otel-integration/0.0.321
61+
X-Coralogix-Distribution: helm-otel-integration/0.0.322
6262
private_key: ${env:CORALOGIX_PRIVATE_KEY}
6363
profiles:
6464
headers:
65-
X-Coralogix-Distribution: helm-otel-integration/0.0.321
65+
X-Coralogix-Distribution: helm-otel-integration/0.0.322
6666
x-coralogix-ingress: otlp/v1.10.0
6767
sending_queue:
6868
batch:
@@ -87,7 +87,7 @@ data:
8787
timeout: 30s
8888
traces:
8989
headers:
90-
X-Coralogix-Distribution: helm-otel-integration/0.0.321
90+
X-Coralogix-Distribution: helm-otel-integration/0.0.322
9191
debug: {}
9292
extensions:
9393
health_check:
@@ -332,14 +332,14 @@ data:
332332
timeout: 10s
333333
logs:
334334
headers:
335-
X-Coralogix-Distribution: helm-otel-integration/0.0.321
335+
X-Coralogix-Distribution: helm-otel-integration/0.0.322
336336
metrics:
337337
headers:
338-
X-Coralogix-Distribution: helm-otel-integration/0.0.321
338+
X-Coralogix-Distribution: helm-otel-integration/0.0.322
339339
private_key: ${env:CORALOGIX_PRIVATE_KEY}
340340
profiles:
341341
headers:
342-
X-Coralogix-Distribution: helm-otel-integration/0.0.321
342+
X-Coralogix-Distribution: helm-otel-integration/0.0.322
343343
x-coralogix-ingress: otlp/v1.10.0
344344
sending_queue:
345345
batch:
@@ -364,7 +364,7 @@ data:
364364
timeout: 30s
365365
traces:
366366
headers:
367-
X-Coralogix-Distribution: helm-otel-integration/0.0.321
367+
X-Coralogix-Distribution: helm-otel-integration/0.0.322
368368
debug: {}
369369
extensions:
370370
health_check:
@@ -809,7 +809,7 @@ spec:
809809
template:
810810
metadata:
811811
annotations:
812-
checksum/config: 1ca59a07a262b8c0a7a2989604ba721e2e0bed4cb7dae74ae576e2cab4ec0950
812+
checksum/config: 14a0f11ee6a8e7a57be5802909685a29e3c06b16c044f34cc5fa6fded2eff5fd
813813

814814
labels:
815815
app.kubernetes.io/name: opentelemetry-agent-eks-fargate-monitoring
@@ -924,7 +924,7 @@ spec:
924924
template:
925925
metadata:
926926
annotations:
927-
checksum/config: 10e7723a39ad5aa89aed6bc84e7947ba530d73bb176195282de1326b9f4e5eee
927+
checksum/config: 4511fac4a6f866a68e022483db603108ed60fd2679979426c36324a75bc49104
928928

929929
labels:
930930
app.kubernetes.io/name: opentelemetry-agent-eks-fargate

otel-integration/k8s-helm/tests/golden/tail-sampling.yaml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -188,14 +188,14 @@ data:
188188
timeout: 10s
189189
logs:
190190
headers:
191-
X-Coralogix-Distribution: helm-otel-integration/0.0.321
191+
X-Coralogix-Distribution: helm-otel-integration/0.0.322
192192
metrics:
193193
headers:
194-
X-Coralogix-Distribution: helm-otel-integration/0.0.321
194+
X-Coralogix-Distribution: helm-otel-integration/0.0.322
195195
private_key: ${env:CORALOGIX_PRIVATE_KEY}
196196
profiles:
197197
headers:
198-
X-Coralogix-Distribution: helm-otel-integration/0.0.321
198+
X-Coralogix-Distribution: helm-otel-integration/0.0.322
199199
x-coralogix-ingress: otlp/v1.10.0
200200
sending_queue:
201201
batch:
@@ -217,13 +217,13 @@ data:
217217
timeout: 30s
218218
traces:
219219
headers:
220-
X-Coralogix-Distribution: helm-otel-integration/0.0.321
220+
X-Coralogix-Distribution: helm-otel-integration/0.0.322
221221
coralogix/resource_catalog:
222222
application_name: resource
223223
domain: eu2.coralogix.com
224224
logs:
225225
headers:
226-
X-Coralogix-Distribution: helm-otel-integration/0.0.321
226+
X-Coralogix-Distribution: helm-otel-integration/0.0.322
227227
x-coralogix-ingress: metadata-as-otlp-logs/v1
228228
private_key: ${CORALOGIX_PRIVATE_KEY}
229229
sending_queue:
@@ -1035,14 +1035,14 @@ data:
10351035
timeout: 10s
10361036
logs:
10371037
headers:
1038-
X-Coralogix-Distribution: helm-otel-integration/0.0.321
1038+
X-Coralogix-Distribution: helm-otel-integration/0.0.322
10391039
metrics:
10401040
headers:
1041-
X-Coralogix-Distribution: helm-otel-integration/0.0.321
1041+
X-Coralogix-Distribution: helm-otel-integration/0.0.322
10421042
private_key: ${env:CORALOGIX_PRIVATE_KEY}
10431043
profiles:
10441044
headers:
1045-
X-Coralogix-Distribution: helm-otel-integration/0.0.321
1045+
X-Coralogix-Distribution: helm-otel-integration/0.0.322
10461046
x-coralogix-ingress: otlp/v1.10.0
10471047
sending_queue:
10481048
batch:
@@ -1064,13 +1064,13 @@ data:
10641064
timeout: 30s
10651065
traces:
10661066
headers:
1067-
X-Coralogix-Distribution: helm-otel-integration/0.0.321
1067+
X-Coralogix-Distribution: helm-otel-integration/0.0.322
10681068
coralogix/resource_catalog:
10691069
application_name: resource
10701070
domain: eu2.coralogix.com
10711071
logs:
10721072
headers:
1073-
X-Coralogix-Distribution: helm-otel-integration/0.0.321
1073+
X-Coralogix-Distribution: helm-otel-integration/0.0.322
10741074
x-coralogix-ingress: metadata-as-otlp-logs/v1
10751075
private_key: ${CORALOGIX_PRIVATE_KEY}
10761076
sending_queue:
@@ -1725,14 +1725,14 @@ data:
17251725
timeout: 10s
17261726
logs:
17271727
headers:
1728-
X-Coralogix-Distribution: helm-otel-integration/0.0.321
1728+
X-Coralogix-Distribution: helm-otel-integration/0.0.322
17291729
metrics:
17301730
headers:
1731-
X-Coralogix-Distribution: helm-otel-integration/0.0.321
1731+
X-Coralogix-Distribution: helm-otel-integration/0.0.322
17321732
private_key: ${env:CORALOGIX_PRIVATE_KEY}
17331733
profiles:
17341734
headers:
1735-
X-Coralogix-Distribution: helm-otel-integration/0.0.321
1735+
X-Coralogix-Distribution: helm-otel-integration/0.0.322
17361736
x-coralogix-ingress: otlp/v1.10.0
17371737
sending_queue:
17381738
batch:
@@ -1754,7 +1754,7 @@ data:
17541754
timeout: 30s
17551755
traces:
17561756
headers:
1757-
X-Coralogix-Distribution: helm-otel-integration/0.0.321
1757+
X-Coralogix-Distribution: helm-otel-integration/0.0.322
17581758
debug: {}
17591759
extensions:
17601760
health_check:
@@ -2195,7 +2195,7 @@ spec:
21952195
template:
21962196
metadata:
21972197
annotations:
2198-
checksum/config: afb26105a3edd54038d0c37907fb8cf9be0a773b4d1471acdfda1ae0f04417a9
2198+
checksum/config: c4614f7bc6a3aac953483bde2a0a60fb2c32e4eb66d32b75a2d41b72c86f702b
21992199

22002200
labels:
22012201
app.kubernetes.io/name: opentelemetry-agent
@@ -2382,7 +2382,7 @@ spec:
23822382
template:
23832383
metadata:
23842384
annotations:
2385-
checksum/config: 70c6468f986a79b2af07942046d5096fa73ace7694cac56fe98d20731f69d5c0
2385+
checksum/config: ba203d32f9ed7dc7bc66cd80df2156e23c63a326225e580e7ff07a7295d588e5
23862386

23872387
labels:
23882388
app.kubernetes.io/name: opentelemetry-cluster-collector
@@ -2506,7 +2506,7 @@ spec:
25062506
template:
25072507
metadata:
25082508
annotations:
2509-
checksum/config: 662f41f0bd56b31a4856a06def35b2a5154cc554c7fb142c7624556541909c53
2509+
checksum/config: 0f09b8e06323ebdeb19fc341e00f5472233aa2a2e85aff9399d8d2316d8ae792
25102510

25112511
labels:
25122512
app.kubernetes.io/name: opentelemetry-gateway

0 commit comments

Comments
 (0)