[hawkular/hawkular-metrics] 7d2ef5: [HWKMETRICS-422] Avoid writing to the metrics inde...
by Stefan Negrea
Branch: refs/heads/no_midx
Home: https://github.com/hawkular/hawkular-metrics
Commit: 7d2ef520926ecbee43d3788a4155e3913097a83b
https://github.com/hawkular/hawkular-metrics/commit/7d2ef520926ecbee43d37...
Author: Stefan Negrea <snegrea(a)redhat.com>
Date: 2016-08-19 (Fri, 19 Aug 2016)
Changed paths:
M core/metrics-core-service/src/main/java/org/hawkular/metrics/core/service/DataAccess.java
M core/metrics-core-service/src/main/java/org/hawkular/metrics/core/service/DataAccessImpl.java
M core/metrics-core-service/src/main/java/org/hawkular/metrics/core/service/MetricsServiceImpl.java
A core/metrics-core-service/src/main/java/org/hawkular/metrics/core/service/transformers/MetricFromDataRowTransformer.java
A core/metrics-core-service/src/main/java/org/hawkular/metrics/core/service/transformers/MetricFromFullDataRowTransformer.java
M core/metrics-core-service/src/test/java/org/hawkular/metrics/core/service/DelegatingDataAccess.java
M core/metrics-core-service/src/test/java/org/hawkular/metrics/core/service/metrics/AvailabilityITest.java
M core/metrics-core-service/src/test/java/org/hawkular/metrics/core/service/metrics/BaseMetricsITest.java
M core/metrics-core-service/src/test/java/org/hawkular/metrics/core/service/metrics/GaugeITest.java
Log Message:
-----------
[HWKMETRICS-422] Avoid writing to the metrics index on data point inserts. However, keep all the other writes to the metrics index in place.
Here are the changes to query metrics:
1) When requesting info about a single metric
a) query the metrics index first, if found then return the info (just like before this change)
b) if no result there, query the data table for a single data point, if found then the metric exists just not in the metrics index
c) if no result in either metrics index or data table then there is no such metric
2) When requesting a list of all metrics for a tenant
a) query the metrics index first
b) query the data table for all metrics and filter by tenant and type if needed
c) concat the two lists
d) return only distinct values; note that the results from metrics index take precendence since they contain info about data retention and tags.
Note: After this change the metrics index will still contain metrics that have tags, non-default retention values, or have been explicitly created by the user. Metrics that just have data points will not have an entry in the metrics index table.
9 years, 1 month
[hawkular/hawkular-metrics] 38ea6c: Release 0.18.3.Final
by Stefan Negrea
Branch: refs/heads/release/0.18.0
Home: https://github.com/hawkular/hawkular-metrics
Commit: 38ea6c2a1e33ed1024684084812ad2ad5730fb76
https://github.com/hawkular/hawkular-metrics/commit/38ea6c2a1e33ed1024684...
Author: Stefan Negrea <snegrea(a)redhat.com>
Date: 2016-08-18 (Thu, 18 Aug 2016)
Changed paths:
M api/metrics-api-jaxrs/pom.xml
M api/metrics-api-util/pom.xml
M bus/pom.xml
M clients/common/pom.xml
M clients/pom.xml
M clients/ptranslator/pom.xml
M containers/hawkular-metrics-openshift-integration/pom.xml
M containers/metrics-api-jaxrs-openshift/pom.xml
M containers/pom.xml
M core/configuration-service/pom.xml
M core/datetime-service/pom.xml
M core/metrics-core-service/pom.xml
M core/metrics-model/pom.xml
M core/rx-java-driver/pom.xml
M core/schema/pom.xml
M data-generator/pom.xml
M dist/pom.xml
M dist/wildfly-embedded-cassandra/pom.xml
M dist/wildfly-standalone/pom.xml
M hawkular-component/pom.xml
M integration-tests/jmh-benchmark/pom.xml
M integration-tests/load-tests/pom.xml
M integration-tests/pom.xml
M integration-tests/rest-tests-jaxrs/pom.xml
M job-scheduler/pom.xml
M pom.xml
Log Message:
-----------
Release 0.18.3.Final
9 years, 1 month
[hawkular/hawkular-alerts] 64cf80: Force English locale in mail decimal formatting
by Lucas Ponce
Branch: refs/heads/master
Home: https://github.com/hawkular/hawkular-alerts
Commit: 64cf80e6a09803e60aebdf3e1684f5319c354a15
https://github.com/hawkular/hawkular-alerts/commit/64cf80e6a09803e60aebdf...
Author: Joel Takvorian <jtakvori(a)redhat.com>
Date: 2016-08-16 (Tue, 16 Aug 2016)
Changed paths:
M hawkular-alerts-actions-plugins/hawkular-alerts-actions-email/src/main/java/org/hawkular/alerts/actions/email/EmailTemplate.java
M hawkular-alerts-actions-plugins/hawkular-alerts-actions-email/src/main/java/org/hawkular/alerts/actions/email/PluginMessageDescription.java
Log Message:
-----------
Force English locale in mail decimal formatting
Locale should be forced to English (rather that system default) since the whole mail is written in English.
Without it, we could end up with mixed languages/formatting such as "GC Duration greater than 1000,0 ms" with wrong decimal separator.
Note that the issue was seen from JUnit EmailTemplateTest:
Expected :Tiny template: Alert [open] message: GC Duration greater than 1000,0 ms for App Server thevault~Local
Actual :Tiny template: Alert [open] message: GC Duration greater than 1000.0 ms for App Server thevault~Local
Commit: 3b13f9b919a80e5d725299a91dc637633f49d145
https://github.com/hawkular/hawkular-alerts/commit/3b13f9b919a80e5d725299...
Author: Joel Takvorian <jtakvori(a)redhat.com>
Date: 2016-08-17 (Wed, 17 Aug 2016)
Changed paths:
M hawkular-alerts-actions-plugins/hawkular-alerts-actions-email/src/main/java/org/hawkular/alerts/actions/email/EmailTemplate.java
M hawkular-alerts-actions-plugins/hawkular-alerts-actions-email/src/main/java/org/hawkular/alerts/actions/email/PluginMessageDescription.java
Log Message:
-----------
Update licenses
Commit: a7bf3c8600d7997032ad0e69ae81919b468ade9c
https://github.com/hawkular/hawkular-alerts/commit/a7bf3c8600d7997032ad0e...
Author: Lucas Ponce <ponce.ballesteros(a)gmail.com>
Date: 2016-08-17 (Wed, 17 Aug 2016)
Changed paths:
M hawkular-alerts-actions-plugins/hawkular-alerts-actions-email/src/main/java/org/hawkular/alerts/actions/email/EmailTemplate.java
M hawkular-alerts-actions-plugins/hawkular-alerts-actions-email/src/main/java/org/hawkular/alerts/actions/email/PluginMessageDescription.java
Log Message:
-----------
Merge pull request #198 from jotak/DecimalFormatInMails
Force English locale in mail decimal formatting
Compare: https://github.com/hawkular/hawkular-alerts/compare/fadea49fe8ec...a7bf3c...
9 years, 1 month