
delete prom from /test/bucketpromdb where id='bucketpromdb:wecisen1'
;

insert into /test/bucketpromdb (id, prom) values (?,?)
/**
set(ct,"2025-01-01 00:00:00")
beforerun(
    add(ct,30,second)
)
loop(28800)
parallel(1000)
params("bucketpromdb:wecisen1", [{"name": "test1", "value": 1, "timestamp": "{%2006-01-02 15:04:05,ct}", "tags":"testing"}])
**/
;

insert into /test/bucketpromdb (id, prom) values (?,?)
/**
set(ct,now)
beforerun(
    add(ct,-5,minute)
)
loop(2880)
parallel(1000)
params("bucketpromdb:wecisen1", [{"name": "test1", "value": 1, "timestamp": "{%2006-01-02 15:04:05,ct}", "tags":"testing"}])
**/
;

/**
sleep(5s)
**/
;
