I added a new probe to support multi columns and multi rows from jdbc datasource
Closed this issue · 4 comments
the probe class is jrds.probe.jdbc.PowerJdbcProbe
and the probe desc is
DaasNodePerf
DaasNodePerf
jrds.probe.jdbc.PowerJdbcProbe
SHOW @@DataNode
NAME;EXECUTE;ACTIVE
EXECUTE
counter
ACTIVE
gauge
DataNodeFluxGraph
DataNodeConPoolGraph
for the given table as follows
NAME EXECUTE ACTIVE
datanode1 2 10
datanode2 4 20
the probe will dynamic create RRD DSs like follows:
key value
datanode1.EXECUTE 2
datanode1.ACTIVE 10
datanode2.EXECUTE 4
datanode2.ACTIVE 20
and the probe also dynamic create RRD Graphs of the follow names:
DataNodeFluxGraph.datanode1.EXECUTE
DataNodeFluxGraph.datanode2.EXECUTE
DataNodeConPoolGraph.datanode1.ACTIVE
DataNodeConPoolGraph.datanode2.ACTIVE
the url of graph is like this :
http://localhost:8080/jrds/graph/localdaas/DataNodeFluxGraph_dn_1.EXECUTE?probe=daasnodeperf
how to upload the source files ??
Fork jrds on github, and then do a pull request. I will merge it.
I can't fork it ,so I email the sources to you ,Thanks.
------------------ 原始邮件 ------------------
发件人: "Fabrice Bacchella";notifications@github.com;
发送时间: 2013年9月10日(星期二) 下午3:36
收件人: "fbacchella/jrds"jrds@noreply.github.com;
抄送: "美玉θ无痕"springcomingagain@qq.com;
主题: Re: [jrds] I added a new probe to support multi columns and multirows from jdbc datasource (#28)
Fork jrds on github, and then do a pull request. I will merge it.
—
Reply to this email directly or view it on GitHub.
Useless without a real pull request.