林彪为什么要叛逃| 颖五行属什么| 健康证都查什么传染病| 人乳头瘤病毒感染是什么意思| 双肾盂分离是什么意思| 筛选是什么意思| 病是什么偏旁| 金是什么结构的字| 一片冰心在玉壶是什么意思| 白芝麻有什么功效| 棉麻是什么面料| 胃炎适合吃什么食物| 佛口蛇心是什么生肖| 深圳少年宫有什么好玩的| 角质是什么| 孕吐反应什么时候开始| 半元音是什么意思| 生抽和老抽有什么区别| 精神衰弱吃什么药| 银杏叶提取物治什么病| 1月18日什么星座| 丑五行属什么| 小孩有口臭是什么原因引起的| 西葫芦是什么| 户籍地址是什么意思| 女人的秘密是什么| 月经不调去医院挂什么科| 蕌头是什么| 刮骨疗毒的意思是什么| 挑担是什么意思| 梦见插秧是什么意思| 大吉大利是什么生肖| 儿童坐飞机需要什么证件| 养肝护肝吃什么食物好| 什么是梨形身材| 止步不前什么意思| 空调数显是什么意思| 2月是什么星座| 头皮屑大块是什么原因| qa是什么| 暧昧什么意思| 额头高代表什么| 儿童多动症挂什么科| 什么是韧性| 病毒性肝炎有什么症状| 洗手做羹汤是什么意思| 镇长属于什么级别| no.是什么意思| 小娘皮什么意思| 今非昔比是什么意思| 宫保鸡丁是什么菜系| 大哥是什么生肖| 歼灭是什么意思| 什么是脂蛋白a| 梦见妯娌是什么意思| 三伏天是什么时候| 男人喝藏红花有什么好处| 元五行属性是什么| 扁桃体1度肿大是什么意思| 脑残是什么意思| 头部ct能检查出什么| 看胸部挂什么科| 嗓子疼是什么原因| 肾动脉狭窄有什么症状| 梦见自己被绑架了是什么意思| 什么花不能浇水| 抖阴是什么| 脚肿了是什么原因| 女为念什么| 头部出汗多吃什么药| 忆苦思甜下一句是什么| 金益什么字| 什么自行车最贵| 射手后面的星座是什么| 中国最长的河流是什么河| 什么人容易得眩晕症| 韭菜花炒什么好吃| amy什么意思| 美女的阴暗是什么样的| 路由器坏了有什么症状| au9999是什么意思| 草包是什么意思| 社保局是干什么的| 梦见菊花是什么意思啊| 老花眼有什么症状| 缘定三生是什么意思| 红色加蓝色是什么颜色| 舍利子到底是什么| 扛幡是什么意思| 阴唇肥大是什么原因| 尾盘放量拉升意味着什么| 12月23日是什么星座| 马冲什么生肖| 脂肪肝吃什么药效果好| 被隐翅虫咬了用什么药| 五百年前是什么朝代| 妇科凝胶排出的是什么| 长痘痘是什么原因| 拉肚子吃什么药好得快| 淋巴结钙化是什么意思| 孕妇梦见血是什么预兆| 泡蛇酒用什么药材最好| 三伏天从什么时候开始| 狗不能吃什么| 水手是什么意思| 促甲状腺素低是什么原因| 相敬如宾是什么生肖| 癣是什么| 肾功能不全有什么症状| 瑶字五行属什么| 溺爱的意思是什么| 2.8是什么星座| 盆腔少量积液什么意思| 水洗真丝是什么面料| 耳堵是什么| 前胸后背长痘痘用什么药| 春梦是什么意思| 提前来大姨妈是什么原因| carnival手表什么牌子| 咽喉有异物感吃什么药| 为什么空调外机不转| 酒糟是什么东西| 什么秀丽| 一事无成是什么生肖| 6月4号是什么星座| 为什么养鱼双数是大忌| 木屐是什么意思| 长痘吃什么水果| 肾结石用什么药最好| 什么东西化痰效果最好最快| 助听器什么牌子的好| 双子座是什么象星座| 冷面是什么面| 肩膀发麻是什么原因| 动爻是什么意思| 332是什么意思| 窦性心动过缓是什么病| 一叶知秋是什么生肖| 甲状腺检查挂什么科| 后羿是一个什么样的人| sk是什么牌子| 蟹粉是什么| 孕妇为什么会便秘| 零八年属什么| 李连杰什么病| puma是什么品牌| 车顶放饮料是什么意思| 检查视力挂什么科| 潦草什么意思| 5月是什么季节| 男性生殖长水泡是什么原因| 肝不好有什么症状| 中耳炎去药店买什么药| 晋字五行属什么| 眼镜框什么材质的好| 狂犬疫苗为什么要打五针| 蛆是什么意思| 狐臭和汗臭有什么区别| 早上7点是什么时辰| 三重一大是什么内容| 知趣是什么意思| 海员是干什么的| 碳素厂是做什么的| 脑梗前有什么预兆| 血镁偏高是什么原因| 古人的婚礼在什么时间举行| 三国时期是什么朝代| 宾馆和酒店有什么区别| 为什么肚子会隐隐作痛| 保险属于什么行业| 五月二十日是什么日子| 清净心是什么意思| 陈皮的作用是什么| 什么是白平衡| 磁共振是检查什么的| 张学良为什么叫小六子| 这是什么树| 无畏无惧是什么意思| 亲亲抱抱举高高什么意思| 什么食物嘌呤高| 尿潜血十一是什么意思| 煮毛豆放什么调料好吃| 月结是什么意思| hsv1是什么病毒| 做造影是什么意思| 头疼喝什么饮料| 一九七二年属什么生肖| 干咳是什么原因| 男人前列腺炎有什么症状表现| 118是什么星座| 头发为什么会变白| 什么油适合油炸| 脚为什么会痒越抓越痒| 0.618是什么意思| 吃什么升白细胞| 吃什么排湿气最好最快| 舞蹈症是什么病| 梦见盗墓是什么意思| 坐飞机要带什么证件| 抽筋吃什么药| 38度吃什么药| 经常按摩头皮有什么好处| 618是什么日子| 有什么有什么四字词语| 左肺钙化灶是什么意思| 女人出轨有什么表现| 十二生肖它第一是什么生肖| 胖大海是什么东西| 梦见冬瓜是什么意思| 什么动物菩萨心肠| 秋刀鱼在中国叫什么鱼| 有机是什么意思| 真情流露是什么意思| 麦穗是什么牌子| 子宫在什么位置| 高丽参适合什么人吃| 伤元气是什么意思| 心理卫生科看什么病的| 芡实是什么| 鹿下面一个几字读什么| 痹是什么意思| 还记得年少时的梦吗是什么歌| 女人纵欲过度会有什么症状| 痣是什么| 泡蛇酒用什么药材最好| 人间正道是沧桑是什么意思| 经期吃什么缓解痛经| 工薪阶层是什么意思| 口吐白沫是什么病| 什么发色显皮肤白| 豌豆是什么豆| 什么叫打板| d cup是什么意思| 脾虚吃什么| 买手店是什么意思| 灵犀是什么意思| 坐骨神经痛是什么原因引起的| elsevier是什么期刊| 什么叫理疗| 夏天喝什么茶减肥| 公开遴选公务员是什么意思| 月加一笔是什么字| GOLF是什么品牌| 血沉高意味着什么意思| c3c4补体是什么意思| 胃烂了是什么病严重吗| 豆瓣是什么软件| 11五行属什么| 陈坤为什么地位那么高| xxl是什么尺码| 香港奶粉为什么限购| 高兴的动物是什么生肖| p是什么意思医学| 预拌粉是什么东西| 有鸟飞进屋是什么预兆| 重庆为什么叫重庆| 太燃了是什么意思| 报道是什么意思| 宝宝消化不良吃什么| 鼻窦炎是什么病| 女人小便带血是什么原因引起的| 百香果和什么搭配好喝| 梦见蛇咬我是什么意思| 栖字五行属什么| 百度
  • /
  • EnglishEspa?olFran?ais日本語???Português
  • Log inStart now

