| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- insert into /test/promdb_string (id, prom_str) values ('promdb_string:wecise',
- [{ '__name__':'key1', '__value__':'这是string测试 hello world', '__timestamp__':'2024-07-27 11:24:17', 'disk':'/opt/matrix1', 'CPU':'CPU1'},
- { '__name__':'key2', '__value__':'这是string测试 queries: info: client 192.168.174.115#43747', '__timestamp__':'2024-07-27 11:25:18', 'disk':'/opt/matrix2', 'CPU':'CPU2'},
- { '__name__':'key5', '__value__':'这是string测试 queries: info: client 192.168.174.115#36176 (rx.thegov.win): query: rx.thegov.win IN A + (192.168.174.124)', '__timestamp__':'2024-07-27 11:25:19', 'disk':'/opt/matrix3', 'CPU':'CPU5'},
- { '__name__':'key48', '__value__':'这是string测试', '__timestamp__':'2024-07-27 11:26:19', 'disk':'/opt/matrix4', 'CPU':'CPU48'},
- { '__name__':'key1', '__value__':'这是string测试 error', '__timestamp__':'2024-07-28 11:24:17', 'disk':'/opt/matrix5', 'CPU':'CPU1'},
- { '__name__':'key2', '__value__':'这是string测试 error', '__timestamp__':'2024-07-28 11:25:18', 'disk':'/opt/matrix6', 'CPU':'CPU2'},
- { '__name__':'key5', '__value__':'这是string测试 host tiger', '__timestamp__':'2024-07-28 11:25:19', 'disk':'/opt/matrix7', 'CPU':'CPU5'},
- { '__name__':'key48', '__value__':'这是string测试 homeway', '__timestamp__':'2024-07-28 11:26:19', 'disk':'/opt/matrix8', 'CPU':'CPU48'},
- { '__name__':'key1', '__value__':'这是string测试 error', '__timestamp__':'2024-07-29 11:24:17', 'disk':'/opt/matrix9', 'CPU':'CPU1'},
- { '__name__':'key2', '__value__':'这是string测试', '__timestamp__':'2024-07-29 11:25:18', 'disk':'/opt/matrix10', 'CPU':'CPU2'},
- { '__name__':'key5', '__value__':'这是string测试', '__timestamp__':'2024-07-29 11:25:19', 'disk':'/opt/matrix11', 'CPU':'CPU5'},
- { '__name__':'key48', '__value__':'这是string测试 resolver: debug 1: createfetch: deb.thegov.win A', '__timestamp__':'2024-07-29 11:26:19', 'disk':'/opt/matrix12', 'CPU':'CPU48'},
- { '__name__':'key1', '__value__':"这是string测试 error (network unreachable) resolving './NS/IN': 2001:500:84::b#53", '__timestamp__':'2024-07-30 11:24:17', 'disk':'/opt/matrix12', 'CPU':'CPU1'},
- { '__name__':'key2', '__value__':'这是string测试', '__timestamp__':'2024-07-30 11:25:18', 'disk':'/opt/matrix13', 'CPU':'CPU2'},
- { '__name__':'key5', '__value__':'这是string测试', '__timestamp__':'2024-07-30 11:25:19', 'disk':'/opt/matrix13', 'CPU':'CPU5'},
- { '__name__':'key48', '__value__':'这是string测试', '__timestamp__':'2024-07-30 11:26:19', 'disk':'/opt/matrix13', 'CPU':'CPU48'}] )
- ;
- insert into /test/promdb_string (id, prom_str) values ('promdb_string:wecise',
- [{ '__name__':'key1', '__value__':'这是string测试 queries: info: client 192.168.174.115#43747', '__timestamp__':1627702037000.123451111, 'disk':'/opt/matrix1', 'CPU':'CPU1'},
- { '__name__':'key2', '__value__':'这是string测试', '__timestamp__':1627702098000.23333, 'disk':'/opt/matrix2', 'CPU':'CPU2'},
- { '__name__':'key5', '__value__':'这是string测试 resolver: debug 1: createfetch: deb.thegov.win A', '__timestamp__':1627702099000.234561111, 'disk':'/opt/matrix3', 'CPU':'CPU5'},
- { '__name__':'key48', '__value__':'这是string测试 queries: info: client 192.168.174.115#36176 (rx.thegov.win): query: rx.thegov.win IN A + (192.168.174.124)', '__timestamp__':1627702159000.756781111, 'disk':'/opt/matrix4', 'CPU':'CPU48'},
- { '__name__':'key1', '__value__':'这是string测试', '__timestamp__':1627701977000.34567111, 'disk':'/opt/matrix1', 'CPU':'CPU1'},
- { '__name__':'key2', '__value__':"这是string测试 error (network unreachable) resolving './NS/IN': 2001:500:84::b#53", '__timestamp__':1627702038000.678911111, 'disk':'/opt/matrix2', 'CPU':'CPU2'},
- { '__name__':'key5', '__value__':'这是string测试', '__timestamp__':1690774039000.2134511111, 'disk':'/opt/matrix3', 'CPU':'CPU5'},
- { '__name__':'key48', '__value__':'这是string测试', '__timestamp__':1627702099000.345671111, 'disk':'/opt/matrix4', 'CPU':'CPU48'},
- { '__name__':'key1', '__value__':'这是string测试', '__timestamp__':1627701917000.345561111, 'disk':'/opt/matrix1', 'CPU':'CPU1'},
- { '__name__':'key2', '__value__':'这是string测试', '__timestamp__':1627701978000.2341111, 'disk':'/opt/matrix2', 'CPU':'CPU2'},
- { '__name__':'key5', '__value__':'这是string测试', '__timestamp__':1627701979000.2341111, 'disk':'/opt/matrix3', 'CPU':'CPU5'},
- { '__name__':'key48', '__value__':'这是string测试', '__timestamp__':1627702039000.111111, 'disk':'/opt/matrix4', 'CPU':'CPU48'},
- { '__name__':'key1', '__value__':'这是string测试', '__timestamp__':1627701857000.234231111, 'disk':'/opt/matrix1', 'CPU':'CPU1'},
- { '__name__':'key2', '__value__':'这是string测试', '__timestamp__':1627701918000.78111111, 'disk':'/opt/matrix2', 'CPU':'CPU2'},
- { '__name__':'key5', '__value__':'这是string测试', '__timestamp__':1627701919000.63111111, 'disk':'/opt/matrix3', 'CPU':'CPU5'},
- { '__name__':'key48', '__value__':'这是string测试', '__timestamp__':1627701979000.123111111, 'disk':'/opt/matrix4', 'CPU':'CPU48'} ] )
- ;
- insert into /test/promdb_string (id, prom_str) values (?, ?)
- /**
- set(ct,now)
- params("promdb_string:wecise", [
- {"name": "pkey1", "value": 2, "timestamp": "{%t,ct}"},
- {"name": "pkey2", "value": 1.8, "timestamp": "{%t,ct}"},
- {"name": "pkey3", "value": 2.9, "timestamp": "{%t,ct}"},
- {"name": "pkeys1", "value": "sss", "timestamp": "{%t,ct}"},
- {"name": "pkeys2", "value": "这是中文长字符串sssss", "timestamp": "{%t,ct}"},
- {"name": "pkey48", "value": 2.9, "timestamp": "{%t,ct}"}])
- **/;
- insert into /test/promdb_string2 (id, prom_str2) values ('promdb_string2:wecise',
- [{ '__name__':'key1', '__value__':'这是string测试 hello world', '__timestamp__':'2024-07-27 11:24:17', 'disk':'/opt/matrix1', 'CPU':'CPU1'}])
- ;
- insert into /test/promdb_string2 (id, prom_str2) values ('promdb_string2:wecise',
- [{ '__name__':'key1', '__value__':'这是string测试 hello world', '__timestamp__':'2024-07-27 11:24:17', 'disk':'/opt/matrix1', 'CPU':'CPU1'},
- { '__name__':'key2', '__value__':'这是string测试 queries: info: client 192.168.174.115#43747', '__timestamp__':'2024-07-27 11:25:18', 'disk':'/opt/matrix2', 'CPU':'CPU2'},
- { '__name__':'key5', '__value__':'这是string测试 queries: info: client 192.168.174.115#36176 (rx.thegov.win): query: rx.thegov.win IN A + (192.168.174.124)', '__timestamp__':'2024-07-27 11:25:19', 'disk':'/opt/matrix3', 'CPU':'CPU5'},
- { '__name__':'key48', '__value__':'这是string测试', '__timestamp__':'2024-07-27 11:26:19', 'disk':'/opt/matrix4', 'CPU':'CPU48'},
- { '__name__':'key1', '__value__':'这是string测试 error', '__timestamp__':'2024-07-28 11:24:17', 'disk':'/opt/matrix5', 'CPU':'CPU1'},
- { '__name__':'key2', '__value__':'这是string测试 error', '__timestamp__':'2024-07-28 11:25:18', 'disk':'/opt/matrix6', 'CPU':'CPU2'},
- { '__name__':'key5', '__value__':'这是string测试 host tiger', '__timestamp__':'2024-07-28 11:25:19', 'disk':'/opt/matrix7', 'CPU':'CPU5'},
- { '__name__':'key48', '__value__':'这是string测试 homeway', '__timestamp__':'2024-07-28 11:26:19', 'disk':'/opt/matrix8', 'CPU':'CPU48'},
- { '__name__':'key1', '__value__':'这是string测试 error', '__timestamp__':'2024-07-29 11:24:17', 'disk':'/opt/matrix9', 'CPU':'CPU1'},
- { '__name__':'key2', '__value__':'这是string测试', '__timestamp__':'2024-07-29 11:25:18', 'disk':'/opt/matrix10', 'CPU':'CPU2'},
- { '__name__':'key5', '__value__':'这是string测试', '__timestamp__':'2024-07-29 11:25:19', 'disk':'/opt/matrix11', 'CPU':'CPU5'},
- { '__name__':'key48', '__value__':'这是string测试 resolver: debug 1: createfetch: deb.thegov.win A', '__timestamp__':'2024-07-29 11:26:19', 'disk':'/opt/matrix12', 'CPU':'CPU48'},
- { '__name__':'key1', '__value__':"这是string测试 error (network unreachable) resolving './NS/IN': 2001:500:84::b#53", '__timestamp__':'2024-07-30 11:24:17', 'disk':'/opt/matrix12', 'CPU':'CPU1'},
- { '__name__':'key2', '__value__':'这是string测试', '__timestamp__':'2024-07-30 11:25:18', 'disk':'/opt/matrix13', 'CPU':'CPU2'},
- { '__name__':'key5', '__value__':'这是string测试', '__timestamp__':'2024-07-30 11:25:19', 'disk':'/opt/matrix13', 'CPU':'CPU5'},
- { '__name__':'key48', '__value__':'这是string测试', '__timestamp__':'2024-07-30 11:26:19', 'disk':'/opt/matrix13', 'CPU':'CPU48'}])
- ;
- /**
- sleep(1s)
- **/
- ;
|