GET /ops/trace/{correlationID}

Description

Retrieves the trace for the message associated with the specified correlationID.

The response is a JSON array of Trace elements. Each element contains:


Resource URL

http://localhost:8090/ops/trace/{correlationID}


Parameters

correlationID mandatory Transaction Identifier. E.g.: a18ce3874de8a62712176c6c
format mandatory Specifies the format of the response. Currently json is the only supported format.
sentData optional Integer value specifying whether or not to include the sent data payloads when the trace level is set to DATA.
receivedData optional Integer value specifying whether or not to include the received data payloads when the Trace level is set to DATA.

Response Codes

Response Code Description
200 Success

Example Request

GET http://localhost:8090/ops/trace/2f371dde50af6bdd60086c00?format=json&sentData=1&receivedData=1

[
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693058,
       "depth": 0,
       "text": "new content stack 0BAEF2E4\n"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693058,
       "depth": 0,
       "text": "trace transaction"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693058,
       "depth": 0,
       "text": "push source HTTP transaction source onto 0BAEF2E4\n"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693058,
       "depth": 0,
       "text": "new server transaction 0BAECA5C"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693058,
       "depth": 0,
       "text": "add header Date:Fri, 23 Nov 2012 12:28:13 GMT"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693058,
       "depth": 0,
       "text": "add header Host:shield:8080"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693058,
       "depth": 0,
       "text": "add header Connection:keep-alive"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693058,
       "depth": 0,
       "text": "add header User-Agent:Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693058,
       "depth": 0,
       "text": "add header Content-Type:text/plain; charset=utf-8"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693058,
       "depth": 0,
       "text": "add header Accept:*/*"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693058,
       "depth": 0,
       "text": "client accepts gzip with quality 1.000000"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693058,
       "depth": 0,
       "text": "encoding gzip not supported for this connection"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693058,
       "depth": 0,
       "text": "client accepts deflate with quality 1.000000"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693058,
       "depth": 0,
       "text": "encoding deflate not supported for this connection"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693058,
       "depth": 0,
       "text": "client accepts sdch with quality 1.000000"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693058,
       "depth": 0,
       "text": "encoding sdch not supported for this connection"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693058,
       "depth": 0,
       "text": "add header Accept-Language:en-GB,en-US;q=0.8,en;q=0.6"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693058,
       "depth": 0,
       "text": "add header Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693058,
       "depth": 0,
       "text": "eat cookie 'liqpw'='975'"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693058,
       "depth": 0,
       "text": "add header Cookie:liqpw=975"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693058,
       "depth": 0,
       "text": "Incoming HTTP request: method=GET, host=(unset), port=(unset), path=/healthcheck, query=(unset), version=1.1"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693058,
       "depth": 0,
       "text": "request handler at '*' does not match /healthcheck\n"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693058,
       "depth": 0,
       "text": "request handler at '/' matches /healthcheck\n"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693058,
       "depth": 0,
       "text": "request handler at '*' does not match /healthcheck\n"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693058,
       "depth": 0,
       "text": "Firewall resolved uri '/healthcheck' against '/'"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693058,
       "depth": 0,
       "text": "request handler at '/favicon.ico' does not match /healthcheck\n"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693058,
       "depth": 0,
       "text": "request handler at '/healthcheck' matches /healthcheck\n"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693058,
       "depth": 0,
       "text": "request handler at '*' does not match \n"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693058,
       "depth": 0,
       "text": "Firewall resolved uri '' against '/healthcheck'"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693058,
       "depth": 0,
       "text": "using handler at /healthcheck"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693058,
       "depth": 0,
       "text": "getting class com.vordel.dwe.CorrelationID with classLoader.loadClass()"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693168,
       "depth": 0,
       "text": "loaded class com.vordel.dwe.CorrelationID"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693168,
       "depth": 0,
       "text": "getting class com.vordel.dwe.CorrelationID with classLoader.loadClass()"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693168,
       "depth": 0,
       "text": "loaded class com.vordel.dwe.CorrelationID"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693168,
       "depth": 0,
       "text": "getting class com.vordel.dwe.AuditSettings with classLoader.loadClass()"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693168,
       "depth": 0,
       "text": "loaded class com.vordel.dwe.AuditSettings"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693168,
       "depth": 0,
       "text": "getting class com.vordel.dwe.http.HTTPProtocol with classLoader.loadClass()"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693168,
       "depth": 0,
       "text": "loaded class com.vordel.dwe.http.HTTPProtocol"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693168,
       "depth": 0,
       "text": "getting class com.vordel.dwe.http.ServerTransaction with classLoader.loadClass()"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693168,
       "depth": 0,
       "text": "loaded class com.vordel.dwe.http.ServerTransaction"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693168,
       "depth": 0,
       "text": "Adding MessageListener: com.vordel.circuit.FilterPathTracker@14384c2"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693199,
       "depth": 0,
       "text": "Adding MessageListener: com.vordel.reporting.rtm.RealtimeMonitoring$1$1@b1406b"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693199,
       "depth": 0,
       "text": "getting class com.vordel.dwe.http.HTTPTransaction with classLoader.loadClass()"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693199,
       "depth": 0,
       "text": "loaded class com.vordel.dwe.http.HTTPTransaction"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693199,
       "depth": 0,
       "text": "getting class com.vordel.mime.HeaderSet with classLoader.loadClass()"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693199,
       "depth": 0,
       "text": "loaded class com.vordel.mime.HeaderSet"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693199,
       "depth": 0,
       "text": "create bytes 00BF1CE8 for 'Host'"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693214,
       "depth": 0,
       "text": "getting class com.vordel.dwe.http.Transaction with classLoader.loadClass()"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693214,
       "depth": 0,
       "text": "loaded class com.vordel.dwe.http.Transaction"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693214,
       "depth": 0,
       "text": "getting class com.vordel.vary.VariantObject with classLoader.loadClass()"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693230,
       "depth": 0,
       "text": "loaded class com.vordel.vary.VariantObject"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693230,
       "depth": 0,
       "text": "getting class java.net.InetAddress with classLoader.loadClass()"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693230,
       "depth": 0,
       "text": "loaded class java.net.InetAddress"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693230,
       "depth": 0,
       "text": "getting class java.net.InetSocketAddress with classLoader.loadClass()"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693230,
       "depth": 0,
       "text": "loaded class java.net.InetSocketAddress"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693230,
       "depth": 0,
       "text": "Adding MessageListener: com.vordel.dwe.TrafficMonitorMessageListener@230be4"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693230,
       "depth": 0,
       "text": "Circuit reference [Global Request Policy] is not enabled - ignoring"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693230,
       "depth": 0,
       "text": "Circuit reference [Custom Request Policy] is not enabled - ignoring"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693230,
       "depth": 0,
       "text": "Circuit reference [Path Specific Policy] valid and enabled - calling"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693261,
       "depth": 0,
       "text": "increase count on 2f371dde50af6bdd60086c00 from 1 to 2\n"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693277,
       "depth": 0,
       "text": "run circuit \"Health Check\"..."
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693293,
       "depth": 0,
       "text": "run filter [Set Message] {"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693293,
       "depth": 1,
       "text": "The content type of the converted message is text/xml"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693293,
       "depth": 1,
       "text": "The converted message is <status>ok</status>"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693293,
       "depth": 1,
       "text": "handle type text/xml with factory class com.vordel.mime.XMLBody$Factory"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693293,
       "depth": 1,
       "text": "Added converted message is added to the whiteboard"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693293,
       "depth": 0,
       "text": "} = 1, filter [Set Message]"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693293,
       "depth": 0,
       "text": "Filter [Set Message] completes in 0 milliseconds."
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693293,
       "depth": 0,
       "text": "run filter [Reflect] {"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693293,
       "depth": 0,
       "text": "} = 1, filter [Reflect]"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693293,
       "depth": 0,
       "text": "Filter [Reflect] completes in 0 milliseconds."
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693293,
       "depth": 0,
       "text": "...\"Health Check\" complete."
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693293,
       "depth": 0,
       "text": "decrease count on 2f371dde50af6bdd60086c00 from 2 to 1\n"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693293,
       "depth": 0,
       "text": "Circuit reference [Custom Response Policy] is not enabled - ignoring"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693293,
       "depth": 0,
       "text": "Circuit reference [Global Response Policy] is not enabled - ignoring"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693340,
       "depth": 0,
       "text": "getting class java.util.Iterator with classLoader.loadClass()"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693355,
       "depth": 0,
       "text": "loaded class java.util.Iterator"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693355,
       "depth": 0,
       "text": "add header Server:Gateway"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693355,
       "depth": 0,
       "text": "response code: 200"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693355,
       "depth": 0,
       "text": "send prologue: content length -1"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693355,
       "depth": 0,
       "text": "peer can do chunking"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693355,
       "depth": 0,
       "text": "add header Transfer-Encoding:chunked"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693355,
       "depth": 0,
       "text": "reused connection 00FD3D40 1 times"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693355,
       "depth": 0,
       "text": "connection keepalive? 1"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693355,
       "depth": 0,
       "text": "add header Connection:keep-alive"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693355,
       "depth": 0,
       "text": "add header X-CorrelationID:Id-2f371dde50af6bdd60086c00 0"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693355,
       "depth": 0,
       "text": "getting class com.vordel.mime.Body with classLoader.loadClass()"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693355,
       "depth": 0,
       "text": "loaded class com.vordel.mime.Body"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693355,
       "depth": 0,
       "text": "push chunked output buffer on output stack"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693355,
       "depth": 0,
       "text": "buffer chunk 0+19=19"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693355,
       "depth": 0,
       "text": "chunk sync 19"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693355,
       "depth": 0,
       "text": "getting class com.vordel.vary.StringField with classLoader.loadClass()"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693355,
       "depth": 0,
       "text": "loaded class com.vordel.vary.StringField"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693355,
       "depth": 0,
       "text": "getting class com.vordel.vary.VariantObject with classLoader.loadClass()"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693355,
       "depth": 0,
       "text": "loaded class com.vordel.vary.VariantObject"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693355,
       "depth": 0,
       "text": "getting class com.vordel.reporting.rtm.api.MetricTypeRangeCount with classLoader.loadClass()"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693355,
       "depth": 0,
       "text": "loaded class com.vordel.reporting.rtm.api.MetricTypeRangeCount"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693355,
       "depth": 0,
       "text": "getting class com.vordel.dispose.Disposable with classLoader.loadClass()"
    },
    {
       "level": "DATA",
       "type": "trace",
       "time": 1353673693355,
       "depth": 0,
       "text": "loaded class com.vordel.dispose.Disposable"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693355,
       "depth": 0,
       "text": "server transaction 0BAECA5C complete"
    },
    {
       "level": "DEBUG",
       "type": "trace",
       "time": 1353673693355,
       "depth": 0,
       "text": "delete transaction 0BAECA5C on connection 00FD3D40, audit: 0109D228"
    }
]