File tree 2 files changed +15
-0
lines changed
charts/k8s-monitoring/tests/platform/otlp-gateway
2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 44
44
expect :
45
45
value : 1
46
46
operator : ==
47
+
48
+ # pod logs are being delivered
49
+ - query : count(count(count_over_time({service_name=~".+"} | cluster="$CLUSTER" [15m])) by (service_name))
50
+ type : logql
Original file line number Diff line number Diff line change @@ -17,6 +17,11 @@ destinations:
17
17
metrics : {enabled: true}
18
18
logs : {enabled: true}
19
19
traces : {enabled: true}
20
+ processors :
21
+ transform :
22
+ logs :
23
+ log :
24
+ - set(resource.attributes["service.name"], attributes["container"]) where resource.attributes["service.name"] == nil
20
25
21
26
integrations :
22
27
alloy :
@@ -25,5 +30,11 @@ integrations:
25
30
labelSelectors :
26
31
app.kubernetes.io/name : ["alloy-metrics"]
27
32
33
+ podLogs :
34
+ enabled : true
35
+
28
36
alloy-metrics :
29
37
enabled : true
38
+
39
+ alloy-logs :
40
+ enabled : true
You can’t perform that action at this time.
0 commit comments