Skip to content

Releases: ctxsh/strata-go

v0.5.0

05 Sep 22:33
8b94ff8

Choose a tag to compare

Fixes a race condition in the start/stop functions by reintroducing context to the start and removing stop.

v0.4.3

02 Apr 15:06
217274a

Choose a tag to compare

Update modules to address critical prometheus issue. Remove support for go 1.19 and 1.20 due to module incompatibilities.

v0.4.2

24 Oct 22:04
58f41e1

Choose a tag to compare

Adds context functions FromContext and IntoContext to facilitate transport and extraction of Metrics.

v0.4.1

25 Aug 21:33
55436fc

Choose a tag to compare

v0.4.1

v0.4.0

25 Aug 21:24
d62522a

Choose a tag to compare

Apex has been renamed to strata.

v0.3.1

15 Aug 19:18
da3efbb

Choose a tag to compare

  • Fix race when creating and storing metrics that cause nil values to be stored when registering the metric with prometheus.

v0.3.0

12 Aug 01:04
c4a26df

Choose a tag to compare

Features:

This is a breaking update. The following features have been added.

  • Controlled shutdown of the HTTP server that presents the collector endpoint to scrapers has been added with signal based shutdown removed. This requires users to explicitly stop the server when all metrics have been collected.
  • Grace period for the server shutdown added to allow time for scrapers to retrieve the last metrics before the endpoint is shutdown. By default it is 0 seconds.
  • The server was decoupled from the metrics struct to keep locks from being copied when the labels and prefixes are added. Server options are specified when starting the server.
  • A logging interface was added to provide error and info logs for start up, shutdown, http server errors, and panic recovery.

v0.2.1

01 Dec 08:08
0ade9a0

Choose a tag to compare

chore(document): add comments (#28)

* chore(document): add comments

* lint

* tidy and lint

* more fixing

* gofmt

v0.2.0

02 Nov 04:24
d2754ee

Choose a tag to compare

Breaking interface changes. Support incremental building of metrics, constant labels, and performance fixes.

v0.1.0

08 Oct 22:08
43e09da

Choose a tag to compare

  • Fixes an issue with panic recovery where the recovery was occurring when PanicOnError was true.
  • Adds the ability to define multiple subsystems on initialization.