From 0125bd2cbbe832fc95a28c4b88b02f45bf021ed3 Mon Sep 17 00:00:00 2001 From: Chisu Yu Date: Tue, 27 Nov 2012 10:38:13 +0000 Subject: [PATCH] =?UTF-8?q?[=EC=9C=A0=EC=B9=98=EC=88=98]=20[NOBTS]=20Add?= =?UTF-8?q?=20terminal=20span?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-commons/trunk@933 84d0f5b1-2673-498c-a247-62c4ff18d310 --- src/main/thrift/Trace.thrift | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/main/thrift/Trace.thrift b/src/main/thrift/Trace.thrift index ee0c643ca..8886d9069 100644 --- a/src/main/thrift/Trace.thrift +++ b/src/main/thrift/Trace.thrift @@ -15,6 +15,7 @@ struct ApiAnnotation { 5: optional list parameterValue 6: optional i32 line, } + struct Span { 1: string agentId @@ -34,4 +35,18 @@ struct Span { 12: list annotations 13: optional i16 flag = 0 + + 14: list spans +} + +struct TerminalSpan { + 1: i64 startTime + 2: i32 elapsed + + 3: string rpc + 4: string serviceName + 5: i16 serviceType + 6: string endPoint + + 7: list annotations } \ No newline at end of file