xtrace

package
v1.61.1631 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EndpointMap map[string]string

EndpointMap Endpoint Data

View Source
var EndpointType = "regional"

EndpointType regional or central

Functions

func GetEndpointMap

func GetEndpointMap() map[string]string

GetEndpointMap Get Endpoint Data Map

func GetEndpointType

func GetEndpointType() string

GetEndpointType Get Endpoint Type Value

func SetClientProperty

func SetClientProperty(client *Client, propertyName string, propertyValue interface{})

SetClientProperty Set Property by Reflect

func SetEndpointDataToClient

func SetEndpointDataToClient(client *Client)

SetEndpointDataToClient Set EndpointMap and ENdpointType

Types

type Client

type Client struct {
	sdk.Client
}

Client is the sdk client struct, each func corresponds to an OpenAPI

func NewClient

func NewClient() (client *Client, err error)

NewClient creates a sdk client with environment variables

func NewClientWithAccessKey

func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)

NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithEcsRamRole

func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)

NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithOptions

func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)

NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client

func NewClientWithProvider

func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)

NewClientWithProvider creates a sdk client with providers usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRamRoleArn

func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)

NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRamRoleArnAndPolicy

func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error)

NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRsaKeyPair

func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)

NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithStsToken

func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)

NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func (*Client) GetTagKey

func (client *Client) GetTagKey(request *GetTagKeyRequest) (response *GetTagKeyResponse, err error)

GetTagKey invokes the xtrace.GetTagKey API synchronously

func (*Client) GetTagKeyWithCallback

func (client *Client) GetTagKeyWithCallback(request *GetTagKeyRequest, callback func(response *GetTagKeyResponse, err error)) <-chan int

GetTagKeyWithCallback invokes the xtrace.GetTagKey API asynchronously

func (*Client) GetTagKeyWithChan

func (client *Client) GetTagKeyWithChan(request *GetTagKeyRequest) (<-chan *GetTagKeyResponse, <-chan error)

GetTagKeyWithChan invokes the xtrace.GetTagKey API asynchronously

func (*Client) GetTagVal

func (client *Client) GetTagVal(request *GetTagValRequest) (response *GetTagValResponse, err error)

GetTagVal invokes the xtrace.GetTagVal API synchronously

func (*Client) GetTagValWithCallback

func (client *Client) GetTagValWithCallback(request *GetTagValRequest, callback func(response *GetTagValResponse, err error)) <-chan int

GetTagValWithCallback invokes the xtrace.GetTagVal API asynchronously

func (*Client) GetTagValWithChan

func (client *Client) GetTagValWithChan(request *GetTagValRequest) (<-chan *GetTagValResponse, <-chan error)

GetTagValWithChan invokes the xtrace.GetTagVal API asynchronously

func (*Client) GetToken

func (client *Client) GetToken(request *GetTokenRequest) (response *GetTokenResponse, err error)

GetToken invokes the xtrace.GetToken API synchronously

func (*Client) GetTokenWithCallback

func (client *Client) GetTokenWithCallback(request *GetTokenRequest, callback func(response *GetTokenResponse, err error)) <-chan int

GetTokenWithCallback invokes the xtrace.GetToken API asynchronously

func (*Client) GetTokenWithChan

func (client *Client) GetTokenWithChan(request *GetTokenRequest) (<-chan *GetTokenResponse, <-chan error)

GetTokenWithChan invokes the xtrace.GetToken API asynchronously

func (*Client) GetTrace

func (client *Client) GetTrace(request *GetTraceRequest) (response *GetTraceResponse, err error)

GetTrace invokes the xtrace.GetTrace API synchronously

func (*Client) GetTraceAnalysis added in v1.61.609

func (client *Client) GetTraceAnalysis(request *GetTraceAnalysisRequest) (response *GetTraceAnalysisResponse, err error)

GetTraceAnalysis invokes the xtrace.GetTraceAnalysis API synchronously

func (*Client) GetTraceAnalysisWithCallback added in v1.61.609

func (client *Client) GetTraceAnalysisWithCallback(request *GetTraceAnalysisRequest, callback func(response *GetTraceAnalysisResponse, err error)) <-chan int

