This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-swck.git
The following commit(s) were added to refs/heads/master by this push:
new e98e180 Fix LAL rule missing layer property for latest OAP
compatibility (#177)
e98e180 is described below
commit e98e180da09ff7cb98e82001542dcf002cece1cf
Author: 吴晟 Wu Sheng <[email protected]>
AuthorDate: Fri Feb 27 10:28:35 2026 +0800
Fix LAL rule missing layer property for latest OAP compatibility (#177)
The latest OAP requires a top-level 'layer' property in LAL rules.
Without it, the rule is ignored and log_count metrics are never
produced, causing log_count_info verification to fail.
---
test/e2e/oapserverconfig-demo.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/test/e2e/oapserverconfig-demo.yaml
b/test/e2e/oapserverconfig-demo.yaml
index 5cb432e..25fe91b 100644
--- a/test/e2e/oapserverconfig-demo.yaml
+++ b/test/e2e/oapserverconfig-demo.yaml
@@ -60,6 +60,7 @@ spec:
data: |
rules:
- name: example
+ layer: GENERAL
dsl: |
filter {
text {