File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -662,8 +662,12 @@ def lambda_handler(evt, context):
662
662
# and that application metrics dimensions are not part of ColdStart EMF blob
663
663
assert "test_dimension" not in cold_start_blob
664
664
665
- # THEN application metrics EMF blob should not have function_name dimension
665
+ # THEN application metrics EMF blob should not have
666
+ # ColdStart metric nor function_name dimension
666
667
assert "function_name" not in custom_metrics_blob
668
+ assert "ColdStart" not in custom_metrics_blob
669
+
670
+ # and that application metrics are recorded as normal
667
671
assert custom_metrics_blob ["service" ] == service
668
672
assert custom_metrics_blob ["single_metric" ] == metric ["value" ]
669
673
assert custom_metrics_blob ["test_dimension" ] == dimension ["value" ]
You can’t perform that action at this time.
0 commit comments