夏锐航-PromQL Got a Boost:用 Rust 重写 Prometheus 的查询引擎.pdf

编号:153831 PDF 49页 3.71MB 下载积分:VIP专享
下载报告请您先登录!

夏锐航-PromQL Got a Boost:用 Rust 重写 Prometheus 的查询引擎.pdf

1、PromQL Got a BOOST主讲人:Ruihang,GreptimePromQL Got a BOOST:用 Rust 重写 Prometheus 的查询引擎演讲嘉宾介绍Ruihang GreptimeGitHub:waynexiaLosing hair at GreptimeWanna sleep 10 hrs/dayLearn JS every yearHealing the HyruleCONTENT目录2023K+01Backgroundthe Parser the Engine0203Rust Gives04Outlook05Part 01Background About P

2、rometheus and PromQL Why rewrite?What are boosted?PROMETHEUS AND PROMQLThe de facto standard in cloud-native monitor scenarioHas its own query language called“PromQL”rate(api_request_durationhost=“foo”5m)More than a monitor:alert,visualize with many integrationsPROMETHEUS AND PROMQLrate(api_request_

3、durationhost=“foo”5m)OperatorDataFilterRangeSELECT rate(val)OVER(ORDER BY timestamp RANGE BETWEEN 5 minutes PRECEDING AND CURRENT ROW )AS rateFROM api_request_durationWHERE host=fooOURShttps:/ Database(cloud-native,hybrid-workload,distributed)SQL and table modelRead more about GreptimeCloud:https:/

4、REWRITETarget to be the most powerful drop-in replacementPromQL has a good UX for time-series dataAnd it can be better if combine with SQLRIIR,super cooooooool!WHAT ARE BOOSTEDWHAT ARE BOOSTEDPROMQL VIA SQL(1)prepare data using SQL(2)write your PromQL!Part 02the Parser Tech stack Out choiceOUR CHOIC

5、Elrpar-generator,yacc compatiblePromQL has replaced its hand-written parser with yaccBut there are still many slight differencesYACC FILEHOW TO CHOOSEBased on the scenario and pre-requirementE.g.:sqlparser-hand-written combinator nom81,000,000+combinatorpestcombinelalrpop37,500,000+21,700,000+5,500,

6、000+generatorcombinatorgeneratorDownloadsMethodCrateERROR HANDLINGTerminal v.s.textchumsky,nom,winnow?Still exploring Part 03the Engine Which way to rewrite?Apache Arrow&DataFusion Diff between modelsREWRITEAround 1/7 of Prometheus is PromQLA straightforward 3-layer structure Tra

友情提示

1、下载报告失败解决办法
2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
4、本站报告下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。

本文(夏锐航-PromQL Got a Boost:用 Rust 重写 Prometheus 的查询引擎.pdf)为本站 (2200) 主动上传,三个皮匠报告文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知三个皮匠报告文库(点击联系客服),我们立即给予删除!

温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。
客服
商务合作
小程序
服务号
折叠