GetTraceAnalysisWithCallback invokes the xtrace.GetTraceAnalysis API asynchronously

func (*Client) GetTraceAnalysisWithChan added in v1.61.609

func (client *Client) GetTraceAnalysisWithChan(request *GetTraceAnalysisRequest) (<-chan *GetTraceAnalysisResponse, <-chan error)

GetTraceAnalysisWithChan invokes the xtrace.GetTraceAnalysis API asynchronously

func (*Client) GetTraceWithCallback

func (client *Client) GetTraceWithCallback(request *GetTraceRequest, callback func(response *GetTraceResponse, err error)) <-chan int

GetTraceWithCallback invokes the xtrace.GetTrace API asynchronously

func (*Client) GetTraceWithChan

func (client *Client) GetTraceWithChan(request *GetTraceRequest) (<-chan *GetTraceResponse, <-chan error)

GetTraceWithChan invokes the xtrace.GetTrace API asynchronously

func (*Client) ListIpOrHosts

func (client *Client) ListIpOrHosts(request *ListIpOrHostsRequest) (response *ListIpOrHostsResponse, err error)

ListIpOrHosts invokes the xtrace.ListIpOrHosts API synchronously

func (*Client) ListIpOrHostsWithCallback

func (client *Client) ListIpOrHostsWithCallback(request *ListIpOrHostsRequest, callback func(response *ListIpOrHostsResponse, err error)) <-chan int

ListIpOrHostsWithCallback invokes the xtrace.ListIpOrHosts API asynchronously

func (*Client) ListIpOrHostsWithChan

func (client *Client) ListIpOrHostsWithChan(request *ListIpOrHostsRequest) (<-chan *ListIpOrHostsResponse, <-chan error)

ListIpOrHostsWithChan invokes the xtrace.ListIpOrHosts API asynchronously

func (*Client) ListServices

func (client *Client) ListServices(request *ListServicesRequest) (response *ListServicesResponse, err error)

ListServices invokes the xtrace.ListServices API synchronously

func (*Client) ListServicesWithCallback

func (client *Client) ListServicesWithCallback(request *ListServicesRequest, callback func(response *ListServicesResponse, err error)) <-chan int

ListServicesWithCallback invokes the xtrace.ListServices API asynchronously

func (*Client) ListServicesWithChan

func (client *Client) ListServicesWithChan(request *ListServicesRequest) (<-chan *ListServicesResponse, <-chan error)

ListServicesWithChan invokes the xtrace.ListServices API asynchronously

func (*Client) ListSpanNames

func (client *Client) ListSpanNames(request *ListSpanNamesRequest) (response *ListSpanNamesResponse, err error)

ListSpanNames invokes the xtrace.ListSpanNames API synchronously

func (*Client) ListSpanNamesWithCallback

func (client *Client) ListSpanNamesWithCallback(request *ListSpanNamesRequest, callback func(response *ListSpanNamesResponse, err error)) <-chan int

ListSpanNamesWithCallback invokes the xtrace.ListSpanNames API asynchronously

func (*Client) ListSpanNamesWithChan

func (client *Client) ListSpanNamesWithChan(request *ListSpanNamesRequest) (<-chan *ListSpanNamesResponse, <-chan error)

ListSpanNamesWithChan invokes the xtrace.ListSpanNames API asynchronously

func (*Client) QueryMetric added in v1.60.285

func (client *Client) QueryMetric(request *QueryMetricRequest) (response *QueryMetricResponse, err error)

QueryMetric invokes the xtrace.QueryMetric API synchronously

func (*Client) QueryMetricWithCallback added in v1.60.285

func (client *Client) QueryMetricWithCallback(request *QueryMetricRequest, callback func(response *QueryMetricResponse, err error)) <-chan int

QueryMetricWithCallback invokes the xtrace.QueryMetric API asynchronously

func (*Client) QueryMetricWithChan added in v1.60.285

func (client *Client) QueryMetricWithChan(request *QueryMetricRequest) (<-chan *QueryMetricResponse, <-chan error)

QueryMetricWithChan invokes the xtrace.QueryMetric API asynchronously

func (*Client) SearchTraces

func (client *Client) SearchTraces(request *SearchTracesRequest) (response *SearchTracesResponse, err error)

