Bot releases are visible (Hide)
Sendable
annotations by @FranzBusch in https://github.com/apple/swift-metrics/pull/148
Full Changelog: https://github.com/apple/swift-metrics/compare/2.4.4...2.5.0
Published by ktoso 5 months ago
Full Changelog: https://github.com/apple/swift-metrics/compare/2.4.3...2.4.4
Published by ktoso 5 months ago
This release fixes a minor source break caused between 2.4.1 and 2.4.2:
The PR https://github.com/apple/swift-metrics/pull/133 introduced the following method:
public func record(_ duration: Duration)
There was already a similar function
public func record(_ duration: DispatchTimeInterval)
This can cause ambiguity for the compiler when using . shortcuts because of an overlap in case names, e.g.
timer.record(.nanoseconds(123)) // <-- ambiguous, is this DispatchTimeInterval or Duration?
This release fixes this by having the new method be called record(duration:)
.
Fixed by https://github.com/apple/swift-metrics/pull/144 in 2.4.3, please use 2.4.3 instead. Thank you @hamzahrmalik for the diagnosis and fix.
Full Changelog: https://github.com/apple/swift-metrics/compare/2.4.2...2.4.3
Published by ktoso 5 months ago
Full Changelog: https://github.com/apple/swift-metrics/compare/2.4.1...2.4.2
Published by tomerd over 1 year ago
Full Changelog: https://github.com/apple/swift-metrics/compare/2.4.0...2.4.1
Published by ktoso over 1 year ago
Full Changelog: https://github.com/apple/swift-metrics/compare/2.3.4...2.4.0
Published by ktoso over 1 year ago
Full Changelog: https://github.com/apple/swift-metrics/compare/2.3.3...2.3.4
Published by ktoso almost 2 years ago
MetricsFactory
Sendable by @fabianfett in https://github.com/apple/swift-metrics/pull/116
Full Changelog: https://github.com/apple/swift-metrics/compare/2.3.2...2.3.3
Published by ktoso about 2 years ago
Full Changelog: https://github.com/apple/swift-metrics/compare/2.3.1...2.3.2
Published by ktoso over 2 years ago
MetricsTestKit
as a product by @fabianfett in https://github.com/apple/swift-metrics/pull/111
Full Changelog: https://github.com/apple/swift-metrics/compare/2.3.0...2.3.1
Published by ktoso over 2 years ago
MetricsTestKit
module that allows asserting certain metrics have been emitted etc.
Published by ktoso about 3 years ago
New addition allowing for floating point counters. This API will be right away supported by SwiftPrometheus, other libs may follow.
FloatingPointCounter
which allows reporting floating point metrics when necessary. Thanks @rauhul!Published by ktoso almost 4 years ago
A minor new API to enable SystemMetrics from the new swift-metrics-extras (coming soon) repository.
New API:
MetricsSystem.withWriterLock
so it can be invoked by alternate "bootstrap" functions, such as SystemMetrics; https://github.com/apple/swift-metrics/pull/86 Thanks @MrLotU !For details on the changes please refer to the 0.2.1 milestone
New API:
Timer.recordInterval(since:)
for easier reporting of time since a "start" DispatchTime
https://github.com/apple/swift-metrics/pull/83 - thank you @slashmo!For details on the changes please refer to the 0.2.1 milestone
Published by tomerd over 4 years ago
Important note: The 1.x (previous) version of swift-metrics included a TimeUnit
enum which was missing a microseconds
case. Since adding a case to an enum is an API breaking change, we needed to release
this change as sever 2.0.0. We also used this opportunity to change the enum to a struct so we can add more time unit without breaking the API. That said, since 1.x and 2.x are almost API compatible, TimeUnit
is not used by swift-metrics directly and only used by few libraries that depend on it, most libraries should use the following dependency to avoid a fragmentation of ecosystem:
.package(url: "https://github.com/apple/swift-metrics.git", "1.0.0" ..< "3.0.0")
Published by tomerd over 4 years ago
Published by tomerd about 5 years ago
Published by tomerd about 5 years ago
Timer.recordNanoseconds
Generic Overload (#28)Timer
methodsPublished by tomerd about 5 years ago
The initial release
Published by tomerd about 5 years ago
Pre-release of swift-metrics