Sparta v1.13.0 Release Notes
Release Date: 2019-11-30 // over 4 years ago-
- 💥 :warning: BREAKING
:checkered_flag: CHANGES
- Updated go-cloudformation dependency to expose:
- LambdaEventInvokeConfig for success/failure handlers
- See the blog post for more information
- Destinations can be connected via TemplateDecorators or ServiceDecoratorHook
- LambdaEventSourceMapping for updated stream controls
- See the blog post for more information
- Added cloudwatch.EmbeddedMetric to support publishing CloudWatch Embedded Metrics via logs
- See the blog post for more information
- Usage:
metricDirective := emMetric.NewMetricDirective("SpecialNamespace", // Initialize with metric dimensions map[string]string{"functionVersion": os.Getenv("AWS_LAMBDA_FUNCTION_VERSION")}) // Record a metric value metricDirective.Metrics["invocations"] = cloudwatch.MetricValue{ Unit: cloudwatch.UnitCount, Value: 1, } // Publish optionally accepts additional high-cardinality KV properties emMetric.Publish(nil)
🛠 :bug: FIXED