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.
- Add
versionedjobhook providing a simple declarative version change framework for jobs. PR #39.
- Add
panictoerrormiddleware that recovers panics and returns them as errors to middlewares up the stack. PR #32.
- More complete example test for
nilerrorpackage. PR #27.
- Fix GitHub import path for
nilerrorpackage. PR #29. - Fix compliance of
nilerror.Hooktorivertype.HookWorkEndinterface. PR #30.
- Add
nilerrorhook to detect nil structs wrapped in non-nil error interfaces. PR #25.
- Added
otelriveroptionEnableWorkSpanJobKindSuffixwhich appends the job kind a suffix to work spans so they look likeriver.work/my_jobinstead ofriver.work. PR #23.
- Added license file (
LICENSE). The project uses the same Mozilla Public License Version 2.0 that the main River project uses. PR #19.
- Added
otelriveroptionMiddlewareConfig.DurationUnit. Can be used to configure duration metrics to be emitted in milliseconds instead of the default seconds. PR #10. - More attributes like job ID and timestamps on OpenTelemetry spans. PR #11.
- Added
otelriveroptionEnableSemanticMetricswhich will cause the middleware to emit metrics compliant with OpenTelemetry semantic conventions. PR #12.
- Initial release. Mainly brings in the
otelriverpackage for use of River with OpenTelemetry and DataDog. PR #1.