Skip to content

Commit

Permalink
add example for lambda_edge
Browse files Browse the repository at this point in the history
Signed-off-by: tyagian <[email protected]>
  • Loading branch information
tyagian committed Jan 29, 2025
1 parent 71ea066 commit 8cec37d
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions examples/lambda_edge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# We can't configure discovery job for edge lambda function but static works.,he region is always us-east-1.
# Other regions can be added in use as edge locations
apiVersion: v1alpha1
static:
- name: us-east-1.<edge_lambda_function_name>
namespace: AWS/Lambda
regions:
- eu-central-1
- us-east-1
- us-west-2
- ap-southeast-1
period: 600
length: 600
metrics:
- name: Invocations
statistics: [Sum]
- name: Errors
statistics: [Sum]
- name: Throttles
statistics: [Sum]
- name: Duration
statistics: [Average, Maximum, Minimum, p90]

0 comments on commit 8cec37d

Please sign in to comment.