清醒的反义词是什么| 今年72岁属什么生肖| 什么的瞬间作文| 记号笔用什么能擦掉| 冰释前嫌的释是什么意思| 做雾化起什么作用| 接站是什么意思| 高尿酸血症是什么意思| 什么的风| 桃皮绒是什么面料| 大姨妈喝什么好| 前列腺炎有什么症状表现| 露水夫妻是什么意思| 1104是什么星座| 不想要孩子用什么办法最好| 腋下看什么科| 鹿下面一个几字读什么| 氨基酸的作用是什么| 什么是前鼻音和后鼻音| 除体内湿热最好的中成药是什么| 麒麟臂什么意思| 被告不出庭有什么后果| 胎心快是什么原因| 农历10月14日是什么星座| 8月29日什么星座| 孩子出疹子应该注意什么| ad吃到什么时候| 五指毛桃根有什么功效| 奇货可居什么意思| sunglasses什么意思| 佛舍利到底是什么| 宝宝眼屎多是什么原因| dha什么时候吃效果最好| 二十年是什么婚| 胎儿右侧脉络丛囊肿是什么意思| 怀孕为什么要吃叶酸| 鼻炎什么症状| 地包天是什么意思| 蛇怕什么东西| 什么是气质| 癫痫是什么意思| 头不由自主的轻微晃动是什么病| 薄凉是什么意思| 便秘吃什么益生菌| 儿童吃什么| 女人吃鹅蛋有什么好处| 生性多疑是什么意思| 头发粗硬是什么原因| 闰月是什么意思| 高原反应的原因是什么| 前降支中段心肌桥什么意思| 梦见别人受伤流血是什么预兆| 什么叫意识| 为什么睡觉会打呼| 狠人是什么意思| 家庭教育是什么| 大自然的馈赠什么意思| 骨折后吃什么好| 睡眠瘫痪症是什么| 边缘性行为包括什么| 排尿困难吃什么药| gm是什么意思| 人脉是什么意思| 黑话是什么意思| 送呈是什么意思| 肚子疼是什么原因一阵一阵的| 抽烟对身体有什么危害| sdh是什么意思| 什么叫临床医学| 孕妇喝什么水比较好| 花旦是什么意思| 烟酰胺是什么东西| 什么水果糖分最低| 三班两倒是什么意思| 什么行什么什么| 端倪是什么意思| 血窦是什么意思| 血脂查什么项目| vca是什么意思| 吃什么补钾最快最好| 1993年出生属什么生肖| 血透是什么意思| 胸闷气短是什么症状| 赤诚相见是什么意思| 甲状腺回声不均匀什么意思| 什么的原野| 什么叫打气 是吸毒吗| 黄体不足吃什么| 家用制氧机什么牌子好| 房早是什么意思| 好样的什么意思| 小孩脸上长痣是什么原因引起的| 五个手指头分别叫什么| 胃炎吃什么好| 善字五行属什么| 炖汤用什么锅比较好| 手脚发胀是什么前兆| 什么纸| 1923年属什么生肖| 梦到自己孩子死了是什么征兆| 谭字五行属什么| 脚腕酸是什么原因| 吃醋是什么意思| 木薯粉可以做什么美食| 来姨妈吃什么好| 友女是什么意思| 梦到点火是什么意思| 早餐吃什么最健康| 小脑梗塞会出现什么症状| 肌腱是什么组织| 孕中期失眠是什么原因| 痰多是什么问题| 生物制剂对人体有什么副作用| 45年属什么生肖| 总蛋白是什么意思| 检查头部挂什么科| 耳鸣是什么原因引起的| 吃布洛芬有什么副作用| 壁虎怕什么| 孕妇缺维生素D对胎儿有什么影响| 6月24号什么星座| 遗精是什么原因引起的| 通草长什么样图片| 胆囊大是什么原因| 三月八号什么星座| 满目苍夷是什么意思| 活碱是什么| 喝什么能变白| 茯苓什么味道| 软卧代软座什么意思| 一心向阳下一句是什么| 梦见牙齿掉了是什么意思| mafia是什么意思| 腋毛变白是什么原因| 13楼五行属什么| 打强心针意味着什么| 子嗣是什么意思| 两边太阳胀痛什么原因引起的| 迷糊是什么意思| 心脏病是什么症状| 鬼畜什么意思| 康字五行属什么| 没有孕吐反应说明什么| 什么是佛教什么是道教| 吃栗子有什么好处| aoc是什么牌子| 心脏逆钟向转位是什么意思| 打摆子是什么病| 小知了叫什么| 尿路结石吃什么药| 受惊吓吃什么药| 出恭什么意思| 副脾对身体有什么影响| mcm牌子属于什么档次| 幼儿园什么时候报名| 宝宝睡眠不好是什么原因| 耳鸣用什么药治疗效果最好| 什么叫白眼狼| 农历五月二十八是什么日子| 儿童胃肠型感冒吃什么药| 喝茶什么意思| 什么的朋友| 浩特是什么意思| 马鞍皮是什么皮| 螳螂捕蝉黄雀在后是什么生肖| 什么是卤水| 辅酶是什么| 支气管舒张试验阳性是什么意思| 肌酐高有什么危害| 肌肉拉伤是什么感觉| 疤痕增生挂什么科| 快速补血吃什么| 心脏支架和搭桥有什么区别| 造纸术是什么时候发明的| 自欺欺人是什么生肖| 2013年是什么命| 大快朵颐是什么意思| 炖鸡汤放什么材料| 上海市长什么级别| 无用功是什么意思| 落枕是什么意思| 包粽子用什么米| ebv病毒是什么| 少年白头发是什么原因| zn什么意思| 精神分裂是什么| 2002年什么年| 牛和什么属相相冲| 不寐病属于什么病症| 牙齿吃甜的就会疼什么原因| 10月是什么月| 去威海玩需要准备什么| 胖子从12楼掉下来会变什么| 20是什么意思| 焱字五行属什么| 甲胎蛋白偏低说明什么| 酒糟鼻买什么药膏去红| 旅游需要带什么东西| 胃不好吃什么好消化又有营养| 苦荞是什么| 太阳光是什么颜色| 8月31号是什么星座| 为什么会鼻塞| 粟米是什么米| 血糖查什么项目| 9月14号是什么星座| 风寒感冒吃什么水果| 酸化是什么意思| 心慌吃什么药效果好| 妊娠高血压对胎儿有什么影响| 什么水果助消化| 清清什么| 什么东西放进去是硬的拿出来是软的| 尿检粘液丝高什么意思| 梦见涨水是什么兆头| 花钱是什么意思| 证悟是什么意思| 莞字五行属什么| 汗青是什么意思| 由是什么意思| 吃什么丰胸效果好又快| 安属于五行属什么| 耸肩是什么意思| 皈依什么意思| 二氧化碳是什么| 袖珍人是什么| 麻醉学学什么| 检查怀没怀孕挂什么科| 绿豆汤不能和什么一起吃| 银杏树的叶子像什么| 生长激素分泌的高峰期是什么时候| 康宽杀虫剂能杀什么虫| 为什么一喝酒就头疼| 身体出油多是什么原因| 就让我爱你把你捧在手心里是什么歌| 吃什么东西能流产| 决明子有什么功效| 心脏扩大吃什么药好| 点痣后需要注意什么事项| 腿抽筋是什么原因造成的| 老是瞌睡是什么原因| 白酒兑什么饮料最好喝| 数字是什么意思| 甲状腺是什么病啊| 冬阴功汤都放什么食材| 膈应人是什么意思| 唇釉是什么| 体检查什么| exp是什么日期| 五谷杂粮是什么| 11.20是什么星座| ag医学上是什么意思| 诺诺是什么意思| 拉黑色大便是什么原因| 右眼跳什么预兆| 八项规定的内容是什么| 巾失念什么| 以备不时之需什么意思| 常吃猪油有什么好处和坏处| 为什么针灸后越来越痛| 晚餐吃什么好| 白色泡沫痰是什么原因| 鸡柳是什么肉| 李白有什么之称| 百度
  • /
  • EnglishEspa?olFran?ais日本語???Português
  • Log inStart now

