Ability to group by datapoint tag in Grafana
by Gareth Healy
The OpenShift Agent when monitoring a prometheus endpoint creates a single
metric with tagged datapoints, i.e.:
https://github.com/coreos/etcd/blob/master/Documentation/v2/metrics.md#
http-requests
I1228 21:02:01.820530 1 metrics_storage.go:155] TRACE: Stored [3]
[counter] datapoints for metric named
[pod/fa32a887-cd08-11e6-ab2e-525400c583ad/custom/etcd_http_received_total]:
[
{2016-12-28 21:02:01.638767339 +0000 UTC 622 map[method:DELETE]}
{2016-12-28 21:02:01.638767339 +0000 UTC 414756 map[method:GET]}
{2016-12-28 21:02:01.638767339 +0000 UTC 33647 map[method:PUT]}
]
But when trying to view this via the grafana datasource, only 1 metric and
the aggregated counts are shown. What i'd like to do is something like the
below:
{
"start": 1482999755690,
"end": 1483000020093,
"order": "ASC",
"tags": "pod_namespace:etcd-testing",
"groupDatapointsByTagKey": "method"
}
Search via tags or name (as-is) and group the datapoints by a tag key,
which would give you 3 lines, instead of 1.
Does that sound possible?
Cheers.
6 years, 2 months
HawkFX on Mac OS X issues?
by Thomas Cunningham
Hi,
I'm trying to use HawkFX on Mac OS X - I have it working great on Fedora
but would like to set it up on my Mac OS X box as well. I've got no
experience with ruby or jruby so I may be doing something wrong here in
installation, because I'm seeing the following :
lilguylaptop:hawkfx cunningt$ jruby -S -G hawkfx.rb
NameError: uninitialized constant G
Did you mean? GC
const_missing at org/jruby/RubyModule.java:3348
<main> at -G:
I installed rvm through homebrew and followed the current instructions in
the README.adoc. Should I be installing from source using a tool other
than homebrew to install rvm? It looks like I'm using rvm 1.28.0 and
jruby 9.1.5.0. Does that seem right?
Other possibly useful info :
Mac OS X 10.12
java 1.8.0_31
6 years, 2 months
OpenShift agent - multiple identity for certs
by Gareth Healy
Currently it seems you can only provide the agent configmap with the
identity field. But what i want to actually do, is provide this based on
the pods config map, i.e.:
data:
hawkular-openshift-agent: |
endpoints:
- type: prometheus
protocol: "https"
port: 9779
path: /metrics
collection_interval_secs: 5
metrics:
- name: my-first-metric
type: counter
identity:
cert_file: /var/run/secrets/client-crt/client.crt
private_key_file: /var/run/secrets/client-key/client.key
The reason being, i might have multiple prometheus endpoints that have
different certs.
Is that possible? or planned for the future?
Cheers.
6 years, 3 months
Hawkular Usage and other stats
by Kavin Kankeshwar
Hi,
I am evaluating Hawkular seems very interesting, I just wanted to know if
you guys have some usage stats and community involvement ?
I see see only few Github Stars etc, but the project is being actively
developed based on commit history.
Just wanted to figure out about hawkular if its production ready and I can
start using it if needed at my workplace. Obviously once we start using if
there are any changes I need i am willing to submit patches etc. But just
wanted to check on stats before i dive in . :)
Thanks!
Regards,
--
Kavin.Kankeshwar
6 years, 3 months
srcdeps is apparently broken or at least not working on travis
by John Mazzitelli
I can build this locally fine. However, srcdep plugin when running on travis is failing to compile h-inventory.
See the tons of compile errors here:
https://travis-ci.org/hawkular/hawkular-agent#L391
We need to either:
a) fix what is wrong with srcdep and travis
b) release inventory (and other dependencies in order to build things further downstream) so we don't use srcdeps
At this point, my okhttp upgrade is dead in the water since I can't get the h-agent or h-services repos to go green.
6 years, 3 months
HAWKULAR Jira cleanup
by Heiko W.Rupp
Hey,
I have cleaned up the HAWKULAR jira project and closed some outdated items.
Can you please all have a look at the items you have either opened or are
assigned to and see if they are still relevant and close them if not?
Thanks
Heiko
6 years, 3 months
Move to WF 10.1.0?
by Jay Shaughnessy
I noticed that on Openshift we are running Hawkular Metrics on WildFly
10.1.0. It was upped from 10.0.0 several months ago due to a blocking
issue that had been fixed in EAP but not WF 10.0. I ran into a new
issue when trying to deploy Metrics master on OS Origin. It failed to
deploy on WF 10.1.0. I was able to solve the issue without a major
change but it called out the fact that we are building Hawkular against
WF 10.0.1 bom and running itests against 10.0.0 server.
Because OS is a primary target platform I'm wondering if we should bump
the parent pom deps to the 10.1.0 bom and server (as well as upping a
few related deps as well, like ISPN). As part of my investigation I did
this locally for parent pom, commons, alerting and metrics and did not
see any issues.
Thoughts?
6 years, 3 months