首页 > 编程知识 正文

单词翻译,日文翻译

时间:2023-05-05 10:58:22 阅读:162063 作者:900

原文: irategraphsarebettergraphs|robust perception

Prometheus0. 16.1 wasjustreleased,andwithitbringsmyadditionoftheiratefunction.thisoffersmoreresponsivegraphsandhigheresand

刚刚发布的普罗米修斯0.16.1添加了irate函数。 提供更好的响应接口和更高分辨率的面板。

cpusageonamachine.red : irate (x[5m].green : rate ) x [ 5m ] )。

电脑的CPU使用率。 红线: irate(x ) 5m。 绿线: rate(x ) 5m )。

theratefunctiontakesatimeseriesoveratimerange、 andbasedonthefirstandlastdatapointswithinthatrange (allowingforcounterresets ) calculates aper-second rate.asit’sbasedonta it’seffectivelyanaveragerateoverthatrange5 minutesinthiscase.youcanseethatthegreeenlineinthegraphaboveisslowtopickuponchachase

rate函数在时间范围内构建时间序列,根据设置范围内的第一个和最后一个数据点计算每秒的比率(允许重置计数器)、) last值-first值) /时间差。 因为是基于范围的,所以实际上是范围的平均值。 在本例中为5分钟。 在上图中,绿线表示对数据变化的响应较慢,未显示详细信息。

bycontrastirateisaninstantrate.itonlylooksatthelasttwopointswithintherangepassedtoitandcalculatesaper-second rate.in the econds,sotheredlineisallowingyoutoseemuchbrieferspikesandfinerdetail.thisgivesyoubetterinsightintowhat’sreallygoingon

相比之下,irate是瞬时比率。 仅观测设定范围内的最后2个点,计算每秒的速率、(last值-last前的值) /时间戳之差。 在上图中,拉动间隔为10秒,红线看到了更多的峰值和更多的细节。 这样可以更好地了解实际情况,充分利用数据的全分辨率。

As with rate,irateisresilienttoscrapesfailingasit’llookbacktotheprevioussuccessfulscrape.thislosesalittleresolution, utyoudon’tmissanysuddenchangesaroundthatfailedscrape.thisisoneadvantageofexportingrawcountersoverratescomputedontheinstruted

与rate一样,irate遇到数据提取失败的原因是获取以前成功的数据。 这样会失去一些精度,但不会错过失败的抽取数据。 这是将原始计数器导出为由仪表化系统计算出的比率的优点之一。

uetotheinstantratebeingmoreresponsive、 thereareafewthingsyouldbeawareof.if you’redoingalertingbasedonirateaverybriefdipcouldresetthealert’sforclause, sopreferrateforalerting.ingraphsoverlongtimeperiodsusedfortrending,fullresolutiondatacanbedistractingsotheimplicitaveraging

“即时响应”(instant rate )是敏感的,请注意以下事项: 基于irate设置报警可能会在非常短的时间内重置报警,因此建议使用rate作为报警条件。 在长期趋势的图表中,由于完整的分辨率数据会分散注意力,所以隐含的平均比率更有用。

ifirateonlylooksatthelasttwopoints,whydowepassitamuchlongerperiodthanthat? theansweristhatyouwanttolimithowfarbackit’llooktofindthosetwopoints, asyou don’twanttoinadvertentlyusedatafromhoursago.thisalsohasthebenefitthatdashboardsnolongerneedtoconsideralllpotentialscratialstialscratintiatialstialstiontialstialschontest eraterange,oftenleadingtoaveragingoveramuchlongerperiodthanisneeded.withtheinstantrateifscrapesbecomemorefrequent,graphs

如果irate只需要最近两点的数据,为什么我们要传达比这两点长得多的时间范围呢? 答案是,我不想使用几个小时前的数据,所以我想限制这两点的可取范围。 另一个优点是,在面板中选择“比率范围”(dashboards )时,不需要考虑所有可能的“拉动间隔”(scrape intervals )。 因为这样做通常会比需要的时间长。 如果频繁进行“拉动操作”(scrape ),图像会自动提高分辨率。

转载于:https://my.oschina.net/u/2419022/blog/1154505

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。