沈阳举行今年首次秃鹫等野生动物康复野放活动

百度   吉网吉刻APP记者栾喜良

The Event API lets you send custom event data to New Relic. These events can then be queried and charted.

Want to try out our Event API? Create a New Relic account for free! No credit card required.

Related content:

Why use the Event API?

Our Event API is one option for reporting custom data. Another option is reporting custom attributes. For an overview of why you'd use the Event API versus other options, see Custom events and attributes.

Requirements

For Event API limits and restricted attributes, see Limits.

Ensure outbound connectivity on TCP port 443 is allowed to the CIDR range that matches your region. The preferred configuration method is to use the DNS name insights-collector.newrelic.com or insights-collector.eu01.nr-data.net.

Example of submitting and querying a custom event

Here's an example of the Event API in action:

How to use the Event API

The Event API is an asynchronous endpoint. This allows you to send a very large volume of POSTS, reliably, with very low response latency.

Tip

If your organization hosts data in the EU data center, ensure you're using the proper EU region endpoints.

To send a custom event to a New Relic account:

  1. Get a for the account you want to report data to.
  2. Before creating custom events or attributes, review our list of reserved terms used by NRQL.
  3. Generate JSON for the event by instrumenting your application, querying an API, or some other method.
  4. Submit a compressed JSON payload (for example, gzip or deflate) to the HTTPS endpoint using curl in a POST request.
  5. Recommendation: Set up NRQL alert conditions to notify you when parsing errors occur.

The Event API limits the size, rate, and characters allowed in custom events. Also, like other data available in NRQL, custom events cannot be updated or deleted after they're created. If you have problems with your custom event, follow the troubleshooting procedures or create a new custom event.

Format the JSON

The Event API accepts specific formats for attributes included in the payload. Only float or string values are allowed.

Submit the custom event

Data submitted to the Event API uses a compressed JSON format in a simple HTTPS POST request. This example uses gzip, but you can also use deflate.

Important

Always use compression with every payload. This allows you to send more data, and it saves resources during parsing.

