Hawkular Agent 1.0.0.CR1 has been released - inventory in metrics
by John Mazzitelli
Hawkular Agent 1.0.0.CR1 has been released.
This includes the new "inventory in metrics" feature - Hawkular-Inventory is no longer used to store inventory, the inventory is now stored in Hawkular-Metrics within Cassandra.
This is a *significant* change and needs people to beat on it heavily before we can claim victory (hence why it has the CR1 designation and not Final).
So, please grab it and use it when you need to use an agent.
If you find any bugs, please submit HWKAGENT JIRAs at https://issues.jboss.org/projects/HWKAGENT
--John Mazz
[this message was sent on April 24, 2017 at 9:19pm EDT]
7 years, 5 months
playing with HOSA outside OS
by John Mazzitelli
I had a couple peeps ask me if they can run HOSA without needing to run it inside an OpenShift cluster (presumably to collect metrics from Prometheus and Jolokia-JMX endpoints that are also running outside of OpenShift). The answer is "yes" and if you are interested, here is a quick how-to.
First get a config.yaml used to configure HOSA (that's the wget command below - it just grabs the example config from github) and then run "docker run" to launch HOSA:
$ wget -O /tmp/config.yaml https://raw.githubusercontent.com/hawkular/hawkular-openshift-agent/maste...
$ docker run --net=host -v /tmp/config.yaml:/config.yaml hawkular/hawkular-openshift-agent --config=/config.yaml
This assumes you have Hawkular-Metrics server (or a full Hawkular-Services server) running on 127.0.0.1 listening to port 8080. If not, just edit config.yaml to point to your server. You can edit that config.yaml however you want.
By default, HOSA itself is a Prometheus endpoint and will collect its own metrics and store them (see config.yaml for its endpoints definitions). So by running HOSA you will automatically start getting "prometheus" data stored into your H-Metrics. You can add more endpoint definitions to the config to tell HOSA to collect from your own Prometheus and Jolokia-JMX endpoints.
You don't have to use docker - if you build the go executable locally (git clone the HOSA repo and "make build") you can run the executable directly. But it's easier to just docker run - no need to git clone, no need to install Go, no need to build anything.
7 years, 5 months
Proposal for Query DSL
by Benjamin Heiskell
Hey all,
I recently deployed Hawkular because I found its scaling model appealing.
It has been working well for our basic monitoring usage when combined with
Grafana.
One of my consumers is trying to graph KPIs that involve cross-metric
mathematics like sums, division, and moving averages (i.e., post-ingress
transformations). I looked into how to accomplish this with Hawkular, but I
didn't see any obvious way to do it. The stats endpoint seems to only
support aggregations on a single metric/tag at a time. I'm finding that we
can't visualize these metrics the same way you can with other TSDBs like
Graphite/Prometheus.
I did a little research, and found Heiko Rupp's blog post on HawkFX where
he seems to already be exploring this idea [1]. Perhaps the query language
item on the 2017 road map refers to incorporating this?
I would like to assist in developing this feature. Given that there is
already a tags DSL, it seems like it would make sense to extend that to
support metric transformations.
Grafana is also considering adding this to Grafana itself, but it doesn't
look like the ticket has any traction [2]. Additionally, shipping
potentially megabytes of data to Grafana (or the user's browser) to
aggregate doesn't seem ideal.
I documented a few TSDB DSLs styles here [3].
What do you all think?
Thanks,
Ben
[1] http://pilhuhn.blogspot.com/2016/09/computed-metrics-for-hawkfx.html
[2] https://github.com/grafana/grafana/issues/3677
[3] https://gist.github.com/bheiskell/25af2543ee8588f70895b0311ef291d3
7 years, 6 months
OpenShift - An error occurred getting metrics.
by Anton
Hello
I have tried to run Hawkular in both `oc cluster up` and OpenShift,
different versions of both.
The documentation for `oc cluster up` says (
https://github.com/openshift/origin/blob/master/docs/cluster_up_down.md#i...)
that by using the `--metrics` parameter, metrics is installed.
Its a similar story when installing OpenShift using Openshift-ansible.
However, in both cases, when logging into the OpenShift webconsole I see an
error message saying:
An error occurred getting metrics. Open Metrics URL | Don't Show Me Again
It would seem there is more to correctly installing Hawkular metrics than
just using the parameter.
What else needs to be done? And is it possible get the additional info
added to the documentation for openshift-ansible and `oc cluster up`?
Thanks
7 years, 6 months
test
by John Mazzitelli
I'm sending this on April 11, 2017 at 4:03 PM EDT
Let's see how long it takes to get posted.
7 years, 6 months
Hawkular web site and tags
by Heiko W.Rupp
On 24 Mar 2017, at 12:10, Heiko W.Rupp wrote:
Recently I made a change to the web site to enable tags, and have
a "tag cloud".
The tag cloud is now also at the bottom of
http://www.hawkular.org
Please make sure when writing blog post and/or
pages to (re) use those. Tags with only one page/article
don't really add value. But don't leave them out when
you write about something completely new.
Example "Apache camel" should of course
be mentioned the 1st time someone writes about
Camel integration.
As you see with Apache Camel, it is possible to
create multi word tags
https://github.com/hawkular/hawkular.github.io/blame/pages/src/main/jbake...
they fail to correctly link when running jbake locally,
but work fine on GitHub pages.
Also for e.g. distributed tracing the multi word
tag "distributed tracing" is better than distributed, tracing.
also please try to consistently use the same spelling
and upper/lower case for a tag. apm != APM
--
Reg. Adresse: Red Hat GmbH, Technopark II, Haus C,
Werner-von-Siemens-Ring 14, D-85630 Grasbrunn
Handelsregister: Amtsgericht München HRB 153243
Geschäftsführer: Charles Cachera, Michael Cunningham, Michael O'Neill,
Eric Shander
7 years, 6 months
agent release
by John Mazzitelli
Hawkular Agent release 0.29.4.Final is out. This includes both HWFA and HJA. The main reason for this release is to put out the feature that Tom Cunningham wanted - the ability for the agent to wait for certain resources to be available before the agent starts monitoring things. See https://issues.jboss.org/browse/HWKAGENT-165.
This release also includes feature packs for HJA (EAP6 and EAP7/WF10+) and a distro that includes WF10+Java Agent (thanks josejulio for that stuff)
7 years, 6 months