微访谈丨张思莱:坚持母乳喂养喂养是最好的疼爱

百度 性能没有被小米MIX2S截胡,国行三星S9依然是首发高通骁龙845的旗舰机。

To write good NRQL queries, it helps to understand how our various NRQL clauses and functions work. This doc contains definitions of NRQL clauses and functions, and gives examples of how to use them.

Looking for basic NRQL syntax rules? See How to use NRQL. For a tutorial, see Introductory NRQL tutorial.

Query components

As noted in our basic NRQL syntax doc, every NRQL query will contain a SELECT clause and a FROM clause, with all other clauses being optional. The clause definitions below also contain example NRQL queries.

DELETE keyword

The DELETE keyword in New Relic Query Language (NRQL) is used to remove specific data and attributes within Pipeline Control. This helps manage the data that is ingested into the New Relic Database (NRDB).

The DELETE keyword is applied in NRQL queries to specify which data or attributes should be removed. Here are some examples:

Here're some examples:

  • Deleting specific metrics:

    DELETE FROM Metric
    WHERE metricName = 'newrelic.goldenmetrics.infra.kubernetes_pod.podScheduled'
    • Removes metrics with the specified name.
  • Deleting specific spans:

    DELETE FROM Span WHERE appName = 'external-usage-consumer (test-odd-wire)'
    • Removes spans associated with the specified application.
  • Deleting specific agent updates:

    DELETE FROM AgentUpdate WHERE a = 'b'
    • Removes agent updates where the attribute a equals b.

