舌头有红点是什么原因| NT是什么钱| 慢性胃炎吃什么食物好| 盐酸利多卡因是什么药| 三个又是什么字| 来例假肚子疼吃什么药| 圣诞节吃什么| 乙肝45阳性什么意思| 解落三秋叶的解是什么意思| 孕妇梦见鬼是什么预兆| 看颈椎病挂什么科| 10月17日什么星座| 骨是什么结构| 冰箱底部漏水是什么原因| 肌酐高说明什么| 一月四号是什么星座| 骨刺挂什么科| 台湾为什么叫4v| 紫米和黑米有什么区别| 什么的教室填空| 娘娘命是什么样的命| 女生安全期是什么意思| 浮躁的意思是什么| 睡觉老是流口水是什么原因| 狗狗中毒了用什么办法可以解毒| who医学上是什么意思| fe是什么元素| 植物功能紊乱吃什么药| 94狗跟什么属相配最好| 什么叫补充公积金| 惊涛骇浪是什么意思| 海参什么时间吃最好| 闻思修是什么意思| 副旅长是什么军衔| 什么是风寒感冒| 十一点是什么时辰| 毕业花束选什么花| 甲状腺结节什么引起的| 2018 年是什么年| 钙化斑是什么意思| 咳嗽有痰吃什么药好得最快最有效| 喉咙疼吃什么水果好| 肉苁蓉是什么| 尿不尽是什么原因| 卒中患者什么意思| 四月是什么生肖| 螃蟹为什么吐泡泡| 胡萝卜不能和什么食物一起吃| 告别是什么意思| 胃反流吃什么药好| esr是什么| 室间隔增厚是什么意思| 月子吃什么补气血| 头上汗多是什么原因| 齿加禹念什么| 改姓需要什么手续| 经常喝饮料有什么危害| 什么时候建档| 黄疸高是什么原因引起的| 体寒的女人吃什么能调理好身体| a1代表什么意思| 11月18是什么星座| 什么是公历年份| 睡眠不好吃什么药最有效| 鲤鱼为什么很少人吃| 确认妊娠是什么意思啊| 去新加坡买什么| 雍正叫什么名字| 白化病有什么危害吗| 中国最大的湖泊是什么湖| 拔完智齿后需要注意什么| 前列腺用什么药| 糗事是什么意思| 甲状腺饱满是什么意思| 血管瘤是什么样子的| 女人梦到被蛇咬是什么意思| 龙骨是什么东西| 儿童铅超标有什么症状| 不变应万变是什么意思| 白虎关是什么意思| 手术后吃什么恢复快| 叶公好龙是什么生肖| 久坐脚肿是什么原因| 什么得当| 什么叫淋巴结| 乐五行属什么| 经常口臭的人是什么原因引起的| 临床医生是什么意思| 孤单的我还是没有改变是什么歌| 什么心什么心| 入睡困难吃什么药| 胆碱能性荨麻疹吃什么药| 淋漓不尽是什么意思| 吴亦凡什么星座| 涉水是什么意思| 社恐到底在害怕什么| 喝什么水对身体好| polo衫是什么| 心花怒放是什么生肖| 氧分压高是什么原因| 外阴灼热用什么药| 宫腔内偏强回声是什么意思| opple是什么牌子| 老是叹气是什么原因| 铜锣湾有什么好玩的| 喉咙痛有黄痰吃什么药| 2021是什么年| bmi指数是什么意思| 有里面没有两横是什么字| 手淫过多会导致什么| 大修基金什么时候缴纳| 肩膀疼去医院挂什么科| 波折是什么意思| 攫住是什么意思| 会阴是什么部位| 高尿酸血症是什么意思| 窦性心律电轴右偏什么意思| 气得什么| 05年属鸡的是什么命| 28岁今年属什么| 泡面吃多了有什么危害| 慢性胃炎要吃什么药| 6月18什么星座| 天津是什么省| chloe是什么牌子| 幽灵是什么意思| 什么不惧| 花代表什么数字| 属猪的幸运颜色是什么| 瘫痪是什么意思| 皮肚是什么| 性交是什么| 春回大地是指什么生肖| 紧急避孕药什么时候吃最有效| 梦见媳妇出轨什么预兆| 人缺钾有什么症状| 葡萄什么时候传入中国| 小囡是什么意思| vampire是什么意思| 北京大学校长什么级别| 毛戈平属于什么档次| 月柱华盖是什么意思| 埋线有什么好处和坏处| 男生生日送什么礼物好| 桃花眼的女人什么命| 肤如凝脂是什么意思| 静静地什么| 为什么一直下雨| 什么饮料解酒| 儿童铅超标有什么症状| 7月23是什么星座| 海带有什么营养| 觊觎是什么意思| 什么食物补血效果最好最快| 取环是什么意思| copd什么意思| 失信名单有什么影响| 伊朗是什么教派| 五级职员是什么级别| 厘米为什么叫公分| 中宫是什么意思| 人体最大器官是什么| 地龙是什么动物| 射精太快吃什么好| 绷不住了是什么意思| 口腔溃疡白色的是什么| 为什么前壁容易生男孩| 心肌梗塞是什么症状| 六月十七是什么星座| 油皮适合用什么护肤品| 白细胞低是什么意思| 消化不良吃什么药| 水晶眼镜对眼睛有什么好处| 高血压是什么引起的| 湿疹为什么要查肝功能| 壬申日是什么意思| 验孕棒什么时候测最准确| 月经来的少是什么原因| 中性粒细胞绝对值高是什么原因| 黄芪长什么样子| 为什么睡觉流口水很臭| 安宫牛黄丸什么时候吃| 诊刮是什么手术| 写字楼是干什么的| 四叶草寓意是什么| 男人壮阳吃什么最快| 政协是干什么的| 飞机杯长什么样| 孩子爱流鼻血是什么原因| 收到是什么意思| 乳腺结节低回声是什么意思| 异卵双胞胎是什么意思| 打激素有什么副作用| 12月14号是什么星座| 为什么血压高| 腰间盘膨出是什么意思| 避孕套有什么危害| 血栓的症状是什么| 眼干眼涩眼疲劳用什么眼药水| 什么是医学检验技术| vivo是什么牌子| 真菌阴性是什么意思| 怀孕初期吃什么菜| 今年的属相是什么生肖| 口腔长期溃疡是什么原因引起的| 阴囊湿疹用什么药膏效果最好| 狗能吃什么水果| 荔枝与什么不能同吃| 强心剂是什么意思| 凝血四项是查什么的| 历年是什么意思| 臻字五行属什么| 怀女儿有什么症状| 一天老是放屁是什么原因| 非典是什么| 早晨口苦是什么原因| 神疲乏力吃什么中成药| 姓姜的男孩起什么名字好| 每天早上喝一杯蜂蜜水有什么好处| 热脸贴冷屁股是什么意思| 午马是什么意思| 7号来的月经什么时候是排卵期| 弱碱水是什么水| 射手座和什么座最配对| 泥丸宫在什么位置| 血红蛋白浓度偏高是什么原因| 减胎对另一个胎儿有什么影响| 布偶猫长什么样| 监视居住是什么意思| 隐翅虫长什么样子| 吃什么增加卵泡| 异次元是什么意思| 银耳有什么作用| 尿酸高是什么意思| 头响脑鸣是什么原因引起的| 脊膜瘤是什么样的病| 梦见买手表是什么预兆| 透析是什么| 韧带拉伤有什么症状| 女人生气容易得什么病| 肠胃功能紊乱吃什么药| 千里走单骑是什么意思| 罡是什么意思| 老妈子是什么意思| 出汗太多会对身体造成什么伤害| 心衰竭吃什么药效果好| 人又不人鬼不鬼是什么生肖| 吃什么可以降低血糖| 慌张的近义词是什么| 为什么说冬吃萝卜夏吃姜| meta分析是什么| 什么是像素| 新疆有什么特产| 湉字五行属什么| 为什么吃火龙果会拉肚子| 牙龈出血用什么牙膏| 什么时候收花生| 边缘性人格障碍是什么| 早上起来嘴苦口臭是什么原因| 积聚病什么意思| 16开是什么意思| 谁发明了什么| 三尖瓣反流是什么意思| 心慌出虚汗是什么原因| 百度
  • /
  • EnglishEspa?olFran?ais日本語???Português
  • Log inStart now

