All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Metrics: Coerce non-string dimension values to string
- Logger: Correct
cold_start,function_memory_sizevalues from string to bool and int respectively
- Metrics: Fix issue where metrics were not correctly flushed, and cleared on every invocation
- Tracer: Fix Runtime Error for nested sync due to incorrect loop usage
- Tracer: Import aiohttp lazily so it's not a hard dependency
- Tracer: Support for async functions in
Tracerviacapture_methoddecorator - Tracer: Support for
aiohttpviaaiohttp_trace_configtrace config - Tracer: Support for patching specific modules via
patch_modulesparam - Tracer: Document escape hatch mechanisms via
tracer.provider
- Metrics: Fix metric unit casting logic if one passes plain string (value or key)
- Metrics:: Fix
MetricUnitenum values forBytesPerSecondKilobytesPerSecondMegabytesPerSecondGigabytesPerSecondTerabytesPerSecondBitsPerSecondKilobitsPerSecondMegabitsPerSecondGigabitsPerSecondTerabitsPerSecondCountPerSecond
- Logger: Introduced
Loggerclass for stuctured logging as a replacement forlogger_setup - Logger: Introduced
Logger.inject_lambda_contextdecorator as a replacement forlogger_inject_lambda_context
- Logger: Raise
DeprecationWarningexception for bothlogger_setup,logger_inject_lambda_context
- Middleware factory: Introduced Middleware Factory to build your own middleware via
lambda_handler_decorator
- Metrics: Fixed metrics dimensions not being included correctly in EMF
- Logger: Fix
log_metricsdecorator logic not calling the decorated function, and exception handling
- Metrics: Introduces Metrics middleware to utilise CloudWatch Embedded Metric Format
- Metrics: Added deprecation warning for
log_metrics
- Logger: Introduced log sampling for debug - Thanks to Danilo's contribution
- Public beta release