The goal is to implement on-demand option of enable/disable Go profiling to application insights in the aah application.
Configuration:
runtime {
diagnosis {
enable = true
mode = "http"
http {
#address = ":6060"
timeout {
# Supported time units, refer to https://golang.org/pkg/time/#ParseDuration
# Default value is `2m`.
#write = "2m"
}
}
}
}