转型升级 促高质量发展(在习近平新时代中国特色社会主义思想指引下·代表委员畅谈抓落实)

百度 教学形式除了课堂教学、专题报告,还有现场教学、小组研讨等,课程设置丰富,理论联系实际,生动鲜活。

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.

落枕挂什么科 什么叫肠化 树菠萝什么时候成熟 1.9号是什么星座 体脂率是什么意思
梦到打死蛇是什么意思 夕颜是什么意思 胃恶心想吐吃什么药 青青子衿什么意思 棉花是什么时候传入中国的
秀禾服是什么意思 11月18是什么星座 819是什么意思 炖肉放什么调料 目赤什么意思
吃维生素b2有什么好处 二月十三是什么星座 声音沙哑是什么原因 钠低吃什么 励志是什么意思
喜金是什么意思hcv7jop6ns9r.cn 柯基为什么要断尾巴hcv9jop0ns3r.cn 吹气检查胃是检查什么hcv7jop9ns9r.cn 胃酸过多是什么原因造成的huizhijixie.com 纳甲是什么意思hcv8jop8ns5r.cn
天蝎座是什么象hcv8jop7ns7r.cn 985学校是什么意思hcv9jop6ns7r.cn 什么图强hcv8jop1ns0r.cn 鸡翅木是什么木头hcv9jop3ns5r.cn 鸳鸯浴是什么意思hcv8jop1ns0r.cn
道歉送什么花hcv8jop3ns1r.cn 附件炎吃什么药最好hcv8jop0ns2r.cn 肛周水泡是什么病hcv8jop2ns8r.cn 摄政王是什么意思hcv8jop8ns6r.cn 身痒是什么原因引起的naasee.com
泥鳅吃什么饲料hcv7jop9ns4r.cn 苏东坡属什么生肖hcv9jop2ns7r.cn 异地办理护照需要什么材料jinxinzhichuang.com dsa是什么意思hcv8jop1ns6r.cn 毕业证有什么用hcv9jop0ns5r.cn
百度