Skip to content

Commit 7c2947c

Browse files
jharvey10ptodevCopilotsklclayton-cornell
authored
1.12 rc.2 content (#4888)
* ci: sync publish workflow with main * Vendor Alertmanager config (#4905) * Vendor Alertmanager config * Apply suggestions from code review Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]> * beyla: add meta_cache_address to beyla.ebpf.attributes.kubernetes (#4871) * beyla: add meta_cache_address to beyla.ebpf.attributes.kubernetes * chore: update changelog * chore: lint --------- Co-authored-by: Clayton Cornell <[email protected]> * Upgrade Beyla component to 2.7.7 (#4891) * upgrade beyla to 2.7.7 * update to Beyla 2.7.8 * update docs * fix(pyroscope.ebpf): Use meter noop in otel-ebpf-profiler (#4920) With a recent change, the default meter provider was no longer initialized. This change disables the otel-ebpf-profiler internal metrics to avoid warnings like this to appear: ``` WARN[0121] Invalid metric id 102, skipping WARN[0121] Invalid metric id 272, skipping ``` * bump rc version in changelog --------- Co-authored-by: Paulin Todev <[email protected]> Co-authored-by: Copilot <[email protected]> Co-authored-by: Stephen Lang <[email protected]> Co-authored-by: Clayton Cornell <[email protected]> Co-authored-by: Nikola Grcevski <[email protected]> Co-authored-by: Christian Simon <[email protected]>
1 parent 9d8a1aa commit 7c2947c

File tree

23 files changed

+664
-297
lines changed

23 files changed

+664
-297
lines changed

.github/workflows/publish-alloy-release.yml

Lines changed: 19 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -223,26 +223,6 @@ jobs:
223223
go-version-file: go.mod
224224
cache: false
225225

226-
- name: Download dist
227-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
228-
with:
229-
name: dist
230-
path: dist
231-
232-
# Overwrite the original Windows Alloy executable with the signed version
233-
- name: Download signed Windows executable
234-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
235-
with:
236-
name: windows-executables-signed
237-
path: .
238-
239-
# Overwrite the original Windows Alloy installer with the signed version
240-
- name: Download signed Windows installer
241-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
242-
with:
243-
name: windows-installer-signed
244-
path: dist
245-
246226
# A GitHub App is used to create the release instead of github-actions so that submit-winget-manifest is triggered when the release is published
247227
- name: Get GitHub app secrets
248228
id: get-secrets
@@ -269,10 +249,25 @@ jobs:
269249
token: ${{ steps.app-token.outputs.token }}
270250
persist-credentials: false
271251

272-
- name: Configure Git
273-
run: |
274-
git config user.name "$GITHUB_ACTOR"
275-
git config user.email "[email protected]"
252+
- name: Download dist
253+
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
254+
with:
255+
name: dist
256+
path: dist
257+
258+
# Overwrite the original Windows Alloy executable with the signed version
259+
- name: Download signed Windows executable
260+
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
261+
with:
262+
name: windows-executables-signed
263+
path: .
264+
265+
# Overwrite the original Windows Alloy installer with the signed version
266+
- name: Download signed Windows installer
267+
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
268+
with:
269+
name: windows-installer-signed
270+
path: dist
276271

277272
- name: Publish
278273
run: |

CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ internal API changes are not present.
1010
Main (unreleased)
1111
-----------------
1212

13-
v1.12.0-rc.1
13+
v1.12.0-rc.2
1414
-----------------
1515

1616
### Breaking changes
@@ -94,7 +94,7 @@ v1.12.0-rc.1
9494

9595
- `prometheus.exporter.postgres` dependency has been updated to v0.18.1. This includes new `stat_progress_vacuum` and `buffercache_summary` collectors, as well as other bugfixes and enhancements. (@cristiangreco)
9696

97-
- Update Beyla component to 2.7.4. (@grcevski)
97+
- Update Beyla component to 2.7.8. (@grcevski)
9898

9999
- Support delimiters in `stage.luhn`. (@dehaansa)
100100

@@ -115,6 +115,8 @@ v1.12.0-rc.1
115115

116116
- `kubernetes.discovery` Add support for attaching namespace metadata. (@kgeckhart)
117117

118+
- Add `meta_cache_address` to `beyla.ebpf` component. (@skl)
119+
118120
### Bugfixes
119121

120122
- Stop `loki.source.kubernetes` discarding log lines with duplicate timestamps. (@ciaranj)

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@
1515
##
1616
## Targets for running tests:
1717
##
18-
## test Run tests
19-
## lint Lint code
20-
## integration-test Run integration tests
18+
## test Run tests
19+
## lint Lint code
20+
## integration-test Run integration tests
21+
## integration-test-k8s Run Kubernetes integration tests
2122
##
2223
## Targets for building binaries:
2324
##

docs/sources/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ cascade:
88
OTEL_VERSION: v0.139.0
99
PROM_WIN_EXP_VERSION: v0.31.3
1010
SNMP_VERSION: v0.29.0
11-
BEYLA_VERSION: v2.5.8
11+
BEYLA_VERSION: v2.7.8
1212
FULL_PRODUCT_NAME: Grafana Alloy
1313
PRODUCT_NAME: Alloy
1414
hero:

docs/sources/_index.md.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ cascade:
88
OTEL_VERSION: v0.139.0
99
PROM_WIN_EXP_VERSION: v0.31.3
1010
SNMP_VERSION: v0.29.0
11-
BEYLA_VERSION: v2.5.8
11+
BEYLA_VERSION: v2.7.8
1212
FULL_PRODUCT_NAME: Grafana Alloy
1313
PRODUCT_NAME: Alloy
1414
hero:

docs/sources/reference/components/beyla/beyla.ebpf.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ This `kubernetes` block configures the decorating of the metrics and traces with
146146
| `enable` | `string` | Enable the Kubernetes metadata decoration. | `autodetect` | no |
147147
| `informers_resync_period` | `duration` | Period for Kubernetes informers resynchronization. | `"30m"` | no |
148148
| `informers_sync_timeout` | `duration` | Timeout for Kubernetes informers synchronization. | `"30s"` | no |
149+
| `meta_cache_address` | `string` | Address of the Kubernetes metadata cache service. | `""` | no |
149150
| `meta_restrict_local_node` | `bool` | Restrict Kubernetes metadata collection to local node. | `false` | no |
150151

151152
If `cluster_name` isn't set, Beyla tries to detect the cluster name from the Kubernetes API.
@@ -534,6 +535,8 @@ The `metrics` block configures which metrics Beyla collects.
534535
| `allow_service_graph_self_references` | `bool` | Allow service graph metrics to reference the same service. | `false` | no |
535536
| `features` | `list(string)` | List of features to enable for the metrics. | `["application"]` | no |
536537
| `instrumentations` | `list(string)` | List of instrumentations to enable for the metrics. | `["*"]` | no |
538+
| `extra_resource_labels` | `list(string)` | List of OTEL resource labels to include on `target_info`. | `[]` | no |
539+
| `extra_span_resource_labels` | `list(string)` | List of OTEL resource labels to include on span metrics. | `["k8s.cluster.name", "k8s.namespace.name", "service.version", "deployment.environment"]` | no |
537540

538541
`features` is a list of features to enable for the metrics. The following features are available:
539542

@@ -558,6 +561,20 @@ The `metrics` block configures which metrics Beyla collects.
558561
* `redis` enables the collection of Redis client/server database metrics.
559562
* `sql` enables the collection of SQL database client call metrics.
560563

564+
`extra_resource_labels` is a list of OTEL resource labels, supplied through the `OTEL_RESOURCE_ATTRIBUTES` environment variable
565+
on the service, that you want to include on the `target_info` metric.
566+
567+
`extra_span_resource_labels` is a list of OTEL resource labels, supplied through the `OTEL_RESOURCE_ATTRIBUTES` environment variable
568+
on the service, that you want to include on the span metrics. The default list includes:
569+
570+
* `k8s.cluster.name`
571+
* `k8s.namespace.name`
572+
* `service.version`
573+
* `deployment.environment`
574+
575+
The default list of `extra_span_resource_labels` is set to match the defaults chosen by Application Observability plugin in
576+
Grafana Cloud.
577+
561578
#### `network` metrics
562579

563580
The `network` block configures network metrics options for Beyla. You must append `network` to the `features` list in the `metrics` block to enable network metrics.

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ require (
6363
github.com/gorilla/mux v1.8.1
6464
github.com/grafana/alloy-remote-config v0.0.12
6565
github.com/grafana/alloy/syntax v0.1.0
66-
github.com/grafana/beyla/v2 v2.7.6
66+
github.com/grafana/beyla/v2 v2.7.8
6767
github.com/grafana/catchpoint-prometheus-exporter v0.0.0-20250218151502-6e97feaee761
6868
github.com/grafana/ckit v0.0.0-20251024151910-87043f5a3cf7
6969
github.com/grafana/cloudflare-go v0.0.0-20230110200409-c627cf6792f2
@@ -1082,8 +1082,8 @@ exclude (
10821082
k8s.io/client-go v12.0.0+incompatible
10831083
)
10841084

1085-
// replace go.opentelemetry.io/obi => github.com/grafana/opentelemetry-ebpf-instrumentation v1.3.7
1086-
replace go.opentelemetry.io/obi => github.com/grafana/opentelemetry-ebpf-instrumentation v1.3.7
1085+
// replace go.opentelemetry.io/obi => github.com/grafana/opentelemetry-ebpf-instrumentation v1.3.9
1086+
replace go.opentelemetry.io/obi => github.com/grafana/opentelemetry-ebpf-instrumentation v1.3.10
10871087

10881088
replace go.opentelemetry.io/ebpf-profiler => github.com/grafana/opentelemetry-ebpf-profiler v0.0.202546-0.20251106085643-a00a0ef2a84c
10891089

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1129,8 +1129,8 @@ github.com/gosnmp/gosnmp v1.41.0 h1:6RI78g2ZsbLvpvJegcV98LapszRQnbvYNKSa5WbCll4=
11291129
github.com/gosnmp/gosnmp v1.41.0/go.mod h1:CxVS6bXqmWZlafUj9pZUnQX5e4fAltqPcijxWpCitDo=
11301130
github.com/grafana/alloy-remote-config v0.0.12 h1:zyuDgWaXBITD3OFY/LDh0iShDb3ye4Av39u2xY1JY1s=
11311131
github.com/grafana/alloy-remote-config v0.0.12/go.mod h1:kHE1usYo2WAVCikQkIXuoG1Clz8BSdiz3kF+DZSCQ4k=
1132-
github.com/grafana/beyla/v2 v2.7.6 h1:fqkFSzBpuo81Udn9n2viphAM52LGXl3vXq8eUEqvhAA=
1133-
github.com/grafana/beyla/v2 v2.7.6/go.mod h1:isxApXkKInJ+itgn4lDqEfCb0a97TjxWzp1tf+fpWOE=
1132+
github.com/grafana/beyla/v2 v2.7.8 h1:GSfv09nOhhbIBP9uR5rEEAwPEpCn9Gq83HR9x2woDfU=
1133+
github.com/grafana/beyla/v2 v2.7.8/go.mod h1:isxApXkKInJ+itgn4lDqEfCb0a97TjxWzp1tf+fpWOE=
11341134
github.com/grafana/cadvisor v0.0.0-20240729082359-1f04a91701e2 h1:ju6EcY2aEobeBg185ETtFCKj5WzaQ48qfkbsSRRQrF4=
11351135
github.com/grafana/cadvisor v0.0.0-20240729082359-1f04a91701e2/go.mod h1:8sLW/G7rcFe1CKMaA4pYT4mX3P1xQVGqM6luzEzx/2g=
11361136
github.com/grafana/catchpoint-prometheus-exporter v0.0.0-20250218151502-6e97feaee761 h1:dPJOIEwtQ8uR3Qa79pb/lsSFJQ6j4P9vpCUQ4fKimG4=
@@ -1173,8 +1173,8 @@ github.com/grafana/opentelemetry-collector-contrib/processor/k8sattributesproces
11731173
github.com/grafana/opentelemetry-collector-contrib/processor/k8sattributesprocessor v0.0.0-20251021125353-73458b01ab23/go.mod h1:7+xyIHr2PJNE9kic/D91c9SMxACdGIGCJykzTcqsYv0=
11741174
github.com/grafana/opentelemetry-collector/featuregate v0.0.0-20240325174506-2fd1623b2ca0 h1:i/Ne0XwoRokYj52ZcSmnvuyID3h/uA91n0Ycg/grHU8=
11751175
github.com/grafana/opentelemetry-collector/featuregate v0.0.0-20240325174506-2fd1623b2ca0/go.mod h1:mm8+xyQfgDmqhyegZRNIQmoKsNnDTwWKFLsdMoXAb7A=
1176-
github.com/grafana/opentelemetry-ebpf-instrumentation v1.3.7 h1:1BIaJoHYtFNCCxW/JCOCAnWR+HyR5ISGkYwtzRb1d8I=
1177-
github.com/grafana/opentelemetry-ebpf-instrumentation v1.3.7/go.mod h1:/O9nceaQ+yhwDdosHsQrs1AilAJWAZf2Laa2DssrjJk=
1176+
github.com/grafana/opentelemetry-ebpf-instrumentation v1.3.10 h1:35vEGwoeJ379F7J1QejAeqVvD/8KHD5Jhw6/8+wSFJ0=
1177+
github.com/grafana/opentelemetry-ebpf-instrumentation v1.3.10/go.mod h1:/O9nceaQ+yhwDdosHsQrs1AilAJWAZf2Laa2DssrjJk=
11781178
github.com/grafana/opentelemetry-ebpf-profiler v0.0.202546-0.20251106085643-a00a0ef2a84c h1:I9KB024eev8z9NRJZTcmTw0V0+txKLC6RqPUX3ADO2s=
11791179
github.com/grafana/opentelemetry-ebpf-profiler v0.0.202546-0.20251106085643-a00a0ef2a84c/go.mod h1:eXOwk9x2rmJZ9+Ov5ot7NitRWNmF0jynNEeuIDRnK/Q=
11801180
github.com/grafana/otel-profiling-go v0.5.1 h1:stVPKAFZSa7eGiqbYuG25VcqYksR6iWvF3YH66t4qL8=

internal/cmd/integration-tests-k8s/tests/mimir-alerts-kubernetes/testdata/expected_1.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ alertmanager_config: |
1212
smtp_require_tls: true
1313
route:
1414
receiver: "null"
15-
continue: false
1615
routes:
1716
- receiver: testing/alertmgr-config1/null
1817
matchers:
@@ -29,22 +28,16 @@ alertmanager_config: |
2928
- receiver: testing/alertmgr-config2/database-pager
3029
matchers:
3130
- service="webapp"
32-
continue: false
3331
group_wait: 10s
3432
receivers:
3533
- name: "null"
3634
- name: alloy-namespace/global-config/myreceiver
3735
- name: testing/alertmgr-config1/null
3836
- name: testing/alertmgr-config1/myamc
3937
webhook_configs:
40-
- send_resolved: false
38+
- url: http://test.url
4139
http_config:
4240
follow_redirects: true
43-
enable_http2: true
44-
url: http://test.url
45-
url_file: ""
46-
max_alerts: 0
47-
timeout: 0s
4841
- name: testing/alertmgr-config2/null
4942
- name: testing/alertmgr-config2/database-pager
5043
templates:

internal/cmd/integration-tests-k8s/tests/mimir-alerts-kubernetes/testdata/expected_2.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ alertmanager_config: |
1212
smtp_require_tls: true
1313
route:
1414
receiver: "null"
15-
continue: false
1615
routes:
1716
- receiver: testing/alertmgr-config1/null
1817
matchers:
@@ -27,13 +26,8 @@ alertmanager_config: |
2726
- name: testing/alertmgr-config1/null
2827
- name: testing/alertmgr-config1/myamc
2928
webhook_configs:
30-
- send_resolved: false
29+
- url: http://test.url
3130
http_config:
3231
follow_redirects: true
33-
enable_http2: true
34-
url: http://test.url
35-
url_file: ""
36-
max_alerts: 0
37-
timeout: 0s
3832
templates:
3933
- default_template

0 commit comments

Comments
 (0)