- Notifications
You must be signed in to change notification settings - Fork928
Closed
Description
Currently, they are sorted alphanumerically.
So to get a desired order, one can name thekey
filed as,
metadata {display_name="CPU Usage"key="0_cpu_usage"script="coder stat cpu"interval=10timeout=1 }metadata {display_name="RAM Usage"key="1_ram_usage"script="coder stat mem"interval=10timeout=1 }...
This will then follow the order. With theorder
field available, we can do so with
metadata {display_name="CPU Usage"key="cpu_usage"order=1script="coder stat cpu"interval=10timeout=1 }metadata {display_name="RAM Usage"key="ram_usage"order=2script="coder stat mem"interval=10timeout=1 }...
Metadata
Metadata
Assignees
Labels
No labels