Required clauses

Optional clauses

Query metric data

Metric data is more complex than other types of data. There are specific tips for querying it well. We have two types of metric data, each with their own query guidelines:

For more details about how we report metric data, see Metric data types.

Functions

In this section we explain NRQL functions, both aggregator functions and non-aggregator functions.

Aggregator functions

You can use aggregator functions to filter and aggregate data. Some tips for using these:

  • If you're using an aggregator function multiple times in the same query (for example, SELECT median(one_metric), median(another_metric)), it can cause problems in displaying results. To solve this, use the AS function. For example:
    SELECT median(one_metric) AS 'med-a', median(another_metric) AS 'med-b'
  • Data type "coercion" is not supported. Read about available type conversion functions.
  • For how to display results over time, see Group results over time.

Examples:

SELECT histogram(duration, 10, 20) FROM PageView SINCE 1 week ago

Non-aggregator functions

Use non-aggregator functions to return values for each data point within NRQL queries.

Type conversion

NRQL does not support "coercion." This means that a float stored as a string is treated as a string and cannot be operated on by functions expecting float values.

You can convert a string with a numeric value or a boolean with a string value to their numeric and boolean equivalents, or convert a non-string value to a string value, with these functions:

  • Use the numeric() function to convert a number with a string format to a numeric value. The function can be built into a query that uses math functions on query results or NRQL aggregator functions, such as average(). Please note that if the NRQL value is in the gauge format, then numeric() won't work on it. Instead, you must use one of these compatible query functions:
  • latest()
  • min()
  • max()
  • sum()
  • count()
  • average()
  • Use the boolean() function to convert a string value of "true" or "false" to the corresponding boolean value.
  • Use the string() function to convert a numeric, boolean, tuple, or array value to a string value. See string() above for more information.

Comments

When writing a NRQL query, you can add comments, which can help your team members better understand and use the query.

Here are syntax details:

  • -- Two dashes will comment out all text to the right of this indicator on the same line.
  • // Two slashes will comment out all text to the right of this indicator on the same line.
  • /* */ Any text in between these character sets will be commented out. This indicator can apply to multiple lines.

Note that comments aren't displayed everywhere. Some views, like "recent queries" and "view query," won't show comments.

Some example queries that include comments:

FROM Transaction SELECT uniqueCount(appId) -- This will return the number of unique App IDs
FROM TransactionError
SELECT count(*) SINCE 1 day ago // Transaction Error for the past day
FROM TransactionTrace /* This data may be incomplete;
If so, run a query of Transaction */
SELECT count(*)

Other popular resources for understanding NRQL syntax and rules include:

Copyright ? 2025 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

为什么榴莲那么贵 1月4号是什么星座 炸鸡翅裹什么粉 孕妇拉的屎是黑色的是因为什么 同人小说是什么意思
单于是什么意思 两肺间质性改变是什么意思 经常做春梦是什么原因 一个兹一个子念什么 被草是什么感觉
哈字五行属什么 小儿发烧吃什么药 干什么赚钱 病毒性感染是什么原因 女生胸部发育到什么年龄
赛能是什么药 人生导师是什么意思 阿迪达斯和三叶草有什么区别 6月14日什么星座 超声检查是什么
什么药可以治早迣hcv9jop2ns6r.cn 6月7号什么星座hcv8jop3ns2r.cn 丘疹用什么药膏最有效hcv8jop0ns0r.cn twitter是什么hcv7jop9ns6r.cn 耳朵发烫是什么征兆shenchushe.com
萝卜喝醉了会变成什么clwhiglsz.com 男人脚肿是什么病的前兆hcv8jop4ns2r.cn 6月1日是什么星座hcv8jop8ns2r.cn 50岁今年属什么生肖hcv8jop6ns2r.cn 水逆退散什么意思hcv9jop5ns3r.cn
性功能减退吃什么药hcv9jop0ns7r.cn 3月25是什么星座hcv8jop2ns9r.cn 脾虚湿盛吃什么药hcv7jop4ns6r.cn 骨质增生是什么症状chuanglingweilai.com 痛风为什么要禁欲hcv7jop9ns6r.cn
妯娌是什么意思hcv8jop4ns6r.cn 红骨髓是什么意思hcv8jop2ns2r.cn trance什么意思hcv9jop5ns1r.cn 三合生肖是什么意思hcv8jop9ns8r.cn 月支是什么意思cj623037.com
百度