agent can now report when the server needs to be reloaded/restarted
by John Mazzitelli
I released a new command-gateway and wildfly-agent today. The agent can now report when a WildFly server needs to be restarted or reloaded in order to pick up changes. There is a server-state resource config property on the WildFly server resource, and when the UI sends a websocket request to do something, it will get back a server-refresh-indicator in the websocket response if a restart or reload is required.
9 years, 2 months
Hawkular Metrics 0.11.0 - Release
by Stefan Negrea
Hello Everybody,
I am happy to announce release 0.11.0 of Hawkular Metrics. This is a large release anchored by query API enhancements, large under-the-cover refactoring of the metric models, and support for deploying the project on Wildfly 10.
Here is a list of major changes in this release:
1) Query API Updates
* Limit and Sort Order for raw data queries (HWKMETRICS-334, HWKMETRICS-62, HWKMETRICS-51)
- limit and order parameters are now available for raw data queries on all metric …
[View More]types
- limit - integer representing the maximum number of raw data points to be returned
- order - either ASC or DESC and based on the timestamp of the data point
- if both are specified than limit is applied from the start of the sorted list
- for defaults and additional details please visit:
https://github.com/hawkular/hawkular-metrics/blob/release/0.11.0/api/metr...
* Ability to query all metric raw or aggregate metric data (HWKMETRICS-331)
- fromEarliest query parameter was added to allow querying for all available data for a metric
- this allows querying all data without specifying start and end
- data retention for the metric is taken account, so the max time span is from `now` to `now - data retention`
* Fixed the url for querying rate data across multiple metrics (HWKMETRICS-332)
* Filtering metrics by id (HWKMETRICS-234)
- with tag filtering enabled, it is now possible add id filtering via id parameter
- id parameter supports regex
2) Internal Updates
* Model refactoring (HWKMETRICS-326, HWKMETRICS-323)
- this was a large effort to consolidate the internal domain model without changing any of the user APIs
- this change will help the documentation efforts for future releases as well as a consistent data structure for the REST APIs
3) Hawkular Integration
* The integration with Hawkular has now been updated to use asynchronous messages (HWKMETRICS-337)
4) Wildfly 10 - Deploying & Running
* Deploying and running the project on Wildfly 10 is now fully supported
* IMPORTANT - Support for Wildfly 9 is deprecated and will be completely dropped in the next release
Github Release:
https://github.com/hawkular/hawkular-metrics/releases/tag/0.11.0
JBoss Nexus Maven artifacts:
http://origin-repository.jboss.org/nexus/content/repositories/public/org/...
Jira release tracker:
https://issues.jboss.org/browse/HWKMETRICS/fixforversion/12328918
Hawkular Metrics Clients
* Ruby: https://github.com/hawkular/hawkular-client-ruby
* Python: https://github.com/hawkular/hawkular-client-python
* Go: https://github.com/hawkular/hawkular-client-go
A big "Thank you" goes to John Sanda, Thomas Segismont, Mike Thompson, Matt Wringe, Michael Burman, Libor Zoubek, and Heiko Rupp for their project contributions.
Thank you,
Stefan Negrea
Software Engineer
[View Less]
9 years, 2 months
Agent installer
by Thomas Heute
So far we have an agent installer download page as an experimental feature.
I would be in favor of:
- moving the form to the application server list
- the whole form should be rendered when the list is empty to add a
first server
- When the server list is not empty, there should be a link to a popup
- we shouldn't force a wildfly home location, I would simplify to just
username and password as optional parameters.
WDYT ?
PS: I see 2 bugs at the moment:
- It downloads …
[View More]hawkular-wildfly-agent-wf-extension.zip instead of the
agent installer jar
- the instruction for command line doesn't include the right version,
it says: $ java -jar hawkular-wildfly-agent-installer-0.13.1.Final.jar
while the cirrect version is 0.15.1 I think
[View Less]
9 years, 2 months
Data store migration
by Juraci Paixão Kröhling
Team,
What's the recommended approach for handling data migrations? Is there a
library similar to liquibase?
- Juca.
9 years, 2 months
[UI] Proposed New typescript tslint settings
by mike thompson
Please disregard if you don’t care about typescript linting or formatting.
I have a proposal for some changes to the tslint settings(hawkular/console/src/main/scripts/tslint.json). There are lots of little changes that need to be done to the code because of this tslint policy change. However, these changes produce more consistent, readable code that is better for long term maintenance.
For further reference on tslint rules see:
http://palantir.github.io/tslint/rules/ <http://palantir.…
[View More]github.io/tslint/rules/>
The second question I have is if this changes are agreed upon. When should it get put in? I’m of the mindset that it should be put in now, but happy to hear any other arguments against it.
HINT: With Webstorm 11, it can read in the tslint file and interactively show all the tslint hints in the code.
Sorry, I didn’t include the diff file.
hawkular/console/src/main/scripts/tslint.json:
{
"rules": {
"class-name": true,
"curly": true,
"eofline": true,
"forin": true,
"indent": [true, "spaces"],
"label-position": true,
"label-undefined": true,
"max-line-length": [true, 120],
"member-access": true,
"no-arg": true,
"no-bitwise": true,
"no-console": [true,
"trace"
],
"no-construct": true,
"no-debugger": false,
"no-duplicate-key": true,
"no-duplicate-variable": true,
"no-empty": true,
"no-eval": true,
"no-require-imports": true,
"no-string-literal": false,
"no-switch-case-fall-through": true,
"no-shadowed-variable": true,
"no-trailing-comma": true,
"no-trailing-whitespace": false,
"no-unused-expression": true,
"no-unused-variable": true,
"no-unreachable": true,
"no-use-before-declare": true,
"no-var-keyword": true,
"one-line": [true,
"check-open-brace",
"check-whitespace",
"check-catch",
"check-else"
],
"quotemark": [true, "single"],
"radix": false,
"semicolon": true,
"triple-equals": [true, "allow-null-check"],
"typedef-whitespace": [true],
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"],
"whitespace": [true,
"check-decl",
"check-operator",
"check-type"
],
"license-header": [ true,
"/// Copyright 2014-2016 Red Hat, Inc. and/or its affiliates\n/// and other contributors as indicated by the @author tags.\n///\n/// Licensed under the Apache License, Version 2.0 (the \"License\");\n/// you may not use this file except in compliance with the License.\n/// You may obtain a copy of the License at\n///\n/// http://www.apache.org/licenses/LICENSE-2.0\n///\n/// Unless required by applicable law or agreed to in writing, software\n/// distributed under the License is distributed on an \"AS IS\" BASIS,\n/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n/// See the License for the specific language governing permissions and\n/// limitations under the License."
]
}
}
[View Less]
9 years, 2 months
Inventory 0.12.0.Final released
by Lukas Krejci
Hi all,
Inventory 0.12.0.Final has been released.
The new features include:
* /ws/events endpoint to listen to inventory events over web sockets
* detection of identical resource and metric types across feeds (this is
currently not very useful but will become more handy in the future)
* several bugfixes and improvements to the build infrastructure
The big part that didn't make it to this release is inventory sync which is
well underway and should be ready in hopefully not more than a week.…
[View More]
Nevertheless, we released an inventory without it so that the other
improvements are available if inventory sync slips further.
Thanks to Peter Palaga, Pavol Loffay and Jirka Kremser for their contributions
to the release!
Regards,
Lukas
[View Less]
9 years, 2 months
License plugin complains when doing the first release in the new year
by Peter Palaga
Hi *,
you need to fix the license headers of all pom.xml files in your git
repo *before* releasing.
Otherwise, the release commit done by the release plugin will make the
build fail because that commit happens in 2016 and it makes the license
plugin to expect the Copyright interval to end with 2016 in pom.xml files.
This is what I recommend before releasing:
cd ~/projects/hawkular-my-component
find . -iname pom.xml -type f -exec \
sed -i \
's/ Copyright 2014 / Copyright 2014-…
[View More]2016 /g;'\
's/ Copyright 2014-2015 / Copyright 2014-2016 /g;'\
's/ Copyright 2015 / Copyright 2015-2016 /g' \
{} +
# check if you like the result both visually and by running
# a regular build that checks the license headers
git commit -m "Add or fix license headers"
# now you can release
Best,
Peter
[View Less]
9 years, 2 months
-Pdev build is broken
by John Mazzitelli
FYI: if you try to build kettle with -Pdev (to get a dev build) the build will fail.
To workaround, do not build with -Pdev.
9 years, 2 months