SearchTraces invokes the xtrace.SearchTraces API synchronously

func (*Client) SearchTracesWithCallback

func (client *Client) SearchTracesWithCallback(request *SearchTracesRequest, callback func(response *SearchTracesResponse, err error)) <-chan int

SearchTracesWithCallback invokes the xtrace.SearchTraces API asynchronously

func (*Client) SearchTracesWithChan

func (client *Client) SearchTracesWithChan(request *SearchTracesRequest) (<-chan *SearchTracesResponse, <-chan error)

SearchTracesWithChan invokes the xtrace.SearchTraces API asynchronously

type GetTagKeyRequest

type GetTagKeyRequest struct {
	*requests.RpcRequest
	EndTime     requests.Integer `position:"Query" name:"EndTime"`
	ServiceName string           `position:"Query" name:"ServiceName"`
	StartTime   requests.Integer `position:"Query" name:"StartTime"`
	SpanName    string           `position:"Query" name:"SpanName"`
}

GetTagKeyRequest is the request struct for api GetTagKey

func CreateGetTagKeyRequest

func CreateGetTagKeyRequest() (request *GetTagKeyRequest)

CreateGetTagKeyRequest creates a request to invoke GetTagKey API

type GetTagKeyResponse

type GetTagKeyResponse struct {
	*responses.BaseResponse
	RequestId string  `json:"RequestId" xml:"RequestId"`
	TagKeys   TagKeys `json:"TagKeys" xml:"TagKeys"`
}

GetTagKeyResponse is the response struct for api GetTagKey

func CreateGetTagKeyResponse

func CreateGetTagKeyResponse() (response *GetTagKeyResponse)

CreateGetTagKeyResponse creates a response to parse from GetTagKey response

type GetTagValRequest

type GetTagValRequest struct {
	*requests.RpcRequest
	EndTime     requests.Integer `position:"Query" name:"EndTime"`
	ServiceName string           `position:"Query" name:"ServiceName"`
	StartTime   requests.Integer `position:"Query" name:"StartTime"`
	TagKey      string           `position:"Query" name:"TagKey"`
	SpanName    string           `position:"Query" name:"SpanName"`
}

GetTagValRequest is the request struct for api GetTagVal

func CreateGetTagValRequest

func CreateGetTagValRequest() (request *GetTagValRequest)

CreateGetTagValRequest creates a request to invoke GetTagVal API

type GetTagValResponse

type GetTagValResponse struct {
	*responses.BaseResponse
	RequestId string    `json:"RequestId" xml:"RequestId"`
	TagValues TagValues `json:"TagValues" xml:"TagValues"`
}

GetTagValResponse is the response struct for api GetTagVal

func CreateGetTagValResponse

func CreateGetTagValResponse() (response *GetTagValResponse)

CreateGetTagValResponse creates a response to parse from GetTagVal response

type GetTokenRequest

type GetTokenRequest struct {
	*requests.RpcRequest
	AppType     string           `position:"Query" name:"AppType"`
	ProxyUserId string           `position:"Query" name:"ProxyUserId"`
	IsForce     requests.Boolean `position:"Query" name:"IsForce"`
}

GetTokenRequest is the request struct for api GetToken

func CreateGetTokenRequest

func CreateGetTokenRequest() (request *GetTokenRequest)

CreateGetTokenRequest creates a request to invoke GetToken API

type GetTokenResponse

type GetTokenResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Token     Token  `json:"Token" xml:"Token"`
}

GetTokenResponse is the response struct for api GetToken

func CreateGetTokenResponse

func CreateGetTokenResponse() (response *GetTokenResponse)

CreateGetTokenResponse creates a response to parse from GetToken response

type GetTraceAnalysisRequest added in v1.61.609

type GetTraceAnalysisRequest struct {
	*requests.RpcRequest
	Query       string `position:"Query" name:"Query"`
	Api         string `position:"Query" name:"Api"`
	ProxyUserId string `position:"Query" name:"ProxyUserId"`
}

GetTraceAnalysisRequest is the request struct for api GetTraceAnalysis

func CreateGetTraceAnalysisRequest added in v1.61.609

func CreateGetTraceAnalysisRequest() (request *GetTraceAnalysisRequest)

