Skip to content

Instantly share code, notes, and snippets.

@garethahealy
Created August 26, 2016 16:32
Show Gist options
  • Save garethahealy/e4af23d8c091efcae0729e15d9e2db8a to your computer and use it in GitHub Desktop.
Save garethahealy/e4af23d8c091efcae0729e15d9e2db8a to your computer and use it in GitHub Desktop.
hawkular cast log request / response
26:42 UTC 2016}]
2016-08-26 17:26:42,144 [main ] DEBUG RestRequestFilter - >> HTTP: POST
2016-08-26 17:26:42,144 [main ] DEBUG RestRequestFilter - >> URI: http://192.168.99.100:8082/hawkular/metrics/strings/4jkkjz8d/raw
2016-08-26 17:26:42,144 [main ] DEBUG RestRequestFilter - >> Headers: {Accept=[application/json], Accept-Encoding=[gzip, deflate], Content-Type=[application/json], Hawkular-Tenant=[unit-testing]}
2016-08-26 17:26:42,146 [main ] DEBUG RestRequestFilter - >> Data: [ {
"timestamp" : 1472214402141,
"value" : "2cpxyqim",
"tags" : {
"pod_namespace" : "pg25zhns",
"container_name" : "xrbkrktk"
}
} ]
2016-08-26 17:26:42,148 [main ] DEBUG RequestAddCookies - CookieSpec selected: default
2016-08-26 17:26:42,149 [main ] DEBUG ingHttpClientConnectionManager - Connection request: [route: {}->http://192.168.99.100:8082][total kept alive: 1; route allocated: 1 of 2; total allocated: 1 of 20]
2016-08-26 17:26:42,149 [main ] DEBUG ingHttpClientConnectionManager - Connection leased: [id: 1][route: {}->http://192.168.99.100:8082][total kept alive: 0; route allocated: 1 of 2; total allocated: 1 of 20]
2016-08-26 17:26:42,149 [main ] DEBUG MainClientExec - Stale connection check
2016-08-26 17:26:42,150 [main ] DEBUG wire - http-outgoing-1 << "[read] I/O error: Read timed out"
2016-08-26 17:26:42,150 [main ] DEBUG MainClientExec - Executing request POST /hawkular/metrics/strings/4jkkjz8d/raw HTTP/1.1
2016-08-26 17:26:42,150 [main ] DEBUG MainClientExec - Target auth state: SUCCESS
2016-08-26 17:26:42,150 [main ] DEBUG MainClientExec - Proxy auth state: UNCHALLENGED
2016-08-26 17:26:42,150 [main ] DEBUG headers - http-outgoing-1 >> POST /hawkular/metrics/strings/4jkkjz8d/raw HTTP/1.1
2016-08-26 17:26:42,150 [main ] DEBUG headers - http-outgoing-1 >> Accept: application/json
2016-08-26 17:26:42,150 [main ] DEBUG headers - http-outgoing-1 >> Accept-Encoding: gzip, deflate
2016-08-26 17:26:42,150 [main ] DEBUG headers - http-outgoing-1 >> Content-Type: application/json
2016-08-26 17:26:42,150 [main ] DEBUG headers - http-outgoing-1 >> Hawkular-Tenant: unit-testing
2016-08-26 17:26:42,150 [main ] DEBUG headers - http-outgoing-1 >> Content-Length: 147
2016-08-26 17:26:42,150 [main ] DEBUG headers - http-outgoing-1 >> Host: 192.168.99.100:8082
2016-08-26 17:26:42,150 [main ] DEBUG headers - http-outgoing-1 >> Connection: Keep-Alive
2016-08-26 17:26:42,150 [main ] DEBUG headers - http-outgoing-1 >> User-Agent: Apache-HttpClient/4.4.1 (Java/1.8.0_73)
2016-08-26 17:26:42,150 [main ] DEBUG headers - http-outgoing-1 >> Authorization: Basic YWRtaW46YWRtaW4=
2016-08-26 17:26:42,151 [main ] DEBUG wire - http-outgoing-1 >> "POST /hawkular/metrics/strings/4jkkjz8d/raw HTTP/1.1[\r][\n]"
2016-08-26 17:26:42,151 [main ] DEBUG wire - http-outgoing-1 >> "Accept: application/json[\r][\n]"
2016-08-26 17:26:42,151 [main ] DEBUG wire - http-outgoing-1 >> "Accept-Encoding: gzip, deflate[\r][\n]"
2016-08-26 17:26:42,151 [main ] DEBUG wire - http-outgoing-1 >> "Content-Type: application/json[\r][\n]"
2016-08-26 17:26:42,151 [main ] DEBUG wire - http-outgoing-1 >> "Hawkular-Tenant: unit-testing[\r][\n]"
2016-08-26 17:26:42,151 [main ] DEBUG wire - http-outgoing-1 >> "Content-Length: 147[\r][\n]"
2016-08-26 17:26:42,151 [main ] DEBUG wire - http-outgoing-1 >> "Host: 192.168.99.100:8082[\r][\n]"
2016-08-26 17:26:42,151 [main ] DEBUG wire - http-outgoing-1 >> "Connection: Keep-Alive[\r][\n]"
2016-08-26 17:26:42,151 [main ] DEBUG wire - http-outgoing-1 >> "User-Agent: Apache-HttpClient/4.4.1 (Java/1.8.0_73)[\r][\n]"
2016-08-26 17:26:42,151 [main ] DEBUG wire - http-outgoing-1 >> "Authorization: Basic YWRtaW46YWRtaW4=[\r][\n]"
2016-08-26 17:26:42,151 [main ] DEBUG wire - http-outgoing-1 >> "[\r][\n]"
2016-08-26 17:26:42,151 [main ] DEBUG wire - http-outgoing-1 >> "[ {[\n]"
2016-08-26 17:26:42,151 [main ] DEBUG wire - http-outgoing-1 >> " "timestamp" : 1472214402141,[\n]"
2016-08-26 17:26:42,151 [main ] DEBUG wire - http-outgoing-1 >> " "value" : "2cpxyqim",[\n]"
2016-08-26 17:26:42,151 [main ] DEBUG wire - http-outgoing-1 >> " "tags" : {[\n]"
2016-08-26 17:26:42,151 [main ] DEBUG wire - http-outgoing-1 >> " "pod_namespace" : "pg25zhns",[\n]"
2016-08-26 17:26:42,151 [main ] DEBUG wire - http-outgoing-1 >> " "container_name" : "xrbkrktk"[\n]"
2016-08-26 17:26:42,151 [main ] DEBUG wire - http-outgoing-1 >> " }[\n]"
2016-08-26 17:26:42,151 [main ] DEBUG wire - http-outgoing-1 >> "} ]"
2016-08-26 17:26:42,181 [main ] DEBUG wire - http-outgoing-1 << "HTTP/1.1 200 OK[\r][\n]"
2016-08-26 17:26:42,182 [main ] DEBUG wire - http-outgoing-1 << "Expires: 0[\r][\n]"
2016-08-26 17:26:42,182 [main ] DEBUG wire - http-outgoing-1 << "Connection: keep-alive[\r][\n]"
2016-08-26 17:26:42,182 [main ] DEBUG wire - http-outgoing-1 << "Cache-Control: no-cache, no-store, must-revalidate[\r][\n]"
2016-08-26 17:26:42,182 [main ] DEBUG wire - http-outgoing-1 << "X-Powered-By: Undertow/1[\r][\n]"
2016-08-26 17:26:42,182 [main ] DEBUG wire - http-outgoing-1 << "Server: WildFly/10[\r][\n]"
2016-08-26 17:26:42,182 [main ] DEBUG wire - http-outgoing-1 << "Pragma: no-cache[\r][\n]"
2016-08-26 17:26:42,182 [main ] DEBUG wire - http-outgoing-1 << "Content-Length: 0[\r][\n]"
2016-08-26 17:26:42,182 [main ] DEBUG wire - http-outgoing-1 << "Date: Fri, 26 Aug 2016 16:26:42 GMT[\r][\n]"
2016-08-26 17:26:42,182 [main ] DEBUG wire - http-outgoing-1 << "[\r][\n]"
2016-08-26 17:26:42,182 [main ] DEBUG headers - http-outgoing-1 << HTTP/1.1 200 OK
2016-08-26 17:26:42,182 [main ] DEBUG headers - http-outgoing-1 << Expires: 0
2016-08-26 17:26:42,182 [main ] DEBUG headers - http-outgoing-1 << Connection: keep-alive
2016-08-26 17:26:42,182 [main ] DEBUG headers - http-outgoing-1 << Cache-Control: no-cache, no-store, must-revalidate
2016-08-26 17:26:42,182 [main ] DEBUG headers - http-outgoing-1 << X-Powered-By: Undertow/1
2016-08-26 17:26:42,182 [main ] DEBUG headers - http-outgoing-1 << Server: WildFly/10
2016-08-26 17:26:42,182 [main ] DEBUG headers - http-outgoing-1 << Pragma: no-cache
2016-08-26 17:26:42,182 [main ] DEBUG headers - http-outgoing-1 << Content-Length: 0
2016-08-26 17:26:42,182 [main ] DEBUG headers - http-outgoing-1 << Date: Fri, 26 Aug 2016 16:26:42 GMT
2016-08-26 17:26:42,182 [main ] DEBUG MainClientExec - Connection can be kept alive indefinitely
2016-08-26 17:26:42,182 [main ] DEBUG ingHttpClientConnectionManager - Connection [id: 1][route: {}->http://192.168.99.100:8082] can be kept alive indefinitely
2016-08-26 17:26:42,182 [main ] DEBUG ingHttpClientConnectionManager - Connection released: [id: 1][route: {}->http://192.168.99.100:8082][total kept alive: 1; route allocated: 1 of 2; total allocated: 1 of 20]
2016-08-26 17:26:42,182 [main ] DEBUG RestResponseFilter - << Response headers:{Cache-Control=[no-cache, no-store, must-revalidate], Connection=[keep-alive], Content-Length=[0], Date=[Fri, 26 Aug 2016 16:26:42 GMT], Expires=[0], Pragma=[no-cache], Server=[WildFly/10], X-Powered-By=[Undertow/1]}
2016-08-26 17:26:42,182 [main ] DEBUG RestResponseFilter - << Status -> code:200, message:OK
2016-08-26 17:26:42,183 [main ] DEBUG ClientResponse - Client response:Status Code:200, Is Success:true, Error Message:-, Entity:[]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment