Skip to content

Commit eeae495

Browse files
authored
add example for lambda_edge (#1628)
Signed-off-by: tyagian <[email protected]>
1 parent 71ea066 commit eeae495

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

examples/lambda_edge.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# We can't configure discovery job for edge lambda function but static works.,he region is always us-east-1.
2+
# Other regions can be added in use as edge locations
3+
apiVersion: v1alpha1
4+
static:
5+
- name: us-east-1.<edge_lambda_function_name>
6+
namespace: AWS/Lambda
7+
regions:
8+
- eu-central-1
9+
- us-east-1
10+
- us-west-2
11+
- ap-southeast-1
12+
period: 600
13+
length: 600
14+
metrics:
15+
- name: Invocations
16+
statistics: [Sum]
17+
- name: Errors
18+
statistics: [Sum]
19+
- name: Throttles
20+
statistics: [Sum]
21+
- name: Duration
22+
statistics: [Average, Maximum, Minimum, p90]

0 commit comments

Comments
 (0)