
create class if not exists /test ()
;
	
create class if not exists /test/bucketpromdb (
    
    host varchar,
		
    prom  bucket {
        "type"  :  "promdb",
        "ttl"   :   2,
        "dict"	 :	true,
        "version":	1,
        "slot"	 :  5  
    } 'full',

    keys(host),
    indexes(host)

) with key=manu, nickname='bucketpromdb'
/**
-- PROMDB_SLOT = 5
**/
;

delete from /test/bucketpromdb
;

insert into /test/bucketpromdb (id) values ('bucketpromdb:wecise')
;

insert into /test/bucketpromdb (id) values ('bucketpromdb:wecise09999')
/**
loop(1000)
**/
;
