Status: In development
A simple web API for call stack logging over the web then query results based on application ID filter
go get github.com/AlexsJones/crashmat
GET /Upload
GET /Upload/{applicationId}
GET /Application
POST /Upload
{
"authorization":"Basic",
"username":"Bob",
"password":"Password",
"applicationid":"01",
"raw":"{}"
}
POST /Application
{
"authorization":"Basic",
"username":"Bob",
"password":"Password",
"applicationid":"01",
}
DELETE /Application
{
"authorization":"Basic",
"username":"Bob",
"password":"Password",
"applicationid":"01"
}
Either populate values in the conf/app.json
and/or add secret information toenvironmental variables e.g.
export CRASHMAT_CLIENTSECRET="23092402950259secrety"
export CRASHMAT_CLIENTID="12345"
export CRASHMAT_ELASTICHOSTADDRESS="localhost:9200"
export PORT="8080"
export CRASHMAT_POSTGRESCONNECTION="host=localhost port=5432 user=bob password=bob"
export CRASHMAT_UPDATEFREQ=9000