Documentation ¶
Index ¶
- Constants
- type APMKV
- type APMKVItem
- type ApmAgentInfo
- type ApmApplicationConfigView
- type ApmField
- type ApmInstanceDetail
- type ApmMetricRecord
- type ApmTag
- type Client
- func (c *Client) CreateApmInstance(request *CreateApmInstanceRequest) (response *CreateApmInstanceResponse, err error)
- func (c *Client) CreateApmInstanceWithContext(ctx context.Context, request *CreateApmInstanceRequest) (response *CreateApmInstanceResponse, err error)
- func (c *Client) DescribeApmAgent(request *DescribeApmAgentRequest) (response *DescribeApmAgentResponse, err error)
- func (c *Client) DescribeApmAgentWithContext(ctx context.Context, request *DescribeApmAgentRequest) (response *DescribeApmAgentResponse, err error)
- func (c *Client) DescribeApmInstances(request *DescribeApmInstancesRequest) (response *DescribeApmInstancesResponse, err error)
- func (c *Client) DescribeApmInstancesWithContext(ctx context.Context, request *DescribeApmInstancesRequest) (response *DescribeApmInstancesResponse, err error)
- func (c *Client) DescribeGeneralApmApplicationConfig(request *DescribeGeneralApmApplicationConfigRequest) (response *DescribeGeneralApmApplicationConfigResponse, err error)
- func (c *Client) DescribeGeneralApmApplicationConfigWithContext(ctx context.Context, request *DescribeGeneralApmApplicationConfigRequest) (response *DescribeGeneralApmApplicationConfigResponse, err error)
- func (c *Client) DescribeGeneralMetricData(request *DescribeGeneralMetricDataRequest) (response *DescribeGeneralMetricDataResponse, err error)
- func (c *Client) DescribeGeneralMetricDataWithContext(ctx context.Context, request *DescribeGeneralMetricDataRequest) (response *DescribeGeneralMetricDataResponse, err error)
- func (c *Client) DescribeGeneralSpanList(request *DescribeGeneralSpanListRequest) (response *DescribeGeneralSpanListResponse, err error)
- func (c *Client) DescribeGeneralSpanListWithContext(ctx context.Context, request *DescribeGeneralSpanListRequest) (response *DescribeGeneralSpanListResponse, err error)
- func (c *Client) DescribeMetricRecords(request *DescribeMetricRecordsRequest) (response *DescribeMetricRecordsResponse, err error)
- func (c *Client) DescribeMetricRecordsWithContext(ctx context.Context, request *DescribeMetricRecordsRequest) (response *DescribeMetricRecordsResponse, err error)
- func (c *Client) DescribeServiceOverview(request *DescribeServiceOverviewRequest) (response *DescribeServiceOverviewResponse, err error)
- func (c *Client) DescribeServiceOverviewWithContext(ctx context.Context, request *DescribeServiceOverviewRequest) (response *DescribeServiceOverviewResponse, err error)
- func (c *Client) DescribeTagValues(request *DescribeTagValuesRequest) (response *DescribeTagValuesResponse, err error)
- func (c *Client) DescribeTagValuesWithContext(ctx context.Context, request *DescribeTagValuesRequest) (response *DescribeTagValuesResponse, err error)
- func (c *Client) ModifyApmInstance(request *ModifyApmInstanceRequest) (response *ModifyApmInstanceResponse, err error)
- func (c *Client) ModifyApmInstanceWithContext(ctx context.Context, request *ModifyApmInstanceRequest) (response *ModifyApmInstanceResponse, err error)
- func (c *Client) ModifyGeneralApmApplicationConfig(request *ModifyGeneralApmApplicationConfigRequest) (response *ModifyGeneralApmApplicationConfigResponse, err error)
- func (c *Client) ModifyGeneralApmApplicationConfigWithContext(ctx context.Context, request *ModifyGeneralApmApplicationConfigRequest) (response *ModifyGeneralApmApplicationConfigResponse, err error)
- func (c *Client) TerminateApmInstance(request *TerminateApmInstanceRequest) (response *TerminateApmInstanceResponse, err error)
- func (c *Client) TerminateApmInstanceWithContext(ctx context.Context, request *TerminateApmInstanceRequest) (response *TerminateApmInstanceResponse, err error)
- type CreateApmInstanceRequest
- type CreateApmInstanceRequestParams
- type CreateApmInstanceResponse
- type CreateApmInstanceResponseParams
- type DescribeApmAgentRequest
- type DescribeApmAgentRequestParams
- type DescribeApmAgentResponse
- type DescribeApmAgentResponseParams
- type DescribeApmInstancesRequest
- type DescribeApmInstancesRequestParams
- type DescribeApmInstancesResponse
- type DescribeApmInstancesResponseParams
- type DescribeGeneralApmApplicationConfigRequest
- type DescribeGeneralApmApplicationConfigRequestParams
- type DescribeGeneralApmApplicationConfigResponse
- type DescribeGeneralApmApplicationConfigResponseParams
- type DescribeGeneralMetricDataRequest
- type DescribeGeneralMetricDataRequestParams
- type DescribeGeneralMetricDataResponse
- type DescribeGeneralMetricDataResponseParams
- type DescribeGeneralSpanListRequest
- type DescribeGeneralSpanListRequestParams
- type DescribeGeneralSpanListResponse
- type DescribeGeneralSpanListResponseParams
- type DescribeMetricRecordsRequest
- type DescribeMetricRecordsRequestParams
- type DescribeMetricRecordsResponse
- type DescribeMetricRecordsResponseParams
- type DescribeServiceOverviewRequest
- type DescribeServiceOverviewRequestParams
- type DescribeServiceOverviewResponse
- type DescribeServiceOverviewResponseParams
- type DescribeTagValuesRequest
- type DescribeTagValuesRequestParams
- type DescribeTagValuesResponse
- type DescribeTagValuesResponseParams
- type Filter
- type GeneralFilter
- type Instrument
- type Line
- type ModifyApmInstanceRequest
- type ModifyApmInstanceRequestParams
- type ModifyApmInstanceResponse
- type ModifyApmInstanceResponseParams
- type ModifyGeneralApmApplicationConfigRequest
- type ModifyGeneralApmApplicationConfigRequestParams
- type ModifyGeneralApmApplicationConfigResponse
- type ModifyGeneralApmApplicationConfigResponseParams
- type OrderBy
- type QueryMetricItem
- type Span
- type SpanLog
- type SpanProcess
- type SpanReference
- type SpanTag
- type TerminateApmInstanceRequest
- type TerminateApmInstanceRequestParams
- type TerminateApmInstanceResponse
- type TerminateApmInstanceResponseParams
Constants ¶
const ( // CAM签名/鉴权错误。 AUTHFAILURE = "AuthFailure" // AuthFailure.UnauthorizedOperation AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" // DryRun 操作,代表请求将会是成功的,只是多传了 DryRun 参数。 DRYRUNOPERATION = "DryRunOperation" // 操作失败。 FAILEDOPERATION = "FailedOperation" // 访问标签失败。 FAILEDOPERATION_ACCESSTAGFAIL = "FailedOperation.AccessTagFail" // token信息不存在。 FAILEDOPERATION_APMCREDENTIALNOTEXIST = "FailedOperation.ApmCredentialNotExist" // appid和实例信息不匹配。 FAILEDOPERATION_APPIDNOTMATCHINSTANCEINFO = "FailedOperation.AppIdNotMatchInstanceInfo" // 未命中白名单且实例id为官方demo实例id时,不允许修改接口。 FAILEDOPERATION_DEMOINSTANCENOTALLOWMODIFIED = "FailedOperation.DemoInstanceNotAllowModified" // 请勿填写重复的应用名 FAILEDOPERATION_DUPLICATESERVICE = "FailedOperation.DuplicateService" // 请勿填写重复的标签名 FAILEDOPERATION_DUPLICATETAGFIELD = "FailedOperation.DuplicateTagField" // 实例ID为空。 FAILEDOPERATION_INSTANCEIDISEMPTY = "FailedOperation.InstanceIdIsEmpty" // apm实例不存在。 FAILEDOPERATION_INSTANCENOTFOUND = "FailedOperation.InstanceNotFound" // 非法实例id。 FAILEDOPERATION_INVALIDINSTANCEID = "FailedOperation.InvalidInstanceID" // 非法的正则表达式。 FAILEDOPERATION_INVALIDREGEX = "FailedOperation.InvalidRegex" // 不合法请求 FAILEDOPERATION_INVALIDREQUEST = "FailedOperation.InvalidRequest" // 实例和服务名不匹配。 FAILEDOPERATION_INVALIDSERVICENAME = "FailedOperation.InvalidServiceName" // Tag中指定了无效的Key FAILEDOPERATION_INVALIDTAGFIELD = "FailedOperation.InvalidTagField" // 不合法token FAILEDOPERATION_INVALIDTOKEN = "FailedOperation.InvalidToken" // 查询指标类数据查询条件缺少过滤参数。 FAILEDOPERATION_METRICFILTERSLACKPARAMS = "FailedOperation.MetricFiltersLackParams" // 非内网vpc。 FAILEDOPERATION_NOTINNERVPC = "FailedOperation.NotInnerVPC" // 查询时间区间不支持。 FAILEDOPERATION_QUERYTIMEINTERVALISNOTSUPPORTED = "FailedOperation.QueryTimeIntervalIsNotSupported" // 不支持该地域。 FAILEDOPERATION_REGIONNOTSUPPORT = "FailedOperation.RegionNotSupport" // 发送查询请求失败。 FAILEDOPERATION_SENDREQUEST = "FailedOperation.SendRequest" // 应用数超过10个 FAILEDOPERATION_SERVICELISTEXCEEDINGLIMITNUMBER = "FailedOperation.ServiceListExceedingLimitNumber" // 应用列表为空 FAILEDOPERATION_SERVICELISTNULL = "FailedOperation.ServiceListNull" // 视图名不存在或非法。 FAILEDOPERATION_VIEWNAMENOTEXISTORILLEGAL = "FailedOperation.ViewNameNotExistOrIllegal" // 内部错误。 INTERNALERROR = "InternalError" // 参数错误。 INVALIDPARAMETER = "InvalidParameter" // filters中的字段不存在或非法。 INVALIDPARAMETER_FILTERSFIELDSNOTEXISTORILLEGAL = "InvalidParameter.FiltersFieldsNotExistOrIllegal" // groupby中的字段不存在或非法。 INVALIDPARAMETER_GROUPBYFIELDSNOTEXISTORILLEGAL = "InvalidParameter.GroupByFieldsNotExistOrIllegal" // filters中必须存在service.name字段,否则会报错。 INVALIDPARAMETER_METRICFILTERSLACKPARAMS = "InvalidParameter.MetricFiltersLackParams" // metrics中的字段不存在或非法。 INVALIDPARAMETER_METRICSFIELDNOTEXISTORILLEGAL = "InvalidParameter.MetricsFieldNotExistOrIllegal" // metrics中不允许为空。 INVALIDPARAMETER_METRICSFIELDSNOTALLOWEMPTY = "InvalidParameter.MetricsFieldsNotAllowEmpty" // period不为空,0或60。 INVALIDPARAMETER_PERIODISILLEGAL = "InvalidParameter.PeriodIsIllegal" // 查询时间不支持,最多只能查询最近2天、最多一个小时的数据。 INVALIDPARAMETER_QUERYTIMEINTERVALISNOTSUPPORTED = "InvalidParameter.QueryTimeIntervalIsNotSupported" // 视图名称不存在或非法。 INVALIDPARAMETER_VIEWNAMENOTEXISTORILLEGAL = "InvalidParameter.ViewNameNotExistOrIllegal" )
const APIVersion = "2021-06-22"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApmAgentInfo ¶
type ApmAgentInfo struct { // Agent下载地址 // 注意:此字段可能返回 null,表示取不到有效值。 AgentDownloadURL *string `json:"AgentDownloadURL,omitnil,omitempty" name:"AgentDownloadURL"` // Collector上报地址 // 注意:此字段可能返回 null,表示取不到有效值。 CollectorURL *string `json:"CollectorURL,omitnil,omitempty" name:"CollectorURL"` // Token信息 // 注意:此字段可能返回 null,表示取不到有效值。 Token *string `json:"Token,omitnil,omitempty" name:"Token"` // 外网上报地址 // 注意:此字段可能返回 null,表示取不到有效值。 PublicCollectorURL *string `json:"PublicCollectorURL,omitnil,omitempty" name:"PublicCollectorURL"` // 自研VPC上报地址 // 注意:此字段可能返回 null,表示取不到有效值。 InnerCollectorURL *string `json:"InnerCollectorURL,omitnil,omitempty" name:"InnerCollectorURL"` // 内网上报地址(Private Link上报地址) // 注意:此字段可能返回 null,表示取不到有效值。 PrivateLinkCollectorURL *string `json:"PrivateLinkCollectorURL,omitnil,omitempty" name:"PrivateLinkCollectorURL"` }
type ApmApplicationConfigView ¶ added in v1.0.909
type ApmApplicationConfigView struct { // 实例ID InstanceKey *string `json:"InstanceKey,omitnil,omitempty" name:"InstanceKey"` // 服务名 ServiceName *string `json:"ServiceName,omitnil,omitempty" name:"ServiceName"` // 接口过滤 OperationNameFilter *string `json:"OperationNameFilter,omitnil,omitempty" name:"OperationNameFilter"` // 异常过滤 ExceptionFilter *string `json:"ExceptionFilter,omitnil,omitempty" name:"ExceptionFilter"` // 错误码过滤 ErrorCodeFilter *string `json:"ErrorCodeFilter,omitnil,omitempty" name:"ErrorCodeFilter"` // 应用诊断开关 // 注意:此字段可能返回 null,表示取不到有效值。 EventEnable *bool `json:"EventEnable,omitnil,omitempty" name:"EventEnable"` // URL收敛开关 0 关 1 开 UrlConvergenceSwitch *int64 `json:"UrlConvergenceSwitch,omitnil,omitempty" name:"UrlConvergenceSwitch"` // URL收敛阈值 UrlConvergenceThreshold *int64 `json:"UrlConvergenceThreshold,omitnil,omitempty" name:"UrlConvergenceThreshold"` // URL收敛规则正则 UrlConvergence *string `json:"UrlConvergence,omitnil,omitempty" name:"UrlConvergence"` // URL排除规则正则 UrlExclude *string `json:"UrlExclude,omitnil,omitempty" name:"UrlExclude"` // 是否开启日志 0 关 1 开 IsRelatedLog *int64 `json:"IsRelatedLog,omitnil,omitempty" name:"IsRelatedLog"` // 日志来源 // 注意:此字段可能返回 null,表示取不到有效值。 LogSource *string `json:"LogSource,omitnil,omitempty" name:"LogSource"` // CLS日志集 LogSet *string `json:"LogSet,omitnil,omitempty" name:"LogSet"` // 日志主题ID LogTopicID *string `json:"LogTopicID,omitnil,omitempty" name:"LogTopicID"` // 线程剖析开关 SnapshotEnable *bool `json:"SnapshotEnable,omitnil,omitempty" name:"SnapshotEnable"` // 线程剖析超时阈值 SnapshotTimeout *int64 `json:"SnapshotTimeout,omitnil,omitempty" name:"SnapshotTimeout"` // 探针开启开关 AgentEnable *bool `json:"AgentEnable,omitnil,omitempty" name:"AgentEnable"` // 组件列表开关 // 注意:此字段可能返回 null,表示取不到有效值。 InstrumentList []*Instrument `json:"InstrumentList,omitnil,omitempty" name:"InstrumentList"` // 链路压缩开关 TraceSquash *bool `json:"TraceSquash,omitnil,omitempty" name:"TraceSquash"` }
type ApmField ¶ added in v1.0.331
type ApmField struct { // 昨日同比指标值,已弃用,不建议使用 // 注意:此字段可能返回 null,表示取不到有效值。 CompareVal *string `json:"CompareVal,omitnil,omitempty" name:"CompareVal"` // Compare值结果数组,推荐使用 // 注意:此字段可能返回 null,表示取不到有效值。 CompareVals []*APMKVItem `json:"CompareVals,omitnil,omitempty" name:"CompareVals"` // 指标值 // 注意:此字段可能返回 null,表示取不到有效值。 Value *float64 `json:"Value,omitnil,omitempty" name:"Value"` // 指标所对应的单位 // 注意:此字段可能返回 null,表示取不到有效值。 Unit *string `json:"Unit,omitnil,omitempty" name:"Unit"` // 请求数 Key *string `json:"Key,omitnil,omitempty" name:"Key"` // 同环比上周期具体数值 // 注意:此字段可能返回 null,表示取不到有效值。 LastPeriodValue []*APMKV `json:"LastPeriodValue,omitnil,omitempty" name:"LastPeriodValue"` }
type ApmInstanceDetail ¶ added in v1.0.303
type ApmInstanceDetail struct { // 存储使用量(MB) // 注意:此字段可能返回 null,表示取不到有效值。 AmountOfUsedStorage *float64 `json:"AmountOfUsedStorage,omitnil,omitempty" name:"AmountOfUsedStorage"` // 实例名 // 注意:此字段可能返回 null,表示取不到有效值。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 实例所属tag列表 // 注意:此字段可能返回 null,表示取不到有效值。 Tags []*ApmTag `json:"Tags,omitnil,omitempty" name:"Tags"` // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 创建人Uin // 注意:此字段可能返回 null,表示取不到有效值。 CreateUin *string `json:"CreateUin,omitnil,omitempty" name:"CreateUin"` // 该实例已上报的服务端应用数量 // 注意:此字段可能返回 null,表示取不到有效值。 ServiceCount *int64 `json:"ServiceCount,omitnil,omitempty" name:"ServiceCount"` // 日均上报Span数 // 注意:此字段可能返回 null,表示取不到有效值。 CountOfReportSpanPerDay *int64 `json:"CountOfReportSpanPerDay,omitnil,omitempty" name:"CountOfReportSpanPerDay"` // AppId信息 AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"` // Trace数据保存时长 // 注意:此字段可能返回 null,表示取不到有效值。 TraceDuration *int64 `json:"TraceDuration,omitnil,omitempty" name:"TraceDuration"` // 实例描述信息 // 注意:此字段可能返回 null,表示取不到有效值。 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 实例状态 // 注意:此字段可能返回 null,表示取不到有效值。 Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // 实例所属地域 // 注意:此字段可能返回 null,表示取不到有效值。 Region *string `json:"Region,omitnil,omitempty" name:"Region"` // 实例上报额度 // 注意:此字段可能返回 null,表示取不到有效值。 SpanDailyCounters *int64 `json:"SpanDailyCounters,omitnil,omitempty" name:"SpanDailyCounters"` // 实例是否开通计费 // 注意:此字段可能返回 null,表示取不到有效值。 BillingInstance *int64 `json:"BillingInstance,omitnil,omitempty" name:"BillingInstance"` // 错误率阈值 // 注意:此字段可能返回 null,表示取不到有效值。 ErrRateThreshold *int64 `json:"ErrRateThreshold,omitnil,omitempty" name:"ErrRateThreshold"` // 采样率阈值 // 注意:此字段可能返回 null,表示取不到有效值。 SampleRate *int64 `json:"SampleRate,omitnil,omitempty" name:"SampleRate"` // 是否开启错误采样 0 关 1 开 // 注意:此字段可能返回 null,表示取不到有效值。 ErrorSample *int64 `json:"ErrorSample,omitnil,omitempty" name:"ErrorSample"` // 慢调用保存阈值 // 注意:此字段可能返回 null,表示取不到有效值。 SlowRequestSavedThreshold *int64 `json:"SlowRequestSavedThreshold,omitnil,omitempty" name:"SlowRequestSavedThreshold"` // cls日志所在地域 // 注意:此字段可能返回 null,表示取不到有效值。 LogRegion *string `json:"LogRegion,omitnil,omitempty" name:"LogRegion"` // 日志来源 // 注意:此字段可能返回 null,表示取不到有效值。 LogSource *string `json:"LogSource,omitnil,omitempty" name:"LogSource"` // 日志功能开关 0 关 | 1 开 // 注意:此字段可能返回 null,表示取不到有效值。 IsRelatedLog *int64 `json:"IsRelatedLog,omitnil,omitempty" name:"IsRelatedLog"` // 日志主题ID // 注意:此字段可能返回 null,表示取不到有效值。 LogTopicID *string `json:"LogTopicID,omitnil,omitempty" name:"LogTopicID"` // 该实例已上报的客户端应用数量 // 注意:此字段可能返回 null,表示取不到有效值。 ClientCount *int64 `json:"ClientCount,omitnil,omitempty" name:"ClientCount"` // 该实例已上报的总应用数量 // 注意:此字段可能返回 null,表示取不到有效值。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // CLS日志集 | ES集群ID // 注意:此字段可能返回 null,表示取不到有效值。 LogSet *string `json:"LogSet,omitnil,omitempty" name:"LogSet"` // Metric数据保存时长 // 注意:此字段可能返回 null,表示取不到有效值。 MetricDuration *int64 `json:"MetricDuration,omitnil,omitempty" name:"MetricDuration"` // 用户自定义展示标签列表 // 注意:此字段可能返回 null,表示取不到有效值。 CustomShowTags []*string `json:"CustomShowTags,omitnil,omitempty" name:"CustomShowTags"` // 实例计费模式 // 1为预付费 // 0为按量付费 // 注意:此字段可能返回 null,表示取不到有效值。 PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` // 实例计费模式是否生效 // 注意:此字段可能返回 null,表示取不到有效值。 PayModeEffective *bool `json:"PayModeEffective,omitnil,omitempty" name:"PayModeEffective"` }
type ApmMetricRecord ¶ added in v1.0.331
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) CreateApmInstance ¶ added in v1.0.304
func (c *Client) CreateApmInstance(request *CreateApmInstanceRequest) (response *CreateApmInstanceResponse, err error)
CreateApmInstance 业务购买APM实例,调用该接口创建
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_REGIONNOTSUPPORT = "FailedOperation.RegionNotSupport" FAILEDOPERATION_SENDREQUEST = "FailedOperation.SendRequest"
func (*Client) CreateApmInstanceWithContext ¶ added in v1.0.324
func (c *Client) CreateApmInstanceWithContext(ctx context.Context, request *CreateApmInstanceRequest) (response *CreateApmInstanceResponse, err error)
CreateApmInstance 业务购买APM实例,调用该接口创建
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_REGIONNOTSUPPORT = "FailedOperation.RegionNotSupport" FAILEDOPERATION_SENDREQUEST = "FailedOperation.SendRequest"
func (*Client) DescribeApmAgent ¶
func (c *Client) DescribeApmAgent(request *DescribeApmAgentRequest) (response *DescribeApmAgentResponse, err error)
DescribeApmAgent 获取APM Agent信息
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APPIDNOTMATCHINSTANCEINFO = "FailedOperation.AppIdNotMatchInstanceInfo" FAILEDOPERATION_DEMOINSTANCENOTALLOWMODIFIED = "FailedOperation.DemoInstanceNotAllowModified" FAILEDOPERATION_INSTANCEIDISEMPTY = "FailedOperation.InstanceIdIsEmpty" FAILEDOPERATION_INSTANCENOTFOUND = "FailedOperation.InstanceNotFound" FAILEDOPERATION_NOTINNERVPC = "FailedOperation.NotInnerVPC" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeApmAgentWithContext ¶ added in v1.0.324
func (c *Client) DescribeApmAgentWithContext(ctx context.Context, request *DescribeApmAgentRequest) (response *DescribeApmAgentResponse, err error)
DescribeApmAgent 获取APM Agent信息
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APPIDNOTMATCHINSTANCEINFO = "FailedOperation.AppIdNotMatchInstanceInfo" FAILEDOPERATION_DEMOINSTANCENOTALLOWMODIFIED = "FailedOperation.DemoInstanceNotAllowModified" FAILEDOPERATION_INSTANCEIDISEMPTY = "FailedOperation.InstanceIdIsEmpty" FAILEDOPERATION_INSTANCENOTFOUND = "FailedOperation.InstanceNotFound" FAILEDOPERATION_NOTINNERVPC = "FailedOperation.NotInnerVPC" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeApmInstances ¶ added in v1.0.303
func (c *Client) DescribeApmInstances(request *DescribeApmInstancesRequest) (response *DescribeApmInstancesResponse, err error)
DescribeApmInstances APM实例列表拉取
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCESSTAGFAIL = "FailedOperation.AccessTagFail" FAILEDOPERATION_SENDREQUEST = "FailedOperation.SendRequest"
func (*Client) DescribeApmInstancesWithContext ¶ added in v1.0.324
func (c *Client) DescribeApmInstancesWithContext(ctx context.Context, request *DescribeApmInstancesRequest) (response *DescribeApmInstancesResponse, err error)
DescribeApmInstances APM实例列表拉取
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCESSTAGFAIL = "FailedOperation.AccessTagFail" FAILEDOPERATION_SENDREQUEST = "FailedOperation.SendRequest"
func (*Client) DescribeGeneralApmApplicationConfig ¶ added in v1.0.909
func (c *Client) DescribeGeneralApmApplicationConfig(request *DescribeGeneralApmApplicationConfigRequest) (response *DescribeGeneralApmApplicationConfigResponse, err error)
DescribeGeneralApmApplicationConfig 查询应用配置信息
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APPIDNOTMATCHINSTANCEINFO = "FailedOperation.AppIdNotMatchInstanceInfo" FAILEDOPERATION_INSTANCENOTFOUND = "FailedOperation.InstanceNotFound" FAILEDOPERATION_INVALIDSERVICENAME = "FailedOperation.InvalidServiceName"
func (*Client) DescribeGeneralApmApplicationConfigWithContext ¶ added in v1.0.909
func (c *Client) DescribeGeneralApmApplicationConfigWithContext(ctx context.Context, request *DescribeGeneralApmApplicationConfigRequest) (response *DescribeGeneralApmApplicationConfigResponse, err error)
DescribeGeneralApmApplicationConfig 查询应用配置信息
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APPIDNOTMATCHINSTANCEINFO = "FailedOperation.AppIdNotMatchInstanceInfo" FAILEDOPERATION_INSTANCENOTFOUND = "FailedOperation.InstanceNotFound" FAILEDOPERATION_INVALIDSERVICENAME = "FailedOperation.InvalidServiceName"
func (*Client) DescribeGeneralMetricData ¶ added in v1.0.401
func (c *Client) DescribeGeneralMetricData(request *DescribeGeneralMetricDataRequest) (response *DescribeGeneralMetricDataResponse, err error)
DescribeGeneralMetricData 获取指标数据通用接口。用户根据需要上送请求参数,返回对应的指标数据。
接口调用频率限制为:20次/秒,1200次/分钟。单请求的数据点数限制为1440个。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APPIDNOTMATCHINSTANCEINFO = "FailedOperation.AppIdNotMatchInstanceInfo" FAILEDOPERATION_INSTANCEIDISEMPTY = "FailedOperation.InstanceIdIsEmpty" FAILEDOPERATION_INSTANCENOTFOUND = "FailedOperation.InstanceNotFound" FAILEDOPERATION_INVALIDINSTANCEID = "FailedOperation.InvalidInstanceID" FAILEDOPERATION_METRICFILTERSLACKPARAMS = "FailedOperation.MetricFiltersLackParams" FAILEDOPERATION_QUERYTIMEINTERVALISNOTSUPPORTED = "FailedOperation.QueryTimeIntervalIsNotSupported" FAILEDOPERATION_VIEWNAMENOTEXISTORILLEGAL = "FailedOperation.ViewNameNotExistOrIllegal" INVALIDPARAMETER_FILTERSFIELDSNOTEXISTORILLEGAL = "InvalidParameter.FiltersFieldsNotExistOrIllegal" INVALIDPARAMETER_GROUPBYFIELDSNOTEXISTORILLEGAL = "InvalidParameter.GroupByFieldsNotExistOrIllegal" INVALIDPARAMETER_METRICFILTERSLACKPARAMS = "InvalidParameter.MetricFiltersLackParams" INVALIDPARAMETER_METRICSFIELDNOTEXISTORILLEGAL = "InvalidParameter.MetricsFieldNotExistOrIllegal" INVALIDPARAMETER_METRICSFIELDSNOTALLOWEMPTY = "InvalidParameter.MetricsFieldsNotAllowEmpty" INVALIDPARAMETER_PERIODISILLEGAL = "InvalidParameter.PeriodIsIllegal" INVALIDPARAMETER_QUERYTIMEINTERVALISNOTSUPPORTED = "InvalidParameter.QueryTimeIntervalIsNotSupported" INVALIDPARAMETER_VIEWNAMENOTEXISTORILLEGAL = "InvalidParameter.ViewNameNotExistOrIllegal"
func (*Client) DescribeGeneralMetricDataWithContext ¶ added in v1.0.401
func (c *Client) DescribeGeneralMetricDataWithContext(ctx context.Context, request *DescribeGeneralMetricDataRequest) (response *DescribeGeneralMetricDataResponse, err error)
DescribeGeneralMetricData 获取指标数据通用接口。用户根据需要上送请求参数,返回对应的指标数据。
接口调用频率限制为:20次/秒,1200次/分钟。单请求的数据点数限制为1440个。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APPIDNOTMATCHINSTANCEINFO = "FailedOperation.AppIdNotMatchInstanceInfo" FAILEDOPERATION_INSTANCEIDISEMPTY = "FailedOperation.InstanceIdIsEmpty" FAILEDOPERATION_INSTANCENOTFOUND = "FailedOperation.InstanceNotFound" FAILEDOPERATION_INVALIDINSTANCEID = "FailedOperation.InvalidInstanceID" FAILEDOPERATION_METRICFILTERSLACKPARAMS = "FailedOperation.MetricFiltersLackParams" FAILEDOPERATION_QUERYTIMEINTERVALISNOTSUPPORTED = "FailedOperation.QueryTimeIntervalIsNotSupported" FAILEDOPERATION_VIEWNAMENOTEXISTORILLEGAL = "FailedOperation.ViewNameNotExistOrIllegal" INVALIDPARAMETER_FILTERSFIELDSNOTEXISTORILLEGAL = "InvalidParameter.FiltersFieldsNotExistOrIllegal" INVALIDPARAMETER_GROUPBYFIELDSNOTEXISTORILLEGAL = "InvalidParameter.GroupByFieldsNotExistOrIllegal" INVALIDPARAMETER_METRICFILTERSLACKPARAMS = "InvalidParameter.MetricFiltersLackParams" INVALIDPARAMETER_METRICSFIELDNOTEXISTORILLEGAL = "InvalidParameter.MetricsFieldNotExistOrIllegal" INVALIDPARAMETER_METRICSFIELDSNOTALLOWEMPTY = "InvalidParameter.MetricsFieldsNotAllowEmpty" INVALIDPARAMETER_PERIODISILLEGAL = "InvalidParameter.PeriodIsIllegal" INVALIDPARAMETER_QUERYTIMEINTERVALISNOTSUPPORTED = "InvalidParameter.QueryTimeIntervalIsNotSupported" INVALIDPARAMETER_VIEWNAMENOTEXISTORILLEGAL = "InvalidParameter.ViewNameNotExistOrIllegal"
func (*Client) DescribeGeneralSpanList ¶ added in v1.0.753
func (c *Client) DescribeGeneralSpanList(request *DescribeGeneralSpanListRequest) (response *DescribeGeneralSpanListResponse, err error)
DescribeGeneralSpanList 通用查询调用链列表
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APPIDNOTMATCHINSTANCEINFO = "FailedOperation.AppIdNotMatchInstanceInfo" FAILEDOPERATION_INSTANCEIDISEMPTY = "FailedOperation.InstanceIdIsEmpty" FAILEDOPERATION_INSTANCENOTFOUND = "FailedOperation.InstanceNotFound" INTERNALERROR = "InternalError"
func (*Client) DescribeGeneralSpanListWithContext ¶ added in v1.0.753
func (c *Client) DescribeGeneralSpanListWithContext(ctx context.Context, request *DescribeGeneralSpanListRequest) (response *DescribeGeneralSpanListResponse, err error)
DescribeGeneralSpanList 通用查询调用链列表
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APPIDNOTMATCHINSTANCEINFO = "FailedOperation.AppIdNotMatchInstanceInfo" FAILEDOPERATION_INSTANCEIDISEMPTY = "FailedOperation.InstanceIdIsEmpty" FAILEDOPERATION_INSTANCENOTFOUND = "FailedOperation.InstanceNotFound" INTERNALERROR = "InternalError"
func (*Client) DescribeMetricRecords ¶ added in v1.0.331
func (c *Client) DescribeMetricRecords(request *DescribeMetricRecordsRequest) (response *DescribeMetricRecordsResponse, err error)
DescribeMetricRecords 拉取通用指标列表
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APPIDNOTMATCHINSTANCEINFO = "FailedOperation.AppIdNotMatchInstanceInfo" FAILEDOPERATION_INSTANCEIDISEMPTY = "FailedOperation.InstanceIdIsEmpty" FAILEDOPERATION_INSTANCENOTFOUND = "FailedOperation.InstanceNotFound" FAILEDOPERATION_INVALIDINSTANCEID = "FailedOperation.InvalidInstanceID" FAILEDOPERATION_INVALIDREQUEST = "FailedOperation.InvalidRequest" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeMetricRecordsWithContext ¶ added in v1.0.331
func (c *Client) DescribeMetricRecordsWithContext(ctx context.Context, request *DescribeMetricRecordsRequest) (response *DescribeMetricRecordsResponse, err error)
DescribeMetricRecords 拉取通用指标列表
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APPIDNOTMATCHINSTANCEINFO = "FailedOperation.AppIdNotMatchInstanceInfo" FAILEDOPERATION_INSTANCEIDISEMPTY = "FailedOperation.InstanceIdIsEmpty" FAILEDOPERATION_INSTANCENOTFOUND = "FailedOperation.InstanceNotFound" FAILEDOPERATION_INVALIDINSTANCEID = "FailedOperation.InvalidInstanceID" FAILEDOPERATION_INVALIDREQUEST = "FailedOperation.InvalidRequest" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeServiceOverview ¶ added in v1.0.391
func (c *Client) DescribeServiceOverview(request *DescribeServiceOverviewRequest) (response *DescribeServiceOverviewResponse, err error)
DescribeServiceOverview 服务概览数据拉取
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APPIDNOTMATCHINSTANCEINFO = "FailedOperation.AppIdNotMatchInstanceInfo" FAILEDOPERATION_INSTANCEIDISEMPTY = "FailedOperation.InstanceIdIsEmpty" FAILEDOPERATION_INSTANCENOTFOUND = "FailedOperation.InstanceNotFound" FAILEDOPERATION_INVALIDREQUEST = "FailedOperation.InvalidRequest" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeServiceOverviewWithContext ¶ added in v1.0.391
func (c *Client) DescribeServiceOverviewWithContext(ctx context.Context, request *DescribeServiceOverviewRequest) (response *DescribeServiceOverviewResponse, err error)
DescribeServiceOverview 服务概览数据拉取
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APPIDNOTMATCHINSTANCEINFO = "FailedOperation.AppIdNotMatchInstanceInfo" FAILEDOPERATION_INSTANCEIDISEMPTY = "FailedOperation.InstanceIdIsEmpty" FAILEDOPERATION_INSTANCENOTFOUND = "FailedOperation.InstanceNotFound" FAILEDOPERATION_INVALIDREQUEST = "FailedOperation.InvalidRequest" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeTagValues ¶ added in v1.0.909
func (c *Client) DescribeTagValues(request *DescribeTagValuesRequest) (response *DescribeTagValuesResponse, err error)
DescribeTagValues 根据维度名和过滤条件,查询维度数据.
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APPIDNOTMATCHINSTANCEINFO = "FailedOperation.AppIdNotMatchInstanceInfo" FAILEDOPERATION_INSTANCEIDISEMPTY = "FailedOperation.InstanceIdIsEmpty" FAILEDOPERATION_INSTANCENOTFOUND = "FailedOperation.InstanceNotFound"
func (*Client) DescribeTagValuesWithContext ¶ added in v1.0.909
func (c *Client) DescribeTagValuesWithContext(ctx context.Context, request *DescribeTagValuesRequest) (response *DescribeTagValuesResponse, err error)
DescribeTagValues 根据维度名和过滤条件,查询维度数据.
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APPIDNOTMATCHINSTANCEINFO = "FailedOperation.AppIdNotMatchInstanceInfo" FAILEDOPERATION_INSTANCEIDISEMPTY = "FailedOperation.InstanceIdIsEmpty" FAILEDOPERATION_INSTANCENOTFOUND = "FailedOperation.InstanceNotFound"
func (*Client) ModifyApmInstance ¶ added in v1.0.621
func (c *Client) ModifyApmInstance(request *ModifyApmInstanceRequest) (response *ModifyApmInstanceResponse, err error)
ModifyApmInstance 修改APM实例接口
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCESSTAGFAIL = "FailedOperation.AccessTagFail" FAILEDOPERATION_APPIDNOTMATCHINSTANCEINFO = "FailedOperation.AppIdNotMatchInstanceInfo" FAILEDOPERATION_INSTANCEIDISEMPTY = "FailedOperation.InstanceIdIsEmpty" FAILEDOPERATION_INSTANCENOTFOUND = "FailedOperation.InstanceNotFound" FAILEDOPERATION_SENDREQUEST = "FailedOperation.SendRequest" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) ModifyApmInstanceWithContext ¶ added in v1.0.621
func (c *Client) ModifyApmInstanceWithContext(ctx context.Context, request *ModifyApmInstanceRequest) (response *ModifyApmInstanceResponse, err error)
ModifyApmInstance 修改APM实例接口
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCESSTAGFAIL = "FailedOperation.AccessTagFail" FAILEDOPERATION_APPIDNOTMATCHINSTANCEINFO = "FailedOperation.AppIdNotMatchInstanceInfo" FAILEDOPERATION_INSTANCEIDISEMPTY = "FailedOperation.InstanceIdIsEmpty" FAILEDOPERATION_INSTANCENOTFOUND = "FailedOperation.InstanceNotFound" FAILEDOPERATION_SENDREQUEST = "FailedOperation.SendRequest" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) ModifyGeneralApmApplicationConfig ¶ added in v1.0.909
func (c *Client) ModifyGeneralApmApplicationConfig(request *ModifyGeneralApmApplicationConfigRequest) (response *ModifyGeneralApmApplicationConfigResponse, err error)
ModifyGeneralApmApplicationConfig 对外开放的openApi,客户可以灵活的指定需要修改的字段,再加入需要修改的服务列表.
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APMCREDENTIALNOTEXIST = "FailedOperation.ApmCredentialNotExist" FAILEDOPERATION_DUPLICATESERVICE = "FailedOperation.DuplicateService" FAILEDOPERATION_DUPLICATETAGFIELD = "FailedOperation.DuplicateTagField" FAILEDOPERATION_INVALIDREGEX = "FailedOperation.InvalidRegex" FAILEDOPERATION_INVALIDTAGFIELD = "FailedOperation.InvalidTagField" FAILEDOPERATION_INVALIDTOKEN = "FailedOperation.InvalidToken" FAILEDOPERATION_SERVICELISTEXCEEDINGLIMITNUMBER = "FailedOperation.ServiceListExceedingLimitNumber" FAILEDOPERATION_SERVICELISTNULL = "FailedOperation.ServiceListNull"
func (*Client) ModifyGeneralApmApplicationConfigWithContext ¶ added in v1.0.909
func (c *Client) ModifyGeneralApmApplicationConfigWithContext(ctx context.Context, request *ModifyGeneralApmApplicationConfigRequest) (response *ModifyGeneralApmApplicationConfigResponse, err error)
ModifyGeneralApmApplicationConfig 对外开放的openApi,客户可以灵活的指定需要修改的字段,再加入需要修改的服务列表.
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APMCREDENTIALNOTEXIST = "FailedOperation.ApmCredentialNotExist" FAILEDOPERATION_DUPLICATESERVICE = "FailedOperation.DuplicateService" FAILEDOPERATION_DUPLICATETAGFIELD = "FailedOperation.DuplicateTagField" FAILEDOPERATION_INVALIDREGEX = "FailedOperation.InvalidRegex" FAILEDOPERATION_INVALIDTAGFIELD = "FailedOperation.InvalidTagField" FAILEDOPERATION_INVALIDTOKEN = "FailedOperation.InvalidToken" FAILEDOPERATION_SERVICELISTEXCEEDINGLIMITNUMBER = "FailedOperation.ServiceListExceedingLimitNumber" FAILEDOPERATION_SERVICELISTNULL = "FailedOperation.ServiceListNull"
func (*Client) TerminateApmInstance ¶ added in v1.0.621
func (c *Client) TerminateApmInstance(request *TerminateApmInstanceRequest) (response *TerminateApmInstanceResponse, err error)
TerminateApmInstance apm销毁实例
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APPIDNOTMATCHINSTANCEINFO = "FailedOperation.AppIdNotMatchInstanceInfo" FAILEDOPERATION_INSTANCEIDISEMPTY = "FailedOperation.InstanceIdIsEmpty" FAILEDOPERATION_INSTANCENOTFOUND = "FailedOperation.InstanceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) TerminateApmInstanceWithContext ¶ added in v1.0.621
func (c *Client) TerminateApmInstanceWithContext(ctx context.Context, request *TerminateApmInstanceRequest) (response *TerminateApmInstanceResponse, err error)
TerminateApmInstance apm销毁实例
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APPIDNOTMATCHINSTANCEINFO = "FailedOperation.AppIdNotMatchInstanceInfo" FAILEDOPERATION_INSTANCEIDISEMPTY = "FailedOperation.InstanceIdIsEmpty" FAILEDOPERATION_INSTANCENOTFOUND = "FailedOperation.InstanceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
type CreateApmInstanceRequest ¶ added in v1.0.304
type CreateApmInstanceRequest struct { *tchttp.BaseRequest // 实例名 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 实例描述信息 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // Trace数据保存时长,单位为天默认存储为3天 TraceDuration *int64 `json:"TraceDuration,omitnil,omitempty" name:"TraceDuration"` // 标签列表 Tags []*ApmTag `json:"Tags,omitnil,omitempty" name:"Tags"` // 实例上报额度值,默认赋值为0表示不限制上报额度 SpanDailyCounters *uint64 `json:"SpanDailyCounters,omitnil,omitempty" name:"SpanDailyCounters"` // 实例的计费模式 PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` }
func NewCreateApmInstanceRequest ¶ added in v1.0.304
func NewCreateApmInstanceRequest() (request *CreateApmInstanceRequest)
func (*CreateApmInstanceRequest) FromJsonString ¶ added in v1.0.304
func (r *CreateApmInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateApmInstanceRequest) ToJsonString ¶ added in v1.0.304
func (r *CreateApmInstanceRequest) ToJsonString() string
type CreateApmInstanceRequestParams ¶ added in v1.0.426
type CreateApmInstanceRequestParams struct { // 实例名 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 实例描述信息 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // Trace数据保存时长,单位为天默认存储为3天 TraceDuration *int64 `json:"TraceDuration,omitnil,omitempty" name:"TraceDuration"` // 标签列表 Tags []*ApmTag `json:"Tags,omitnil,omitempty" name:"Tags"` // 实例上报额度值,默认赋值为0表示不限制上报额度 SpanDailyCounters *uint64 `json:"SpanDailyCounters,omitnil,omitempty" name:"SpanDailyCounters"` // 实例的计费模式 PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` }
Predefined struct for user
type CreateApmInstanceResponse ¶ added in v1.0.304
type CreateApmInstanceResponse struct { *tchttp.BaseResponse Response *CreateApmInstanceResponseParams `json:"Response"` }
func NewCreateApmInstanceResponse ¶ added in v1.0.304
func NewCreateApmInstanceResponse() (response *CreateApmInstanceResponse)
func (*CreateApmInstanceResponse) FromJsonString ¶ added in v1.0.304
func (r *CreateApmInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateApmInstanceResponse) ToJsonString ¶ added in v1.0.304
func (r *CreateApmInstanceResponse) ToJsonString() string
type CreateApmInstanceResponseParams ¶ added in v1.0.426
type CreateApmInstanceResponseParams struct { // 实例ID // 注意:此字段可能返回 null,表示取不到有效值。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeApmAgentRequest ¶
type DescribeApmAgentRequest struct { *tchttp.BaseRequest // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 接入方式 AgentType *string `json:"AgentType,omitnil,omitempty" name:"AgentType"` // 环境 NetworkMode *string `json:"NetworkMode,omitnil,omitempty" name:"NetworkMode"` // 语言 LanguageEnvironment *string `json:"LanguageEnvironment,omitnil,omitempty" name:"LanguageEnvironment"` // 上报方式 ReportMethod *string `json:"ReportMethod,omitnil,omitempty" name:"ReportMethod"` }
func NewDescribeApmAgentRequest ¶
func NewDescribeApmAgentRequest() (request *DescribeApmAgentRequest)
func (*DescribeApmAgentRequest) FromJsonString ¶
func (r *DescribeApmAgentRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeApmAgentRequest) ToJsonString ¶
func (r *DescribeApmAgentRequest) ToJsonString() string
type DescribeApmAgentRequestParams ¶ added in v1.0.426
type DescribeApmAgentRequestParams struct { // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 接入方式 AgentType *string `json:"AgentType,omitnil,omitempty" name:"AgentType"` // 环境 NetworkMode *string `json:"NetworkMode,omitnil,omitempty" name:"NetworkMode"` // 语言 LanguageEnvironment *string `json:"LanguageEnvironment,omitnil,omitempty" name:"LanguageEnvironment"` // 上报方式 ReportMethod *string `json:"ReportMethod,omitnil,omitempty" name:"ReportMethod"` }
Predefined struct for user
type DescribeApmAgentResponse ¶
type DescribeApmAgentResponse struct { *tchttp.BaseResponse Response *DescribeApmAgentResponseParams `json:"Response"` }
func NewDescribeApmAgentResponse ¶
func NewDescribeApmAgentResponse() (response *DescribeApmAgentResponse)
func (*DescribeApmAgentResponse) FromJsonString ¶
func (r *DescribeApmAgentResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeApmAgentResponse) ToJsonString ¶
func (r *DescribeApmAgentResponse) ToJsonString() string
type DescribeApmAgentResponseParams ¶ added in v1.0.426
type DescribeApmAgentResponseParams struct { // Agent信息 // 注意:此字段可能返回 null,表示取不到有效值。 ApmAgent *ApmAgentInfo `json:"ApmAgent,omitnil,omitempty" name:"ApmAgent"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeApmInstancesRequest ¶ added in v1.0.303
type DescribeApmInstancesRequest struct { *tchttp.BaseRequest // Tag列表 Tags []*ApmTag `json:"Tags,omitnil,omitempty" name:"Tags"` // 搜索实例名 InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // 过滤实例ID InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 是否查询官方demo实例 DemoInstanceFlag *int64 `json:"DemoInstanceFlag,omitnil,omitempty" name:"DemoInstanceFlag"` // 是否查询全地域实例 AllRegionsFlag *int64 `json:"AllRegionsFlag,omitnil,omitempty" name:"AllRegionsFlag"` }
func NewDescribeApmInstancesRequest ¶ added in v1.0.303
func NewDescribeApmInstancesRequest() (request *DescribeApmInstancesRequest)
func (*DescribeApmInstancesRequest) FromJsonString ¶ added in v1.0.303
func (r *DescribeApmInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeApmInstancesRequest) ToJsonString ¶ added in v1.0.303
func (r *DescribeApmInstancesRequest) ToJsonString() string
type DescribeApmInstancesRequestParams ¶ added in v1.0.426
type DescribeApmInstancesRequestParams struct { // Tag列表 Tags []*ApmTag `json:"Tags,omitnil,omitempty" name:"Tags"` // 搜索实例名 InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // 过滤实例ID InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 是否查询官方demo实例 DemoInstanceFlag *int64 `json:"DemoInstanceFlag,omitnil,omitempty" name:"DemoInstanceFlag"` // 是否查询全地域实例 AllRegionsFlag *int64 `json:"AllRegionsFlag,omitnil,omitempty" name:"AllRegionsFlag"` }
Predefined struct for user
type DescribeApmInstancesResponse ¶ added in v1.0.303
type DescribeApmInstancesResponse struct { *tchttp.BaseResponse Response *DescribeApmInstancesResponseParams `json:"Response"` }
func NewDescribeApmInstancesResponse ¶ added in v1.0.303
func NewDescribeApmInstancesResponse() (response *DescribeApmInstancesResponse)
func (*DescribeApmInstancesResponse) FromJsonString ¶ added in v1.0.303
func (r *DescribeApmInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeApmInstancesResponse) ToJsonString ¶ added in v1.0.303
func (r *DescribeApmInstancesResponse) ToJsonString() string
type DescribeApmInstancesResponseParams ¶ added in v1.0.426
type DescribeApmInstancesResponseParams struct { // apm实例列表 // 注意:此字段可能返回 null,表示取不到有效值。 Instances []*ApmInstanceDetail `json:"Instances,omitnil,omitempty" name:"Instances"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeGeneralApmApplicationConfigRequest ¶ added in v1.0.909
type DescribeGeneralApmApplicationConfigRequest struct { *tchttp.BaseRequest // 应用名 ServiceName *string `json:"ServiceName,omitnil,omitempty" name:"ServiceName"` // 业务系统ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
func NewDescribeGeneralApmApplicationConfigRequest ¶ added in v1.0.909
func NewDescribeGeneralApmApplicationConfigRequest() (request *DescribeGeneralApmApplicationConfigRequest)
func (*DescribeGeneralApmApplicationConfigRequest) FromJsonString ¶ added in v1.0.909
func (r *DescribeGeneralApmApplicationConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGeneralApmApplicationConfigRequest) ToJsonString ¶ added in v1.0.909
func (r *DescribeGeneralApmApplicationConfigRequest) ToJsonString() string
type DescribeGeneralApmApplicationConfigRequestParams ¶ added in v1.0.909
type DescribeGeneralApmApplicationConfigRequestParams struct { // 应用名 ServiceName *string `json:"ServiceName,omitnil,omitempty" name:"ServiceName"` // 业务系统ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeGeneralApmApplicationConfigResponse ¶ added in v1.0.909
type DescribeGeneralApmApplicationConfigResponse struct { *tchttp.BaseResponse Response *DescribeGeneralApmApplicationConfigResponseParams `json:"Response"` }
func NewDescribeGeneralApmApplicationConfigResponse ¶ added in v1.0.909
func NewDescribeGeneralApmApplicationConfigResponse() (response *DescribeGeneralApmApplicationConfigResponse)
func (*DescribeGeneralApmApplicationConfigResponse) FromJsonString ¶ added in v1.0.909
func (r *DescribeGeneralApmApplicationConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGeneralApmApplicationConfigResponse) ToJsonString ¶ added in v1.0.909
func (r *DescribeGeneralApmApplicationConfigResponse) ToJsonString() string
type DescribeGeneralApmApplicationConfigResponseParams ¶ added in v1.0.909
type DescribeGeneralApmApplicationConfigResponseParams struct { // 应用配置项 ApmApplicationConfigView *ApmApplicationConfigView `json:"ApmApplicationConfigView,omitnil,omitempty" name:"ApmApplicationConfigView"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeGeneralMetricDataRequest ¶ added in v1.0.401
type DescribeGeneralMetricDataRequest struct { *tchttp.BaseRequest // 要过滤的维度信息: // service_metric视图支持:service.name(服务名)、span.kind(客户端/服务端视角)为维度进行过滤,service.name(服务名)必填。 // span.kind: // server:服务端视角 // client:客户端视角 // 默认为服务端视角进行查询。 // runtime_metric视图支持:service.name(服务名)维度进行过滤,service.name(服务名)必填。 // sql_metric视图支持:service.name(服务名)、db.instance(数据库名称)、db.ip(数据库实例ip)维度进行过滤,查询service_slow_sql_count(慢sql)指标时service.name必填,查询sql_duration_avg(耗时)指标时db.instance(数据库名称)必填。 Filters []*GeneralFilter `json:"Filters,omitnil,omitempty" name:"Filters"` // 需要查询的指标,不可自定义输入。 // service_metric视图支持:service_request_count(总请求)、service_duration(平均响应时间)、service_error_req_rate(平均错误率)、service_slow_call_count(慢调用)、service_error_request_count(异常数量)。 // runtime_metric视图支持:service_gc_full_count(Full GC)。 // sql_metric视图支持:service_slow_sql_count(慢sql)、sql_duration_avg(耗时)。 Metrics []*string `json:"Metrics,omitnil,omitempty" name:"Metrics"` // 业务系统ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 视图名称,不可自定义输入。支持:service_metric、runtime_metric、sql_metric。 ViewName *string `json:"ViewName,omitnil,omitempty" name:"ViewName"` // 聚合维度: // service_metric视图支持:service.name(服务名)、span.kind (客户端/服务端视角)维度进行聚合,service.name(服务名)必填。 // runtime_metric视图支持:service.name(服务名)维度进行聚合,service.name(服务名)必填。 // sql_metric视图支持:service.name(服务名)、db.statement(sql语句)维度进行聚合,查询service_slow_sql_count(慢sql)时service.name(服务名)必填,查询sql_duration_avg(耗时)指标时service.name(服务名)、db.statement(sql语句)必填。 GroupBy []*string `json:"GroupBy,omitnil,omitempty" name:"GroupBy"` // 起始时间的时间戳,单位为秒,只支持查询2天内最多1小时的指标数据。 StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间的时间戳,单位为秒,只支持查询2天内最多1小时的指标数据。 EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 聚合粒度,单位为秒,最小为60s,即一分钟的聚合粒度;如果为空或0则计算开始时间到截止时间的指标数据,上报其他值会报错。 Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` // 对查询指标进行排序: // service_metric视图支持:service_request_count(总请求)、service_duration(平均响应时间)、service_error_req_rate(平均错误率)、service_slow_call_count(慢调用)、service_error_request_count(异常数量)。 // runtime_metric视图支持:service_gc_full_count(Full GC)。 // sql_metric视图支持:service_slow_sql_count(慢sql)、sql_duration_avg(耗时)。 // asc:对查询指标进行升序排序 // desc:对查询指标进行降序排序 OrderBy *OrderBy `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 查询指标的限制条数,目前最多展示50条数据,PageSize取值为1-50,上送PageSize则根据PageSize的值展示限制条数。 PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` }
func NewDescribeGeneralMetricDataRequest ¶ added in v1.0.401
func NewDescribeGeneralMetricDataRequest() (request *DescribeGeneralMetricDataRequest)
func (*DescribeGeneralMetricDataRequest) FromJsonString ¶ added in v1.0.401
func (r *DescribeGeneralMetricDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGeneralMetricDataRequest) ToJsonString ¶ added in v1.0.401
func (r *DescribeGeneralMetricDataRequest) ToJsonString() string
type DescribeGeneralMetricDataRequestParams ¶ added in v1.0.426
type DescribeGeneralMetricDataRequestParams struct { // 要过滤的维度信息: // service_metric视图支持:service.name(服务名)、span.kind(客户端/服务端视角)为维度进行过滤,service.name(服务名)必填。 // span.kind: // server:服务端视角 // client:客户端视角 // 默认为服务端视角进行查询。 // runtime_metric视图支持:service.name(服务名)维度进行过滤,service.name(服务名)必填。 // sql_metric视图支持:service.name(服务名)、db.instance(数据库名称)、db.ip(数据库实例ip)维度进行过滤,查询service_slow_sql_count(慢sql)指标时service.name必填,查询sql_duration_avg(耗时)指标时db.instance(数据库名称)必填。 Filters []*GeneralFilter `json:"Filters,omitnil,omitempty" name:"Filters"` // 需要查询的指标,不可自定义输入。 // service_metric视图支持:service_request_count(总请求)、service_duration(平均响应时间)、service_error_req_rate(平均错误率)、service_slow_call_count(慢调用)、service_error_request_count(异常数量)。 // runtime_metric视图支持:service_gc_full_count(Full GC)。 // sql_metric视图支持:service_slow_sql_count(慢sql)、sql_duration_avg(耗时)。 Metrics []*string `json:"Metrics,omitnil,omitempty" name:"Metrics"` // 业务系统ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 视图名称,不可自定义输入。支持:service_metric、runtime_metric、sql_metric。 ViewName *string `json:"ViewName,omitnil,omitempty" name:"ViewName"` // 聚合维度: // service_metric视图支持:service.name(服务名)、span.kind (客户端/服务端视角)维度进行聚合,service.name(服务名)必填。 // runtime_metric视图支持:service.name(服务名)维度进行聚合,service.name(服务名)必填。 // sql_metric视图支持:service.name(服务名)、db.statement(sql语句)维度进行聚合,查询service_slow_sql_count(慢sql)时service.name(服务名)必填,查询sql_duration_avg(耗时)指标时service.name(服务名)、db.statement(sql语句)必填。 GroupBy []*string `json:"GroupBy,omitnil,omitempty" name:"GroupBy"` // 起始时间的时间戳,单位为秒,只支持查询2天内最多1小时的指标数据。 StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间的时间戳,单位为秒,只支持查询2天内最多1小时的指标数据。 EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 聚合粒度,单位为秒,最小为60s,即一分钟的聚合粒度;如果为空或0则计算开始时间到截止时间的指标数据,上报其他值会报错。 Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` // 对查询指标进行排序: // service_metric视图支持:service_request_count(总请求)、service_duration(平均响应时间)、service_error_req_rate(平均错误率)、service_slow_call_count(慢调用)、service_error_request_count(异常数量)。 // runtime_metric视图支持:service_gc_full_count(Full GC)。 // sql_metric视图支持:service_slow_sql_count(慢sql)、sql_duration_avg(耗时)。 // asc:对查询指标进行升序排序 // desc:对查询指标进行降序排序 OrderBy *OrderBy `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 查询指标的限制条数,目前最多展示50条数据,PageSize取值为1-50,上送PageSize则根据PageSize的值展示限制条数。 PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` }
Predefined struct for user
type DescribeGeneralMetricDataResponse ¶ added in v1.0.401
type DescribeGeneralMetricDataResponse struct { *tchttp.BaseResponse Response *DescribeGeneralMetricDataResponseParams `json:"Response"` }
func NewDescribeGeneralMetricDataResponse ¶ added in v1.0.401
func NewDescribeGeneralMetricDataResponse() (response *DescribeGeneralMetricDataResponse)
func (*DescribeGeneralMetricDataResponse) FromJsonString ¶ added in v1.0.401
func (r *DescribeGeneralMetricDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGeneralMetricDataResponse) ToJsonString ¶ added in v1.0.401
func (r *DescribeGeneralMetricDataResponse) ToJsonString() string
type DescribeGeneralMetricDataResponseParams ¶ added in v1.0.426
type DescribeGeneralMetricDataResponseParams struct { // 指标结果集 // 注意:此字段可能返回 null,表示取不到有效值。 Records []*Line `json:"Records,omitnil,omitempty" name:"Records"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeGeneralSpanListRequest ¶ added in v1.0.753
type DescribeGeneralSpanListRequest struct { *tchttp.BaseRequest // 分页 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 列表项个数 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 排序 OrderBy *OrderBy `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // span查询开始时间戳(单位:秒) StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 实例名 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 通用过滤参数 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 业务自身服务名 BusinessName *string `json:"BusinessName,omitnil,omitempty" name:"BusinessName"` // span查询结束时间戳(单位:秒) EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` }
func NewDescribeGeneralSpanListRequest ¶ added in v1.0.753
func NewDescribeGeneralSpanListRequest() (request *DescribeGeneralSpanListRequest)
func (*DescribeGeneralSpanListRequest) FromJsonString ¶ added in v1.0.753
func (r *DescribeGeneralSpanListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGeneralSpanListRequest) ToJsonString ¶ added in v1.0.753
func (r *DescribeGeneralSpanListRequest) ToJsonString() string
type DescribeGeneralSpanListRequestParams ¶ added in v1.0.753
type DescribeGeneralSpanListRequestParams struct { // 分页 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 列表项个数 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 排序 OrderBy *OrderBy `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // span查询开始时间戳(单位:秒) StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 实例名 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 通用过滤参数 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 业务自身服务名 BusinessName *string `json:"BusinessName,omitnil,omitempty" name:"BusinessName"` // span查询结束时间戳(单位:秒) EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` }
Predefined struct for user
type DescribeGeneralSpanListResponse ¶ added in v1.0.753
type DescribeGeneralSpanListResponse struct { *tchttp.BaseResponse Response *DescribeGeneralSpanListResponseParams `json:"Response"` }
func NewDescribeGeneralSpanListResponse ¶ added in v1.0.753
func NewDescribeGeneralSpanListResponse() (response *DescribeGeneralSpanListResponse)
func (*DescribeGeneralSpanListResponse) FromJsonString ¶ added in v1.0.753
func (r *DescribeGeneralSpanListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGeneralSpanListResponse) ToJsonString ¶ added in v1.0.753
func (r *DescribeGeneralSpanListResponse) ToJsonString() string
type DescribeGeneralSpanListResponseParams ¶ added in v1.0.753
type DescribeGeneralSpanListResponseParams struct { // 总数量 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Span分页列表 Spans []*Span `json:"Spans,omitnil,omitempty" name:"Spans"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeMetricRecordsRequest ¶ added in v1.0.331
type DescribeMetricRecordsRequest struct { *tchttp.BaseRequest // 过滤条件 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 指标列表 Metrics []*QueryMetricItem `json:"Metrics,omitnil,omitempty" name:"Metrics"` // 聚合维度 GroupBy []*string `json:"GroupBy,omitnil,omitempty" name:"GroupBy"` // 排序 OrderBy *OrderBy `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 每页大小 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 开始时间 StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 分页起始点 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 结束时间 EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 业务名称(默认值:taw) BusinessName *string `json:"BusinessName,omitnil,omitempty" name:"BusinessName"` // 页码 PageIndex *int64 `json:"PageIndex,omitnil,omitempty" name:"PageIndex"` // 页长 PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Or过滤条件 OrFilters []*Filter `json:"OrFilters,omitnil,omitempty" name:"OrFilters"` }
func NewDescribeMetricRecordsRequest ¶ added in v1.0.331
func NewDescribeMetricRecordsRequest() (request *DescribeMetricRecordsRequest)
func (*DescribeMetricRecordsRequest) FromJsonString ¶ added in v1.0.331
func (r *DescribeMetricRecordsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMetricRecordsRequest) ToJsonString ¶ added in v1.0.331
func (r *DescribeMetricRecordsRequest) ToJsonString() string
type DescribeMetricRecordsRequestParams ¶ added in v1.0.426
type DescribeMetricRecordsRequestParams struct { // 过滤条件 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 指标列表 Metrics []*QueryMetricItem `json:"Metrics,omitnil,omitempty" name:"Metrics"` // 聚合维度 GroupBy []*string `json:"GroupBy,omitnil,omitempty" name:"GroupBy"` // 排序 OrderBy *OrderBy `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 每页大小 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 开始时间 StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 分页起始点 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 结束时间 EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 业务名称(默认值:taw) BusinessName *string `json:"BusinessName,omitnil,omitempty" name:"BusinessName"` // 页码 PageIndex *int64 `json:"PageIndex,omitnil,omitempty" name:"PageIndex"` // 页长 PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Or过滤条件 OrFilters []*Filter `json:"OrFilters,omitnil,omitempty" name:"OrFilters"` }
Predefined struct for user
type DescribeMetricRecordsResponse ¶ added in v1.0.331
type DescribeMetricRecordsResponse struct { *tchttp.BaseResponse Response *DescribeMetricRecordsResponseParams `json:"Response"` }
func NewDescribeMetricRecordsResponse ¶ added in v1.0.331
func NewDescribeMetricRecordsResponse() (response *DescribeMetricRecordsResponse)
func (*DescribeMetricRecordsResponse) FromJsonString ¶ added in v1.0.331
func (r *DescribeMetricRecordsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMetricRecordsResponse) ToJsonString ¶ added in v1.0.331
func (r *DescribeMetricRecordsResponse) ToJsonString() string
type DescribeMetricRecordsResponseParams ¶ added in v1.0.426
type DescribeMetricRecordsResponseParams struct { // 指标结果集 // 注意:此字段可能返回 null,表示取不到有效值。 Records []*ApmMetricRecord `json:"Records,omitnil,omitempty" name:"Records"` // 查询指标结果集条数 // 注意:此字段可能返回 null,表示取不到有效值。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeServiceOverviewRequest ¶ added in v1.0.391
type DescribeServiceOverviewRequest struct { *tchttp.BaseRequest // 过滤条件 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 指标列表 Metrics []*QueryMetricItem `json:"Metrics,omitnil,omitempty" name:"Metrics"` // 聚合维度 GroupBy []*string `json:"GroupBy,omitnil,omitempty" name:"GroupBy"` // 排序 OrderBy *OrderBy `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 每页大小 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 开始时间 StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 分页起始点 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 结束时间 EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` }
func NewDescribeServiceOverviewRequest ¶ added in v1.0.391
func NewDescribeServiceOverviewRequest() (request *DescribeServiceOverviewRequest)
func (*DescribeServiceOverviewRequest) FromJsonString ¶ added in v1.0.391
func (r *DescribeServiceOverviewRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeServiceOverviewRequest) ToJsonString ¶ added in v1.0.391
func (r *DescribeServiceOverviewRequest) ToJsonString() string
type DescribeServiceOverviewRequestParams ¶ added in v1.0.426
type DescribeServiceOverviewRequestParams struct { // 过滤条件 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 指标列表 Metrics []*QueryMetricItem `json:"Metrics,omitnil,omitempty" name:"Metrics"` // 聚合维度 GroupBy []*string `json:"GroupBy,omitnil,omitempty" name:"GroupBy"` // 排序 OrderBy *OrderBy `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 每页大小 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 开始时间 StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 分页起始点 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 结束时间 EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` }
Predefined struct for user
type DescribeServiceOverviewResponse ¶ added in v1.0.391
type DescribeServiceOverviewResponse struct { *tchttp.BaseResponse Response *DescribeServiceOverviewResponseParams `json:"Response"` }
func NewDescribeServiceOverviewResponse ¶ added in v1.0.391
func NewDescribeServiceOverviewResponse() (response *DescribeServiceOverviewResponse)
func (*DescribeServiceOverviewResponse) FromJsonString ¶ added in v1.0.391
func (r *DescribeServiceOverviewResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeServiceOverviewResponse) ToJsonString ¶ added in v1.0.391
func (r *DescribeServiceOverviewResponse) ToJsonString() string
type DescribeServiceOverviewResponseParams ¶ added in v1.0.426
type DescribeServiceOverviewResponseParams struct { // 指标结果集 // 注意:此字段可能返回 null,表示取不到有效值。 Records []*ApmMetricRecord `json:"Records,omitnil,omitempty" name:"Records"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTagValuesRequest ¶ added in v1.0.909
type DescribeTagValuesRequest struct { *tchttp.BaseRequest // 维度名 TagKey *string `json:"TagKey,omitnil,omitempty" name:"TagKey"` // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 结束时间 EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 过滤条件 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 开始时间 StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Or过滤条件 OrFilters []*Filter `json:"OrFilters,omitnil,omitempty" name:"OrFilters"` // 使用类型 Type *string `json:"Type,omitnil,omitempty" name:"Type"` }
func NewDescribeTagValuesRequest ¶ added in v1.0.909
func NewDescribeTagValuesRequest() (request *DescribeTagValuesRequest)
func (*DescribeTagValuesRequest) FromJsonString ¶ added in v1.0.909
func (r *DescribeTagValuesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTagValuesRequest) ToJsonString ¶ added in v1.0.909
func (r *DescribeTagValuesRequest) ToJsonString() string
type DescribeTagValuesRequestParams ¶ added in v1.0.909
type DescribeTagValuesRequestParams struct { // 维度名 TagKey *string `json:"TagKey,omitnil,omitempty" name:"TagKey"` // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 结束时间 EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 过滤条件 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 开始时间 StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Or过滤条件 OrFilters []*Filter `json:"OrFilters,omitnil,omitempty" name:"OrFilters"` // 使用类型 Type *string `json:"Type,omitnil,omitempty" name:"Type"` }
Predefined struct for user
type DescribeTagValuesResponse ¶ added in v1.0.909
type DescribeTagValuesResponse struct { *tchttp.BaseResponse Response *DescribeTagValuesResponseParams `json:"Response"` }
func NewDescribeTagValuesResponse ¶ added in v1.0.909
func NewDescribeTagValuesResponse() (response *DescribeTagValuesResponse)
func (*DescribeTagValuesResponse) FromJsonString ¶ added in v1.0.909
func (r *DescribeTagValuesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTagValuesResponse) ToJsonString ¶ added in v1.0.909
func (r *DescribeTagValuesResponse) ToJsonString() string
type DescribeTagValuesResponseParams ¶ added in v1.0.909
type DescribeTagValuesResponseParams struct { // 维度值列表 Values []*string `json:"Values,omitnil,omitempty" name:"Values"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type GeneralFilter ¶ added in v1.0.401
type Instrument ¶ added in v1.0.909
type Line ¶ added in v1.0.401
type Line struct { // 指标名 MetricName *string `json:"MetricName,omitnil,omitempty" name:"MetricName"` // 指标中文名 MetricNameCN *string `json:"MetricNameCN,omitnil,omitempty" name:"MetricNameCN"` // 时间序列 TimeSerial []*int64 `json:"TimeSerial,omitnil,omitempty" name:"TimeSerial"` // 数据序列 // 注意:此字段可能返回 null,表示取不到有效值。 DataSerial []*float64 `json:"DataSerial,omitnil,omitempty" name:"DataSerial"` // 维度列表 // 注意:此字段可能返回 null,表示取不到有效值。 Tags []*ApmTag `json:"Tags,omitnil,omitempty" name:"Tags"` }
type ModifyApmInstanceRequest ¶ added in v1.0.621
type ModifyApmInstanceRequest struct { *tchttp.BaseRequest // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 实例名 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 标签列表 Tags []*ApmTag `json:"Tags,omitnil,omitempty" name:"Tags"` // 实例详情 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // Trace数据保存时长 TraceDuration *int64 `json:"TraceDuration,omitnil,omitempty" name:"TraceDuration"` // 是否开启计费 OpenBilling *bool `json:"OpenBilling,omitnil,omitempty" name:"OpenBilling"` // 实例上报额度 SpanDailyCounters *uint64 `json:"SpanDailyCounters,omitnil,omitempty" name:"SpanDailyCounters"` // 错误率阈值 ErrRateThreshold *int64 `json:"ErrRateThreshold,omitnil,omitempty" name:"ErrRateThreshold"` // 采样率 SampleRate *int64 `json:"SampleRate,omitnil,omitempty" name:"SampleRate"` // 是否开启错误采样 0 关 1 开 ErrorSample *int64 `json:"ErrorSample,omitnil,omitempty" name:"ErrorSample"` // 慢请求阈值 SlowRequestSavedThreshold *int64 `json:"SlowRequestSavedThreshold,omitnil,omitempty" name:"SlowRequestSavedThreshold"` // 是否开启日志功能 0 关 1 开 IsRelatedLog *int64 `json:"IsRelatedLog,omitnil,omitempty" name:"IsRelatedLog"` // 日志地域 LogRegion *string `json:"LogRegion,omitnil,omitempty" name:"LogRegion"` // CLS日志主题ID | ES 索引名 LogTopicID *string `json:"LogTopicID,omitnil,omitempty" name:"LogTopicID"` // CLS日志集 | ES集群ID LogSet *string `json:"LogSet,omitnil,omitempty" name:"LogSet"` // CLS | ES LogSource *string `json:"LogSource,omitnil,omitempty" name:"LogSource"` // 用户自定义展示标签列表 CustomShowTags []*string `json:"CustomShowTags,omitnil,omitempty" name:"CustomShowTags"` // 修改计费模式 // 1为预付费 // 0为按量付费 PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` }
func NewModifyApmInstanceRequest ¶ added in v1.0.621
func NewModifyApmInstanceRequest() (request *ModifyApmInstanceRequest)
func (*ModifyApmInstanceRequest) FromJsonString ¶ added in v1.0.621
func (r *ModifyApmInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyApmInstanceRequest) ToJsonString ¶ added in v1.0.621
func (r *ModifyApmInstanceRequest) ToJsonString() string
type ModifyApmInstanceRequestParams ¶ added in v1.0.621
type ModifyApmInstanceRequestParams struct { // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 实例名 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 标签列表 Tags []*ApmTag `json:"Tags,omitnil,omitempty" name:"Tags"` // 实例详情 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // Trace数据保存时长 TraceDuration *int64 `json:"TraceDuration,omitnil,omitempty" name:"TraceDuration"` // 是否开启计费 OpenBilling *bool `json:"OpenBilling,omitnil,omitempty" name:"OpenBilling"` // 实例上报额度 SpanDailyCounters *uint64 `json:"SpanDailyCounters,omitnil,omitempty" name:"SpanDailyCounters"` // 错误率阈值 ErrRateThreshold *int64 `json:"ErrRateThreshold,omitnil,omitempty" name:"ErrRateThreshold"` // 采样率 SampleRate *int64 `json:"SampleRate,omitnil,omitempty" name:"SampleRate"` // 是否开启错误采样 0 关 1 开 ErrorSample *int64 `json:"ErrorSample,omitnil,omitempty" name:"ErrorSample"` // 慢请求阈值 SlowRequestSavedThreshold *int64 `json:"SlowRequestSavedThreshold,omitnil,omitempty" name:"SlowRequestSavedThreshold"` // 是否开启日志功能 0 关 1 开 IsRelatedLog *int64 `json:"IsRelatedLog,omitnil,omitempty" name:"IsRelatedLog"` // 日志地域 LogRegion *string `json:"LogRegion,omitnil,omitempty" name:"LogRegion"` // CLS日志主题ID | ES 索引名 LogTopicID *string `json:"LogTopicID,omitnil,omitempty" name:"LogTopicID"` // CLS日志集 | ES集群ID LogSet *string `json:"LogSet,omitnil,omitempty" name:"LogSet"` // CLS | ES LogSource *string `json:"LogSource,omitnil,omitempty" name:"LogSource"` // 用户自定义展示标签列表 CustomShowTags []*string `json:"CustomShowTags,omitnil,omitempty" name:"CustomShowTags"` // 修改计费模式 // 1为预付费 // 0为按量付费 PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` }
Predefined struct for user
type ModifyApmInstanceResponse ¶ added in v1.0.621
type ModifyApmInstanceResponse struct { *tchttp.BaseResponse Response *ModifyApmInstanceResponseParams `json:"Response"` }
func NewModifyApmInstanceResponse ¶ added in v1.0.621
func NewModifyApmInstanceResponse() (response *ModifyApmInstanceResponse)
func (*ModifyApmInstanceResponse) FromJsonString ¶ added in v1.0.621
func (r *ModifyApmInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyApmInstanceResponse) ToJsonString ¶ added in v1.0.621
func (r *ModifyApmInstanceResponse) ToJsonString() string
type ModifyApmInstanceResponseParams ¶ added in v1.0.621
type ModifyApmInstanceResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyGeneralApmApplicationConfigRequest ¶ added in v1.0.909
type ModifyGeneralApmApplicationConfigRequest struct { *tchttp.BaseRequest // 实例Id InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 需要修改的字段key value分别指定字段名、字段值 Tags []*ApmTag `json:"Tags,omitnil,omitempty" name:"Tags"` // 需要修改配置的服务列表名称 ServiceNames []*string `json:"ServiceNames,omitnil,omitempty" name:"ServiceNames"` }
func NewModifyGeneralApmApplicationConfigRequest ¶ added in v1.0.909
func NewModifyGeneralApmApplicationConfigRequest() (request *ModifyGeneralApmApplicationConfigRequest)
func (*ModifyGeneralApmApplicationConfigRequest) FromJsonString ¶ added in v1.0.909
func (r *ModifyGeneralApmApplicationConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyGeneralApmApplicationConfigRequest) ToJsonString ¶ added in v1.0.909
func (r *ModifyGeneralApmApplicationConfigRequest) ToJsonString() string
type ModifyGeneralApmApplicationConfigRequestParams ¶ added in v1.0.909
type ModifyGeneralApmApplicationConfigRequestParams struct { // 实例Id InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 需要修改的字段key value分别指定字段名、字段值 Tags []*ApmTag `json:"Tags,omitnil,omitempty" name:"Tags"` // 需要修改配置的服务列表名称 ServiceNames []*string `json:"ServiceNames,omitnil,omitempty" name:"ServiceNames"` }
Predefined struct for user
type ModifyGeneralApmApplicationConfigResponse ¶ added in v1.0.909
type ModifyGeneralApmApplicationConfigResponse struct { *tchttp.BaseResponse Response *ModifyGeneralApmApplicationConfigResponseParams `json:"Response"` }
func NewModifyGeneralApmApplicationConfigResponse ¶ added in v1.0.909
func NewModifyGeneralApmApplicationConfigResponse() (response *ModifyGeneralApmApplicationConfigResponse)
func (*ModifyGeneralApmApplicationConfigResponse) FromJsonString ¶ added in v1.0.909
func (r *ModifyGeneralApmApplicationConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyGeneralApmApplicationConfigResponse) ToJsonString ¶ added in v1.0.909
func (r *ModifyGeneralApmApplicationConfigResponse) ToJsonString() string
type ModifyGeneralApmApplicationConfigResponseParams ¶ added in v1.0.909
type ModifyGeneralApmApplicationConfigResponseParams struct { // 返回值描述 Message *string `json:"Message,omitnil,omitempty" name:"Message"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type QueryMetricItem ¶ added in v1.0.331
type Span ¶ added in v1.0.753
type Span struct { // Trace Id // 注意:此字段可能返回 null,表示取不到有效值。 TraceID *string `json:"TraceID,omitnil,omitempty" name:"TraceID"` // 日志 // 注意:此字段可能返回 null,表示取不到有效值。 Logs []*SpanLog `json:"Logs,omitnil,omitempty" name:"Logs"` // 标签 // 注意:此字段可能返回 null,表示取不到有效值。 Tags []*SpanTag `json:"Tags,omitnil,omitempty" name:"Tags"` // 上报应用服务信息 // 注意:此字段可能返回 null,表示取不到有效值。 Process *SpanProcess `json:"Process,omitnil,omitempty" name:"Process"` // 产生时间戳(毫秒) // 注意:此字段可能返回 null,表示取不到有效值。 Timestamp *int64 `json:"Timestamp,omitnil,omitempty" name:"Timestamp"` // Span名称 // 注意:此字段可能返回 null,表示取不到有效值。 OperationName *string `json:"OperationName,omitnil,omitempty" name:"OperationName"` // 关联关系 // 注意:此字段可能返回 null,表示取不到有效值。 References []*SpanReference `json:"References,omitnil,omitempty" name:"References"` // 产生时间戳(微秒) // 注意:此字段可能返回 null,表示取不到有效值。 StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 持续耗时(微妙) // 注意:此字段可能返回 null,表示取不到有效值。 Duration *int64 `json:"Duration,omitnil,omitempty" name:"Duration"` // Span Id // 注意:此字段可能返回 null,表示取不到有效值。 SpanID *string `json:"SpanID,omitnil,omitempty" name:"SpanID"` // 产生时间戳(毫秒) // 注意:此字段可能返回 null,表示取不到有效值。 StartTimeMillis *int64 `json:"StartTimeMillis,omitnil,omitempty" name:"StartTimeMillis"` // Parent Span Id // 注意:此字段可能返回 null,表示取不到有效值。 ParentSpanID *string `json:"ParentSpanID,omitnil,omitempty" name:"ParentSpanID"` }
type SpanProcess ¶ added in v1.0.753
type SpanReference ¶ added in v1.0.753
type TerminateApmInstanceRequest ¶ added in v1.0.621
type TerminateApmInstanceRequest struct { *tchttp.BaseRequest // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
func NewTerminateApmInstanceRequest ¶ added in v1.0.621
func NewTerminateApmInstanceRequest() (request *TerminateApmInstanceRequest)
func (*TerminateApmInstanceRequest) FromJsonString ¶ added in v1.0.621
func (r *TerminateApmInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*TerminateApmInstanceRequest) ToJsonString ¶ added in v1.0.621
func (r *TerminateApmInstanceRequest) ToJsonString() string
type TerminateApmInstanceRequestParams ¶ added in v1.0.621
type TerminateApmInstanceRequestParams struct { // 实例ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
Predefined struct for user
type TerminateApmInstanceResponse ¶ added in v1.0.621
type TerminateApmInstanceResponse struct { *tchttp.BaseResponse Response *TerminateApmInstanceResponseParams `json:"Response"` }
func NewTerminateApmInstanceResponse ¶ added in v1.0.621
func NewTerminateApmInstanceResponse() (response *TerminateApmInstanceResponse)
func (*TerminateApmInstanceResponse) FromJsonString ¶ added in v1.0.621
func (r *TerminateApmInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*TerminateApmInstanceResponse) ToJsonString ¶ added in v1.0.621
func (r *TerminateApmInstanceResponse) ToJsonString() string
type TerminateApmInstanceResponseParams ¶ added in v1.0.621
type TerminateApmInstanceResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user