Grafana Query Advice

I want the server memory to send me notifications when 10% of the memory is left. I collect the data with Kafka. How can I do it? Is there any example? If I can do that for memory, I can do for everything. Thanks.

systemMemoryInfo":{"virtualMemory":4421824512,"totalMemory":7140114432,"freeMemory":4484853760,"inUseMemory":2655260672,"totalSwapSpace":0,"freeSwapSpace":0,"inUseSwapSpace":0}