druid-prometheus-exporter:用于收集 Apache Druid 指标并将其导出到 Prometheus 的服务-源码

上传者: 42116672 | 上传时间: 2021-06-22 15:09:05 | 文件大小: 72KB | 文件类型: ZIP
Apache Druid Prometheus 导出器 通过设置 Apache Druid 将指标推送到 HTTP 服务,您可以收集用于监控的指标。 此服务仅公开两个端点: /collect /metrics 收集端点 此端点是一个POST ,您可以在其中指示 Druid 将指标发送到。 端点将解析每个feed并更新相应的Prometheus指标。 指标端点 prometheus 客户端公开此端点上的所有指标。 通过这种方式,您的 prometheus 服务器可以读取公开的指标。 德鲁伊配置 您需要配置 Druid 以将指标发送到此服务。 为此,您需要更改配置文件以使用以下条目添加/更新它 druid_emitter_logging_logLevel=debug druid_emitter_logging_loggerClass=HttpPostEmitter druid_emitt

文件下载

资源详情

[{"title":"( 60 个子文件 72KB ) druid-prometheus-exporter:用于收集 Apache Druid 指标并将其导出到 Prometheus 的服务-源码","children":[{"title":"druid-prometheus-exporter-master","children":[{"title":"pkg","children":[{"title":"feed","children":[{"title":"middlemanager.go <span style='color:#111;'> 2.96KB </span>","children":null,"spread":false},{"title":"router.go <span style='color:#111;'> 2.92KB </span>","children":null,"spread":false},{"title":"coordinator.go <span style='color:#111;'> 6.03KB </span>","children":null,"spread":false},{"title":"feed.go <span style='color:#111;'> 2.23KB </span>","children":null,"spread":false},{"title":"historical.go <span style='color:#111;'> 12.54KB </span>","children":null,"spread":false},{"title":"broker.go <span style='color:#111;'> 11.12KB </span>","children":null,"spread":false}],"spread":true},{"title":"export","children":[{"title":"health_historical.go <span style='color:#111;'> 3.08KB </span>","children":null,"spread":false},{"title":"query_jetty.go <span style='color:#111;'> 920B </span>","children":null,"spread":false},{"title":"query_cache.go <span style='color:#111;'> 12.80KB </span>","children":null,"spread":false},{"title":"coordination.go <span style='color:#111;'> 13.35KB </span>","children":null,"spread":false},{"title":"sys.go <span style='color:#111;'> 7.73KB </span>","children":null,"spread":false},{"title":"query_historical.go <span style='color:#111;'> 6.71KB </span>","children":null,"spread":false},{"title":"sql.go <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"ingestion_realtime_indexing.go <span style='color:#111;'> 8.18KB </span>","children":null,"spread":false},{"title":"health_firehose.go <span style='color:#111;'> 1.69KB </span>","children":null,"spread":false},{"title":"query_realtime.go <span style='color:#111;'> 4.33KB </span>","children":null,"spread":false},{"title":"ingestion_kafka.go <span style='color:#111;'> 2.71KB </span>","children":null,"spread":false},{"title":"ingestion_realtime.go <span style='color:#111;'> 9.94KB </span>","children":null,"spread":false},{"title":"query_broker.go <span style='color:#111;'> 7.29KB </span>","children":null,"spread":false},{"title":"health_jvm.go <span style='color:#111;'> 6.47KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"config","children":[{"title":"historical <span style='color:#111;'> 517B </span>","children":null,"spread":false},{"title":"brokers <span style='color:#111;'> 457B </span>","children":null,"spread":false},{"title":"common <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false}],"spread":true},{"title":"cmd","children":[{"title":"server.go <span style='color:#111;'> 2.14KB </span>","children":null,"spread":false},{"title":"root.go <span style='color:#111;'> 914B </span>","children":null,"spread":false}],"spread":true},{"title":"feeds","children":[{"title":"historical.json <span style='color:#111;'> 64.48KB </span>","children":null,"spread":false},{"title":"coordinator.json <span style='color:#111;'> 49.92KB </span>","children":null,"spread":false},{"title":"broker.json <span style='color:#111;'> 67.49KB </span>","children":null,"spread":false},{"title":"router.json <span style='color:#111;'> 20.12KB </span>","children":null,"spread":false},{"title":"middlemanager.json <span style='color:#111;'> 40.24KB </span>","children":null,"spread":false}],"spread":true},{"title":".github","children":[{"title":"ISSUE_TEMPLATE","children":[{"title":"bug_report.md <span style='color:#111;'> 834B </span>","children":null,"spread":false},{"title":"feature_request.md <span style='color:#111;'> 595B </span>","children":null,"spread":false}],"spread":true},{"title":"workflows","children":[{"title":"main.yml <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"helm","children":[{"title":"druid-prometheus-exporter","children":[{"title":"templates","children":[{"title":"serviceaccount.yaml <span style='color:#111;'> 356B </span>","children":null,"spread":false},{"title":"service.yaml <span style='color:#111;'> 586B </span>","children":null,"spread":false},{"title":"service_monitor.yaml <span style='color:#111;'> 499B </span>","children":null,"spread":false},{"title":"deployment.yaml <span style='color:#111;'> 2.00KB </span>","children":null,"spread":false},{"title":"_helpers.tpl <span style='color:#111;'> 1.92KB </span>","children":null,"spread":false},{"title":"hpa.yaml <span style='color:#111;'> 970B </span>","children":null,"spread":false}],"spread":true},{"title":"Chart.yaml <span style='color:#111;'> 189B </span>","children":null,"spread":false},{"title":".helmignore <span style='color:#111;'> 349B </span>","children":null,"spread":false},{"title":"values.yaml <span style='color:#111;'> 931B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Dockerfile <span style='color:#111;'> 385B </span>","children":null,"spread":false},{"title":"middleware","children":[{"title":"coordination.go <span style='color:#111;'> 351B </span>","children":null,"spread":false},{"title":"sys.go <span style='color:#111;'> 329B </span>","children":null,"spread":false},{"title":"sql.go <span style='color:#111;'> 329B </span>","children":null,"spread":false},{"title":"query.go <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"health.go <span style='color:#111;'> 817B </span>","children":null,"spread":false},{"title":"ingestion.go <span style='color:#111;'> 885B </span>","children":null,"spread":false}],"spread":true},{"title":"docker-compose.yaml <span style='color:#111;'> 2.22KB </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 11.09KB </span>","children":null,"spread":false},{"title":"main.go <span style='color:#111;'> 110B </span>","children":null,"spread":false},{"title":"collect","children":[{"title":"collect.go <span style='color:#111;'> 2.45KB </span>","children":null,"spread":false},{"title":"utils.go <span style='color:#111;'> 190B </span>","children":null,"spread":false}],"spread":true},{"title":".gitignore <span style='color:#111;'> 289B </span>","children":null,"spread":false},{"title":"go.sum <span style='color:#111;'> 24.19KB </span>","children":null,"spread":false},{"title":"CODE_OF_CONDUCT.md <span style='color:#111;'> 3.28KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 993B </span>","children":null,"spread":false},{"title":"go.mod <span style='color:#111;'> 293B </span>","children":null,"spread":false},{"title":".vscode","children":[{"title":"launch.json <span style='color:#111;'> 494B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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