需求:
在k8s平台中的pod,内网监控并将数据发送到newrelic做alert。
实现:
1. 参考https://docs.newrelic.com/docs/insights/insights-data-sources/custom-data/send-custom-data-insights#transaction-defaults
https://docs.newrelic.com/docs/insights/insights-data-sources/custom-data/send-custom-events-event-api
选择使用event-api将pod内获取到的数据发送到newrelic
2. 在newrelic里新建alert
点击”Alerts“ 打开alert界面-> 选择”A