CreateGetTraceAnalysisRequest creates a request to invoke GetTraceAnalysis API

type GetTraceAnalysisResponse added in v1.61.609

type GetTraceAnalysisResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Data      string `json:"Data" xml:"Data"`
}

GetTraceAnalysisResponse is the response struct for api GetTraceAnalysis

func CreateGetTraceAnalysisResponse added in v1.61.609

func CreateGetTraceAnalysisResponse() (response *GetTraceAnalysisResponse)

CreateGetTraceAnalysisResponse creates a response to parse from GetTraceAnalysis response

type GetTraceRequest

type GetTraceRequest struct {
	*requests.RpcRequest
	TraceID string `position:"Query" name:"TraceID"`
	AppType string `position:"Query" name:"AppType"`
}

GetTraceRequest is the request struct for api GetTrace

func CreateGetTraceRequest

func CreateGetTraceRequest() (request *GetTraceRequest)

CreateGetTraceRequest creates a request to invoke GetTrace API

type GetTraceResponse

type GetTraceResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Spans     Spans  `json:"Spans" xml:"Spans"`
}

GetTraceResponse is the response struct for api GetTrace

func CreateGetTraceResponse

func CreateGetTraceResponse() (response *GetTraceResponse)

CreateGetTraceResponse creates a response to parse from GetTrace response

type IpNames

type IpNames struct {
	IpName []string `json:"IpName" xml:"IpName"`
}

IpNames is a nested struct in xtrace response

type ListIpOrHostsRequest

type ListIpOrHostsRequest struct {
	*requests.RpcRequest
	EndTime     requests.Integer `position:"Query" name:"EndTime"`
	ServiceName string           `position:"Query" name:"ServiceName"`
	StartTime   requests.Integer `position:"Query" name:"StartTime"`
}

ListIpOrHostsRequest is the request struct for api ListIpOrHosts

func CreateListIpOrHostsRequest

func CreateListIpOrHostsRequest() (request *ListIpOrHostsRequest)

CreateListIpOrHostsRequest creates a request to invoke ListIpOrHosts API

type ListIpOrHostsResponse

type ListIpOrHostsResponse struct {
	*responses.BaseResponse
	RequestId string  `json:"RequestId" xml:"RequestId"`
	IpNames   IpNames `json:"IpNames" xml:"IpNames"`
}

ListIpOrHostsResponse is the response struct for api ListIpOrHosts

func CreateListIpOrHostsResponse

func CreateListIpOrHostsResponse() (response *ListIpOrHostsResponse)

CreateListIpOrHostsResponse creates a response to parse from ListIpOrHosts response

type ListServicesRequest

type ListServicesRequest struct {
	*requests.RpcRequest
	AppType string `position:"Query" name:"AppType"`
}

ListServicesRequest is the request struct for api ListServices

func CreateListServicesRequest

func CreateListServicesRequest() (request *ListServicesRequest)

CreateListServicesRequest creates a request to invoke ListServices API

type ListServicesResponse

type ListServicesResponse struct {
	*responses.BaseResponse
	RequestId string   `json:"RequestId" xml:"RequestId"`
	Services  Services `json:"Services" xml:"Services"`
}

ListServicesResponse is the response struct for api ListServices

func CreateListServicesResponse

func CreateListServicesResponse() (response *ListServicesResponse)

CreateListServicesResponse creates a response to parse from ListServices response

type ListSpanNamesRequest

type ListSpanNamesRequest struct {
	*requests.RpcRequest
	EndTime     requests.Integer `position:"Query" name:"EndTime"`
	ServiceName string           `position:"Query" name:"ServiceName"`
	StartTime   requests.Integer `position:"Query" name:"StartTime"`
}

ListSpanNamesRequest is the request struct for api ListSpanNames

func CreateListSpanNamesRequest

func CreateListSpanNamesRequest() (request *ListSpanNamesRequest)

CreateListSpanNamesRequest creates a request to invoke ListSpanNames API

type ListSpanNamesResponse

type ListSpanNamesResponse struct {
	*responses.BaseResponse
	RequestId string    `json:"RequestId" xml:"RequestId"`
	SpanNames SpanNames `json:"SpanNames" xml:"SpanNames"`
}

ListSpanNamesResponse is the response struct for api ListSpanNames

