Skip to content

Releases: sociomantic-tsunami/ocean

v5.1.1

05 Sep 16:38
Compare
Choose a tag to compare

Merge of v5.0.5 into v5.x.x.

v5.0.5

05 Sep 16:37
Compare
Choose a tag to compare
  • Make getIeeeFlags() naked

v5.1.0

06 Aug 15:23
Compare
Choose a tag to compare

Merge of v4.7.0 into v5.x.x.

v4.7.0 auto-converted to D2

v4.7.0

06 Jun 10:14
Compare
Choose a tag to compare

https://github.com/sociomantic-tsunami/ocean/milestone/106

New Features

Add a client for sending stats to prometheus

integrationtest.prometheusstats.main,
ocean.util.app.DaemonApp,
ocean.util.prometheus.collector.Collector,
ocean.util.prometheus.collector.CollectorRegistry,
ocean.util.prometheus.collector.StatFormatter,
ocean.util.prometheus.server.PrometheusHandler,
ocean.util.prometheus.server.PrometheusListener

Prometheus sends HTTP GET requests to an application at /metrics endpoint to
pull stats from it. This feature adds a listener for these requests, and a
handler to response with stats to prometheus.

Also introduced here are classes that interface between the handler and a
client application, such that the handler is able to invoke callbacks that
collect stats from the client application upon receiving requests from
prometheus.

The DaemonApp class now has two functions, namely, collectSystemStats and
collectGCStats, to allow existing implementations to initially incorporate
system and GC stats into Prometheus' stat collection with ease.

In general, the steps to start stat collection using Prometheus would be:

a. Create a `CollectorRegistry` instance with all the delegates, fetching
   your desired stats.
b. Create a `PrometheusListener` instance with your desired socket address
   and the `CollectorRegistry` instance (created in step a).
c. Register the `PrometheusListener` instance (created in step b) with your
   epoll dispatcher, using the `PrometheusListener.registerEventHandling`
   method.

To stop the listener, the method PrometheusListener.shutdown should suffice
(along with de-registering from epoll, if needed).

For a detailed and functional example, please refer to the system test module,
integrationtest.prometheusstats.main and the unittest in module
ocean.util.prometheus.server.PrometheusListener.

v5.0.4

08 May 19:26
Compare
Choose a tag to compare
  • "yesterday" and single value support improvements for TimeIntervalArgs. #706

v4.6.2 auto-converted to D2

v4.6.2

08 May 19:26
Compare
Choose a tag to compare

https://github.com/sociomantic-tsunami/ocean/milestone/110?closed=1

  • "yesterday" and single value support improvements for TimeIntervalArgs. #706

v5.0.3

02 May 13:26
Compare
Choose a tag to compare

v5.0.2

24 Apr 10:21
Compare
Choose a tag to compare
  • Workaround a compiler bug #698