 PromQL Got a BOOST: 用 Rust 重写 Prometheus 的查询引擎第三届中国 Rust 开发者大会 PromQL Got a BOOST: 用 Rust 重写 Prometheus 的查询引擎 Ruihang Xia @greptime.com Ruihang GitHub: waynexia Losing hair at Greptime Wanna sleep 10 hrs/day Learn JS every year Healing 02 the Engine 03 Rust Gives 04 Outlook 05 01 Background About Prometheus and PromQL Why rewrite? What are boosted? PROMETHEUS AND PROMQL The de facto standard in cloud-native monitor scenario rate(api_request_duration{host=“foo”}[5m]) More than a monitor: alert, visualize with many integrations PROMETHEUS AND PROMQL rate(api_request_duration{host=“foo”}[5m]) Operator Data Filter Range SELECT rate(val)0 码力 | 39 页 | 6.95 MB | 1 年前3 PromQL Got a BOOST: 用 Rust 重写 Prometheus 的查询引擎第三届中国 Rust 开发者大会 PromQL Got a BOOST: 用 Rust 重写 Prometheus 的查询引擎 Ruihang Xia @greptime.com Ruihang GitHub: waynexia Losing hair at Greptime Wanna sleep 10 hrs/day Learn JS every year Healing 02 the Engine 03 Rust Gives 04 Outlook 05 01 Background About Prometheus and PromQL Why rewrite? What are boosted? PROMETHEUS AND PROMQL The de facto standard in cloud-native monitor scenario rate(api_request_duration{host=“foo”}[5m]) More than a monitor: alert, visualize with many integrations PROMETHEUS AND PROMQL rate(api_request_duration{host=“foo”}[5m]) Operator Data Filter Range SELECT rate(val)0 码力 | 39 页 | 6.95 MB | 1 年前3
 Spring Boot 3.0.0-M4 Reference Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 445 Prometheus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . part of the log file’s content. prometheus Exposes metrics in a format that can be scraped by a Prometheus server. Requires a dependency on micrometer-registry-prometheus. 13.2.1. Enabling Endpoints By integrationgraph Yes No logfile N/A No loggers Yes No liquibase Yes No metrics Yes No mappings Yes No prometheus N/A No quartz Yes No scheduledtasks Yes No sessions Yes No shutdown Yes No startup Yes No0 码力 | 832 页 | 14.77 MB | 1 年前3 Spring Boot 3.0.0-M4 Reference Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 445 Prometheus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . part of the log file’s content. prometheus Exposes metrics in a format that can be scraped by a Prometheus server. Requires a dependency on micrometer-registry-prometheus. 13.2.1. Enabling Endpoints By integrationgraph Yes No logfile N/A No loggers Yes No liquibase Yes No metrics Yes No mappings Yes No prometheus N/A No quartz Yes No scheduledtasks Yes No sessions Yes No shutdown Yes No startup Yes No0 码力 | 832 页 | 14.77 MB | 1 年前3
 Spring Boot 2.5.3 Reference Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 334 Prometheus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . part of the log file’s content. prometheus Exposes metrics in a format that can be scraped by a Prometheus server. Requires a dependency on micrometer-registry-prometheus. 8.2.1. Enabling Endpoints By jolokia N/A No logfile N/A No loggers Yes No liquibase Yes No metrics Yes No mappings Yes No prometheus N/A No quartz Yes No 294 ID JMX Web scheduledtasks Yes No sessions Yes No shutdown Yes No0 码力 | 692 页 | 13.67 MB | 1 年前3 Spring Boot 2.5.3 Reference Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 334 Prometheus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . part of the log file’s content. prometheus Exposes metrics in a format that can be scraped by a Prometheus server. Requires a dependency on micrometer-registry-prometheus. 8.2.1. Enabling Endpoints By jolokia N/A No logfile N/A No loggers Yes No liquibase Yes No metrics Yes No mappings Yes No prometheus N/A No quartz Yes No 294 ID JMX Web scheduledtasks Yes No sessions Yes No shutdown Yes No0 码力 | 692 页 | 13.67 MB | 1 年前3
 Spring Boot 2.5.10 Reference Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340 Prometheus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . part of the log file’s content. prometheus Exposes metrics in a format that can be scraped by a Prometheus server. Requires a dependency on micrometer-registry-prometheus. 8.2.1. Enabling Endpoints By jolokia N/A No logfile N/A No loggers Yes No liquibase Yes No metrics Yes No mappings Yes No prometheus N/A No quartz Yes No 300 ID JMX Web scheduledtasks Yes No sessions Yes No shutdown Yes No0 码力 | 695 页 | 13.72 MB | 1 年前3 Spring Boot 2.5.10 Reference Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340 Prometheus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . part of the log file’s content. prometheus Exposes metrics in a format that can be scraped by a Prometheus server. Requires a dependency on micrometer-registry-prometheus. 8.2.1. Enabling Endpoints By jolokia N/A No logfile N/A No loggers Yes No liquibase Yes No metrics Yes No mappings Yes No prometheus N/A No quartz Yes No 300 ID JMX Web scheduledtasks Yes No sessions Yes No shutdown Yes No0 码力 | 695 页 | 13.72 MB | 1 年前3
 Spring Boot 2.5.5 Reference Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 334 Prometheus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . part of the log file’s content. prometheus Exposes metrics in a format that can be scraped by a Prometheus server. Requires a dependency on micrometer-registry-prometheus. 8.2.1. Enabling Endpoints By jolokia N/A No logfile N/A No loggers Yes No liquibase Yes No metrics Yes No mappings Yes No prometheus N/A No quartz Yes No 294 ID JMX Web scheduledtasks Yes No sessions Yes No shutdown Yes No0 码力 | 692 页 | 13.68 MB | 1 年前3 Spring Boot 2.5.5 Reference Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 334 Prometheus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . part of the log file’s content. prometheus Exposes metrics in a format that can be scraped by a Prometheus server. Requires a dependency on micrometer-registry-prometheus. 8.2.1. Enabling Endpoints By jolokia N/A No logfile N/A No loggers Yes No liquibase Yes No metrics Yes No mappings Yes No prometheus N/A No quartz Yes No 294 ID JMX Web scheduledtasks Yes No sessions Yes No shutdown Yes No0 码力 | 692 页 | 13.68 MB | 1 年前3
 Spring Boot 2.5.6 Reference Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335 Prometheus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . part of the log file’s content. prometheus Exposes metrics in a format that can be scraped by a Prometheus server. Requires a dependency on micrometer-registry-prometheus. 8.2.1. Enabling Endpoints By jolokia N/A No logfile N/A No loggers Yes No liquibase Yes No metrics Yes No mappings Yes No prometheus N/A No quartz Yes No 295 ID JMX Web scheduledtasks Yes No sessions Yes No shutdown Yes No0 码力 | 693 页 | 13.68 MB | 1 年前3 Spring Boot 2.5.6 Reference Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335 Prometheus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . part of the log file’s content. prometheus Exposes metrics in a format that can be scraped by a Prometheus server. Requires a dependency on micrometer-registry-prometheus. 8.2.1. Enabling Endpoints By jolokia N/A No logfile N/A No loggers Yes No liquibase Yes No metrics Yes No mappings Yes No prometheus N/A No quartz Yes No 295 ID JMX Web scheduledtasks Yes No sessions Yes No shutdown Yes No0 码力 | 693 页 | 13.68 MB | 1 年前3
 Spring Boot 2.6.0-m2 Reference Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345 Prometheus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . part of the log file’s content. prometheus Exposes metrics in a format that can be scraped by a Prometheus server. Requires a dependency on micrometer-registry-prometheus. 13.2.1. Enabling Endpoints By jolokia N/A No logfile N/A No loggers Yes No liquibase Yes No metrics Yes No mappings Yes No prometheus N/A No quartz Yes No 303 ID JMX Web scheduledtasks Yes No sessions Yes No shutdown Yes No0 码力 | 708 页 | 13.90 MB | 1 年前3 Spring Boot 2.6.0-m2 Reference Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345 Prometheus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . part of the log file’s content. prometheus Exposes metrics in a format that can be scraped by a Prometheus server. Requires a dependency on micrometer-registry-prometheus. 13.2.1. Enabling Endpoints By jolokia N/A No logfile N/A No loggers Yes No liquibase Yes No metrics Yes No mappings Yes No prometheus N/A No quartz Yes No 303 ID JMX Web scheduledtasks Yes No sessions Yes No shutdown Yes No0 码力 | 708 页 | 13.90 MB | 1 年前3
 Spring Boot 2.5.13 Reference Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343 Prometheus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . part of the log file’s content. prometheus Exposes metrics in a format that can be scraped by a Prometheus server. Requires a dependency on micrometer-registry-prometheus. 8.2.1. Enabling Endpoints By jolokia N/A No logfile N/A No loggers Yes No liquibase Yes No metrics Yes No mappings Yes No prometheus N/A No quartz Yes No 303 ID JMX Web scheduledtasks Yes No sessions Yes No shutdown Yes No0 码力 | 702 页 | 13.82 MB | 1 年前3 Spring Boot 2.5.13 Reference Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343 Prometheus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . part of the log file’s content. prometheus Exposes metrics in a format that can be scraped by a Prometheus server. Requires a dependency on micrometer-registry-prometheus. 8.2.1. Enabling Endpoints By jolokia N/A No logfile N/A No loggers Yes No liquibase Yes No metrics Yes No mappings Yes No prometheus N/A No quartz Yes No 303 ID JMX Web scheduledtasks Yes No sessions Yes No shutdown Yes No0 码力 | 702 页 | 13.82 MB | 1 年前3
 Spring Boot 2.5.x Reference Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342 Prometheus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . part of the log file’s content. prometheus Exposes metrics in a format that can be scraped by a Prometheus server. Requires a dependency on micrometer-registry-prometheus. 8.2.1. Enabling Endpoints By jolokia N/A No logfile N/A No loggers Yes No liquibase Yes No metrics Yes No mappings Yes No prometheus N/A No quartz Yes No 302 ID JMX Web scheduledtasks Yes No sessions Yes No shutdown Yes No0 码力 | 703 页 | 13.84 MB | 1 年前3 Spring Boot 2.5.x Reference Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342 Prometheus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . part of the log file’s content. prometheus Exposes metrics in a format that can be scraped by a Prometheus server. Requires a dependency on micrometer-registry-prometheus. 8.2.1. Enabling Endpoints By jolokia N/A No logfile N/A No loggers Yes No liquibase Yes No metrics Yes No mappings Yes No prometheus N/A No quartz Yes No 302 ID JMX Web scheduledtasks Yes No sessions Yes No shutdown Yes No0 码力 | 703 页 | 13.84 MB | 1 年前3
 Spring Boot 2.5.12 Reference Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343 Prometheus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . part of the log file’s content. prometheus Exposes metrics in a format that can be scraped by a Prometheus server. Requires a dependency on micrometer-registry-prometheus. 8.2.1. Enabling Endpoints By jolokia N/A No logfile N/A No loggers Yes No liquibase Yes No metrics Yes No mappings Yes No prometheus N/A No quartz Yes No 303 ID JMX Web scheduledtasks Yes No sessions Yes No shutdown Yes No0 码力 | 702 页 | 13.82 MB | 1 年前3 Spring Boot 2.5.12 Reference Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343 Prometheus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . part of the log file’s content. prometheus Exposes metrics in a format that can be scraped by a Prometheus server. Requires a dependency on micrometer-registry-prometheus. 8.2.1. Enabling Endpoints By jolokia N/A No logfile N/A No loggers Yes No liquibase Yes No metrics Yes No mappings Yes No prometheus N/A No quartz Yes No 303 ID JMX Web scheduledtasks Yes No sessions Yes No shutdown Yes No0 码力 | 702 页 | 13.82 MB | 1 年前3
共 289 条
- 1
- 2
- 3
- 4
- 5
- 6
- 29














 
 