func CreateListSpanNamesResponse

func CreateListSpanNamesResponse() (response *ListSpanNamesResponse)

CreateListSpanNamesResponse creates a response to parse from ListSpanNames response

type LogEvent

type LogEvent struct {
	Timestamp    int64                  `json:"Timestamp" xml:"Timestamp"`
	TagEntryList TagEntryListInGetTrace `json:"TagEntryList" xml:"TagEntryList"`
}

LogEvent is a nested struct in xtrace response

type LogEventList

type LogEventList struct {
	LogEvent []LogEvent `json:"LogEvent" xml:"LogEvent"`
}

LogEventList is a nested struct in xtrace response

type PageBean

type PageBean struct {
	TotalCount int64      `json:"TotalCount" xml:"TotalCount"`
	PageSize   int        `json:"PageSize" xml:"PageSize"`
	PageNumber int        `json:"PageNumber" xml:"PageNumber"`
	TraceInfos TraceInfos `json:"TraceInfos" xml:"TraceInfos"`
}

PageBean is a nested struct in xtrace response

type QueryMetricFilters added in v1.60.285

type QueryMetricFilters struct {
	Value string `name:"Value"`
	Key   string `name:"Key"`
}

QueryMetricFilters is a repeated param struct in QueryMetricRequest

type QueryMetricRequest added in v1.60.285

type QueryMetricRequest struct {
	*requests.RpcRequest
	EndTime       requests.Integer      `position:"Query" name:"EndTime"`
	OrderBy       string                `position:"Query" name:"OrderBy"`
	StartTime     requests.Integer      `position:"Query" name:"StartTime"`
	Filters       *[]QueryMetricFilters `position:"Query" name:"Filters"  type:"Repeated"`
	ProxyUserId   string                `position:"Query" name:"ProxyUserId"`
	Measures      *[]string             `position:"Query" name:"Measures"  type:"Repeated"`
	IntervalInSec requests.Integer      `position:"Query" name:"IntervalInSec"`
	Metric        string                `position:"Query" name:"Metric"`
	Limit         requests.Integer      `position:"Query" name:"Limit"`
	Dimensions    *[]string             `position:"Query" name:"Dimensions"  type:"Repeated"`
	Order         string                `position:"Query" name:"Order"`
}

QueryMetricRequest is the request struct for api QueryMetric

func CreateQueryMetricRequest added in v1.60.285

func CreateQueryMetricRequest() (request *QueryMetricRequest)

CreateQueryMetricRequest creates a request to invoke QueryMetric API

type QueryMetricResponse added in v1.60.285

type QueryMetricResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Data      string `json:"Data" xml:"Data"`
}

QueryMetricResponse is the response struct for api QueryMetric

func CreateQueryMetricResponse added in v1.60.285

func CreateQueryMetricResponse() (response *QueryMetricResponse)

CreateQueryMetricResponse creates a response to parse from QueryMetric response

type SearchTracesRequest

type SearchTracesRequest struct {
	*requests.RpcRequest
	AppType       string             `position:"Query" name:"AppType"`
	EndTime       requests.Integer   `position:"Query" name:"EndTime"`
	StartTime     requests.Integer   `position:"Query" name:"StartTime"`
	Reverse       requests.Boolean   `position:"Query" name:"Reverse"`
	MinDuration   requests.Integer   `position:"Query" name:"MinDuration"`
	PageNumber    requests.Integer   `position:"Query" name:"PageNumber"`
	ServiceIp     string             `position:"Query" name:"ServiceIp"`
	OperationName string             `position:"Query" name:"OperationName"`
	PageSize      requests.Integer   `position:"Query" name:"PageSize"`
	ServiceName   string             `position:"Query" name:"ServiceName"`
	Tag           *[]SearchTracesTag `position:"Query" name:"Tag"  type:"Repeated"`
}

SearchTracesRequest is the request struct for api SearchTraces

func CreateSearchTracesRequest

func CreateSearchTracesRequest() (request *SearchTracesRequest)

CreateSearchTracesRequest creates a request to invoke SearchTraces API

type SearchTracesResponse

