Basic phoenix logging sink working
Cleaner, enum based metrics and upsert declaration