Skip to content

Releases: hawkular/hawkular-metrics

0.27.1

03 Aug 17:39
Compare
Choose a tag to compare

Contains the following fixes:

0.27.0

05 Jun 20:54
Compare
Choose a tag to compare

This release is anchored by performance improvements and general enhancements.

Here is a list of major changes:

  • REST API - Updates

    • Resolved an issue where a failure to insert metric tags can result in inconsistent state for a metric's definition and tags index; HWKMETRICS-660
    • The /metrics endpoint is now aliased by /m to avoid false positives due to privacy blockers restricting access to /metrics/metrics; HWKMETRICS-621
    • Added GET /${metric_type}/tags/{tags}/raw endpoints for all metric types to allow easier querying for raw data; HWKMETRICS-482
  • Tag Query Language

    • A new set of operators was added for regex matching. The operators are ~ for a positive match and !~ for a negative match.
    • The existing equality operators (= and !=) will be exclusively used for strict string matching.
    • This improves language expressiveness and also removes confusion about the actual meaning of the string operators.
    • A side effect of this change is a dramatic performance improvement of up to 30x for expressions that use the equality operator (=).
    • For more details please visit: HWKMETRICS-676 and PR-828
  • Other Updates

    • Added a flag (METRICS_EXPIRATION_JOB_ENABLED set to true by default) to allow admins to disable the job that removes expired metric definitions. HWKMETRICS-643
    • Updated RXJava to version 1.2.8; HWKMETRICS-652

Hawkular Alerting - Included

Hawkular Metrics Clients

JBoss Nexus Maven artifacts:
http://origin-repository.jboss.org/nexus/content/repositories/public/org/hawkular/metrics/

Jira release tracker:
https://issues.jboss.org/projects/HWKMETRICS/versions/12334300

A big "Thank you" goes to John Sanda, Matt Wringe, Michael Burman, Joel Takvorian, Jay Shaughnessy, Lucas Ponce, and Heiko Rupp for their project contributions.

0.23.8

17 Apr 17:49
Compare
Choose a tag to compare

Contains the following fixes:

  • HWKMETRICS-621 - Privacy blockers block access to Hawkular Metrics due to URL pattern
  • HWKMETRICS-606 - Large (> 100 MB) partitions in metrics_idx table make Cassandra unstable

0.21.8

17 Apr 17:48
Compare
Choose a tag to compare

Contains the following fixes:

  • HWKMETRICS-621 - Privacy blockers block access to Hawkular Metrics due to URL pattern
  • HWKMETRICS-606 - Large (> 100 MB) partitions in metrics_idx table make Cassandra unstable
  • HWKMETRICS-598 - Update compaction strategies for data tables

0.26.1

17 Apr 17:51
Compare
Choose a tag to compare

Contains the following fixes:

  • HWKMETRICS-621 - Privacy blockers block access to Hawkular Metrics due to URL pattern
  • HWKMETRICS-606 - Large (> 100 MB) partitions in metrics_idx table make Cassandra unstable
  • HWKMETRICS-642 - Upgrade Hawkular Commons to 0.9.2.Final
  • HWKMETRICS-643 Allow admins to disable the job for deleting expired metrics
  • HWKMETRICS-649 GroupTriggerAlerterITest fails in slow environments

0.23.7

04 Apr 16:15
Compare
Choose a tag to compare

Contains the following fix:

0.26.0

04 Apr 14:17
Compare
Choose a tag to compare

This release is anchored by performance improvements and enhancements.

Here is a list of major changes:

  • REST API - Updates

    • Added an endpoint to delete a single metric - DELETE /{metric_type}/{metric_id}. NOTE: deleting a metric using this endpoint will immediately delete all uncompressed data, tags, and index entries for a single metric; the compressed data will not be deleted but will expire using the preset data retention; HWKMETRICS-612
    • Added a mixed stats batch query endpoint to request multiple stats queries at the same time, POST /metrics/stats/batch/query. For a sample query and reply please visit: HWKMETRICS-618
    • Enabled GZIP content compression when the client accepts it; HWKMETRICS-623
    • Min and max timestamp for metric definitions are now fetched only when explicitly requested. To enable min and max timestamps please use timestamps=true query parameter. HWKMETRICS-625
  • Cassandra

    • Cassandra 3.0.12 is now the supported version of Cassandra.
    • Support for previous versions of Cassandra 3.0.x is deprecated.
    • For more details please visit: HWKMETRICS-622
  • External Metrics Alerter - Enhancements

    • Added 'quietCount' option to the ConditionExpression to prevent alert repetition. If set then redundant firings for the same metric are suppressed until after N false evaluations. This applies to each metric individually. HWKMETRICS-630
    • Added support for metrics group triggers, a way to define a single trigger and have it apply to an unknown and changing set of metrics. For documentation regarding this feature please visit Metrics Group Triggers, and HWKMETRICS-640
  • Internal Updates

    • Resolved an issue where schema installation on multi Cassandra node cluster may fail; HWKMETRICS-637
    • Added an internal job that deletes metrics definitions after all the associated data (compressed and uncompressed) expires. This will remove the tags and index entries for metrics that are no longer in use. HWKMETRICS-613

