...
|
...
|
@@ -26,7 +26,7 @@ public class MonitorAlarmMapperImpl extends InfluxDBQuery implements MonitorAlar |
|
|
* @param alarmInfo
|
|
|
*/
|
|
|
@Override
|
|
|
public void insertAlarmMsg(String influxDBName, String alarmType, String snsContent, String alarmInfo, String sendStatus,String result) {
|
|
|
public void insertAlarmMsg(String influxDBName, String alarmType, String snsContent, String alarmInfo, String sendStatus,String result,String mobile) {
|
|
|
BatchPoints batchPoints = BatchPoints
|
|
|
.database(InfluxDBContants.YOMO_MONITOR).tag("event", "alarm").retentionPolicy("default")
|
|
|
.build();
|
...
|
...
|
@@ -35,6 +35,7 @@ public class MonitorAlarmMapperImpl extends InfluxDBQuery implements MonitorAlar |
|
|
.tag("send_status", sendStatus)
|
|
|
.addField("sms_content", snsContent)
|
|
|
.addField("result", result)
|
|
|
.addField("mobile", mobile)
|
|
|
.addField("alarm_info", alarmInfo).build();
|
|
|
batchPoints.point(point);
|
|
|
inluxDBSingle.getInfluxDBByName(influxDBName).getInfluxDB()
|
...
|
...
|
|