GoStruct = "Shell"
Path = "/uptime"
Interval = "3s"

[GoStructFields]
# When using a scripting language,
# the script can access master's metadata API via HTTP. Examples:
# Given key is foo/bar,
#   POST   http://localhost:55655/api/metadata/foo/bar
#   GET    http://localhost:55655/api/metadata/foo/bar
#   DELETE http://localhost:55655/api/metadata/foo/bar
Command = "uptime"
Conditions = "/r/load-avg.LoadAvg1m > 2"

GoStruct = "Shell"
Path = "/uptime"
Interval = "3s"

[GoStructFields]
# When using a scripting language,
# the script can access master's metadata API via HTTP. Examples:
# Given key is foo/bar,
#   POST   http://localhost:55655/api/metadata/foo/bar
#   GET    http://localhost:55655/api/metadata/foo/bar
#   DELETE http://localhost:55655/api/metadata/foo/bar
Command = "uptime"

# Example on how to read the following condition:
# 1. /r/load-avg is the JSON endpoint.
# 2. Dot (.) notation is used to drill deeper into the JSON nested structures.
# 3. You can use && or || for multiple conditions.
Conditions = "/r/load-avg.LoadAvg1m > 2"

Update docs on how to read/write conditions.
Update docs on how to read/write conditions.