Technical Challenge Support Application
- Java 8
./gradlew clean build
java -jar /build/libs/gm-platform-chalenge-0.0.1-SNAPSHOT.jar
The application runs on port 8080
/actuator/info
: Exposes general application information
{
"build": {
"version": "0.0.1-SNAPSHOT",
"artifact": "gm-platform-chalenge",
"name": "gm-platform-chalenge",
"group": "com.greenmile",
"time": "2021-02-25T23:45:57.156Z"
}
}
/actuator/health
: Exposes application health
{
"status": "UP"
}
/actuator/prometheus
: Exposes application metrics in prometheus format
# HELP jvm_classes_loaded_classes The number of classes that are currently loaded in the Java virtual machine
# TYPE jvm_classes_loaded_classes gauge
jvm_classes_loaded_classes{app_version="0.0.1-SNAPSHOT",application="gm-platform-chalenge",} 8260.0
# HELP process_files_max_files The maximum file descriptor count
# TYPE process_files_max_files gauge
process_files_max_files{app_version="0.0.1-SNAPSHOT",application="gm-platform-chalenge",} 10240.0
# HELP jvm_memory_max_bytes The maximum amount of memory in bytes that can be used for memory management
# TYPE jvm_memory_max_bytes gauge
jvm_memory_max_bytes{app_version="0.0.1-SNAPSHOT",application="gm-platform-chalenge",area="heap",id="PS Survivor Space",} 1.572864E7
.
.
.