2r是什么意思| 精气神是什么意思| 溦是什么意思| 高密度脂蛋白胆固醇偏低是什么意思| 池塘边的榕树上是什么歌| 咳嗽挂号挂什么科| 蜈蚣咬了擦什么药最好| 被蜱虫咬了挂什么科| 下焦湿热吃什么药| 请佛容易送佛难什么意思| 相位是什么意思| 6月16是什么星座| 左手发麻什么原因| 老干部是什么意思| 梦到孩子被蛇咬是什么意思| 医共体是什么意思| 井代表什么数字| 增生性贫血是什么意思| 正剧是什么意思| 骨质疏松是什么症状| 火龙果有什么好处| 刺史相当于现在的什么官| 雪燕适合什么人吃| 晁盖的绰号是什么| 杏有什么作用和功效| mi是什么| jk什么意思| 阿尔兹海默症吃什么药| 脚后跟疼什么原因| 经常嗳气是什么原因| 6月11号是什么星座| 什么样的田野| 1207是什么星座| 眼角红肿用什么药| 怠工是什么意思| 睡觉盗汗是什么原因| 什么水果含糖量低| 正常大便是什么颜色| 早上起床口苦口干是什么原因| 2024年五行属什么| 咖啡喝了有什么好处| 乙肝表面抗体高是什么意思| 吃什么不胖反而瘦| 什么空如什么| 打酱油是什么意思啊| 幻灭是什么意思| 紫色适合什么肤色的人| 窈窕淑女君子好逑是什么意思| 胃不消化吃什么药效果最好| 什么动物最怕水| 2月1号什么星座| 什么是自限性疾病| 次日是什么意思| 毛细血管扩张是什么原因引起的| 后背的骨头叫什么| 菊花代表什么生肖| 什么是继发性高血压| 手不自主颤抖是什么病| 肝内胆管结石是什么意思| 黄酮对女性有什么作用| 羊膜是什么| 民营企业和私营企业有什么区别| 关节炎用什么药最好| 什么洗面奶祛痘| 下巴疼是什么原因| 夏天适合种什么蔬菜| meq是什么单位| 荣誉的誉是什么意思| 麻醉对身体有什么伤害| 营养素是什么| 宫腔内钙化灶是什么意思| upc码是什么意思| 骨骼闭合了还有什么办法可以长高| 什么地方能出生入死| 灏字五行属什么| 牙龈疼吃什么消炎药| mt是什么意思| kappa属于什么档次| 拔完智齿后需要注意什么| 呵呵什么意思| 印泥干了用什么稀释| 炉中火是什么意思| 造孽是什么意思| 女人脚心发热吃什么药| 老感冒是什么原因| 男性更年期吃什么药| wv是什么意思| 高血压需要注意什么| 三险一金是什么| 99年是什么年| 基数大是什么意思| 干什么能挣钱快| 画眉是什么| 眼白有黄斑是什么原因| 月经量少吃什么好| 海绵体供血不足吃什么药| 什么是灰指甲| 属兔五行属什么| 戒定真香是什么意思| 生活的意义是什么| 验光pd是什么意思| 人次什么意思| 错综复杂是什么意思| 欠钱不还被起诉会有什么后果| 湿热是什么症状| 更年期潮热出汗吃什么药| 蚊子怕什么植物| 一什么不什么| 自提是什么意思| 右脸有痣代表什么| rh阳性是什么意思| 水镜先生和司马懿是什么关系| 痔疮手术后可以吃什么水果| 腹胀是什么原因引起的| 孕妇梦见猫是什么意思| 疏通血管吃什么药最好| 浪琴手表什么档次| 肉偿是什么意思| 吃什么有助于消化| 陈字五行属什么| 鲸鱼属于什么类动物| 孙俪是什么星座| 木木耳朵旁是什么字| cip是什么| 便秘灌肠用什么水| 梦见蚂蚁是什么预兆| 头大脸大适合什么发型| 太形象了是什么意思| 梦见手表是什么意思| 津液亏虚是什么意思| 风热火眼是什么意思| 为什么老虎头上有王字| 梦见鞭炮是什么意思| 中心性肥胖什么意思| 穷的生肖指什么生肖| 什么鸟叫声最好听| 三月初一是什么星座| 吉祥如意是什么意思| 一什么耳朵填量词| ahc属于什么档次| 13年属什么生肖| 为什么眼睛老是痒| 利尿吃什么药| 紧急避孕药有什么副作用| 心什么诚服| 什么样的人容易中暑| 6月23日什么星座| 吉尼斯是什么意思| 女人梦到蛇预示着什么| 铺天盖地的意思是什么| 弓加耳念什么| 佛道是什么意思| 沉脉是什么意思| 晚上睡觉口干是什么原因| 眼泪多是什么原因| 大吉大利是什么生肖| 头癣用什么药膏最好| 唯我独尊是什么生肖| 肾虚吃什么| 油菜花是什么颜色| 诺诺是什么意思| 舅舅的孩子叫什么| 貂蝉属什么生肖| 什么叫多巴胺| 缘分什么意思| 跟腱断裂是什么感觉| 灵芝孢子粉什么时候吃最好| 下寒上热体质吃什么中成药| exo什么时候出道的| 一个口一个有念什么| 什么叫粳米| 忌什么意思| 痔疮肛瘘是什么症状| 活检和穿刺有什么区别| 梵音是什么意思| 吃南瓜有什么好处和坏处| 早搏吃什么药最好| dsa是什么| pdt是什么意思| 什么条件| 小肚子是什么部位| 奇的多音字是什么| 人乳头瘤病毒39型阳性是什么意思| 拉疙瘩屎是什么原因| 夏令时什么意思| 乳房结节是什么原因引起的| 肌苷是什么| 猪脚炖什么好吃| 推是什么意思| 什么是普惠性幼儿园| 农业户口和居民户口有什么区别| 空腹血糖受损是什么意思| 口苦尿黄是什么原因| 乐果是什么农药| 甲状腺球蛋白低是什么意思| 七月二十六是什么星座| 洋桔梗的花语是什么| 穿斐乐的都是什么人| 芒果什么时候成熟| 喝什么能补肾| 10月1日是什么日子| 武警是干什么的| 身体欠佳什么意思| 夏季热是什么病| 木糖醇是什么糖| 脑软化灶是什么意思| 一月十七是什么星座| 多囊肾是什么意思| 早泄吃什么药最好| 脖子长痘是什么原因引起的| 鼻甲肥大吃什么药最好| 伏特加是什么酒| 梦见吃李子是什么意思| prn是什么意思| 尿白细胞加减什么意思| 跳脱是什么意思| 佛家思想的核心是什么| 血清高是什么原因| 渐冻症是什么病| 洗葡萄用什么洗最干净| fdp是什么意思| 胃气胃胀吃什么药最好| 眼睛干涩用什么药效果好| 相什么成趣| 口腔溃疡挂什么科就诊| 什么什么鼎沸| 墨镜镜片什么材质好| 耳鸣是什么意思| 处口念什么| 垂体分泌什么激素| 六月二十一是什么日子| chihiro是什么意思| 左下腹疼痛挂什么科| 农历六月十九是什么日子| 舒化奶适合什么人喝| 脑袋痛什么原因| 化疗和靶向有什么区别| 夜尿多是什么原因引起的| 结膜炎滴什么眼药水| 谅解什么意思| 入党有什么好处| 眼睛有黑影是什么原因| 五月初十是什么星座| 三级综合医院是什么意思| 考教师编制需要什么条件| 吃什么降尿酸最有效| 客家人为什么叫客家人| 梦见自己家被盗有什么预兆| 根管治疗是什么| 日出东方下一句是什么| 子宫内膜增生是什么原因| 天文是什么意思| 女人能日到什么时候| 四眼狗有什么迷信说法| HlV是什么| 伏特加是什么酒| 砂仁为什么要后下| 女人消瘦应该检查什么| 抗核抗体是什么| 违反禁令标志指示什么意思| 六月二十一是什么日子| 克罗心是什么牌子| 手麻木什么原因| 吃什么升白细胞| 百度Jump to content

