GrafanaTest.zip

上传者: LANSHANZHUYAO | 上传时间: 2021-09-03 11:08:28 | 文件大小: 7.43MB | 文件类型: ZIP
利用JSON数据源插件,无论数据存储在什么数据源中,只需要实现相应的接口,并在接口中实现将数据转换为Grafana的JSON插件所支持的数据格式,就可以实现无缝对接。本例对Grafana的JSON数据源插件的使用以及相应接口的实现做了详细介绍。源数据为通过SNMP协议采集的物理机的各项指标,包括CPU利用率、物理内存的利用率、虚拟内存的利用率、磁盘信息等。详见 https://blog.csdn.net/LANSHANZHUYAO/article/details/95888257

文件下载

资源详情

[{"title":"( 49 个子文件 7.43MB ) GrafanaTest.zip","children":[{"title":"GrafanaTest","children":[{"title":".project <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":".settings","children":[{"title":".jsdtscope <span style='color:#111;'> 503B </span>","children":null,"spread":false},{"title":"org.eclipse.core.resources.prefs <span style='color:#111;'> 225B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.common.component <span style='color:#111;'> 485B </span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 364B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.common.project.facet.core.xml <span style='color:#111;'> 305B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.jsdt.ui.superType.container <span style='color:#111;'> 49B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.jsdt.ui.superType.name <span style='color:#111;'> 6B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"grafana","children":[{"title":"controller","children":[{"title":"CpuController.java <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"DiskController.java <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"MemoryController.java <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"base","children":[{"title":"BaseController.java <span style='color:#111;'> 838B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"service","children":[{"title":"MemoryService.java <span style='color:#111;'> 6.18KB </span>","children":null,"spread":false},{"title":"CpuService.java <span style='color:#111;'> 5.40KB </span>","children":null,"spread":false},{"title":"DiskService.java <span style='color:#111;'> 4.68KB </span>","children":null,"spread":false},{"title":"base","children":[{"title":"BaseService.java <span style='color:#111;'> 668B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"build","children":[{"title":"classes","children":[{"title":"grafana","children":[{"title":"controller","children":[{"title":"DiskController.class <span style='color:#111;'> 1.78KB </span>","children":null,"spread":false},{"title":"MemoryController.class <span style='color:#111;'> 1.78KB </span>","children":null,"spread":false},{"title":"CpuController.class <span style='color:#111;'> 1.77KB </span>","children":null,"spread":false},{"title":"base","children":[{"title":"BaseController.class <span style='color:#111;'> 805B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"service","children":[{"title":"CpuService.class <span style='color:#111;'> 7.46KB </span>","children":null,"spread":false},{"title":"DiskService.class <span style='color:#111;'> 6.05KB </span>","children":null,"spread":false},{"title":"DiskService$1.class <span style='color:#111;'> 787B </span>","children":null,"spread":false},{"title":"MemoryService.class <span style='color:#111;'> 7.86KB </span>","children":null,"spread":false},{"title":"MemoryService$1.class <span style='color:#111;'> 801B </span>","children":null,"spread":false},{"title":"CpuService$1.class <span style='color:#111;'> 780B </span>","children":null,"spread":false},{"title":"base","children":[{"title":"BaseService.class <span style='color:#111;'> 1.00KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"WebContent","children":[{"title":"WEB-INF","children":[{"title":"web.xml <span style='color:#111;'> 812B </span>","children":null,"spread":false},{"title":"config","children":[{"title":"springmvc-config.xml <span style='color:#111;'> 863B </span>","children":null,"spread":false}],"spread":true},{"title":"lib","children":[{"title":"javax.servlet.jsp.jstl-api-1.2.1.jar <span style='color:#111;'> 31.76KB </span>","children":null,"spread":false},{"title":"fastjson-1.2.58.jar <span style='color:#111;'> 624.53KB </span>","children":null,"spread":false},{"title":"commons-math3-3.1.1.jar <span style='color:#111;'> 1.53MB </span>","children":null,"spread":false},{"title":"spring-webmvc-4.1.1.RELEASE.jar <span style='color:#111;'> 757.18KB </span>","children":null,"spread":false},{"title":"spring-expression-4.1.1.RELEASE.jar <span style='color:#111;'> 243.81KB </span>","children":null,"spread":false},{"title":"servlet-api.jar <span style='color:#111;'> 173.44KB </span>","children":null,"spread":false},{"title":"spring-web-4.1.1.RELEASE.jar <span style='color:#111;'> 683.64KB </span>","children":null,"spread":false},{"title":"spring-context-4.1.1.RELEASE.jar <span style='color:#111;'> 1002.56KB </span>","children":null,"spread":false},{"title":"commons-logging-1.1.3.jar <span style='color:#111;'> 60.60KB </span>","children":null,"spread":false},{"title":"validation-api-1.1.0.Final.jar <span style='color:#111;'> 62.28KB </span>","children":null,"spread":false},{"title":"commons-io-2.4.jar <span style='color:#111;'> 180.80KB </span>","children":null,"spread":false},{"title":"commons-fileupload-1.3.jar <span style='color:#111;'> 67.01KB </span>","children":null,"spread":false},{"title":"spring-core-4.1.1.RELEASE.jar <span style='color:#111;'> 980.82KB </span>","children":null,"spread":false},{"title":"javax.servlet.jsp.jstl-1.2.1.jar <span style='color:#111;'> 397.63KB </span>","children":null,"spread":false},{"title":"spring-beans-4.1.1.RELEASE.jar <span style='color:#111;'> 687.19KB </span>","children":null,"spread":false},{"title":"slf4j-api-1.7.12.jar <span style='color:#111;'> 31.37KB </span>","children":null,"spread":false},{"title":"spring-aop-4.1.1.RELEASE.jar <span style='color:#111;'> 350.61KB </span>","children":null,"spread":false},{"title":"snmp4j-self-2.5.0.jar <span style='color:#111;'> 548.17KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"META-INF","children":[{"title":"MANIFEST.MF <span style='color:#111;'> 39B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".classpath <span style='color:#111;'> 611B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明