Skip to content

Commit 444d291

Browse files
committed
wip
Signed-off-by: Pete Wall <[email protected]>
1 parent b5d66dd commit 444d291

File tree

58 files changed

+1924
-103
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+1924
-103
lines changed

charts/feature-auto-instrumentation/templates/_module.alloy.tpl

+4
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,11 @@ declare "auto_instrumentation" {
4141
clustering {
4242
enabled = true
4343
}
44+
{{- if or $metricAllowList $metricDenyList .Values.beyla.extraMetricProcessingRules }}
4445
forward_to = [prometheus.relabel.beyla.receiver]
46+
{{- else }}
47+
forward_to = argument.metrics_destinations.value
48+
{{- end }}
4549
}
4650

4751
prometheus.scrape "beyla_internal" {

charts/feature-auto-instrumentation/templates/beyla-config.yaml

-30
This file was deleted.

charts/feature-auto-instrumentation/values.yaml

+6-19
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ beyla:
2424
# @section -- Beyla
2525
scrapeInterval: ""
2626

27-
# -- Label matchers used to select the Beyla pods
27+
# -- Label matchers used to select the Beyla pods for scraping metrics.
2828
# @section -- Beyla
2929
labelMatchers:
3030
app.kubernetes.io/name: beyla
@@ -67,24 +67,11 @@ beyla:
6767
skipConfigMapCheck: true
6868
# @ignored -- This allows this chart to create the Beyla ConfigMap with required modifications
6969
create: false
70-
# -- The Configuration for Beyla
71-
# @section -- Deployment: Beyla
72-
data:
73-
attributes:
74-
kubernetes:
75-
enable: true
76-
prometheus_export:
77-
port: 9090
78-
path: /metrics
79-
features:
80-
- application
81-
- network
82-
- application_service_graph
83-
- application_span
84-
internal_metrics:
85-
prometheus:
86-
port: 9090
87-
path: /internal/metrics
70+
71+
# -- The port number for the Beyla service.
72+
# @section -- Beyla
73+
service:
74+
targetPort: 9090
8875

8976
# @ignored
9077
podAnnotations:

charts/k8s-monitoring/Chart.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ dependencies:
4242
repository: https://grafana.github.io/helm-charts
4343
version: 0.9.2
4444
digest: sha256:38b7f53f9f9c9238b59fd442534e911368ed199125db7d48a90fc9bdbbd30c2a
45-
generated: "2024-11-06T15:00:52.430476-06:00"
45+
generated: "2024-11-06T19:37:39.155421-06:00"
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

charts/k8s-monitoring/docs/examples/auth/bearer-token/output.yaml

+10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

charts/k8s-monitoring/docs/examples/auth/embedded-secrets/output.yaml

+10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

charts/k8s-monitoring/docs/examples/auth/external-secrets/output.yaml

+10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

charts/k8s-monitoring/docs/examples/auth/sigv4/output.yaml

+9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

charts/k8s-monitoring/docs/examples/autoscaling/output.yaml

+9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

charts/k8s-monitoring/docs/examples/collector-storage/output.yaml

+9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

charts/k8s-monitoring/docs/examples/extra-rules/output.yaml

+9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

charts/k8s-monitoring/docs/examples/features/annotation-autodiscovery/default/output.yaml

+9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

charts/k8s-monitoring/docs/examples/features/annotation-autodiscovery/prom-annotations/output.yaml

+9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

charts/k8s-monitoring/docs/examples/features/applicaiton-observability/default/output.yaml

+10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
<!--
2+
(NOTE: Do not edit README.md directly. It is a generated file!)
3+
( To make changes, please modify values.yaml or description.txt and run `make examples`)
4+
-->
5+
# Example: features/auto-instrumentation/beyla-metrics-and-traces/values.yaml
6+
7+
## Values
8+
9+
```yaml
10+
---
11+
cluster:
12+
name: annotation-autodiscovery-with-traces-cluster
13+
14+
destinations:
15+
- name: otlp-gateway
16+
type: otlp
17+
url: http://otlp-gateway.example.com
18+
metrics: {enabled: true}
19+
logs: {enabled: true}
20+
traces: {enabled: true}
21+
22+
applicationObservability:
23+
enabled: true
24+
receivers:
25+
grpc:
26+
enabled: true
27+
http:
28+
enabled: true
29+
30+
autoInstrumentation:
31+
enabled: true
32+
33+
alloy-metrics:
34+
enabled: true
35+
36+
alloy-receiver:
37+
enabled: true
38+
alloy:
39+
extraPorts:
40+
- name: otlp-grpc
41+
port: 4317
42+
targetPort: 4317
43+
protocol: TCP
44+
- name: otlp-http
45+
port: 4318
46+
targetPort: 4318
47+
protocol: TCP
48+
```

0 commit comments

Comments
 (0)