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) DescribeGeneralOTSpanList(request *DescribeGeneralOTSpanListRequest) (response *DescribeGeneralOTSpanListResponse, err error)
- func (c *Client) DescribeGeneralOTSpanListWithContext(ctx context.Context, request *DescribeGeneralOTSpanListRequest) (response *DescribeGeneralOTSpanListResponse, 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 DescribeGeneralOTSpanListRequest
- type DescribeGeneralOTSpanListRequestParams
- type DescribeGeneralOTSpanListResponse
- type DescribeGeneralOTSpanListResponseParams
- 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 signature/authentication error. AUTHFAILURE = "AuthFailure" // CAM authentication fails. AUTHFAILURE_ACCESSCAMFAIL = "AuthFailure.AccessCAMFail" // AuthFailure.UnauthorizedOperation AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" // CAM authentication parsing failed. AUTHFAILURE_UNMARSHALRESPONSE = "AuthFailure.UnmarshalResponse" // DryRun operation means the request will be successful, but the dryrun parameter is passed. DRYRUNOPERATION = "DryRunOperation" // Operation failed. FAILEDOPERATION = "FailedOperation" // Tag access failed. FAILEDOPERATION_ACCESSTAGFAIL = "FailedOperation.AccessTagFail" // The token information does not exist. FAILEDOPERATION_APMCREDENTIALNOTEXIST = "FailedOperation.ApmCredentialNotExist" // The appid does not match the business system information. FAILEDOPERATION_APPIDNOTMATCHINSTANCEINFO = "FailedOperation.AppIdNotMatchInstanceInfo" // Modification to the API is not allowed when the allowlist is not hit and the business system id is the official demo business system id. FAILEDOPERATION_DEMOINSTANCENOTALLOWMODIFIED = "FailedOperation.DemoInstanceNotAllowModified" // Do not enter duplicate application names. FAILEDOPERATION_DUPLICATESERVICE = "FailedOperation.DuplicateService" // Do not enter duplicate Tag names. FAILEDOPERATION_DUPLICATETAGFIELD = "FailedOperation.DuplicateTagField" // Modification of this business system is not allowed. FAILEDOPERATION_INSTANCECANNOTMODIFY = "FailedOperation.InstanceCannotModify" // Destruction of the business system is not allowed. FAILEDOPERATION_INSTANCECANNOTTERMINATE = "FailedOperation.InstanceCannotTerminate" // Business system id is empty. FAILEDOPERATION_INSTANCEIDISEMPTY = "FailedOperation.InstanceIdIsEmpty" // The apm business system does not exist. FAILEDOPERATION_INSTANCENOTFOUND = "FailedOperation.InstanceNotFound" // Invalid business system id. FAILEDOPERATION_INVALIDINSTANCEID = "FailedOperation.InvalidInstanceID" // Invalid input parameter. FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam" // Invalid regular expression. FAILEDOPERATION_INVALIDREGEX = "FailedOperation.InvalidRegex" // Invalid request. FAILEDOPERATION_INVALIDREQUEST = "FailedOperation.InvalidRequest" // Business system and application name do not match. FAILEDOPERATION_INVALIDSERVICENAME = "FailedOperation.InvalidServiceName" // Invalid key specified in the tag. FAILEDOPERATION_INVALIDTAGFIELD = "FailedOperation.InvalidTagField" // Invalid token. FAILEDOPERATION_INVALIDTOKEN = "FailedOperation.InvalidToken" // The metric data query lacks filter parameters in the query criteria. FAILEDOPERATION_METRICFILTERSLACKPARAMS = "FailedOperation.MetricFiltersLackParams" // Non-Private vpc. FAILEDOPERATION_NOTINNERVPC = "FailedOperation.NotInnerVPC" // Query time range not supported. FAILEDOPERATION_QUERYTIMEINTERVALISNOTSUPPORTED = "FailedOperation.QueryTimeIntervalIsNotSupported" // This region is not supported. FAILEDOPERATION_REGIONNOTSUPPORT = "FailedOperation.RegionNotSupport" // Failed to send the query request. FAILEDOPERATION_SENDREQUEST = "FailedOperation.SendRequest" // The number of applications exceeds 10. FAILEDOPERATION_SERVICELISTEXCEEDINGLIMITNUMBER = "FailedOperation.ServiceListExceedingLimitNumber" // Application list is empty. FAILEDOPERATION_SERVICELISTNULL = "FailedOperation.ServiceListNull" // The view name does not exist or is invalid. FAILEDOPERATION_VIEWNAMENOTEXISTORILLEGAL = "FailedOperation.ViewNameNotExistOrIllegal" // Internal error. INTERNALERROR = "InternalError" // Parameter error. INVALIDPARAMETER = "InvalidParameter" // The field in filters does not exist or is invalid. INVALIDPARAMETER_FILTERSFIELDSNOTEXISTORILLEGAL = "InvalidParameter.FiltersFieldsNotExistOrIllegal" // The field in groupby does not exist or is invalid. INVALIDPARAMETER_GROUPBYFIELDSNOTEXISTORILLEGAL = "InvalidParameter.GroupByFieldsNotExistOrIllegal" // The service.name field must exist in filters, otherwise an error will occur. INVALIDPARAMETER_METRICFILTERSLACKPARAMS = "InvalidParameter.MetricFiltersLackParams" // The field in metrics does not exist or is invalid. INVALIDPARAMETER_METRICSFIELDNOTEXISTORILLEGAL = "InvalidParameter.MetricsFieldNotExistOrIllegal" // Metrics cannot be empty. INVALIDPARAMETER_METRICSFIELDSNOTALLOWEMPTY = "InvalidParameter.MetricsFieldsNotAllowEmpty" // Period should not be empty, and can be 0 or 60. INVALIDPARAMETER_PERIODISILLEGAL = "InvalidParameter.PeriodIsIllegal" // Query time not supported. up to 30 days of recent data can be queried. INVALIDPARAMETER_QUERYTIMEINTERVALISNOTSUPPORTED = "InvalidParameter.QueryTimeIntervalIsNotSupported" // The view name does not exist or is invalid. 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 download address. AgentDownloadURL *string `json:"AgentDownloadURL,omitnil,omitempty" name:"AgentDownloadURL"` // Collector reporting address. CollectorURL *string `json:"CollectorURL,omitnil,omitempty" name:"CollectorURL"` // Token information. Token *string `json:"Token,omitnil,omitempty" name:"Token"` // Public network reporting address. PublicCollectorURL *string `json:"PublicCollectorURL,omitnil,omitempty" name:"PublicCollectorURL"` // Self-Developed vpc report address. InnerCollectorURL *string `json:"InnerCollectorURL,omitnil,omitempty" name:"InnerCollectorURL"` // Private link reporting address. PrivateLinkCollectorURL *string `json:"PrivateLinkCollectorURL,omitnil,omitempty" name:"PrivateLinkCollectorURL"` }
type ApmApplicationConfigView ¶
type ApmApplicationConfigView struct { // Business system id. InstanceKey *string `json:"InstanceKey,omitnil,omitempty" name:"InstanceKey"` // Application name . ServiceName *string `json:"ServiceName,omitnil,omitempty" name:"ServiceName"` // API filtering. OperationNameFilter *string `json:"OperationNameFilter,omitnil,omitempty" name:"OperationNameFilter"` // Error type filtering. ExceptionFilter *string `json:"ExceptionFilter,omitnil,omitempty" name:"ExceptionFilter"` // HTTP status code filtering. ErrorCodeFilter *string `json:"ErrorCodeFilter,omitnil,omitempty" name:"ErrorCodeFilter"` // Application diagnosis switch (deprecated). EventEnable *bool `json:"EventEnable,omitnil,omitempty" name:"EventEnable"` // URL convergence switch. 0: off; 1: on. UrlConvergenceSwitch *int64 `json:"UrlConvergenceSwitch,omitnil,omitempty" name:"UrlConvergenceSwitch"` // URL convergence threshold. UrlConvergenceThreshold *int64 `json:"UrlConvergenceThreshold,omitnil,omitempty" name:"UrlConvergenceThreshold"` // URL convergence rule in the form of a regular expression. UrlConvergence *string `json:"UrlConvergence,omitnil,omitempty" name:"UrlConvergence"` // URL exclusion rule in the form of a regular expression. UrlExclude *string `json:"UrlExclude,omitnil,omitempty" name:"UrlExclude"` // Log feature switch. 0: off; 1: on. IsRelatedLog *int64 `json:"IsRelatedLog,omitnil,omitempty" name:"IsRelatedLog"` // Log source. LogSource *string `json:"LogSource,omitnil,omitempty" name:"LogSource"` // Log set. LogSet *string `json:"LogSet,omitnil,omitempty" name:"LogSet"` // Log topic. LogTopicID *string `json:"LogTopicID,omitnil,omitempty" name:"LogTopicID"` // Method stack snapshot switch: true to enable, false to disable. SnapshotEnable *bool `json:"SnapshotEnable,omitnil,omitempty" name:"SnapshotEnable"` // Slow call listening trigger threshold. SnapshotTimeout *int64 `json:"SnapshotTimeout,omitnil,omitempty" name:"SnapshotTimeout"` // Probe master switch. AgentEnable *bool `json:"AgentEnable,omitnil,omitempty" name:"AgentEnable"` // Component list switch (deprecated). InstrumentList []*Instrument `json:"InstrumentList,omitnil,omitempty" name:"InstrumentList"` // Link compression switch (deprecated). TraceSquash *bool `json:"TraceSquash,omitnil,omitempty" name:"TraceSquash"` }
type ApmField ¶
type ApmField struct { // Metric name. Key *string `json:"Key,omitnil,omitempty" name:"Key"` // Indicator numerical value. Value *float64 `json:"Value,omitnil,omitempty" name:"Value"` // Units corresponding to the metric. Unit *string `json:"Unit,omitnil,omitempty" name:"Unit"` // Year-Over-Year result array, recommended to use. // Note: this field may return null, indicating that no valid values can be obtained. CompareVals []*APMKVItem `json:"CompareVals,omitnil,omitempty" name:"CompareVals"` // Indicator numerical value of the previous period in year-over-year comparison. // Note: this field may return null, indicating that no valid values can be obtained. LastPeriodValue []*APMKV `json:"LastPeriodValue,omitnil,omitempty" name:"LastPeriodValue"` // Year-On-Year metric value. deprecated, not recommended for use. CompareVal *string `json:"CompareVal,omitnil,omitempty" name:"CompareVal"` }
type ApmInstanceDetail ¶
type ApmInstanceDetail struct { // Business system id. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Business system name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Business system description information. Description *string `json:"Description,omitnil,omitempty" name:"Description"` // Status of the business system. // {Initializing; running; throttling}. Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // Region where the business system belongs. Region *string `json:"Region,omitnil,omitempty" name:"Region"` // Business system tag list. Tags []*ApmTag `json:"Tags,omitnil,omitempty" name:"Tags"` // AppID information. AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"` // Creator uin. CreateUin *string `json:"CreateUin,omitnil,omitempty" name:"CreateUin"` // Storage used (unit: mb). AmountOfUsedStorage *float64 `json:"AmountOfUsedStorage,omitnil,omitempty" name:"AmountOfUsedStorage"` // Quantity of server applications of the business system. ServiceCount *int64 `json:"ServiceCount,omitnil,omitempty" name:"ServiceCount"` // Average daily reported span count. CountOfReportSpanPerDay *int64 `json:"CountOfReportSpanPerDay,omitnil,omitempty" name:"CountOfReportSpanPerDay"` // Retention period of trace data (unit: days). TraceDuration *int64 `json:"TraceDuration,omitnil,omitempty" name:"TraceDuration"` // Business system report limit. SpanDailyCounters *int64 `json:"SpanDailyCounters,omitnil,omitempty" name:"SpanDailyCounters"` // Whether the business system billing is Activated (0 = not activated, 1 = activated). BillingInstance *int64 `json:"BillingInstance,omitnil,omitempty" name:"BillingInstance"` // Error warning line (unit: %). ErrRateThreshold *int64 `json:"ErrRateThreshold,omitnil,omitempty" name:"ErrRateThreshold"` // Sampling rate (unit: %). SampleRate *int64 `json:"SampleRate,omitnil,omitempty" name:"SampleRate"` // Error sampling switch (0: off, 1: on). ErrorSample *int64 `json:"ErrorSample,omitnil,omitempty" name:"ErrorSample"` // Sampling slow call saving threshold (unit: ms). SlowRequestSavedThreshold *int64 `json:"SlowRequestSavedThreshold,omitnil,omitempty" name:"SlowRequestSavedThreshold"` // CLS log region. LogRegion *string `json:"LogRegion,omitnil,omitempty" name:"LogRegion"` // Log source. LogSource *string `json:"LogSource,omitnil,omitempty" name:"LogSource"` // Log feature switch (0: off; 1: on). IsRelatedLog *int64 `json:"IsRelatedLog,omitnil,omitempty" name:"IsRelatedLog"` // Log topic id. LogTopicID *string `json:"LogTopicID,omitnil,omitempty" name:"LogTopicID"` // Quantity of client applications of the business system. ClientCount *int64 `json:"ClientCount,omitnil,omitempty" name:"ClientCount"` // The quantity of active applications in this business system in the last two days. TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // CLS log set. LogSet *string `json:"LogSet,omitnil,omitempty" name:"LogSet"` // Retention period of metric data (unit: days). MetricDuration *int64 `json:"MetricDuration,omitnil,omitempty" name:"MetricDuration"` // List of custom display tags. CustomShowTags []*string `json:"CustomShowTags,omitnil,omitempty" name:"CustomShowTags"` // Business system billing mode (1: prepaid, 0: pay-as-you-go). PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Indicates whether the billing mode of the business system takes effect. PayModeEffective *bool `json:"PayModeEffective,omitnil,omitempty" name:"PayModeEffective"` // Response time warning line (unit: ms). ResponseDurationWarningThreshold *int64 `json:"ResponseDurationWarningThreshold,omitnil,omitempty" name:"ResponseDurationWarningThreshold"` // Whether it is free (0 = no; 1 = limited free; 2 = completely free), default 0. Free *int64 `json:"Free,omitnil,omitempty" name:"Free"` // Indicates whether it is the default business system of tsf (0 = no, 1 = yes). DefaultTSF *int64 `json:"DefaultTSF,omitnil,omitempty" name:"DefaultTSF"` // Whether to associate the dashboard (0 = off, 1 = on). IsRelatedDashboard *int64 `json:"IsRelatedDashboard,omitnil,omitempty" name:"IsRelatedDashboard"` // Associated dashboard id. DashboardTopicID *string `json:"DashboardTopicID,omitnil,omitempty" name:"DashboardTopicID"` // Whether to enable component vulnerability detection (0 = no, 1 = yes). IsInstrumentationVulnerabilityScan *int64 `json:"IsInstrumentationVulnerabilityScan,omitnil,omitempty" name:"IsInstrumentationVulnerabilityScan"` // Whether to enable sql injection analysis (0: off, 1: on). IsSqlInjectionAnalysis *int64 `json:"IsSqlInjectionAnalysis,omitnil,omitempty" name:"IsSqlInjectionAnalysis"` // Reasons for traffic throttling. // Official version quota;. // Trial version quota. // Trial version expiration;. // Account in arrears. // }. StopReason *int64 `json:"StopReason,omitnil,omitempty" name:"StopReason"` }
type ApmMetricRecord ¶
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) CreateApmInstance ¶
func (c *Client) CreateApmInstance(request *CreateApmInstanceRequest) (response *CreateApmInstanceResponse, err error)
CreateApmInstance This API is used to create a business purchase in the APM business system.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam" FAILEDOPERATION_INVALIDREQUEST = "FailedOperation.InvalidRequest" FAILEDOPERATION_REGIONNOTSUPPORT = "FailedOperation.RegionNotSupport" FAILEDOPERATION_SENDREQUEST = "FailedOperation.SendRequest"
func (*Client) CreateApmInstanceWithContext ¶
func (c *Client) CreateApmInstanceWithContext(ctx context.Context, request *CreateApmInstanceRequest) (response *CreateApmInstanceResponse, err error)
CreateApmInstance This API is used to create a business purchase in the APM business system.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam" FAILEDOPERATION_INVALIDREQUEST = "FailedOperation.InvalidRequest" FAILEDOPERATION_REGIONNOTSUPPORT = "FailedOperation.RegionNotSupport" FAILEDOPERATION_SENDREQUEST = "FailedOperation.SendRequest"
func (*Client) DescribeApmAgent ¶
func (c *Client) DescribeApmAgent(request *DescribeApmAgentRequest) (response *DescribeApmAgentResponse, err error)
DescribeApmAgent Obtaining APM Access Point.
error code that may be returned:
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 ¶
func (c *Client) DescribeApmAgentWithContext(ctx context.Context, request *DescribeApmAgentRequest) (response *DescribeApmAgentResponse, err error)
DescribeApmAgent Obtaining APM Access Point.
error code that may be returned:
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 ¶
func (c *Client) DescribeApmInstances(request *DescribeApmInstancesRequest) (response *DescribeApmInstancesResponse, err error)
DescribeApmInstances This API is used to obtain the list of APM business systems.
error code that may be returned:
AUTHFAILURE_ACCESSCAMFAIL = "AuthFailure.AccessCAMFail" AUTHFAILURE_UNMARSHALRESPONSE = "AuthFailure.UnmarshalResponse" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCESSTAGFAIL = "FailedOperation.AccessTagFail" FAILEDOPERATION_SENDREQUEST = "FailedOperation.SendRequest"
func (*Client) DescribeApmInstancesWithContext ¶
func (c *Client) DescribeApmInstancesWithContext(ctx context.Context, request *DescribeApmInstancesRequest) (response *DescribeApmInstancesResponse, err error)
DescribeApmInstances This API is used to obtain the list of APM business systems.
error code that may be returned:
AUTHFAILURE_ACCESSCAMFAIL = "AuthFailure.AccessCAMFail" AUTHFAILURE_UNMARSHALRESPONSE = "AuthFailure.UnmarshalResponse" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCESSTAGFAIL = "FailedOperation.AccessTagFail" FAILEDOPERATION_SENDREQUEST = "FailedOperation.SendRequest"
func (*Client) DescribeGeneralApmApplicationConfig ¶
func (c *Client) DescribeGeneralApmApplicationConfig(request *DescribeGeneralApmApplicationConfigRequest) (response *DescribeGeneralApmApplicationConfigResponse, err error)
DescribeGeneralApmApplicationConfig This API is used to query the application configuration information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APPIDNOTMATCHINSTANCEINFO = "FailedOperation.AppIdNotMatchInstanceInfo" FAILEDOPERATION_INSTANCENOTFOUND = "FailedOperation.InstanceNotFound" FAILEDOPERATION_INVALIDSERVICENAME = "FailedOperation.InvalidServiceName"
func (*Client) DescribeGeneralApmApplicationConfigWithContext ¶
func (c *Client) DescribeGeneralApmApplicationConfigWithContext(ctx context.Context, request *DescribeGeneralApmApplicationConfigRequest) (response *DescribeGeneralApmApplicationConfigResponse, err error)
DescribeGeneralApmApplicationConfig This API is used to query the application configuration information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APPIDNOTMATCHINSTANCEINFO = "FailedOperation.AppIdNotMatchInstanceInfo" FAILEDOPERATION_INSTANCENOTFOUND = "FailedOperation.InstanceNotFound" FAILEDOPERATION_INVALIDSERVICENAME = "FailedOperation.InvalidServiceName"
func (*Client) DescribeGeneralMetricData ¶
func (c *Client) DescribeGeneralMetricData(request *DescribeGeneralMetricDataRequest) (response *DescribeGeneralMetricDataResponse, err error)
DescribeGeneralMetricData This API is a general API used to obtain metric data. Users submit request parameters as needed and receive the corresponding metric data.
The API call frequency is limited to 20 requests per second and 1200 requests per minute. The number of data points per request is limited to 1440.
error code that may be returned:
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 ¶
func (c *Client) DescribeGeneralMetricDataWithContext(ctx context.Context, request *DescribeGeneralMetricDataRequest) (response *DescribeGeneralMetricDataResponse, err error)
DescribeGeneralMetricData This API is a general API used to obtain metric data. Users submit request parameters as needed and receive the corresponding metric data.
The API call frequency is limited to 20 requests per second and 1200 requests per minute. The number of data points per request is limited to 1440.
error code that may be returned:
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) DescribeGeneralOTSpanList ¶
func (c *Client) DescribeGeneralOTSpanList(request *DescribeGeneralOTSpanListRequest) (response *DescribeGeneralOTSpanListResponse, err error)
DescribeGeneralOTSpanList General Query OpenTelemetry Call Chain List.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APPIDNOTMATCHINSTANCEINFO = "FailedOperation.AppIdNotMatchInstanceInfo" FAILEDOPERATION_INSTANCEIDISEMPTY = "FailedOperation.InstanceIdIsEmpty" FAILEDOPERATION_INSTANCENOTFOUND = "FailedOperation.InstanceNotFound" INTERNALERROR = "InternalError"
func (*Client) DescribeGeneralOTSpanListWithContext ¶
func (c *Client) DescribeGeneralOTSpanListWithContext(ctx context.Context, request *DescribeGeneralOTSpanListRequest) (response *DescribeGeneralOTSpanListResponse, err error)
DescribeGeneralOTSpanList General Query OpenTelemetry Call Chain List.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APPIDNOTMATCHINSTANCEINFO = "FailedOperation.AppIdNotMatchInstanceInfo" FAILEDOPERATION_INSTANCEIDISEMPTY = "FailedOperation.InstanceIdIsEmpty" FAILEDOPERATION_INSTANCENOTFOUND = "FailedOperation.InstanceNotFound" INTERNALERROR = "InternalError"
func (*Client) DescribeGeneralSpanList ¶
func (c *Client) DescribeGeneralSpanList(request *DescribeGeneralSpanListRequest) (response *DescribeGeneralSpanListResponse, err error)
DescribeGeneralSpanList General Query Call Chain List.
error code that may be returned:
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 ¶
func (c *Client) DescribeGeneralSpanListWithContext(ctx context.Context, request *DescribeGeneralSpanListRequest) (response *DescribeGeneralSpanListResponse, err error)
DescribeGeneralSpanList General Query Call Chain List.
error code that may be returned:
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 ¶
func (c *Client) DescribeMetricRecords(request *DescribeMetricRecordsRequest) (response *DescribeMetricRecordsResponse, err error)
DescribeMetricRecords This API is used to query metric list. To query metrics, it is recommended to use the DescribeGeneralMetricData API.
error code that may be returned:
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 ¶
func (c *Client) DescribeMetricRecordsWithContext(ctx context.Context, request *DescribeMetricRecordsRequest) (response *DescribeMetricRecordsResponse, err error)
DescribeMetricRecords This API is used to query metric list. To query metrics, it is recommended to use the DescribeGeneralMetricData API.
error code that may be returned:
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 ¶
func (c *Client) DescribeServiceOverview(request *DescribeServiceOverviewRequest) (response *DescribeServiceOverviewResponse, err error)
DescribeServiceOverview This API is used to pull application overview data.
error code that may be returned:
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 ¶
func (c *Client) DescribeServiceOverviewWithContext(ctx context.Context, request *DescribeServiceOverviewRequest) (response *DescribeServiceOverviewResponse, err error)
DescribeServiceOverview This API is used to pull application overview data.
error code that may be returned:
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 ¶
func (c *Client) DescribeTagValues(request *DescribeTagValuesRequest) (response *DescribeTagValuesResponse, err error)
DescribeTagValues This API is used to query dimensional data by dimension name and filter condition.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APPIDNOTMATCHINSTANCEINFO = "FailedOperation.AppIdNotMatchInstanceInfo" FAILEDOPERATION_INSTANCEIDISEMPTY = "FailedOperation.InstanceIdIsEmpty" FAILEDOPERATION_INSTANCENOTFOUND = "FailedOperation.InstanceNotFound"
func (*Client) DescribeTagValuesWithContext ¶
func (c *Client) DescribeTagValuesWithContext(ctx context.Context, request *DescribeTagValuesRequest) (response *DescribeTagValuesResponse, err error)
DescribeTagValues This API is used to query dimensional data by dimension name and filter condition.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APPIDNOTMATCHINSTANCEINFO = "FailedOperation.AppIdNotMatchInstanceInfo" FAILEDOPERATION_INSTANCEIDISEMPTY = "FailedOperation.InstanceIdIsEmpty" FAILEDOPERATION_INSTANCENOTFOUND = "FailedOperation.InstanceNotFound"
func (*Client) ModifyApmInstance ¶
func (c *Client) ModifyApmInstance(request *ModifyApmInstanceRequest) (response *ModifyApmInstanceResponse, err error)
ModifyApmInstance This API is used to modify the APM business system.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCESSTAGFAIL = "FailedOperation.AccessTagFail" FAILEDOPERATION_APPIDNOTMATCHINSTANCEINFO = "FailedOperation.AppIdNotMatchInstanceInfo" FAILEDOPERATION_INSTANCECANNOTMODIFY = "FailedOperation.InstanceCannotModify" FAILEDOPERATION_INSTANCEIDISEMPTY = "FailedOperation.InstanceIdIsEmpty" FAILEDOPERATION_INSTANCENOTFOUND = "FailedOperation.InstanceNotFound" FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam" FAILEDOPERATION_INVALIDREQUEST = "FailedOperation.InvalidRequest" FAILEDOPERATION_SENDREQUEST = "FailedOperation.SendRequest" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) ModifyApmInstanceWithContext ¶
func (c *Client) ModifyApmInstanceWithContext(ctx context.Context, request *ModifyApmInstanceRequest) (response *ModifyApmInstanceResponse, err error)
ModifyApmInstance This API is used to modify the APM business system.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCESSTAGFAIL = "FailedOperation.AccessTagFail" FAILEDOPERATION_APPIDNOTMATCHINSTANCEINFO = "FailedOperation.AppIdNotMatchInstanceInfo" FAILEDOPERATION_INSTANCECANNOTMODIFY = "FailedOperation.InstanceCannotModify" FAILEDOPERATION_INSTANCEIDISEMPTY = "FailedOperation.InstanceIdIsEmpty" FAILEDOPERATION_INSTANCENOTFOUND = "FailedOperation.InstanceNotFound" FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam" FAILEDOPERATION_INVALIDREQUEST = "FailedOperation.InvalidRequest" FAILEDOPERATION_SENDREQUEST = "FailedOperation.SendRequest" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) ModifyGeneralApmApplicationConfig ¶
func (c *Client) ModifyGeneralApmApplicationConfig(request *ModifyGeneralApmApplicationConfigRequest) (response *ModifyGeneralApmApplicationConfigResponse, err error)
ModifyGeneralApmApplicationConfig OpenAPI available for external use. Customers can flexibly specify the fields to be modified, and then add the list of services to be modified.
error code that may be returned:
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 ¶
func (c *Client) ModifyGeneralApmApplicationConfigWithContext(ctx context.Context, request *ModifyGeneralApmApplicationConfigRequest) (response *ModifyGeneralApmApplicationConfigResponse, err error)
ModifyGeneralApmApplicationConfig OpenAPI available for external use. Customers can flexibly specify the fields to be modified, and then add the list of services to be modified.
error code that may be returned:
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 ¶
func (c *Client) TerminateApmInstance(request *TerminateApmInstanceRequest) (response *TerminateApmInstanceResponse, err error)
TerminateApmInstance Termination of APM business system.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APPIDNOTMATCHINSTANCEINFO = "FailedOperation.AppIdNotMatchInstanceInfo" FAILEDOPERATION_INSTANCECANNOTTERMINATE = "FailedOperation.InstanceCannotTerminate" FAILEDOPERATION_INSTANCEIDISEMPTY = "FailedOperation.InstanceIdIsEmpty" FAILEDOPERATION_INSTANCENOTFOUND = "FailedOperation.InstanceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) TerminateApmInstanceWithContext ¶
func (c *Client) TerminateApmInstanceWithContext(ctx context.Context, request *TerminateApmInstanceRequest) (response *TerminateApmInstanceResponse, err error)
TerminateApmInstance Termination of APM business system.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APPIDNOTMATCHINSTANCEINFO = "FailedOperation.AppIdNotMatchInstanceInfo" FAILEDOPERATION_INSTANCECANNOTTERMINATE = "FailedOperation.InstanceCannotTerminate" FAILEDOPERATION_INSTANCEIDISEMPTY = "FailedOperation.InstanceIdIsEmpty" FAILEDOPERATION_INSTANCENOTFOUND = "FailedOperation.InstanceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
type CreateApmInstanceRequest ¶
type CreateApmInstanceRequest struct { *tchttp.BaseRequest // Business system name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Business system description information. Description *string `json:"Description,omitnil,omitempty" name:"Description"` // Retention period of trace data (unit: days, the default storage duration is 3 days). TraceDuration *int64 `json:"TraceDuration,omitnil,omitempty" name:"TraceDuration"` // Business system tag list. Tags []*ApmTag `json:"Tags,omitnil,omitempty" name:"Tags"` // The report quota value of the business system. the default value is 0, indicating no limit on the report quota. (obsolete). SpanDailyCounters *uint64 `json:"SpanDailyCounters,omitnil,omitempty" name:"SpanDailyCounters"` // Billing model of the business system (0: pay-as-you-go, 1: prepaid). PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Whether it is a free edition business system (0 = paid edition; 1 = tsf restricted free edition; 2 = free edition). Free *int64 `json:"Free,omitnil,omitempty" name:"Free"` }
func NewCreateApmInstanceRequest ¶
func NewCreateApmInstanceRequest() (request *CreateApmInstanceRequest)
func (*CreateApmInstanceRequest) FromJsonString ¶
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 ¶
func (r *CreateApmInstanceRequest) ToJsonString() string
type CreateApmInstanceRequestParams ¶
type CreateApmInstanceRequestParams struct { // Business system name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Business system description information. Description *string `json:"Description,omitnil,omitempty" name:"Description"` // Retention period of trace data (unit: days, the default storage duration is 3 days). TraceDuration *int64 `json:"TraceDuration,omitnil,omitempty" name:"TraceDuration"` // Business system tag list. Tags []*ApmTag `json:"Tags,omitnil,omitempty" name:"Tags"` // The report quota value of the business system. the default value is 0, indicating no limit on the report quota. (obsolete). SpanDailyCounters *uint64 `json:"SpanDailyCounters,omitnil,omitempty" name:"SpanDailyCounters"` // Billing model of the business system (0: pay-as-you-go, 1: prepaid). PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Whether it is a free edition business system (0 = paid edition; 1 = tsf restricted free edition; 2 = free edition). Free *int64 `json:"Free,omitnil,omitempty" name:"Free"` }
Predefined struct for user
type CreateApmInstanceResponse ¶
type CreateApmInstanceResponse struct { *tchttp.BaseResponse Response *CreateApmInstanceResponseParams `json:"Response"` }
func NewCreateApmInstanceResponse ¶
func NewCreateApmInstanceResponse() (response *CreateApmInstanceResponse)
func (*CreateApmInstanceResponse) FromJsonString ¶
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 ¶
func (r *CreateApmInstanceResponse) ToJsonString() string
type CreateApmInstanceResponseParams ¶
type CreateApmInstanceResponseParams struct { // Business system id. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeApmAgentRequest ¶
type DescribeApmAgentRequest struct { *tchttp.BaseRequest // Business system id. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Access method: currently supports access and reporting via skywalking, ot, and ebpf methods. if not specified, ot is used by default. AgentType *string `json:"AgentType,omitnil,omitempty" name:"AgentType"` // Reporting environment: currently supports pl (private network reporting), public (public network), and inner (self-developed vpc) environment reporting. if not specified, the default is public. NetworkMode *string `json:"NetworkMode,omitnil,omitempty" name:"NetworkMode"` // Language reporting is now supported for java, golang, php, python, dotnet, nodejs. if not specified, golang is used by default. LanguageEnvironment *string `json:"LanguageEnvironment,omitnil,omitempty" name:"LanguageEnvironment"` // Reporting method, deprecated. 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 ¶
type DescribeApmAgentRequestParams struct { // Business system id. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Access method: currently supports access and reporting via skywalking, ot, and ebpf methods. if not specified, ot is used by default. AgentType *string `json:"AgentType,omitnil,omitempty" name:"AgentType"` // Reporting environment: currently supports pl (private network reporting), public (public network), and inner (self-developed vpc) environment reporting. if not specified, the default is public. NetworkMode *string `json:"NetworkMode,omitnil,omitempty" name:"NetworkMode"` // Language reporting is now supported for java, golang, php, python, dotnet, nodejs. if not specified, golang is used by default. LanguageEnvironment *string `json:"LanguageEnvironment,omitnil,omitempty" name:"LanguageEnvironment"` // Reporting method, deprecated. 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 ¶
type DescribeApmAgentResponseParams struct { // Agent information. ApmAgent *ApmAgentInfo `json:"ApmAgent,omitnil,omitempty" name:"ApmAgent"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeApmInstancesRequest ¶
type DescribeApmInstancesRequest struct { *tchttp.BaseRequest // Tag list. Tags []*ApmTag `json:"Tags,omitnil,omitempty" name:"Tags"` // Filter by business system name. InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // Filter by business system id. InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // Whether to query the official demo business system (0 = non-demo business system, 1 = demo business system, default is 0). DemoInstanceFlag *int64 `json:"DemoInstanceFlag,omitnil,omitempty" name:"DemoInstanceFlag"` // Whether to query all regional business systems (0 = do not query all regions, 1 = query all regions, default is 0). AllRegionsFlag *int64 `json:"AllRegionsFlag,omitnil,omitempty" name:"AllRegionsFlag"` }
func NewDescribeApmInstancesRequest ¶
func NewDescribeApmInstancesRequest() (request *DescribeApmInstancesRequest)
func (*DescribeApmInstancesRequest) FromJsonString ¶
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 ¶
func (r *DescribeApmInstancesRequest) ToJsonString() string
type DescribeApmInstancesRequestParams ¶
type DescribeApmInstancesRequestParams struct { // Tag list. Tags []*ApmTag `json:"Tags,omitnil,omitempty" name:"Tags"` // Filter by business system name. InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // Filter by business system id. InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // Whether to query the official demo business system (0 = non-demo business system, 1 = demo business system, default is 0). DemoInstanceFlag *int64 `json:"DemoInstanceFlag,omitnil,omitempty" name:"DemoInstanceFlag"` // Whether to query all regional business systems (0 = do not query all regions, 1 = query all regions, default is 0). AllRegionsFlag *int64 `json:"AllRegionsFlag,omitnil,omitempty" name:"AllRegionsFlag"` }
Predefined struct for user
type DescribeApmInstancesResponse ¶
type DescribeApmInstancesResponse struct { *tchttp.BaseResponse Response *DescribeApmInstancesResponseParams `json:"Response"` }
func NewDescribeApmInstancesResponse ¶
func NewDescribeApmInstancesResponse() (response *DescribeApmInstancesResponse)
func (*DescribeApmInstancesResponse) FromJsonString ¶
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 ¶
func (r *DescribeApmInstancesResponse) ToJsonString() string
type DescribeApmInstancesResponseParams ¶
type DescribeApmInstancesResponseParams struct { // APM business system list. Instances []*ApmInstanceDetail `json:"Instances,omitnil,omitempty" name:"Instances"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeGeneralApmApplicationConfigRequest ¶
type DescribeGeneralApmApplicationConfigRequest struct { *tchttp.BaseRequest // Application name. ServiceName *string `json:"ServiceName,omitnil,omitempty" name:"ServiceName"` // Business system id. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
func NewDescribeGeneralApmApplicationConfigRequest ¶
func NewDescribeGeneralApmApplicationConfigRequest() (request *DescribeGeneralApmApplicationConfigRequest)
func (*DescribeGeneralApmApplicationConfigRequest) FromJsonString ¶
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 ¶
func (r *DescribeGeneralApmApplicationConfigRequest) ToJsonString() string
type DescribeGeneralApmApplicationConfigRequestParams ¶
type DescribeGeneralApmApplicationConfigRequestParams struct { // Application name. ServiceName *string `json:"ServiceName,omitnil,omitempty" name:"ServiceName"` // Business system id. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
Predefined struct for user
type DescribeGeneralApmApplicationConfigResponse ¶
type DescribeGeneralApmApplicationConfigResponse struct { *tchttp.BaseResponse Response *DescribeGeneralApmApplicationConfigResponseParams `json:"Response"` }
func NewDescribeGeneralApmApplicationConfigResponse ¶
func NewDescribeGeneralApmApplicationConfigResponse() (response *DescribeGeneralApmApplicationConfigResponse)
func (*DescribeGeneralApmApplicationConfigResponse) FromJsonString ¶
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 ¶
func (r *DescribeGeneralApmApplicationConfigResponse) ToJsonString() string
type DescribeGeneralApmApplicationConfigResponseParams ¶
type DescribeGeneralApmApplicationConfigResponseParams struct { // Application configuration item. ApmApplicationConfigView *ApmApplicationConfigView `json:"ApmApplicationConfigView,omitnil,omitempty" name:"ApmApplicationConfigView"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeGeneralMetricDataRequest ¶
type DescribeGeneralMetricDataRequest struct { *tchttp.BaseRequest // Metric name to be queried, which cannot be customized. (for details, see <https://intl.cloud.tencent.com/document/product/248/101681?from_cn_redirect=1>.). Metrics []*string `json:"Metrics,omitnil,omitempty" name:"Metrics"` // Business system id. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // View name. the input cannot be customized. [for details, see.](https://intl.cloud.tencent.com/document/product/248/101681?from_cn_redirect=1). ViewName *string `json:"ViewName,omitnil,omitempty" name:"ViewName"` // The dimension information to be filtered; different views have corresponding metric dimensions. (for details, see <https://intl.cloud.tencent.com/document/product/248/101681?from_cn_redirect=1>.). Filters []*GeneralFilter `json:"Filters,omitnil,omitempty" name:"Filters"` // Aggregated dimension; different views have corresponding metric dimensions. (for details, see <https://intl.cloud.tencent.com/document/product/248/101681?from_cn_redirect=1>.). GroupBy []*string `json:"GroupBy,omitnil,omitempty" name:"GroupBy"` // The timestamp of the start time, supporting the query of metric data within 30 days. (unit: seconds). StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // The timestamp of the end time, supporting the query of metric data within 30 days. (unit: seconds). EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Whether to aggregate by a fixed time span: enter 1 for values of 1 and greater, and 0 if not filled in. // -If 0 is filled in, it calculates the metric data from the start time to the cutoff time. // - if 1 is filled in, the aggregation granularity will be selected according to the time span from the start time to the deadline:. // -If the time span is (0,12) hours, it is aggregated by one-minute granularity. // -If the time span is [12,48] hours, it is aggregated at a five-minute granularity. // -If the time span is (48, +∞) hours, it is aggregated at an hourly granularity. Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` // Sort query metrics. // Key: enter the tencentcloud api metric name. [for details, see](https://intl.cloud.tencent.com/document/product/248/101681?from_cn_redirect=1) . // Value: specify the sorting method:. // -Asc: sorts query metrics in ascending order. // - desc: sort query metrics in descending order. OrderBy *OrderBy `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // Maximum number of queried metrics. currently, up to 50 data entries can be displayed. the value range for pagesize is 1-50. submit pagesize to show the limited number based on the value of pagesize. PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` }
func NewDescribeGeneralMetricDataRequest ¶
func NewDescribeGeneralMetricDataRequest() (request *DescribeGeneralMetricDataRequest)
func (*DescribeGeneralMetricDataRequest) FromJsonString ¶
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 ¶
func (r *DescribeGeneralMetricDataRequest) ToJsonString() string
type DescribeGeneralMetricDataRequestParams ¶
type DescribeGeneralMetricDataRequestParams struct { // Metric name to be queried, which cannot be customized. (for details, see <https://intl.cloud.tencent.com/document/product/248/101681?from_cn_redirect=1>.). Metrics []*string `json:"Metrics,omitnil,omitempty" name:"Metrics"` // Business system id. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // View name. the input cannot be customized. [for details, see.](https://intl.cloud.tencent.com/document/product/248/101681?from_cn_redirect=1). ViewName *string `json:"ViewName,omitnil,omitempty" name:"ViewName"` // The dimension information to be filtered; different views have corresponding metric dimensions. (for details, see <https://intl.cloud.tencent.com/document/product/248/101681?from_cn_redirect=1>.). Filters []*GeneralFilter `json:"Filters,omitnil,omitempty" name:"Filters"` // Aggregated dimension; different views have corresponding metric dimensions. (for details, see <https://intl.cloud.tencent.com/document/product/248/101681?from_cn_redirect=1>.). GroupBy []*string `json:"GroupBy,omitnil,omitempty" name:"GroupBy"` // The timestamp of the start time, supporting the query of metric data within 30 days. (unit: seconds). StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // The timestamp of the end time, supporting the query of metric data within 30 days. (unit: seconds). EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Whether to aggregate by a fixed time span: enter 1 for values of 1 and greater, and 0 if not filled in. // -If 0 is filled in, it calculates the metric data from the start time to the cutoff time. // - if 1 is filled in, the aggregation granularity will be selected according to the time span from the start time to the deadline:. // -If the time span is (0,12) hours, it is aggregated by one-minute granularity. // -If the time span is [12,48] hours, it is aggregated at a five-minute granularity. // -If the time span is (48, +∞) hours, it is aggregated at an hourly granularity. Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` // Sort query metrics. // Key: enter the tencentcloud api metric name. [for details, see](https://intl.cloud.tencent.com/document/product/248/101681?from_cn_redirect=1) . // Value: specify the sorting method:. // -Asc: sorts query metrics in ascending order. // - desc: sort query metrics in descending order. OrderBy *OrderBy `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // Maximum number of queried metrics. currently, up to 50 data entries can be displayed. the value range for pagesize is 1-50. submit pagesize to show the limited number based on the value of pagesize. PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` }
Predefined struct for user
type DescribeGeneralMetricDataResponse ¶
type DescribeGeneralMetricDataResponse struct { *tchttp.BaseResponse Response *DescribeGeneralMetricDataResponseParams `json:"Response"` }
func NewDescribeGeneralMetricDataResponse ¶
func NewDescribeGeneralMetricDataResponse() (response *DescribeGeneralMetricDataResponse)
func (*DescribeGeneralMetricDataResponse) FromJsonString ¶
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 ¶
func (r *DescribeGeneralMetricDataResponse) ToJsonString() string
type DescribeGeneralMetricDataResponseParams ¶
type DescribeGeneralMetricDataResponseParams struct { // Indicator result set. Records []*Line `json:"Records,omitnil,omitempty" name:"Records"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeGeneralOTSpanListRequest ¶
type DescribeGeneralOTSpanListRequest struct { *tchttp.BaseRequest // Business system id. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Span query start timestamp (unit: seconds). StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Span query end timestamp (unit: seconds). EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Universal filter parameters. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Sort // . // The currently supported keys are:. // // -StartTime (start time). // -EndTime (end time). // -Duration (response time). // // The currently supported values are:. // // - desc: sort in descending order. // -Asc - ascending order. OrderBy *OrderBy `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // The service name of the business itself. console users should fill in taw. BusinessName *string `json:"BusinessName,omitnil,omitempty" name:"BusinessName"` // Number of items per page, defaults to 10,000, valid value range is 0 – 10,000. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Pagination. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
func NewDescribeGeneralOTSpanListRequest ¶
func NewDescribeGeneralOTSpanListRequest() (request *DescribeGeneralOTSpanListRequest)
func (*DescribeGeneralOTSpanListRequest) FromJsonString ¶
func (r *DescribeGeneralOTSpanListRequest) 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 (*DescribeGeneralOTSpanListRequest) ToJsonString ¶
func (r *DescribeGeneralOTSpanListRequest) ToJsonString() string
type DescribeGeneralOTSpanListRequestParams ¶
type DescribeGeneralOTSpanListRequestParams struct { // Business system id. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Span query start timestamp (unit: seconds). StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Span query end timestamp (unit: seconds). EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Universal filter parameters. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Sort // . // The currently supported keys are:. // // -StartTime (start time). // -EndTime (end time). // -Duration (response time). // // The currently supported values are:. // // - desc: sort in descending order. // -Asc - ascending order. OrderBy *OrderBy `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // The service name of the business itself. console users should fill in taw. BusinessName *string `json:"BusinessName,omitnil,omitempty" name:"BusinessName"` // Number of items per page, defaults to 10,000, valid value range is 0 – 10,000. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Pagination. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
Predefined struct for user
type DescribeGeneralOTSpanListResponse ¶
type DescribeGeneralOTSpanListResponse struct { *tchttp.BaseResponse Response *DescribeGeneralOTSpanListResponseParams `json:"Response"` }
func NewDescribeGeneralOTSpanListResponse ¶
func NewDescribeGeneralOTSpanListResponse() (response *DescribeGeneralOTSpanListResponse)
func (*DescribeGeneralOTSpanListResponse) FromJsonString ¶
func (r *DescribeGeneralOTSpanListResponse) 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 (*DescribeGeneralOTSpanListResponse) ToJsonString ¶
func (r *DescribeGeneralOTSpanListResponse) ToJsonString() string
type DescribeGeneralOTSpanListResponseParams ¶
type DescribeGeneralOTSpanListResponseParams struct { // Total number. TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // The trace structure containing the query results spans. the string after the opentelemetry standard trace structure is hashed. first, the trace is converted into a json string using ptrace.jsonmarshaler, then compressed with gzip, and finally converted into a base64 standard string. Spans *string `json:"Spans,omitnil,omitempty" name:"Spans"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeGeneralSpanListRequest ¶
type DescribeGeneralSpanListRequest struct { *tchttp.BaseRequest // Business system id. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Span query start timestamp (unit: seconds). StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Span query end timestamp (unit: seconds). EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Universal filter parameters. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Sort // . // The currently supported keys are:. // // -StartTime (start time). // -EndTime (end time). // -Duration (response time). // // The currently supported values are:. // // - desc: sort in descending order. // -Asc - ascending order. OrderBy *OrderBy `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // The service name of the business itself. console users should fill in taw. BusinessName *string `json:"BusinessName,omitnil,omitempty" name:"BusinessName"` // Number of items per page, defaults to 10,000, valid values are 0 to 10,000. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Pagination. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
func NewDescribeGeneralSpanListRequest ¶
func NewDescribeGeneralSpanListRequest() (request *DescribeGeneralSpanListRequest)
func (*DescribeGeneralSpanListRequest) FromJsonString ¶
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 ¶
func (r *DescribeGeneralSpanListRequest) ToJsonString() string
type DescribeGeneralSpanListRequestParams ¶
type DescribeGeneralSpanListRequestParams struct { // Business system id. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Span query start timestamp (unit: seconds). StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Span query end timestamp (unit: seconds). EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Universal filter parameters. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Sort // . // The currently supported keys are:. // // -StartTime (start time). // -EndTime (end time). // -Duration (response time). // // The currently supported values are:. // // - desc: sort in descending order. // -Asc - ascending order. OrderBy *OrderBy `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // The service name of the business itself. console users should fill in taw. BusinessName *string `json:"BusinessName,omitnil,omitempty" name:"BusinessName"` // Number of items per page, defaults to 10,000, valid values are 0 to 10,000. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Pagination. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
Predefined struct for user
type DescribeGeneralSpanListResponse ¶
type DescribeGeneralSpanListResponse struct { *tchttp.BaseResponse Response *DescribeGeneralSpanListResponseParams `json:"Response"` }
func NewDescribeGeneralSpanListResponse ¶
func NewDescribeGeneralSpanListResponse() (response *DescribeGeneralSpanListResponse)
func (*DescribeGeneralSpanListResponse) FromJsonString ¶
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 ¶
func (r *DescribeGeneralSpanListResponse) ToJsonString() string
type DescribeGeneralSpanListResponseParams ¶
type DescribeGeneralSpanListResponseParams struct { // Total number. TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Span pagination list. Spans []*Span `json:"Spans,omitnil,omitempty" name:"Spans"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeMetricRecordsRequest ¶
type DescribeMetricRecordsRequest struct { *tchttp.BaseRequest // Metric list. Metrics []*QueryMetricItem `json:"Metrics,omitnil,omitempty" name:"Metrics"` // Business system id. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Start time (unit: sec). StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time (unit: seconds). EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Filter criteria. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Or filter criteria. OrFilters []*Filter `json:"OrFilters,omitnil,omitempty" name:"OrFilters"` // Aggregation dimension. GroupBy []*string `json:"GroupBy,omitnil,omitempty" name:"GroupBy"` // Sort // . // The currently supported keys are:. // // -StartTime (start time). // -EndTime (end time). // -Duration (response time). // // The currently supported values are:. // // - desc: sort in descending order. // -Asc - ascending order. OrderBy *OrderBy `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // The service name of the business itself. console users should fill in taw. BusinessName *string `json:"BusinessName,omitnil,omitempty" name:"BusinessName"` // Special handling of query results. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Size per page, defaults to 1,000, valid value range is 0 – 1,000. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Paging starting point. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Page number. PageIndex *int64 `json:"PageIndex,omitnil,omitempty" name:"PageIndex"` // Page length. PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` }
func NewDescribeMetricRecordsRequest ¶
func NewDescribeMetricRecordsRequest() (request *DescribeMetricRecordsRequest)
func (*DescribeMetricRecordsRequest) FromJsonString ¶
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 ¶
func (r *DescribeMetricRecordsRequest) ToJsonString() string
type DescribeMetricRecordsRequestParams ¶
type DescribeMetricRecordsRequestParams struct { // Metric list. Metrics []*QueryMetricItem `json:"Metrics,omitnil,omitempty" name:"Metrics"` // Business system id. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Start time (unit: sec). StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time (unit: seconds). EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Filter criteria. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Or filter criteria. OrFilters []*Filter `json:"OrFilters,omitnil,omitempty" name:"OrFilters"` // Aggregation dimension. GroupBy []*string `json:"GroupBy,omitnil,omitempty" name:"GroupBy"` // Sort // . // The currently supported keys are:. // // -StartTime (start time). // -EndTime (end time). // -Duration (response time). // // The currently supported values are:. // // - desc: sort in descending order. // -Asc - ascending order. OrderBy *OrderBy `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // The service name of the business itself. console users should fill in taw. BusinessName *string `json:"BusinessName,omitnil,omitempty" name:"BusinessName"` // Special handling of query results. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Size per page, defaults to 1,000, valid value range is 0 – 1,000. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Paging starting point. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Page number. PageIndex *int64 `json:"PageIndex,omitnil,omitempty" name:"PageIndex"` // Page length. PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` }
Predefined struct for user
type DescribeMetricRecordsResponse ¶
type DescribeMetricRecordsResponse struct { *tchttp.BaseResponse Response *DescribeMetricRecordsResponseParams `json:"Response"` }
func NewDescribeMetricRecordsResponse ¶
func NewDescribeMetricRecordsResponse() (response *DescribeMetricRecordsResponse)
func (*DescribeMetricRecordsResponse) FromJsonString ¶
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 ¶
func (r *DescribeMetricRecordsResponse) ToJsonString() string
type DescribeMetricRecordsResponseParams ¶
type DescribeMetricRecordsResponseParams struct { // Indicator result set. Records []*ApmMetricRecord `json:"Records,omitnil,omitempty" name:"Records"` // Number of metric query result sets. TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeServiceOverviewRequest ¶
type DescribeServiceOverviewRequest struct { *tchttp.BaseRequest // Metric list. Metrics []*QueryMetricItem `json:"Metrics,omitnil,omitempty" name:"Metrics"` // Business system id. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Filter criteria. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Aggregation dimension. GroupBy []*string `json:"GroupBy,omitnil,omitempty" name:"GroupBy"` // Start time (unit: sec). StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time (unit: seconds). EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Sorting method // . // Value: fill in. // -Asc: sorts query metrics in ascending order. // - desc: sort query metrics in descending order. OrderBy *OrderBy `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // Page size. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Paging starting point. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
func NewDescribeServiceOverviewRequest ¶
func NewDescribeServiceOverviewRequest() (request *DescribeServiceOverviewRequest)
func (*DescribeServiceOverviewRequest) FromJsonString ¶
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 ¶
func (r *DescribeServiceOverviewRequest) ToJsonString() string
type DescribeServiceOverviewRequestParams ¶
type DescribeServiceOverviewRequestParams struct { // Metric list. Metrics []*QueryMetricItem `json:"Metrics,omitnil,omitempty" name:"Metrics"` // Business system id. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Filter criteria. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Aggregation dimension. GroupBy []*string `json:"GroupBy,omitnil,omitempty" name:"GroupBy"` // Start time (unit: sec). StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time (unit: seconds). EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Sorting method // . // Value: fill in. // -Asc: sorts query metrics in ascending order. // - desc: sort query metrics in descending order. OrderBy *OrderBy `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // Page size. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Paging starting point. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
Predefined struct for user
type DescribeServiceOverviewResponse ¶
type DescribeServiceOverviewResponse struct { *tchttp.BaseResponse Response *DescribeServiceOverviewResponseParams `json:"Response"` }
func NewDescribeServiceOverviewResponse ¶
func NewDescribeServiceOverviewResponse() (response *DescribeServiceOverviewResponse)
func (*DescribeServiceOverviewResponse) FromJsonString ¶
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 ¶
func (r *DescribeServiceOverviewResponse) ToJsonString() string
type DescribeServiceOverviewResponseParams ¶
type DescribeServiceOverviewResponseParams struct { // Indicator result set. Records []*ApmMetricRecord `json:"Records,omitnil,omitempty" name:"Records"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTagValuesRequest ¶
type DescribeTagValuesRequest struct { *tchttp.BaseRequest // Dimension name. TagKey *string `json:"TagKey,omitnil,omitempty" name:"TagKey"` // Business system id. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Filter criteria. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Start time (unit: sec). StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time (unit: seconds). EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Or filter criteria. OrFilters []*Filter `json:"OrFilters,omitnil,omitempty" name:"OrFilters"` // Usage type. Type *string `json:"Type,omitnil,omitempty" name:"Type"` }
func NewDescribeTagValuesRequest ¶
func NewDescribeTagValuesRequest() (request *DescribeTagValuesRequest)
func (*DescribeTagValuesRequest) FromJsonString ¶
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 ¶
func (r *DescribeTagValuesRequest) ToJsonString() string
type DescribeTagValuesRequestParams ¶
type DescribeTagValuesRequestParams struct { // Dimension name. TagKey *string `json:"TagKey,omitnil,omitempty" name:"TagKey"` // Business system id. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Filter criteria. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Start time (unit: sec). StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time (unit: seconds). EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Or filter criteria. OrFilters []*Filter `json:"OrFilters,omitnil,omitempty" name:"OrFilters"` // Usage type. Type *string `json:"Type,omitnil,omitempty" name:"Type"` }
Predefined struct for user
type DescribeTagValuesResponse ¶
type DescribeTagValuesResponse struct { *tchttp.BaseResponse Response *DescribeTagValuesResponseParams `json:"Response"` }
func NewDescribeTagValuesResponse ¶
func NewDescribeTagValuesResponse() (response *DescribeTagValuesResponse)
func (*DescribeTagValuesResponse) FromJsonString ¶
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 ¶
func (r *DescribeTagValuesResponse) ToJsonString() string
type DescribeTagValuesResponseParams ¶
type DescribeTagValuesResponseParams struct { // Dimension value list. Values []*string `json:"Values,omitnil,omitempty" name:"Values"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type Filter ¶
type Filter struct { // Filtering method (=, !=, in). Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Filter dimension name. Key *string `json:"Key,omitnil,omitempty" name:"Key"` // Filter value. uses commas to separate multiple values in in filtering method. Value *string `json:"Value,omitnil,omitempty" name:"Value"` }
type GeneralFilter ¶
type Instrument ¶
type Line ¶
type Line struct { // Metric name. MetricName *string `json:"MetricName,omitnil,omitempty" name:"MetricName"` // Metric chinese name. MetricNameCN *string `json:"MetricNameCN,omitnil,omitempty" name:"MetricNameCN"` // Time series. TimeSerial []*int64 `json:"TimeSerial,omitnil,omitempty" name:"TimeSerial"` // Data sequence. DataSerial []*float64 `json:"DataSerial,omitnil,omitempty" name:"DataSerial"` // Dimension list. Tags []*ApmTag `json:"Tags,omitnil,omitempty" name:"Tags"` }
type ModifyApmInstanceRequest ¶
type ModifyApmInstanceRequest struct { *tchttp.BaseRequest // Business system id. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Business system name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Tag list. Tags []*ApmTag `json:"Tags,omitnil,omitempty" name:"Tags"` // Business system description. Description *string `json:"Description,omitnil,omitempty" name:"Description"` // Retention period of trace data (unit: days). TraceDuration *int64 `json:"TraceDuration,omitnil,omitempty" name:"TraceDuration"` // Billing switch. OpenBilling *bool `json:"OpenBilling,omitnil,omitempty" name:"OpenBilling"` // Business system report limit. SpanDailyCounters *uint64 `json:"SpanDailyCounters,omitnil,omitempty" name:"SpanDailyCounters"` // Error rate warning line. when the average error rate of the application exceeds this threshold, the system will give an abnormal note. ErrRateThreshold *int64 `json:"ErrRateThreshold,omitnil,omitempty" name:"ErrRateThreshold"` // Sampling rate (unit: %). SampleRate *int64 `json:"SampleRate,omitnil,omitempty" name:"SampleRate"` // Error sampling switch (0: off, 1: on). ErrorSample *int64 `json:"ErrorSample,omitnil,omitempty" name:"ErrorSample"` // Sampling slow call saving threshold (unit: ms). SlowRequestSavedThreshold *int64 `json:"SlowRequestSavedThreshold,omitnil,omitempty" name:"SlowRequestSavedThreshold"` // Log feature switch (0: off; 1: on). IsRelatedLog *int64 `json:"IsRelatedLog,omitnil,omitempty" name:"IsRelatedLog"` // Log region, which takes effect after the log feature is enabled. LogRegion *string `json:"LogRegion,omitnil,omitempty" name:"LogRegion"` // CLS log topic id, which takes effect after the log feature is enabled. LogTopicID *string `json:"LogTopicID,omitnil,omitempty" name:"LogTopicID"` // Logset, which takes effect only after the log feature is enabled. LogSet *string `json:"LogSet,omitnil,omitempty" name:"LogSet"` // Log source, which takes effect only after the log feature is enabled. LogSource *string `json:"LogSource,omitnil,omitempty" name:"LogSource"` // List of custom display tags. CustomShowTags []*string `json:"CustomShowTags,omitnil,omitempty" name:"CustomShowTags"` // Modify billing mode (1: prepaid, 0: pay-as-you-go). PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Response time warning line. ResponseDurationWarningThreshold *int64 `json:"ResponseDurationWarningThreshold,omitnil,omitempty" name:"ResponseDurationWarningThreshold"` // Whether it is free (0 = paid edition; 1 = tsf restricted free edition; 2 = free edition), default 0. Free *int64 `json:"Free,omitnil,omitempty" name:"Free"` // Whether to associate the dashboard (0 = off, 1 = on). IsRelatedDashboard *int64 `json:"IsRelatedDashboard,omitnil,omitempty" name:"IsRelatedDashboard"` // Associated dashboard id, which takes effect after the associated dashboard is enabled. DashboardTopicID *string `json:"DashboardTopicID,omitnil,omitempty" name:"DashboardTopicID"` // SQL injection detection switch (0: off, 1: on). IsSqlInjectionAnalysis *int64 `json:"IsSqlInjectionAnalysis,omitnil,omitempty" name:"IsSqlInjectionAnalysis"` // Whether to enable component vulnerability detection (0 = no, 1 = yes). IsInstrumentationVulnerabilityScan *int64 `json:"IsInstrumentationVulnerabilityScan,omitnil,omitempty" name:"IsInstrumentationVulnerabilityScan"` }
func NewModifyApmInstanceRequest ¶
func NewModifyApmInstanceRequest() (request *ModifyApmInstanceRequest)
func (*ModifyApmInstanceRequest) FromJsonString ¶
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 ¶
func (r *ModifyApmInstanceRequest) ToJsonString() string
type ModifyApmInstanceRequestParams ¶
type ModifyApmInstanceRequestParams struct { // Business system id. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Business system name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Tag list. Tags []*ApmTag `json:"Tags,omitnil,omitempty" name:"Tags"` // Business system description. Description *string `json:"Description,omitnil,omitempty" name:"Description"` // Retention period of trace data (unit: days). TraceDuration *int64 `json:"TraceDuration,omitnil,omitempty" name:"TraceDuration"` // Billing switch. OpenBilling *bool `json:"OpenBilling,omitnil,omitempty" name:"OpenBilling"` // Business system report limit. SpanDailyCounters *uint64 `json:"SpanDailyCounters,omitnil,omitempty" name:"SpanDailyCounters"` // Error rate warning line. when the average error rate of the application exceeds this threshold, the system will give an abnormal note. ErrRateThreshold *int64 `json:"ErrRateThreshold,omitnil,omitempty" name:"ErrRateThreshold"` // Sampling rate (unit: %). SampleRate *int64 `json:"SampleRate,omitnil,omitempty" name:"SampleRate"` // Error sampling switch (0: off, 1: on). ErrorSample *int64 `json:"ErrorSample,omitnil,omitempty" name:"ErrorSample"` // Sampling slow call saving threshold (unit: ms). SlowRequestSavedThreshold *int64 `json:"SlowRequestSavedThreshold,omitnil,omitempty" name:"SlowRequestSavedThreshold"` // Log feature switch (0: off; 1: on). IsRelatedLog *int64 `json:"IsRelatedLog,omitnil,omitempty" name:"IsRelatedLog"` // Log region, which takes effect after the log feature is enabled. LogRegion *string `json:"LogRegion,omitnil,omitempty" name:"LogRegion"` // CLS log topic id, which takes effect after the log feature is enabled. LogTopicID *string `json:"LogTopicID,omitnil,omitempty" name:"LogTopicID"` // Logset, which takes effect only after the log feature is enabled. LogSet *string `json:"LogSet,omitnil,omitempty" name:"LogSet"` // Log source, which takes effect only after the log feature is enabled. LogSource *string `json:"LogSource,omitnil,omitempty" name:"LogSource"` // List of custom display tags. CustomShowTags []*string `json:"CustomShowTags,omitnil,omitempty" name:"CustomShowTags"` // Modify billing mode (1: prepaid, 0: pay-as-you-go). PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Response time warning line. ResponseDurationWarningThreshold *int64 `json:"ResponseDurationWarningThreshold,omitnil,omitempty" name:"ResponseDurationWarningThreshold"` // Whether it is free (0 = paid edition; 1 = tsf restricted free edition; 2 = free edition), default 0. Free *int64 `json:"Free,omitnil,omitempty" name:"Free"` // Whether to associate the dashboard (0 = off, 1 = on). IsRelatedDashboard *int64 `json:"IsRelatedDashboard,omitnil,omitempty" name:"IsRelatedDashboard"` // Associated dashboard id, which takes effect after the associated dashboard is enabled. DashboardTopicID *string `json:"DashboardTopicID,omitnil,omitempty" name:"DashboardTopicID"` // SQL injection detection switch (0: off, 1: on). IsSqlInjectionAnalysis *int64 `json:"IsSqlInjectionAnalysis,omitnil,omitempty" name:"IsSqlInjectionAnalysis"` // Whether to enable component vulnerability detection (0 = no, 1 = yes). IsInstrumentationVulnerabilityScan *int64 `json:"IsInstrumentationVulnerabilityScan,omitnil,omitempty" name:"IsInstrumentationVulnerabilityScan"` }
Predefined struct for user
type ModifyApmInstanceResponse ¶
type ModifyApmInstanceResponse struct { *tchttp.BaseResponse Response *ModifyApmInstanceResponseParams `json:"Response"` }
func NewModifyApmInstanceResponse ¶
func NewModifyApmInstanceResponse() (response *ModifyApmInstanceResponse)
func (*ModifyApmInstanceResponse) FromJsonString ¶
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 ¶
func (r *ModifyApmInstanceResponse) ToJsonString() string
type ModifyApmInstanceResponseParams ¶
type ModifyApmInstanceResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyGeneralApmApplicationConfigRequest ¶
type ModifyGeneralApmApplicationConfigRequest struct { *tchttp.BaseRequest // Business system id. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Fields to be modified. the key and value respectively specify the field name and field value. // . // For specific fields, please refer to. Tags []*ApmTag `json:"Tags,omitnil,omitempty" name:"Tags"` // Name of the application list that requires configuration modification. ServiceNames []*string `json:"ServiceNames,omitnil,omitempty" name:"ServiceNames"` }
func NewModifyGeneralApmApplicationConfigRequest ¶
func NewModifyGeneralApmApplicationConfigRequest() (request *ModifyGeneralApmApplicationConfigRequest)
func (*ModifyGeneralApmApplicationConfigRequest) FromJsonString ¶
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 ¶
func (r *ModifyGeneralApmApplicationConfigRequest) ToJsonString() string
type ModifyGeneralApmApplicationConfigRequestParams ¶
type ModifyGeneralApmApplicationConfigRequestParams struct { // Business system id. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Fields to be modified. the key and value respectively specify the field name and field value. // . // For specific fields, please refer to. Tags []*ApmTag `json:"Tags,omitnil,omitempty" name:"Tags"` // Name of the application list that requires configuration modification. ServiceNames []*string `json:"ServiceNames,omitnil,omitempty" name:"ServiceNames"` }
Predefined struct for user
type ModifyGeneralApmApplicationConfigResponse ¶
type ModifyGeneralApmApplicationConfigResponse struct { *tchttp.BaseResponse Response *ModifyGeneralApmApplicationConfigResponseParams `json:"Response"` }
func NewModifyGeneralApmApplicationConfigResponse ¶
func NewModifyGeneralApmApplicationConfigResponse() (response *ModifyGeneralApmApplicationConfigResponse)
func (*ModifyGeneralApmApplicationConfigResponse) FromJsonString ¶
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 ¶
func (r *ModifyGeneralApmApplicationConfigResponse) ToJsonString() string
type ModifyGeneralApmApplicationConfigResponseParams ¶
type ModifyGeneralApmApplicationConfigResponseParams struct { // Description of the returned value. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type QueryMetricItem ¶
type QueryMetricItem struct { // Metric name. MetricName *string `json:"MetricName,omitnil,omitempty" name:"MetricName"` // Year-Over-Year comparison is now supported for comparebyyesterday (compared to yesterday) and comparebylastweek (compared to last week). Compares []*string `json:"Compares,omitnil,omitempty" name:"Compares"` // Year-On-Year, deprecated, not recommended for use. Compare *string `json:"Compare,omitnil,omitempty" name:"Compare"` }
type Span ¶
type Span struct { // Trace ID TraceID *string `json:"TraceID,omitnil,omitempty" name:"TraceID"` // Log. Logs []*SpanLog `json:"Logs,omitnil,omitempty" name:"Logs"` // Tag. Tags []*SpanTag `json:"Tags,omitnil,omitempty" name:"Tags"` // Submit application service information. Process *SpanProcess `json:"Process,omitnil,omitempty" name:"Process"` // Generated timestamp (ms). Timestamp *int64 `json:"Timestamp,omitnil,omitempty" name:"Timestamp"` // Span name. OperationName *string `json:"OperationName,omitnil,omitempty" name:"OperationName"` // Association relationship. References []*SpanReference `json:"References,omitnil,omitempty" name:"References"` // Generated timestamp (ms). StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Duration (ms). Duration *int64 `json:"Duration,omitnil,omitempty" name:"Duration"` // Span ID SpanID *string `json:"SpanID,omitnil,omitempty" name:"SpanID"` // Generated timestamp (ms). StartTimeMillis *int64 `json:"StartTimeMillis,omitnil,omitempty" name:"StartTimeMillis"` // Parent Span ID ParentSpanID *string `json:"ParentSpanID,omitnil,omitempty" name:"ParentSpanID"` }
type SpanProcess ¶
type SpanReference ¶
type SpanTag ¶
type SpanTag struct { // Tag type. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Tag key. // Note: this field may return null, indicating that no valid values can be obtained. Key *string `json:"Key,omitnil,omitempty" name:"Key"` // Tag value // . // Note: this field may return null, indicating that no valid values can be obtained. Value *string `json:"Value,omitnil,omitempty" name:"Value"` }
type TerminateApmInstanceRequest ¶
type TerminateApmInstanceRequest struct { *tchttp.BaseRequest // Business system id. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
func NewTerminateApmInstanceRequest ¶
func NewTerminateApmInstanceRequest() (request *TerminateApmInstanceRequest)
func (*TerminateApmInstanceRequest) FromJsonString ¶
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 ¶
func (r *TerminateApmInstanceRequest) ToJsonString() string
type TerminateApmInstanceRequestParams ¶
type TerminateApmInstanceRequestParams struct { // Business system id. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
Predefined struct for user
type TerminateApmInstanceResponse ¶
type TerminateApmInstanceResponse struct { *tchttp.BaseResponse Response *TerminateApmInstanceResponseParams `json:"Response"` }
func NewTerminateApmInstanceResponse ¶
func NewTerminateApmInstanceResponse() (response *TerminateApmInstanceResponse)
func (*TerminateApmInstanceResponse) FromJsonString ¶
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 ¶
func (r *TerminateApmInstanceResponse) ToJsonString() string
type TerminateApmInstanceResponseParams ¶
type TerminateApmInstanceResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user