How to provide dimensions to a metric? #814
-
I use AWS PowerTools (aws-lambda-powertools==1.18.0) in Python Lambda; Python version is 3.8. What's wrong? Or what's the correct way to achieve this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
If I use standard metric as below: |
Beta Was this translation helpful? Give feedback.
If I use standard metric as below:
metrics.add_metric(name = 'RawS3MessageFailed', unit = MetricUnit.Count, value = 1)
There is no way to add dimensions, correct?
I read the reference here about single_metric but no where mentions how to use this single_metric after adding dimensions in it.
Please help!