I am happy to announce release 0.15.0 of Hawkular Metrics. This is one of the largest ever Hawkular Metrics releases with a lot of new features and changes.
Here is a list of major changes:
- Cassandra 3.5 Support
- Cassandra 3.5 is now the supported version of Cassandra
- Cassandra 2.2.x support is deprecated
- Schema Management Tools
- First release with tooling for schema change management
- Only upgrades are supported; incremental schema changes are installed when Hawkular Metrics starts
- Going forward new versions of Hawkular Metrics can be installed without the need to start with a fresh database or manually update existing database even if the schema has been modified in the new version
- For more details: HWKMETRICS-361, Cassalog
*/data has been **deprecated* and its functionality split into two single purpose endpoints,
*/stats. This is applicable for all metric types (gauge, counter, availability, and string)
*/data will not receive any updates going forward, and will be removed in future releases. There is no clear timeline for the removal since a lot of clients use it; it will be around at least for another two releases.
*/stats endpoints return bucketed, statistical or query-time aggregated data
*/raw endpoints accept and return raw data for a metric
- Please update your code to use the new endpoints and follow the release notes for more details regarding removal.
- For more details: HWKMETRICS-24, HWKMETRICS-57
- Data Point Tags
- An optional set of tags can be supplied with each data point when inserting data. Unlike metric definition tags, data point tags cannot be modified. HWKMETRICS-368, HWKMETRICS-54
- Tag based bucketing for data points is supported for counters and gauges HWKMETRICS-377, HWKMETRICS-373
- New endpoints for filtering and grouping data by tags:
- Deleting tags only requires the tag keys and not the values, this simplifies the process for tag deletion. For backwards compatibility, the API will still accept name value pairs but will not take the value into account HWKMETRICS-385
- A new endpoint was added to query for the available values contained in a tag HWKMETRICS-197
GET hawkular/metrics/gauge/tags/hostname:*01* returns
hostname: ["web01prod", "web01qa", "backend01prod", "backend01qa" ]
- String Metric Type (Experimental)
- Hawkular Metrics now provides a string metric type. This release introduces new endpoints for reading and writing string data points HWKMETRICS-384
- There is a 2 KB size limit for each data point. That limit may be configurable in future releases.
- New endpoints under
/strings are experimental, so changes which break backwards compatibility could be introduced in future releases. The experimental tag allows time for feedback to better determine what the API should be.
- Asynchronous authentication for Openshift Metrics
- API Updates
- Stats are excluded from empty bucket data points rather than returning the string NaN and zero for the samples property HWKMETRICS-396
- Endpoints that use the order param also accept lower case values HWKMETRICS-389
- Sum is included in bucket output for gauges and counters HWKMETRICS-370
- The status page can now be loaded over HTTPS without errors HWKMETRICS-388
- Added overwrite param to tenant and metric creation. This will only overwrite the configuration (such as retention settings or tags) of the metric or tenant and not the actual data stored. Also overwrite the retention will only affect new data points added and not existing data already stored HWKMETRICS-148
The entire Hawkular Metrics User Guide has been rewritten and it is now accessible from the top menu of Hawkular.org. The new guide has extensive documentation about metric types, query and tagging capabilities along lots of examples. Thank you @jsanda for this amazing update!
Java Client (Experimental)
Thanks to an effort started by the Hawkular QE organization, Hawkular Metrics now has an official Java client. The repository has been fully transferred to Hawkular community where will be maintained going forward. The client is now at an experimental alpha stage and we expect to polish the API and internals in the coming months.
A big thank you goes to @jkandasa and @vnugent for creating and the maintaining the project until now. @jkandasa will continue to serve as an active contributor and core member.
Blog Posts & Articles
Here are some recently published Metrics related blog posts and articles from around the Hawkular community:
- Monitoring JVM applications with jmxtrans by @tsegismont
- Collecting Metrics from Prometheus Endpoints by @jmazzitelli
- Hawkular Data Mining 0.1.0.Final Released by @pavolloffay
Hawkular Metrics Clients
A big "Thank you" goes to John Sanda, Thomas Segismont, Mike Thompson, Matt Wringe, Michael Burman, and Heiko Rupp for their project contributions.
Published by Stefan Negrea on 02 May 2016