热血江湖手游能交易吗 交易售卖具体操作步骤

From Wikitech
百度 不久,阿欣有了身孕。

This page describes best practices for Grafana dashboards at Wikimedia. This page was previously maintained as part of Performance Team guides and SRE Observability guidelines.

High-level approach

The USE Method

This method focuses on Utilization, Saturation, and Errors (USE). This is most effective to quickly diagnose any system performance issue. To quote Brendan Gregg's guide to USE:

For every resource, check utilization, saturation, and errors.

The Host overview dashboard is example of this method applied to server-level metrics about a single host. Resources (CPU, network, etc) are placed in rows, the left column is used for the resource's utilization, while the right column displays saturation or errors, as applicable.

Recommendations:

  • Y-axis should be zero-based.
  • For most graphs, use a line without fill (Fill opacity: 0), unless the graph is stacked.

Four golden signals (4GS)

This method is described in detail in Google's SRE book and focuses on the system's user-impacting metrics. Specifically it can be used as a basis for alerting and diagnosis of ongoing problems.

This method can be seen applied to Swift, Sessionstore, and other dashboards in the "Service" Grafana folder.

Dashboard layout

Legend

Star your dashboard with a legend. For good examples, refer to the ResourceLoader, Backend Pageview Time, and MediaWiki Static dashboards.

  • Create a "Text" panel, and leave it at the very top of the dashboard without a row. Set the panel title to "Legend".
  • Describe the subject of the dashboard in one sentence (e.g. What does the service do for end-users? What interaction does it instrument?)
  • Summarise in a sentence or two the flow of the data from the instrumentation source to the Grafana screen, mentioning any meaningful transformations it goes through along the way (e.g. Statsd counter incremented during cache misses in the backend, aggregated via mtail, pool size is measured every few minutes).
  • Link to high-level docs on Wikitech about the service, and/or link to the Phabricator tracking task about launching the instrumentation/campaign.
  • Considering naming or linking the source repo or source file of the instrumentation, especially if the metrics are not built-in to the program being measured (e.g. a dedicated background process that measures something).

