add generic event
Add count, gauge and set method