风寒感冒吃什么药| 什么时候秋天| 黯淡是什么意思| 8月5日什么星座| 什么的杏花| 灏是什么意思| 身体容易青紫是什么原因| 过敏性鼻炎吃什么药| 拿到offer是什么意思| 一月十八号是什么星座| 吃鱼眼睛有什么好处| 女人多吃什么补黄体酮| 耳后有痣代表什么| 偶是什么意思| 水满则溢月盈则亏是什么意思| 1994年是什么年| 体外是什么意思| 深圳市长是什么级别| 什么的交流| 蚊子会传播什么疾病| 哈密瓜为什么叫哈密瓜| 人为什么会过敏| 女人腰疼是什么原因引起的| 梦见包丢了是什么意思| 禁欲有什么好处| 做梦梦到鸡是什么意思| 2017什么年| 白癜风是什么| 异麦芽酮糖醇是什么| 舌头白腻厚苔是什么原因| 美帝是什么意思| 还债是什么意思| 不能吃辛辣是指什么| 元旦唱什么歌| 弱视和近视有什么区别| 人体缺硒会有什么症状| 教师节属什么生肖| 1959年属什么生肖| 丙氨酸氨基转移酶高吃什么药| 甲氨蝶呤是什么药| chip什么意思| 吃什么减肥最快| 昆明有什么好玩的| 聪明如你什么意思| 人为什么要生孩子| 脚出汗多是什么原因怎么办| 魅惑是什么意思| 湿邪是什么意思| 生活质量是什么意思| 血清碱性磷酸酶高是什么意思| 敢爱敢恨是什么意思| 青蛇是什么蛇| 牙龈翻瓣术是什么意思| 毫无违和感是什么意思| 六月十二号是什么星座| 手上长毛是什么原因| 素质教育是什么| 怀疑心梗做什么检查| 梦见古墓是什么意思| 左肾小囊肿是什么意思| 为什么结婚| igg抗体阳性是什么意思| 广东省省长是什么级别| 阴阳八卦是什么生肖| 晚餐吃什么| 东方美人茶属于什么茶| 什么笔不能写字| 什么样的山峰| 盗汗是什么意思| 女人喝劲酒有什么好处| 高定是什么意思| 牛奶有什么营养| 会车什么意思| 胆汁反流吃什么药最好| 马云父母是做什么的| 婴儿喝什么奶粉| 产妇刚生完孩子适合吃什么| 孔子是什么时期的人| 半身不遂的前兆是什么症状| 天秤座什么象| 无创是检查什么| 银子发黑是什么原因| 喉咙发炎挂什么科| 人参是什么参| 风的孩子叫什么| 胆囊壁增厚是什么意思| 剪不断理还乱是什么意思| 什么是流水| 三月有什么节日| 勃起困难吃什么药| 什么时候喝咖啡最好| 莆田医院是什么意思| 接下来有什么节日| 早泄是什么| 智商高的人有什么特征| 城镇户口是什么意思| 感觉抑郁了去医院挂什么科| 什么是天丝面料| 吃什么可以降血糖| 维生素b族什么时候吃| 小孩感冒吃什么饭菜比较好| 直径是什么意思| 甲状腺结节是什么症状| 现在有什么好的创业项目| 遗传物质的载体是什么| 护理专业是干什么的| 标准员是干什么的| 肌酐是什么指标| 落地生根是什么生肖| 谈什么色变| 朝鲜面是什么原料做的| 尿素氮肌酐比值偏高是什么原因| waist是什么意思| 美人鱼是什么动物| 属猪的是什么命| 血小板体积偏低是什么原因| 腰酸背痛挂什么科| 1999年属什么| 蛇缠腰是什么病| 北京为什么这么热| 什么不绝| 便溏吃什么药| 脑供血不足吃什么药效果好| 什么是黄疸| 为什么犹太人聪明| 十月30号是什么星座| 颈椎生理曲度变直是什么意思| 真丝丝绒是什么面料| 吃什么能降甘油三酯| 天上的星星为什么会发光| 拮抗是什么意思| 公鸡的尾巴有什么作用| 属鼠的和什么属相不合| 舌头痛吃什么药好得快| 双引号是什么意思| 96年属于什么生肖| 什么的身体| 卜姓氏读什么| 荼靡是什么意思| 噗噗是什么意思| 天空又什么又什么| 二月二十二日是什么星座| 眼睛像什么| 掉头发去医院挂什么科| 减肥期间可以喝什么饮料| 西洋参什么时候吃效果最好| 什么叫高危性行为| ug是什么意思| 七月是什么季节| 叒字什么意思| 塔罗是什么| 悲伤是什么意思| 膝盖后面的窝叫什么| 憩息是什么意思| 禅师是什么意思| 四月初一是什么星座| 英姿飒爽是什么意思| 二十岁是什么之年| 眼眶发青是什么原因| 琪五行属性是什么| 什么白云| 生日送什么礼物最好| 你什么意思| 女性尿酸高有什么症状表现| 打喷嚏头疼是什么原因| 生殖疱疹用什么药效果好| 吹空调咳嗽是什么原因| 喝蜂蜜水有什么好处和坏处| 风湿关节炎用什么药| 小孩拉肚子吃什么药| 明胶是什么东西| 皮肤过敏用什么药最好| 莫言是什么学历| 羞明畏光是什么意思| ecco什么牌子| 抛砖引玉是什么生肖| 活字印刷术是什么时候发明的| 蛞蝓是什么| offer是什么意思| 猫砂是什么材料做的| 群什么吐什么| 焦虑吃什么药好| 嘴角生疮是什么原因| 色达在四川什么地方| 骨髓瘤是什么原因引起的| 早射吃什么药可以调理| 晚年是什么意思| 什么是保健品| 梦见蛇是什么意思啊| 什么样的电动牙刷好| 女人白带多什么原因| 频繁做梦是什么原因| 小肚子大是什么原因| 什么大河| 什么什么似火| 什么的垂下| 八卦脸什么意思| 霉菌性阴道炎用什么药最好| 大暑是什么时间| 肝火胃火旺吃什么药| 淡墨是什么意思| 贵州有什么美食| 下面长痘痘是什么原因| 华国锋为什么辞职| 为什么耳朵后面会臭| waist是什么意思| 单核细胞百分比偏高说明什么| 静脉注射是什么意思| 夏天吃什么菜最好| no.是什么意思| 长生香是什么意思| 看什么看| 牵牛花什么时候开| 梦到开车是什么意思| 梦见小女孩是什么预兆| 为什么健身后体重反而重了| 什么是假声| 周文王叫什么| 妇科检查bv阳性是什么意思| 一个草字头一个氏念什么| 什么飞船| 集体户口和个人户口有什么区别| 勃起不坚硬吃什么药| 1978属什么| ch发什么音| jb是什么意思| 今年23岁属什么生肖| 侍中是什么官| 喵喵喵是什么意思| 备孕喝豆浆有什么好处| 1938年属什么生肖| 韭黄炒什么好吃| 呀啦嗦是什么意思| 泪点低什么意思| 父亲送什么礼物| 皮质醇低是什么原因| 竹肠是什么部位| 经常射精有什么伤害| 肝区回声密集是什么意思| 除湿气吃什么| 对宫星座是什么意思| 茅台为什么这么贵| 美国为什么帮以色列| 脚上有青筋是什么原因| 吃什么可以淡斑| 损友是什么意思| 什么症状吃肝胃气痛片| 致密是什么意思| 甲状腺吃什么盐| 吃海参有什么功效| 干白是什么酒| 梦见发面是什么意思| 有所作为的意思是什么| 竹外桃花三两枝的下一句是什么| 农历7月是什么星座| 拿什么证明分居两年| national是什么牌子| 骨髓水肿吃什么消炎药| 单纯疱疹病毒是什么病| 毛豆吃多了有什么坏处| 贡米是什么米| 阅后即焚什么意思| 十二指肠球部溃疡吃什么药| 生脉饮适合什么人喝| 百度
  • /
  • EnglishEspa?olFran?ais日本語???Português
  • Log inStart now

