Skip to content

Releases: swift-server/swift-prometheus

V 1.0.0 Alpha 12

30 Jul 10:32
156c16e
Compare
Choose a tag to compare
V 1.0.0 Alpha 12 Pre-release
Pre-release

SemVer Minor

  • Update minimum required Swift version to 5.2 (#51, @glbrntt )

SemVer Patch

V 1.0.0 Alpha 11

26 May 10:52
3caacd3
Compare
Choose a tag to compare
V 1.0.0 Alpha 11 Pre-release
Pre-release

Semver Patch

  • Performance Improvements (#50, @glbrntt)
    • Sanitizing pre-sanitized labels is ~100x faster
    • Sanitizing non-sanitized label is ~20x faster
    • Incrementing 10 counters is ~20x faster
    • Incrementing 100 counters is ~40x faster
    • Incrementing 1000 counters is ~250x faster
    • (Similar results for other metrics.)

V 1.0.0 Alpha 10.1

04 May 07:25
42edfe0
Compare
Choose a tag to compare
V 1.0.0 Alpha 10.1 Pre-release
Pre-release

SemVer Minor

Add fix and test for MetricsSystem.prometheus() (#49, @MrLotU)

V 1.0.0 Alpha 10

30 Apr 09:55
a5671ba
Compare
Choose a tag to compare
V 1.0.0 Alpha 10 Pre-release
Pre-release

SemVer Breaking

Histogram backed timer (#46, @avolokhov)

NOTE: This is a breaking change. PrometheusClient no longer conforms to MetricsFactory. Instead of bootstrapping swift-metrics with an instance of PrometheusClient directly, it has to be wrapped in a PrometheusMetricsFactory

// Before
let myProm = PrometheusClient()
MetricsSystem.bootstrap(myProm)

// After
let myProm = PrometheusClient()
MetricsSystem.bootstrap(PrometheusMetricsFactory(client: myProm))

With this comes the ability to choose wether swift-metrics' Timer should be backed by a Prometheus Histogram or Summary by passing configuration to PrometheusMetricsFactory

V 1.0.0 Alpha 9

10 Mar 14:47
8fb92e7
Compare
Choose a tag to compare
V 1.0.0 Alpha 9 Pre-release
Pre-release

SemVer Minor

  • Make labels classes public to allow users to create their own prometheus labels (#42, @avolokhov)

SemVer Patch

V 1.0.0 Alpha 8

11 Nov 09:15
970bd31
Compare
Choose a tag to compare
V 1.0.0 Alpha 8 Pre-release
Pre-release
  • Remove CoreGraphics (#35, @ktoso)

    NOTE: This is a breaking change. If you are depending on using CGFloat's for metrics, consider moving over to normal float, or conform CGFloat to ConvertibleNumberType yourself.

V 1.0.0 Alpha 7

20 May 07:06
fa3d278
Compare
Choose a tag to compare
V 1.0.0 Alpha 7 Pre-release
Pre-release

SemVer Minor

V 1.0.0 Alpha 6

22 Apr 07:25
938b2a2
Compare
Choose a tag to compare
V 1.0.0 Alpha 6 Pre-release
Pre-release

SemVer Minor

V 1.0.0 Alpha 5

25 Mar 08:42
d7e25d9
Compare
Choose a tag to compare
V 1.0.0 Alpha 5 Pre-release
Pre-release

Breaking: This release drops support for swift-metrics 1.x and requires swift-metrics 2.x. See the 2.0.0 release for more information.

SemVer Major

  • Update SwiftPrometheus to use SwiftMetric 2.* (#31, @tdotclare)

SemVer Minor

V 1.0.0 Alpha 4

17 Oct 13:53
f3acccc
Compare
Choose a tag to compare
V 1.0.0 Alpha 4 Pre-release
Pre-release

Semver Minor:

  • Fix missing newline between metrics when collecting (#16 @ktoso )
  • Do not recreate a new counter if we already have one. (#13 @Yasumoto )
  • Make use of swift-metrics' TimeUnit enum for Timers. (#17 @MrLotU )