type SearchTracesResponse struct {
	*responses.BaseResponse
	RequestId string   `json:"RequestId" xml:"RequestId"`
	PageBean  PageBean `json:"PageBean" xml:"PageBean"`
}

SearchTracesResponse is the response struct for api SearchTraces

func CreateSearchTracesResponse

func CreateSearchTracesResponse() (response *SearchTracesResponse)

CreateSearchTracesResponse creates a response to parse from SearchTraces response

type SearchTracesTag

type SearchTracesTag struct {
	Value string `name:"Value"`
	Key   string `name:"Key"`
}

SearchTracesTag is a repeated param struct in SearchTracesRequest

type Service

type Service struct {
	ServiceName string `json:"ServiceName" xml:"ServiceName"`
	Pid         string `json:"Pid" xml:"Pid"`
	RegionId    string `json:"RegionId" xml:"RegionId"`
}

Service is a nested struct in xtrace response

type Services

type Services struct {
	Service []Service `json:"Service" xml:"Service"`
}

Services is a nested struct in xtrace response

type Span

type Span struct {
	TraceID       string                 `json:"TraceID" xml:"TraceID"`
	OperationName string                 `json:"OperationName" xml:"OperationName"`
	Duration      int64                  `json:"Duration" xml:"Duration"`
	ServiceName   string                 `json:"ServiceName" xml:"ServiceName"`
	ServiceIp     string                 `json:"ServiceIp" xml:"ServiceIp"`
	Timestamp     int64                  `json:"Timestamp" xml:"Timestamp"`
	RpcId         string                 `json:"RpcId" xml:"RpcId"`
	ResultCode    string                 `json:"ResultCode" xml:"ResultCode"`
	HaveStack     bool                   `json:"HaveStack" xml:"HaveStack"`
	SpanId        string                 `json:"SpanId" xml:"SpanId"`
	ParentSpanId  string                 `json:"ParentSpanId" xml:"ParentSpanId"`
	TagEntryList  TagEntryListInGetTrace `json:"TagEntryList" xml:"TagEntryList"`
	LogEventList  LogEventList           `json:"LogEventList" xml:"LogEventList"`
}

Span is a nested struct in xtrace response

type SpanNames

type SpanNames struct {
	SpanName []string `json:"SpanName" xml:"SpanName"`
}

SpanNames is a nested struct in xtrace response

type Spans

type Spans struct {
	Span []Span `json:"Span" xml:"Span"`
}

Spans is a nested struct in xtrace response

type TagEntry

type TagEntry struct {
	Key   string `json:"Key" xml:"Key"`
	Value string `json:"Value" xml:"Value"`
}

TagEntry is a nested struct in xtrace response

type TagEntryListInGetTrace

type TagEntryListInGetTrace struct {
	TagEntry []TagEntry `json:"TagEntry" xml:"TagEntry"`
}

TagEntryListInGetTrace is a nested struct in xtrace response

type TagKeys

type TagKeys struct {
	TagKey []string `json:"TagKey" xml:"TagKey"`
}

TagKeys is a nested struct in xtrace response

type TagValues

type TagValues struct {
	TagValue []string `json:"TagValue" xml:"TagValue"`
}

TagValues is a nested struct in xtrace response

type Token

type Token struct {
	Domain         string `json:"Domain" xml:"Domain"`
	LicenseKey     string `json:"LicenseKey" xml:"LicenseKey"`
	Pid            string `json:"Pid" xml:"Pid"`
	InternalDomain string `json:"InternalDomain" xml:"InternalDomain"`
}

Token is a nested struct in xtrace response

type TraceInfo

type TraceInfo struct {
	TraceID       string `json:"TraceID" xml:"TraceID"`
	OperationName string `json:"OperationName" xml:"OperationName"`
	ServiceName   string `json:"ServiceName" xml:"ServiceName"`
	ServiceIp     string `json:"ServiceIp" xml:"ServiceIp"`
	Duration      int64  `json:"Duration" xml:"Duration"`
	Timestamp     int64  `json:"Timestamp" xml:"Timestamp"`
}

TraceInfo is a nested struct in xtrace response

type TraceInfos

type TraceInfos struct {
	TraceInfo []TraceInfo `json:"TraceInfo" xml:"TraceInfo"`
}

TraceInfos is a nested struct in xtrace response

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL