Hello,
I am happy to announce release 0.24.0 of Hawkular Metrics. This release is anchored by a new tag query language and general stability improvements.
Here is a list of major changes:
-
Tag Query Language
- A query language was added to support complex constructs for tag based queries for metrics
- The old tag query syntax is deprecated but can still be used; the new syntax takes precedence
- The new syntax supports:
- logical operators:
AND,OR
- equality operators:
=, !=
- value in array operators:
IN, NOT IN
- existential conditions:
- tag without any operator is equivalent to
= '*'
- tag preceded by the NOT operator matches only instances without the tag defined
- all the values in between single quotes are treated as regex expressions
- simple text values do not need single quotes
- spaces before and after equality operators are not necessary
- For more details please see: Pull Request 725, HWKMETRICS-523
- Sample queries:
a1 = 'bcd' OR a2 != 'efg'
a1='bcd' OR a2!='efg'
a1 = efg AND ( a2 = 'hijk' OR a2 = 'xyz' )
a1 = 'efg' AND ( a2 IN ['hijk', 'xyz'] )
a1 = 'efg' AND a2 NOT IN ['hijk']
a1 = 'd' OR ( a1 != 'ab' AND ( c1 = '*' ) )
a1 OR a2
NOT a1 AND a2
a1 = 'a' AND NOT b2
a1 = a AND NOT b2
-
Performance
- Updated compaction strategies for data tables from size tiered compaction (STCS) to time window compaction (TWCS) (HWKMETRICS-556)
- Jobs now execute on RxJava's I/O scheduler thread pool
(HWKMETRICS-579)
-
Administration
- The admin tenant is now configurable via
ADMIN_TENANT environment variable (HWKMETRICS-572) - Internal metric collection is disabled by default (HWKMETRICS-578)
- Resolved a null pointer exception in DropWizardReporter due to admin tenant changes (HWKMETRICS-577)
-
Job Scheduler
- Resolved an issue where the compression job would stop running after a few days (HWKMETRICS-564)
- Updated the job scheduler to renew job locks during job execution (HWKMETRICS-570)
- Updated the job scheduler to reacquire job lock after server restarts (HWKMETRICS-583)
-
Hawkular Alerting - Major Updates