You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That's because Lambda metrics have two dimensions, FunctionName and Resource and sometimes it's both for one lambda, sometimes it's only one, no idea why. AWS docs
cli to check: aws cloudwatch list-metrics --namespace AWS/Lambda --metric-name Errors
Can be fixed by limiting yace to single dimension using dimensionNameRequirements like follows:
Is there an existing issue for this?
Current Behavior
Version :: v0.33.0-alpha
v0.40.0-alpha
aws_lambda_invocations_sum{account_id="072xxxx", dimension_FunctionName="authorizer-function-AuthorizerFunction-xxxxxxxx", dimension_Resource="authorizer-function-AuthorizerFunction-xxxxxxxx", instance="yace:5000", job="yace", name="arn:aws:lambda:eu-west-2:oxxxxxx:function:authorizer-function-AuthorizerFunction-xxxxxxxx", region="eu-west-2", tag_Environment="Production"}
741
aws_lambda_invocations_sum{account_id="072xxxxx", dimension_FunctionName="authorizer-function-AuthorizerFunction-xxxxxxxx", instance="yace:5000", job="yace", name="arn:aws:lambda:eu-west-2:o7xxxxxxx:function:authorizer-function-AuthorizerFunction-xxxxxxxx", region="eu-west-2", tag_Environment="Production"}
742
Expected Behavior
aws_lambda_invocations_sum{account_id="o7xxxxxxx", dimension_FunctionName="authorizer-function-AuthorizerFunction-xxxxxxxx", dimension_Resource="authorizer-function-AuthorizerFunction-xxxxxxxx", instance="yace:5000", job="yace", name="arn:aws:lambda:eu-west-2:o7xxxxxxx:function:authorizer-function-AuthorizerFunction-xxxxxxxx", region="eu-west-2", tag_Environment="Production"}
741
Steps To Reproduce
Yace Config for pulling Lambda Metrics
...
regions:
- eu-west-2
searchTags:
- key: Environment
value: Production
metrics:
- name: Duration
statistics:
- Sum
- Maximum
- Minimum
- Average
period: 300
length: 600
- name: Invocations
statistics:
- Sum
period: 300
length: 600
- name: Errors
statistics:
- Sum
period: 60
length: 600
- name: ConcurrentExecutions
statistics:
- Maximum
period: 300
length: 600
Anything else?
No response
The text was updated successfully, but these errors were encountered: