Skip to content

Commit fe18026

Browse files
committed
update yamls
1 parent 054926b commit fe18026

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

samples/apps/bookinfo/rules/mixer-rule-standard-attributes.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ spec:
4747
valueType: TIMESTAMP
4848
source.uid:
4949
valueType: STRING
50-
target.uid:
50+
destination.uid:
5151
valueType: STRING
5252
# DEPRECATED, to be removed. Use request.useragent instead.
5353
request.user-agent:
@@ -72,16 +72,16 @@ spec:
7272
valueType: STRING
7373
source.serviceAccount:
7474
valueType: STRING
75-
target.ip:
75+
destination.ip:
7676
valueType: IP_ADDRESS
77-
target.labels:
77+
destination.labels:
7878
valueType: STRING_MAP
79-
target.name:
79+
destination.name:
8080
valueType: STRING
81-
target.namespace:
81+
destination.namespace:
8282
valueType: STRING
83-
target.service:
83+
destination.service:
8484
valueType: STRING
85-
target.serviceAccount:
85+
destination.serviceAccount:
8686
valueType: STRING
8787

samples/apps/bookinfo/rules/mixer-rule-standard-metrics.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ spec:
4444
value: "1"
4545
dimensions:
4646
source: source.labels["app"] | "unknown"
47-
target: target.service | "unknown"
48-
service: target.labels["app"] | "unknown"
47+
target: destination.service | "unknown"
48+
service: destination.labels["app"] | "unknown"
4949
method: request.path | "unknown"
50-
version: target.labels["version"] | "unknown"
50+
version: destination.labels["version"] | "unknown"
5151
response_code: response.code | 200
5252
monitored_resource_type: '"UNSPECIFIED"'
5353
---
@@ -60,10 +60,10 @@ spec:
6060
value: response.latency | response.duration | "0ms"
6161
dimensions:
6262
source: source.labels["app"] | "unknown"
63-
target: target.service | "unknown"
64-
service: target.labels["app"] | "unknown"
63+
target: destination.service | "unknown"
64+
service: destination.labels["app"] | "unknown"
6565
method: request.path | "unknown"
66-
version: target.labels["version"] | "unknown"
66+
version: destination.labels["version"] | "unknown"
6767
response_code: response.code | 200
6868
monitored_resource_type: '"UNSPECIFIED"'
6969
---
@@ -76,10 +76,10 @@ spec:
7676
value: request.size | 0
7777
dimensions:
7878
source: source.labels["app"] | "unknown"
79-
target: target.service | "unknown"
80-
service: target.labels["app"] | "unknown"
79+
target: destination.service | "unknown"
80+
service: destination.labels["app"] | "unknown"
8181
method: request.path | "unknown"
82-
version: target.labels["version"] | "unknown"
82+
version: destination.labels["version"] | "unknown"
8383
response_code: response.code | 200
8484
monitored_resource_type: '"UNSPECIFIED"'
8585
---
@@ -92,10 +92,10 @@ spec:
9292
value: response.size | 0
9393
dimensions:
9494
source: source.labels["app"] | "unknown"
95-
target: target.service | "unknown"
96-
service: target.labels["app"] | "unknown"
95+
target: destination.service | "unknown"
96+
service: destination.labels["app"] | "unknown"
9797
method: request.path | "unknown"
98-
version: target.labels["version"] | "unknown"
98+
version: destination.labels["version"] | "unknown"
9999
response_code: response.code | 200
100100
monitored_resource_type: '"UNSPECIFIED"'
101101
---

0 commit comments

Comments
 (0)