Documentation ¶
Index ¶
Constants ¶
View Source
const ( // https://github.com/apache/skywalking-query-protocol/blob/master/trace.graphqls#L86 SpanTypeLocal = "Local" SpanTypeClient = "Exit" SpanTypeServer = "Entry" AttributeHTTPMethod = "http.method" AttributeHTTPStatus_Code = "http.status_code" AttributeHTTPStatusCode = "http.status.code" AttributeDbStatement = "db.statement" AttributeCacheCmd = "cache.cmd" AttributeCacheKey = "cache.key" // layer possible values: Unknown, Database, RPCFramework, Http, MQ and Cache // ref: https://github.com/apache/skywalking-query-protocol/blob/master/trace.graphqls#L94 LayerUnknown = "Unknown" LayerDatabase = "Database" LayerRPC = "RPCFramework" LayerHTTP = "Http" LayerCache = "Cache" LayerMQ = "MQ" )
Variables ¶
View Source
var (
Adapters map[string]model.TraceAdapter
)
Functions ¶
Types ¶
type SkyWalkingAdapter ¶
type SkyWalkingAdapter struct { }
func (*SkyWalkingAdapter) GetTrace ¶
func (s *SkyWalkingAdapter) GetTrace(traceID string, c *config.ExternalAPM) (*model.ExTrace, error)
Click to show internal directories.
Click to hide internal directories.