Dashboard settings

General settings

  • Editable: Yes.
  • Preferred timezone: UTC.
  • Preferred range: Last N days for most dashboards. Last N hours for alert dashboards.
  • Auto refresh: Provide options for 5min and 15min. If on by default, use 5min as the default interval. Avoid smaller intervals due to unnecessary load on metric database. If you need to be notified, consider using an alert instead.
  • Graph tooltip: Enable the shared crosshair.

Annotations

Manual annotations

You can create annotations within Grafana for any moment or range of time. These can then be associated with one or more tags. On each dashboard you can decide which tags you'd like to query for shared annotations. For example, most Performance-team dashboards query "mediawiki", "performance", and "operations". Which means an annotation created by anyone from any dashboard with one of these tags will be shown in the panels on that dashboard.

  • Edit the default "Annotations & Alerts" annotation.
  • Leave the default settings (Enabled: Yes, Hidden: Yes, Color: Blue / Cyan).
  • Filter by: Tags.
  • Match: "any".
  • Tags: (insert one or more globally shared tags).

MediaWiki deployments

If the service or instrumentation may be affected by MediaWiki deployments, enable one or both of the following annotations:

All MediaWiki deployments:

  • Name: MW deploy. Data source: graphite.
  • Enabled: No. Hidden: No. Color: Orange.
  • Query: exclude(aliasByNode(deploy.*.count,-2),"all")

Only full branch promotions part of the Train:

  • Name: Train deploy. Data source: graphite.
  • Enabled: Yes (this is the default state for the dashboard). Hidden: No (this means the control is shown and you can enable it ad-hoc when you need it).
  • Color: Orange.
  • Query: exclude(aliasByNode(deploy.sync-wikiversions.count,-2),"all")

Graph panels

Keep your graph focused

When creating a graph, keep in mind what question you want the graph to answer. If possible, focus on a single metric only.

Ideally no more than 4 lines in a single graph. More than 3 metrics may a indicate you are trying to answer too many questions at once. This may cause it to be unable to accurately answer any of the questions involved, for example due to axes having to span a wide range of values, or due to it being difficult to correlate which of the many colors and lines belong to which labels.

One case where you do want to consider many metrics in one graph, is when wanting to understand the relationship between quantities and their distribution. See #Graph with many metrics below.

Draw mode

When plotting metrics that represent a quantity per interval, use a bar chart (e.g. rate counter, CPU usage percentage, bytes gauge for memory or disk).

