Sample code for 30+ languages & platforms
Lua

Azure Monitor Examples for Lua