Hawkular Alerting - Included

Hawkular Metrics Clients

JBoss Nexus Maven artifacts:
http://origin-repository.jboss.org/nexus/content/repositories/public/org/hawkular/metrics/

Jira release tracker:
https://issues.jboss.org/projects/HWKMETRICS/versions/12333957

A big "Thank you" goes to John Sanda, Matt Wringe, Michael Burman, Joel Takvorian, Jay Shaughnessy, Lucas Ponce, and Heiko Rupp for their project contributions.

0.25.0

09 Mar 15:26
Compare
Choose a tag to compare

This release is anchored by general stability improvements and enhanced query capabilities for the external metrics alerter.

Here is a list of major changes:

  • External Metrics Alerter - Enhancements
    • Both syntax and query capabilities have been revamped to allow defining conditions using flexible expressions with embedded stats queries
    • The ExternalCondition expression is now JSON and has support for the new tag query language
    • The full documentation about this feature can be found in the Alerting section of the user guide
    • For more details please see: HWKMETRICS-566 and Pull Request 727
  • Dropwizard-Metrics - Merged
    • The Dropwizard-Metrics reporter has been merged into the Metrics repository in clients/dropwizard module
    • The old repository is decommissioned, all new development will happen in the Metrics project
    • This was done to simplify the compatibility matrix between the reporter and Hawkular Metrics REST API; going forward they will have identical versions. Furthermore, the compatibility is now tested via continuous integration tests.
    • Please use the new maven artifact hawkular-dropwizard-reporter
    • For more details please see: HWKMETRICS-585
  • Tag Query Language - Enhancements
    • The tag query language now supports the dot character in the tag name. The list of allowed characters is a-zA-Z_0-9.
    • The query language allows regex matching for tag values but not tag names
    • This allows translating JSON-like tag structures into Hawkular Metrics tags and query using the new tag query language
    • For example, a tag structure like [tag.subtag1: value1, tag.subtag2.subsubtag1: value2] is now queriable via the tag query language with queries like tag.subtag1 = value1 or tag.subtag2.subsubtag1
    • For more details please see: HWKMETRICS-611
  • REST API - Request Logging
    • It is now possible to enable detailed logging for all REST API requests
    • Two properties have been added to enable this features: hawkular.metrics.request.logging.level to enable logging for all read requests and hawkular.metrics.request.logging.level.writes to enable logging for write requests
    • By default this feature is disabled, to enable just set the log level via each property
    • For more details please see: HWKMETRICS-589
    • Here is a sample log:
INFO  [org.hawkular.metrics.api.jaxrs.util.RequestLoggingFilter] (default task-49)
REST API request:
--------------------------------------
path: /metrics
segments: [metrics]
method: GET
query parameters: {type=[availability]}
Tenant: T9a116f18-28cf-41b3-8ff8-c9752ac60e26232
  • Other Updates
    • Automatically fix schema issues that occur when the server is restarted during initial schema installation (HWKMETRICS-594)
    • Metric data points inserts have been optimized to use token ranges for Cassandra writes (HWKMETRICS-599)

Hawkular Alerting - Included

Hawkular Metrics Clients

JBoss Nexus Maven artifacts:
http://origin-repository.jboss.org/nexus/content/repositories/public/org/hawkular/metrics/

Jira release tracker:
https://issues.jboss.org/projects/HWKMETRICS/versions/12333676

A big "Thank you" goes to John Sanda, Matt Wringe, Michael Burman, Joel Takvorian, Jay Shaughnessy, Lucas Ponce, and Heiko Rupp for their project contributions.

0.18.5

01 Mar 18:45
Compare
Choose a tag to compare

Contains the following fix:

0.21.7

01 Mar 18:54
Compare
Choose a tag to compare

Contains the following fixes: