- Added extension methods for easier setup, similar to IoC/Configuration/Logging
- Added request metrics middleware
- Improvements to
OperationTracker
- Timings now properly record fractional milliseconds
- Added .NET Core 2.2 example project
- Renamed
MetricsSettings
toMetricsConfig
- Renamed
DataDogProviderSettings
toDataDogProviderConfig
- Added the concept of a
MetricsContext
similar toLogContext
to allow tags to be applied across all metrics recorded within an async scope - Added
ConsoleMetricsProvider
- Added option to stop the clock when calling
IOperationTracker.SetSuccess()
andIOperationTracker.SetFailure()
- Improved
OperationTracker
to allow recording attempts/results independently of timings (for when using a provider other than DataDog) - Improved handling of Global Tags aka Constant Tags
- Global tags now automatically populated with key information such as host name and IP addresses
- Renamed some registration extension methods
- Added Azure AppInsights provider
- Improved
MetricsTimer
, addedOperationTracker
Updated to use IConfig<>
instead of ISettings<>
.
- Changed interfaces to use
IEnumerable<string>
for tags instead ofstring[]
. This elimiates the overhead of copying arrays in consuming code when building out tags.
Inital release.
Basic support for:
- DataDog
- Amazon CloudWatch