-
Notifications
You must be signed in to change notification settings - Fork 999
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add Prometheus exporter metrics parser and IoTDB monitor #505
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great!
我想问下有怎么使用这个解析器的文档吗 |
或者demo配制 |
I would like to ask is there any documentation on how to use this parser? |
Or demo preparation |
go_gc_duration_seconds{quantile="0"} 1.9375e-05 类似于这样的数据 我要怎么写yml |
go_gc_duration_seconds{quantile="0"} 1.9375e-05 How do I write yml for data similar to this |
您好,这个暂时没法用yml写。应该是summary类型的数据吧,summary和Histogram这两个类型都没做yml的解析。目前只做了exporter的解析,参考类:com.usthe.collector.collect.http.promethus.exporter.ExporterParser。如果您有思路的话,可以修改一下代码,并提交pr,原本没做的原因是想不到好的办法进行展示这类数据,参考方法:com.usthe.collector.collect.http.HttpCollectImpl#parseResponseByPrometheusExporter |
知道了 谢谢你的解答 |
Got it, thank you for your answer |
app-iotdb.yml 我看到这里用了prometheus这个类型解析返回值, |
app-iotdb.yml I see that the type of prometheus is used here to parse the return value, |
你说的解析数据是什么?exporter接口的数据还是com.usthe.collector.collect.http.promethus.exporter.MetricFamily这个实体类。你想看的话,我还是建议你自己下一个IoTDB看一下exporter的接口,然后debug一下代码 |
…505) * prometheus exporter metrics parser * prometheus exporter metrics parser * prometheus exporter metrics parser * prometheus exporter metrics parser * optimize ExporterParser.java * optimize ExporterParser.java * optimize ExporterParser.java * handle INF parser * 添加iotdb的exporter方式监听 * [manager] iotdb monitor add cluster_node_status metric * [manager] fix actuator mail health check error when startup * [manager] use prometheus instead of prometheus_exporter * [manager] add iotdb monitoring metrics * [collector] add metric type - info, update parser * [collector] update * ExporterParser change to singleton mode * add ExporterParser currentMetricFamily * 格式化优化代码, 使用map管理ExporterParser防止无限制创建对象, 使用锁机制反正多线程读写冲突 * 修改注解格式 * 格式化注解 * 修改注解格式 * 解决魔法数问题
…505) * prometheus exporter metrics parser * prometheus exporter metrics parser * prometheus exporter metrics parser * prometheus exporter metrics parser * optimize ExporterParser.java * optimize ExporterParser.java * optimize ExporterParser.java * handle INF parser * 添加iotdb的exporter方式监听 * [manager] iotdb monitor add cluster_node_status metric * [manager] fix actuator mail health check error when startup * [manager] use prometheus instead of prometheus_exporter * [manager] add iotdb monitoring metrics * [collector] add metric type - info, update parser * [collector] update * ExporterParser change to singleton mode * add ExporterParser currentMetricFamily * 格式化优化代码, 使用map管理ExporterParser防止无限制创建对象, 使用锁机制反正多线程读写冲突 * 修改注解格式 * 格式化注解 * 修改注解格式 * 解决魔法数问题
…505) * prometheus exporter metrics parser * prometheus exporter metrics parser * prometheus exporter metrics parser * prometheus exporter metrics parser * optimize ExporterParser.java * optimize ExporterParser.java * optimize ExporterParser.java * handle INF parser * 添加iotdb的exporter方式监听 * [manager] iotdb monitor add cluster_node_status metric * [manager] fix actuator mail health check error when startup * [manager] use prometheus instead of prometheus_exporter * [manager] add iotdb monitoring metrics * [collector] add metric type - info, update parser * [collector] update * ExporterParser change to singleton mode * add ExporterParser currentMetricFamily * 格式化优化代码, 使用map管理ExporterParser防止无限制创建对象, 使用锁机制反正多线程读写冲突 * 修改注解格式 * 格式化注解 * 修改注解格式 * 解决魔法数问题
…505) prometheus exporter metrics parser prometheus exporter metrics parser prometheus exporter metrics parser prometheus exporter metrics parser optimize ExporterParser.java optimize ExporterParser.java optimize ExporterParser.java handle INF parser 添加iotdb的exporter方式监听 [manager] iotdb monitor add cluster_node_status metric [manager] fix actuator mail health check error when startup [manager] use prometheus instead of prometheus_exporter [manager] add iotdb monitoring metrics [collector] add metric type - info, update parser [collector] update ExporterParser change to singleton mode add ExporterParser currentMetricFamily 格式 优 代码, 使用map管理ExporterParser防止无限制创建对象, 使用锁机制反正多线程读写冲突 修改注解格式 格式 注解 修改注解格式 解决魔法数问题
…505) prometheus exporter metrics parser prometheus exporter metrics parser prometheus exporter metrics parser prometheus exporter metrics parser optimize ExporterParser.java optimize ExporterParser.java optimize ExporterParser.java handle INF parser 添加iotdb的exporter方式监听 [manager] iotdb monitor add cluster_node_status metric [manager] fix actuator mail health check error when startup [manager] use prometheus instead of prometheus_exporter [manager] add iotdb monitoring metrics [collector] add metric type - info, update parser [collector] update ExporterParser change to singleton mode add ExporterParser currentMetricFamily 格式 优 代码, 使用map管理ExporterParser防止无限制创建对象, 使用锁机制反正多线程读写冲突 修改注解格式 格式 注解 修改注解格式 解决魔法数问题
…505) prometheus exporter metrics parser prometheus exporter metrics parser prometheus exporter metrics parser prometheus exporter metrics parser optimize ExporterParser.java optimize ExporterParser.java optimize ExporterParser.java handle INF parser 添加iotdb的exporter方式监听 [manager] iotdb monitor add cluster_node_status metric [manager] fix actuator mail health check error when startup [manager] use prometheus instead of prometheus_exporter [manager] add iotdb monitoring metrics [collector] add metric type - info, update parser [collector] update ExporterParser change to singleton mode add ExporterParser currentMetricFamily 格式 优 代码, 使用map管理ExporterParser防止无限制创建对象, 使用锁机制反正多线程读写冲突 修改注解格式 格式 注解 修改注解格式 解决魔法数问题
…505) prometheus exporter metrics parser prometheus exporter metrics parser prometheus exporter metrics parser prometheus exporter metrics parser optimize ExporterParser.java optimize ExporterParser.java optimize ExporterParser.java handle INF parser 添加iotdb的exporter方式监听 [manager] iotdb monitor add cluster_node_status metric [manager] fix actuator mail health check error when startup [manager] use prometheus instead of prometheus_exporter [manager] add iotdb monitoring metrics [collector] add metric type - info, update parser [collector] update ExporterParser change to singleton mode add ExporterParser currentMetricFamily 格式 优 代码, 使用map管理ExporterParser防止无限制创建对象, 使用锁机制反正多线程读写冲突 修改注解格式 格式 注解 修改注解格式 解决魔法数问题
…505) prometheus exporter metrics parser prometheus exporter metrics parser prometheus exporter metrics parser prometheus exporter metrics parser optimize ExporterParser.java optimize ExporterParser.java optimize ExporterParser.java handle INF parser 添加iotdb的exporter方式监听 [manager] iotdb monitor add cluster_node_status metric [manager] fix actuator mail health check error when startup [manager] use prometheus instead of prometheus_exporter [manager] add iotdb monitoring metrics [collector] add metric type - info, update parser [collector] update ExporterParser change to singleton mode add ExporterParser currentMetricFamily 格式 优 代码, 使用map管理ExporterParser防止无限制创建对象, 使用锁机制反正多线程读写冲突 修改注解格式 格式 注解 修改注解格式 解决魔法数问题
add Prometheus exporter metrics parser and IoTDB monitor