For timing metrics, use a line chart.

Metrics:

  • Remember to use .rate, when querying Statsd counters from Graphite. Never use count or sum. (Why: Graphite#Extended properties.)
  • Preferred scale for counters is per second, and otherwise per minute.
  • For timing metrics, prefer plotting the max (Statsd: upper). Otherwise, consider p99 or p75. Avoid lower percentiles, medians, or mean averages. (Why: Measuring load times.)
  • Prefer minimal or no aggregations in queries. If aggregation is applied, be sure to clearly indicate this in the legend. You can use the alias function to describe how the value is produced. For example, frontend.navtiming2.responseStart.mobile.p75 | movingAverage (24h) | alias("responseStart.mobile.p75 | movingAverage (24h)"). Notice how the movingAverage is specified both as actual query function and as text for the alias function.

Axes:

  • Always include a Left Y-axis on graph panels.
  • Unit: Set this correctly for timing metrics and percentages. For counters, we typically use the "short" notation.
  • Label: Use this to document the scale of counting metrics (e.g. "rate per minute"). The label is usually left blank for timing metrics.
  • Min/Max: Usually left to auto. For percentage graphs that can't exceed 100%, do set a max of 100% to avoid the automatic margin expansion to 120%.

Display:

  • Draw Mode: Bars or Lines.
  • Line width: 1. Line fill: 1.
  • Tooltip: All series. If the graph contains more than a dozen metrics, use Single instead.
  • Null value: null. (Setting this to Continuous or Zero almost always causes issues, eventually.)

Graph with many metrics

When plotting more than a dozen metrics with the intent to understand distribution, it is recommended to create a stacked bar chart (not a line graph). Like so:

  • Display: Set Drawing mode to Bars, and enable Stacking mode. Ensure the hover value is stacked "individually".
  • Legend: Hide the legend (its too crowded). Alternatively, show as a scrollable table to the right.

Alert rules

  • Evaluate every: 15 min.
  • Query condition: Range for last 15min or 1h, until now-5min.
  • If no data or all nulls: Alerting. (This helps detect when the underlying service may be down or broken. We used to ignore this due to a bug in Graphite, but as of January 2019 we're trying it again.)
  • If error or timeout: Keep Last State. (Graphite often times out; when using Prometheus consider Alerting on errors.)

See also

维生素d什么时候吃 你喜欢什么 为什么吃饱了就犯困 td代表什么意思 为什么会口腔溃疡
丁毒豆泡酒能治什么病 不值一提是什么意思 耳毛念什么 芒果不能跟什么一起吃 文武双全是什么意思
鱼头和什么搭配煲汤好 什么值得买官网 泪腺堵塞有什么症状 着重号是什么符号 水中毒是什么症状
结婚10年是什么婚 月经来吃什么水果好 嗓子挂什么科 小孩白细胞高是什么原因 梦见打狼是什么预兆
gn是什么颜色hcv9jop2ns8r.cn 烤麸是什么hcv9jop1ns0r.cn 子宫肌瘤吃什么能消除hcv7jop9ns0r.cn 红斑狼疮是什么病图片hcv9jop0ns4r.cn 陪伴是最长情的告白下一句是什么hcv8jop9ns2r.cn
切除脾脏对身体有什么影响hcv7jop6ns4r.cn 高胆红素血症是什么病hcv8jop2ns0r.cn 蟹爪兰用什么肥料最好hcv9jop2ns9r.cn 月和什么有关hcv9jop3ns5r.cn b超和阴超有什么区别hcv8jop8ns0r.cn
辞退和开除有什么区别hcv9jop6ns8r.cn 共襄盛举是什么意思hcv7jop6ns8r.cn 石头记为什么叫红楼梦hcv7jop6ns1r.cn 副师长是什么级别hcv9jop2ns0r.cn 龟头炎是什么hcv8jop9ns0r.cn
晚上睡觉手麻木是什么原因hcv9jop3ns7r.cn 乌龟的天敌是什么动物hcv7jop9ns1r.cn 左手抖动是什么原因hcv8jop4ns7r.cn x是什么品牌hcv9jop2ns7r.cn 潇字五行属什么hcv7jop6ns7r.cn
百度