[Hawkular-dev] hawkular-agent, prometheus, openshift

John Mazzitelli mazz at redhat.com
Fri Apr 8 15:38:42 EDT 2016


I'm trying to figure out how the Hawkular WildFly Agent needs to be enhanced to collect metrics from Prometheus (which is where a lot of Open Shift metrics are going).

Here is how I originally understood the problem (which may be completely wrong):

I am looking at this: https://prometheus.io/docs/querying/api/

So if Open Shift components are storing metrics in Prometheus, the Agent would need to query the data via something like:

   http://localhost:9090/api/v1/query?query=my_metric_name_seconds{label_one=my_label,another_label=some_value}

The agent can take the data it gets and store it in Hawkular Metrics (using a different metric name and/or labels if we want).

I am hoping Matt W. can clarify and if this is completely wrong, how does he see it working?

--John Mazz


More information about the hawkular-dev mailing list