batch-reporter-es:向elasticsearch报告批处理作业(队列)状态

时间:2024-05-31 17:51:30
【文件属性】:
文件名称:batch-reporter-es:向elasticsearch报告批处理作业(队列)状态
文件大小:409KB
文件格式:ZIP
更新时间:2024-05-31 17:51:30
JavaScript #Batch Reporter(与Elasticsearch) 轻松跟踪elasticsearch / kibana中的批处理作业状态 npm install batch-reporter-es var Promise = require ( 'bluebird' ) ; var CONFIG = require ( 'config' ) ; var BatchReporterEs = require ( 'batch-reporter-es' ) . BatchReporterEs ; var batch = new BatchReporterEs ( CONFIG . ELASTICSEARCH_HOST , 'test-index' , 'batch1' ) ; Promise . delay ( 0 ) . then ( function ( ) { batch .
【文件预览】:
batch-reporter-es-master
----.travis.yml(37B)
----index.js(132B)
----package.json(595B)
----test()
--------mocha.opts(27B)
--------app_test.js(7KB)
----resources()
--------manual_start.js(827B)
--------example.js(692B)
--------sample_dashboard.png(482KB)
--------manual_test.js(581B)
----.gitignore(555B)
----lib()
--------batch-reporter.js(5KB)
--------batch-reporter-es.js(3KB)
--------enum.js(358B)
----Makefile(70B)
----README.md(2KB)

网友评论