Before generating your HTTP request, make sure it is properly formatted, including:

  • The Api-Key contains the correct .
  • The Content-Type is application/json.
  • The request uses POST only. The API does not accept PUT and GET requests.

The API supports HTTP/1.1 persistent connections. This is helpful to manage client-side performance under heavy event loads.

Verify or troubleshoot request response

The Event API follows a two-step process to process requests:

  1. The Event API synchronously acknowledges or rejects the request based on validation of the headers and payload size.
  2. The Event API asynchronously parses the payload after a successful HTTP response is provided to the client. This may generate an error due to missing or malformed data. These are classified as submission errors or parsing errors.

All successful submissions receive a 200 response, regardless of any data errors that may exist within the payload. The response includes a uuid, which is a unique ID created for each request. The uuid also appears in any error events created for the request.

Other potential issues:

  • 10-second timeout: API calls exceeding 10 seconds will time out.
  • Large payloads: Payloads exceeding 100 KB may see increased response times.

Recommendation:In addition to checking for a success message, create a NRQL query of your data to verify it's available.

Query and alert with NrIntegrationError

The NrIntegrationError event allows you to query and set on custom data being sent to your New Relic account. Recommendation: To get alerts for parsing errors, create a NRQL alert condition for NrIntegrationError. Use this example NRQL query:

SELECT message FROM NrIntegrationError WHERE newRelicFeature = 'Event API' AND category = 'EventApiException'

NrIntegrationError attributes

Troubleshooting

timestamp

The timestamp when the request was received. The timestamp attribute takes a 64-bit integer Unix timestamp within the last 24 hours. You can define timestamps either in seconds or in milliseconds, both relative to the Unix epoch.

Do not use a decimal for the timestamp. If a decimal is used, the attribute will default to the timestamp when the custom event was created.

newRelicFeature

The name of the feature experiencing errors. For all custom event parsing errors, this will be Event API.

apiKeyPrefix

The first six characters of the used for the request that generated an error.

requestId

The uuid returned by the the API for the request that generated an error.

category

The category of the error. For custom events, this is EventApiException.

message

Contents of the error message.

name

The error's name. For custom events, this is always EventValidationException.

eventTypeSample

One of the event types that generated the error, when available.

Find your data

To find data sent via the Event API (and from integrations that use this API), you can query it. For example, to query a custom event using NRQL, you would run:

SELECT * FROM YOUR_CUSTOM_EVENT

For more on how to query, see Query data.

Limit on HTTP requests

The Event API has a rate limit of 100,000 HTTP requests (POSTs) per minute, per account. (Note that this is not a limit on the number of events per minute; only on the number of POSTs per minute.)

This limit helps ensure that large traffic spikes in accounts across our multi-tenant platform do not negatively affect how the service performs for you.

If your API usage exceeds 100k POSTs in a 1-minute window, we will reject subsequent API requests with a 429 response code for the remainder of the 1-minute window. At the end of the 1-minute window, the counter will be reset and allow traffic to resume.

This limit is intended to be an upper threshold that you shouldn't hit under normal scenarios. If you have a high number of 429 responses, consider using the API less. If you are expecting a higher-than-normal activity level in the near future and want to prepare for that, contact technical support.

Copyright ? 2025 New Relic Inc.

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

专科有什么专业 什么东西倒立后会增加一半 枣子什么季节成熟 巳火是什么火 血红蛋白偏低什么意思
甲磺酸倍他司汀片治什么病 棒槌是什么意思 无犯罪证明需要什么材料 狗懒子是什么意思 浅褐色是什么颜色
泥鳅吃什么 撒旦和路西法什么关系 单恋是什么意思 头痛应该挂什么科 橙子和橘子有什么区别
股癣用什么药膏 基因是什么意思 胎儿停止发育是什么原因造成的 simon什么意思 什么饮料解酒效果最好
智齿是什么样的hcv7jop5ns1r.cn 少腹是什么意思hcv8jop3ns8r.cn 中医学专业学什么hcv8jop5ns4r.cn 脖子长痘是什么原因引起的hcv9jop4ns8r.cn 扁桃体有什么作用shenchushe.com
夏天适合吃什么水果hcv7jop6ns8r.cn 宫颈短是什么意思hcv8jop8ns1r.cn 乳房有硬块是什么原因hcv8jop2ns2r.cn 西周王陵为什么找不到hcv8jop0ns0r.cn 亚裔人是什么意思hcv9jop4ns8r.cn
1953年属什么hcv8jop1ns1r.cn 自助餐是什么意思hcv8jop1ns0r.cn 老汉推车什么意思hcv9jop2ns2r.cn 脱线是什么意思hcv8jop6ns7r.cn 脑电图能检查出什么疾病hcv9jop4ns4r.cn
玻尿酸有什么作用hcv8jop1ns9r.cn 喉咙痛用什么药好得快hcv8jop9ns8r.cn 羊肉和什么菜搭配最好hcv9jop5ns0r.cn 全身痒是什么病的前兆hcv7jop6ns6r.cn au750是什么材质sscsqa.com
百度