“海龙Ⅲ”潜水器完成首次深水试验 潜水1690米

百度 毛泽东的讲话既指出了过去精简工作的不足,也对今后的精简工作提出了期望,极大地提高了广大党员干部对精兵简政工作的意义、目的和要求的认识。

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.

偏头痛吃什么药最好 蒲公英吃了有什么好处 布谷鸟叫有什么征兆 正军级是什么级别 面碱是什么
什么是五常大米 党内警告处分有什么影响 asp是什么氨基酸 三宫六院是什么意思 三句半是什么意思
积劳成疾的疾什么意思 青色是什么颜色 11.22是什么星座 金瓜和南瓜有什么区别 吃什么东西可以补血
为什么子宫会隐隐作痛 夏至未至什么意思 手掌纹路多且杂乱是为什么 奶思是什么意思 什么叫全科医生
wc的完整形式是什么aiwuzhiyu.com 慢性胃炎和浅表性胃炎有什么区别hcv9jop5ns7r.cn 梦见涨水是什么兆头hcv7jop7ns1r.cn 车辆购置税什么时候交hcv9jop6ns7r.cn 今天吃什么菜hlguo.com
505是什么意思hcv8jop9ns9r.cn 抄送和密送是什么意思hcv8jop2ns3r.cn 牙齿松动了有什么办法能固齿吗hcv8jop3ns2r.cn 冰晶是什么hcv7jop6ns0r.cn 枸杞对女人有什么好处hcv8jop6ns0r.cn
亚麻籽有什么功效hcv7jop7ns0r.cn 三岁看大七岁看老什么意思bysq.com 尿血是什么病hcv9jop4ns0r.cn 什么的蜡烛hcv9jop0ns9r.cn 睡眠好的人说明什么ff14chat.com
量贩式ktv是什么意思hcv8jop6ns2r.cn 什么泡酒让性功能最强hcv8jop1ns7r.cn 女人喜欢什么类型男人hcv9jop1ns4r.cn 外耳道湿疹用什么药hcv9jop5ns1r.cn 算命先生是什么生肖huizhijixie.com
百度