Documentation
¶
Index ¶
- Constants
- type APMKV
- type APMKVItem
- type AgentOperationConfigView
- type ApmAgentInfo
- type ApmAppConfig
- type ApmApplicationConfigView
- type ApmAssociation
- type ApmField
- type ApmInstanceDetail
- type ApmMetricRecord
- type ApmPrometheusRules
- type ApmSampleConfig
- type ApmServiceMetric
- 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) CreateApmPrometheusRule(request *CreateApmPrometheusRuleRequest) (response *CreateApmPrometheusRuleResponse, err error)
- func (c *Client) CreateApmPrometheusRuleWithContext(ctx context.Context, request *CreateApmPrometheusRuleRequest) (response *CreateApmPrometheusRuleResponse, err error)
- func (c *Client) CreateApmSampleConfig(request *CreateApmSampleConfigRequest) (response *CreateApmSampleConfigResponse, err error)
- func (c *Client) CreateApmSampleConfigWithContext(ctx context.Context, request *CreateApmSampleConfigRequest) (response *CreateApmSampleConfigResponse, err error)
- func (c *Client) CreateProfileTask(request *CreateProfileTaskRequest) (response *CreateProfileTaskResponse, err error)
- func (c *Client) CreateProfileTaskWithContext(ctx context.Context, request *CreateProfileTaskRequest) (response *CreateProfileTaskResponse, err error)
- func (c *Client) DeleteApmSampleConfig(request *DeleteApmSampleConfigRequest) (response *DeleteApmSampleConfigResponse, err error)
- func (c *Client) DeleteApmSampleConfigWithContext(ctx context.Context, request *DeleteApmSampleConfigRequest) (response *DeleteApmSampleConfigResponse, 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) DescribeApmApplicationConfig(request *DescribeApmApplicationConfigRequest) (response *DescribeApmApplicationConfigResponse, err error)
- func (c *Client) DescribeApmApplicationConfigWithContext(ctx context.Context, request *DescribeApmApplicationConfigRequest) (response *DescribeApmApplicationConfigResponse, err error)
- func (c *Client) DescribeApmAssociation(request *DescribeApmAssociationRequest) (response *DescribeApmAssociationResponse, err error)
- func (c *Client) DescribeApmAssociationWithContext(ctx context.Context, request *DescribeApmAssociationRequest) (response *DescribeApmAssociationResponse, 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) DescribeApmPrometheusRule(request *DescribeApmPrometheusRuleRequest) (response *DescribeApmPrometheusRuleResponse, err error)
- func (c *Client) DescribeApmPrometheusRuleWithContext(ctx context.Context, request *DescribeApmPrometheusRuleRequest) (response *DescribeApmPrometheusRuleResponse, err error)
- func (c *Client) DescribeApmSampleConfig(request *DescribeApmSampleConfigRequest) (response *DescribeApmSampleConfigResponse, err error)
- func (c *Client) DescribeApmSampleConfigWithContext(ctx context.Context, request *DescribeApmSampleConfigRequest) (response *DescribeApmSampleConfigResponse, err error)
- func (c *Client) DescribeApmServiceMetric(request *DescribeApmServiceMetricRequest) (response *DescribeApmServiceMetricResponse, err error)
- func (c *Client) DescribeApmServiceMetricWithContext(ctx context.Context, request *DescribeApmServiceMetricRequest) (response *DescribeApmServiceMetricResponse, 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) ModifyApmApplicationConfig(request *ModifyApmApplicationConfigRequest) (response *ModifyApmApplicationConfigResponse, err error)
- func (c *Client) ModifyApmApplicationConfigWithContext(ctx context.Context, request *ModifyApmApplicationConfigRequest) (response *ModifyApmApplicationConfigResponse, err error)
- func (c *Client) ModifyApmAssociation(request *ModifyApmAssociationRequest) (response *ModifyApmAssociationResponse, err error)
- func (c *Client) ModifyApmAssociationWithContext(ctx context.Context, request *ModifyApmAssociationRequest) (response *ModifyApmAssociationResponse, 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) ModifyApmPrometheusRule(request *ModifyApmPrometheusRuleRequest) (response *ModifyApmPrometheusRuleResponse, err error)
- func (c *Client) ModifyApmPrometheusRuleWithContext(ctx context.Context, request *ModifyApmPrometheusRuleRequest) (response *ModifyApmPrometheusRuleResponse, err error)
- func (c *Client) ModifyApmSampleConfig(request *ModifyApmSampleConfigRequest) (response *ModifyApmSampleConfigResponse, err error)
- func (c *Client) ModifyApmSampleConfigWithContext(ctx context.Context, request *ModifyApmSampleConfigRequest) (response *ModifyApmSampleConfigResponse, 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 CreateApmPrometheusRuleRequest
- type CreateApmPrometheusRuleRequestParams
- type CreateApmPrometheusRuleResponse
- type CreateApmPrometheusRuleResponseParams
- type CreateApmSampleConfigRequest
- type CreateApmSampleConfigRequestParams
- type CreateApmSampleConfigResponse
- type CreateApmSampleConfigResponseParams
- type CreateProfileTaskRequest
- type CreateProfileTaskRequestParams
- type CreateProfileTaskResponse
- type CreateProfileTaskResponseParams
- type DeleteApmSampleConfigRequest
- type DeleteApmSampleConfigRequestParams
- type DeleteApmSampleConfigResponse
- type DeleteApmSampleConfigResponseParams
- type DescribeApmAgentRequest
- type DescribeApmAgentRequestParams
- type DescribeApmAgentResponse
- type DescribeApmAgentResponseParams
- type DescribeApmApplicationConfigRequest
- type DescribeApmApplicationConfigRequestParams
- type DescribeApmApplicationConfigResponse
- type DescribeApmApplicationConfigResponseParams
- type DescribeApmAssociationRequest
- type DescribeApmAssociationRequestParams
- type DescribeApmAssociationResponse
- type DescribeApmAssociationResponseParams
- type DescribeApmInstancesRequest
- type DescribeApmInstancesRequestParams
- type DescribeApmInstancesResponse
- type DescribeApmInstancesResponseParams
- type DescribeApmPrometheusRuleRequest
- type DescribeApmPrometheusRuleRequestParams
- type DescribeApmPrometheusRuleResponse
- type DescribeApmPrometheusRuleResponseParams
- type DescribeApmSampleConfigRequest
- type DescribeApmSampleConfigRequestParams
- type DescribeApmSampleConfigResponse
- type DescribeApmSampleConfigResponseParams
- type DescribeApmServiceMetricRequest
- type DescribeApmServiceMetricRequestParams
- type DescribeApmServiceMetricResponse
- type DescribeApmServiceMetricResponseParams
- 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 ModifyApmApplicationConfigRequest
- type ModifyApmApplicationConfigRequestParams
- type ModifyApmApplicationConfigResponse
- type ModifyApmApplicationConfigResponseParams
- type ModifyApmAssociationRequest
- type ModifyApmAssociationRequestParams
- type ModifyApmAssociationResponse
- type ModifyApmAssociationResponseParams
- type ModifyApmInstanceRequest
- type ModifyApmInstanceRequestParams
- type ModifyApmInstanceResponse
- type ModifyApmInstanceResponseParams
- type ModifyApmPrometheusRuleRequest
- type ModifyApmPrometheusRuleRequestParams
- type ModifyApmPrometheusRuleResponse
- type ModifyApmPrometheusRuleResponseParams
- type ModifyApmSampleConfigRequest
- type ModifyApmSampleConfigRequestParams
- type ModifyApmSampleConfigResponse
- type ModifyApmSampleConfigResponseParams
- type ModifyGeneralApmApplicationConfigRequest
- type ModifyGeneralApmApplicationConfigRequestParams
- type ModifyGeneralApmApplicationConfigResponse
- type ModifyGeneralApmApplicationConfigResponseParams
- type OrderBy
- type QueryMetricItem
- type ServiceDetail
- 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" // Probe not detected online. FAILEDOPERATION_AGENTNOTONLINEERROR = "FailedOperation.AgentNotOnlineError" // Error in related configurations of the probe APIs. FAILEDOPERATION_AGENTOPERATIONCONFIGINVALID = "FailedOperation.AgentOperationConfigInvalid" // The current agent version does not support this feature. FAILEDOPERATION_AGENTVERSIONNOTSUPPORTERROR = "FailedOperation.AgentVersionNotSupportError" // The token information does not exist. FAILEDOPERATION_APMCREDENTIALNOTEXIST = "FailedOperation.ApmCredentialNotExist" // The appid does not match the business system information. FAILEDOPERATION_APPIDNOTMATCHINSTANCEINFO = "FailedOperation.AppIdNotMatchInstanceInfo" // Association relationship modify request error. FAILEDOPERATION_ASSOCIATIONMODIFYREQUESTNOTVALIDERROR = "FailedOperation.AssociationModifyRequestNotValidError" // ckafka is inconsistent with the old association information. FAILEDOPERATION_CKAFKADIFFASSOCIATIONERROR = "FailedOperation.CKafkaDiffAssociationError" // topic cannot be empty. FAILEDOPERATION_CKAFKAEMPTYTOPICERROR = "FailedOperation.CKafkaEmptyTopicError" // Get route failed. FAILEDOPERATION_CKAFKAGETROUTEIDFAILEDERROR = "FailedOperation.CKafkaGetRouteIDFailedError" // Get route timeout. FAILEDOPERATION_CKAFKAGETROUTETIMEOUTERROR = "FailedOperation.CKafkaGetRouteTimeoutError" // CKafka instance unavailable. FAILEDOPERATION_CKAFKANOTAVAILABLEERROR = "FailedOperation.CKafkaNotAvailableError" // 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 API match type. FAILEDOPERATION_INVALIDOPERATIONTYPE = "FailedOperation.InvalidOperationType" // 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" // API name cannot be empty. FAILEDOPERATION_OPERATIONNAMEISEMPTY = "FailedOperation.OperationNameIsEmpty" // Associated product ID unavailable. FAILEDOPERATION_PEERIDNOTAVAILABLE = "FailedOperation.PeerIdNotAvailable" // Associated product name is unavailable or not currently supported. FAILEDOPERATION_PRODUCTNAMENOTAVAILABLE = "FailedOperation.ProductNameNotAvailable" // The Prometheus instance status is unavailable. FAILEDOPERATION_PROMINSTANCENOTAVAILABLEERROR = "FailedOperation.PromInstanceNotAvailableError" // Prometheus metric match rule conflict, same metric match rule exists. FAILEDOPERATION_PROMRULECONFLICT = "FailedOperation.PromRuleConflict" // Prometheus metric match rule is empty. FAILEDOPERATION_PROMRULEISEMPTYERR = "FailedOperation.PromRuleIsEmptyErr" // Prometheus metric match rule name already exists. FAILEDOPERATION_PROMRULENAMECONFLICT = "FailedOperation.PromRuleNameConflict" // Prometheus metric match rule request error. FAILEDOPERATION_PROMRULEREQUESTNOTVALIDERROR = "FailedOperation.PromRuleRequestNotValidError" // Query time range not supported. FAILEDOPERATION_QUERYTIMEINTERVALISNOTSUPPORTED = "FailedOperation.QueryTimeIntervalIsNotSupported" // This region is not supported. FAILEDOPERATION_REGIONNOTSUPPORT = "FailedOperation.RegionNotSupport" // Route unavailable. FAILEDOPERATION_ROUTENOTAVAILABLEERROR = "FailedOperation.RouteNotAvailableError" // Duplicate sampling name under this instance. FAILEDOPERATION_SAMPLENAMECONFLICT = "FailedOperation.SampleNameConflict" // No such a sampling rule. FAILEDOPERATION_SAMPLENOTFOUND = "FailedOperation.SampleNotFound" // Sampling rule conflict. FAILEDOPERATION_SAMPLERULECONFLICT = "FailedOperation.SampleRuleConflict" // 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" // No application resources were found. FAILEDOPERATION_SERVICENOTFOUND = "FailedOperation.ServiceNotFound" // serviceId does not match appId. FAILEDOPERATION_SERVICENOTMATCHAPPIDERR = "FailedOperation.ServiceNotMatchAppIdErr" // topic is unavailable. FAILEDOPERATION_TOPICNOTAVAILABLEERROR = "FailedOperation.TopicNotAvailableError" // 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 AgentOperationConfigView ¶
type AgentOperationConfigView struct {
// Whether allowlist configuration is enabled for the current API.
// Note: This field may return null, indicating that no valid values can be obtained.
RetentionValid *bool `json:"RetentionValid,omitnil,omitempty" name:"RetentionValid"`
// Effective when RetentionValid is false. It indicates blocklist configuration in API settings. The APIs specified in the configuration do not support collection.
// Note: This field may return null, indicating that no valid values can be obtained.
IgnoreOperation *string `json:"IgnoreOperation,omitnil,omitempty" name:"IgnoreOperation"`
// Effective when RetentionValid is true. It indicates allowlist configuration in API settings. Only the APIs specified in the configuration support collection.
// Note: This field may return null, indicating that no valid values can be obtained.
RetentionOperation *string `json:"RetentionOperation,omitnil,omitempty" name:"RetentionOperation"`
}
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 ApmAppConfig ¶
type ApmAppConfig struct {
// Instance ID.
InstanceKey *string `json:"InstanceKey,omitnil,omitempty" name:"InstanceKey"`
// Service name.
ServiceName *string `json:"ServiceName,omitnil,omitempty" name:"ServiceName"`
// URL convergence switch.
UrlConvergenceSwitch *int64 `json:"UrlConvergenceSwitch,omitnil,omitempty" name:"UrlConvergenceSwitch"`
// URL convergence threshold
UrlConvergenceThreshold *int64 `json:"UrlConvergenceThreshold,omitnil,omitempty" name:"UrlConvergenceThreshold"`
// URL convergence regular expression.
UrlConvergence *string `json:"UrlConvergence,omitnil,omitempty" name:"UrlConvergence"`
// Exception filtering regular expression.
ExceptionFilter *string `json:"ExceptionFilter,omitnil,omitempty" name:"ExceptionFilter"`
// Error code filtering.
ErrorCodeFilter *string `json:"ErrorCodeFilter,omitnil,omitempty" name:"ErrorCodeFilter"`
// Service component type.
Components *string `json:"Components,omitnil,omitempty" name:"Components"`
// URL exclusion regular.
UrlExclude *string `json:"UrlExclude,omitnil,omitempty" name:"UrlExclude"`
// Specifies the log source.
LogSource *string `json:"LogSource,omitnil,omitempty" name:"LogSource"`
// Log region.
LogRegion *string `json:"LogRegion,omitnil,omitempty" name:"LogRegion"`
// Whether logging is enabled. valid values: 0 (disabled), 1 (enabled).
IsRelatedLog *int64 `json:"IsRelatedLog,omitnil,omitempty" name:"IsRelatedLog"`
// Log topic ID
LogTopicID *string `json:"LogTopicID,omitnil,omitempty" name:"LogTopicID"`
// API names to filter
IgnoreOperationName *string `json:"IgnoreOperationName,omitnil,omitempty" name:"IgnoreOperationName"`
// CLS log set/ES cluster ID
LogSet *string `json:"LogSet,omitnil,omitempty" name:"LogSet"`
// Number of traces reported by the probe per second.
TraceRateLimit *int64 `json:"TraceRateLimit,omitnil,omitempty" name:"TraceRateLimit"`
// Whether thread profiling is enabled.
EnableSnapshot *bool `json:"EnableSnapshot,omitnil,omitempty" name:"EnableSnapshot"`
// Timeout threshold for thread profiling.
SnapshotTimeout *int64 `json:"SnapshotTimeout,omitnil,omitempty" name:"SnapshotTimeout"`
// Whether agent is enabled.
AgentEnable *bool `json:"AgentEnable,omitnil,omitempty" name:"AgentEnable"`
// Component List
// Note: This field may return null, indicating that no valid values can be obtained.
InstrumentList []*Instrument `json:"InstrumentList,omitnil,omitempty" name:"InstrumentList"`
// Whether link compression is enabled.
TraceSquash *bool `json:"TraceSquash,omitnil,omitempty" name:"TraceSquash"`
// Whether application diagnosis is enabled.
EventEnable *bool `json:"EventEnable,omitnil,omitempty" name:"EventEnable"`
// Related configurations of the probe APIs.
// Note: This field may return null, indicating that no valid values can be obtained.
AgentOperationConfigView *AgentOperationConfigView `json:"AgentOperationConfigView,omitnil,omitempty" name:"AgentOperationConfigView"`
// Whether to enable application log configuration.
EnableLogConfig *bool `json:"EnableLogConfig,omitnil,omitempty" name:"EnableLogConfig"`
// Application ID
// Note: This field may return null, indicating that no valid values can be obtained.
ServiceID *string `json:"ServiceID,omitnil,omitempty" name:"ServiceID"`
// Whether to enable the dashboard configuration for applications. false: disabled (consistent with the business system configuration); true: enabled (application-level configuration).
// Note: This field may return null, indicating that no valid values can be obtained.
EnableDashboardConfig *bool `json:"EnableDashboardConfig,omitnil,omitempty" name:"EnableDashboardConfig"`
// Whether to associate with Dashboard. 0: disabled; 1: enabled.
// Note: This field may return null, indicating that no valid values can be obtained.
IsRelatedDashboard *int64 `json:"IsRelatedDashboard,omitnil,omitempty" name:"IsRelatedDashboard"`
// dashboard ID
// Note: This field may return null, indicating that no valid values can be obtained.
DashboardTopicID *string `json:"DashboardTopicID,omitnil,omitempty" name:"DashboardTopicID"`
// Whether to enable the application-level configuration.
// Note: This field may return null, indicating that no valid values can be obtained.
EnableSecurityConfig *bool `json:"EnableSecurityConfig,omitnil,omitempty" name:"EnableSecurityConfig"`
// Whether to enable detection of component vulnerability.
// Note: This field may return null, indicating that no valid values can be obtained.
IsInstrumentationVulnerabilityScan *int64 `json:"IsInstrumentationVulnerabilityScan,omitnil,omitempty" name:"IsInstrumentationVulnerabilityScan"`
// Whether to enable SQL injection analysis.
// Note: This field may return null, indicating that no valid values can be obtained.
IsSqlInjectionAnalysis *int64 `json:"IsSqlInjectionAnalysis,omitnil,omitempty" name:"IsSqlInjectionAnalysis"`
// Whether to enable execution analysis of remote command.
// Note: This field may return null, indicating that no valid values can be obtained.
IsRemoteCommandExecutionAnalysis *int64 `json:"IsRemoteCommandExecutionAnalysis,omitnil,omitempty" name:"IsRemoteCommandExecutionAnalysis"`
// Whether to enable detection analysis of Java webshell.
// Note: This field may return null, indicating that no valid values can be obtained.
IsMemoryHijackingAnalysis *int64 `json:"IsMemoryHijackingAnalysis,omitnil,omitempty" name:"IsMemoryHijackingAnalysis"`
// CLS index type. (0 = full-text index; 1 = key-value index).
LogIndexType *int64 `json:"LogIndexType,omitnil,omitempty" name:"LogIndexType"`
// Index key of traceId. It is valid when the CLS index type is key-value index.
LogTraceIdKey *string `json:"LogTraceIdKey,omitnil,omitempty" name:"LogTraceIdKey"`
// Whether to enable the detection of deleting arbitrary files. (0 - disabled; 1: enabled.)
// Note: This field may return null, indicating that no valid values can be obtained.
IsDeleteAnyFileAnalysis *int64 `json:"IsDeleteAnyFileAnalysis,omitnil,omitempty" name:"IsDeleteAnyFileAnalysis"`
// Whether to enable the detection of reading arbitrary files. (0 - disabled; 1 - enabled.)
// Note: This field may return null, indicating that no valid values can be obtained.
IsReadAnyFileAnalysis *int64 `json:"IsReadAnyFileAnalysis,omitnil,omitempty" name:"IsReadAnyFileAnalysis"`
// Whether to enable the detection of uploading arbitrary files. (0 - disabled; 1 - enabled.)
// Note: This field may return null, indicating that no valid values can be obtained.
IsUploadAnyFileAnalysis *int64 `json:"IsUploadAnyFileAnalysis,omitnil,omitempty" name:"IsUploadAnyFileAnalysis"`
// Whether to enable the detection of the inclusion of arbitrary files. (0: disabled, 1: enabled.)
// Note: This field may return null, indicating that no valid values can be obtained.
IsIncludeAnyFileAnalysis *int64 `json:"IsIncludeAnyFileAnalysis,omitnil,omitempty" name:"IsIncludeAnyFileAnalysis"`
// Whether to enable traversal detection of the directory. (0 - disabled; 1 - enabled).
// Note: This field may return null, indicating that no valid values can be obtained.
IsDirectoryTraversalAnalysis *int64 `json:"IsDirectoryTraversalAnalysis,omitnil,omitempty" name:"IsDirectoryTraversalAnalysis"`
// Whether to enable template engine injection detection. (0: disabled; 1: enabled.)
// Note: This field may return null, indicating that no valid values can be obtained.
IsTemplateEngineInjectionAnalysis *int64 `json:"IsTemplateEngineInjectionAnalysis,omitnil,omitempty" name:"IsTemplateEngineInjectionAnalysis"`
// Whether to enable script engine injection detection. (0 - disabled; 1 - enabled.)
// Note: This field may return null, indicating that no valid values can be obtained.
IsScriptEngineInjectionAnalysis *int64 `json:"IsScriptEngineInjectionAnalysis,omitnil,omitempty" name:"IsScriptEngineInjectionAnalysis"`
// Whether to enable expression injection detection. (0 - disabled; 1 - enabled.)
// Note: This field may return null, indicating that no valid values can be obtained.
IsExpressionInjectionAnalysis *int64 `json:"IsExpressionInjectionAnalysis,omitnil,omitempty" name:"IsExpressionInjectionAnalysis"`
// Whether to enable JNDI injection detection. (0 - disabled; 1 - enabled.)
// Note: This field may return null, indicating that no valid values can be obtained.
IsJNDIInjectionAnalysis *int64 `json:"IsJNDIInjectionAnalysis,omitnil,omitempty" name:"IsJNDIInjectionAnalysis"`
// Whether to enable JNI injection detection. (0 - disabled, 1 - enabled).
// Note: This field may return null, indicating that no valid values can be obtained.
IsJNIInjectionAnalysis *int64 `json:"IsJNIInjectionAnalysis,omitnil,omitempty" name:"IsJNIInjectionAnalysis"`
// Whether to enable Webshell backdoor detection. (0 - disabled; 1 - enabled).
// Note: This field may return null, indicating that no valid values can be obtained.
IsWebshellBackdoorAnalysis *int64 `json:"IsWebshellBackdoorAnalysis,omitnil,omitempty" name:"IsWebshellBackdoorAnalysis"`
// Whether to enable deserialization detection. (0 - disabled; 1 - enabled).
// Note: This field may return null, indicating that no valid values can be obtained.
IsDeserializationAnalysis *int64 `json:"IsDeserializationAnalysis,omitnil,omitempty" name:"IsDeserializationAnalysis"`
// API name automatic convergence switch (0 - disabled; 1 - enabled)
UrlAutoConvergenceEnable *bool `json:"UrlAutoConvergenceEnable,omitnil,omitempty" name:"UrlAutoConvergenceEnable"`
// Convergence threshold for URL long segments.
UrlLongSegmentThreshold *int64 `json:"UrlLongSegmentThreshold,omitnil,omitempty" name:"UrlLongSegmentThreshold"`
// Convergence threshold for URL numerical segments.
UrlNumberSegmentThreshold *int64 `json:"UrlNumberSegmentThreshold,omitnil,omitempty" name:"UrlNumberSegmentThreshold"`
// Specifies the memory threshold for probe fusing.
DisableMemoryUsed *int64 `json:"DisableMemoryUsed,omitnil,omitempty" name:"DisableMemoryUsed"`
// Specifies the CPU threshold for probe fusing.
DisableCpuUsed *int64 `json:"DisableCpuUsed,omitnil,omitempty" name:"DisableCpuUsed"`
}
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"`
// Specifies the memory threshold for probe fusing.
DisableMemoryUsed *int64 `json:"DisableMemoryUsed,omitnil,omitempty" name:"DisableMemoryUsed"`
// Specifies the CPU threshold for probe fusing.
DisableCpuUsed *int64 `json:"DisableCpuUsed,omitnil,omitempty" name:"DisableCpuUsed"`
}
type ApmAssociation ¶
type ApmAssociation struct {
// Associated product instance ID.
// Note: This field may return null, indicating that no valid values can be obtained.
PeerId *string `json:"PeerId,omitnil,omitempty" name:"PeerId"`
// Association status: 1 (enabled), 2 (disabled), 3 (invalid).
// Note: This field may return null, indicating that no valid values can be obtained.
Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
// Specifies the CKafka message topic.
Topic *string `json:"Topic,omitnil,omitempty" name:"Topic"`
}
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"`
// Metric Chinese Name
NameCN *string `json:"NameCN,omitnil,omitempty" name:"NameCN"`
// Metric English name
NameEN *string `json:"NameEN,omitnil,omitempty" name:"NameEN"`
}
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"`
// Whether to enable detection of remote command execution (0 = disabled; 1 = enabled).
IsRemoteCommandExecutionAnalysis *int64 `json:"IsRemoteCommandExecutionAnalysis,omitnil,omitempty" name:"IsRemoteCommandExecutionAnalysis"`
// Whether to enable detection of Java webshell execution (0 = disabled; 1 = enabled).
IsMemoryHijackingAnalysis *int64 `json:"IsMemoryHijackingAnalysis,omitnil,omitempty" name:"IsMemoryHijackingAnalysis"`
// CLS index type. (0 = full-text index; 1 = key-value index).
LogIndexType *int64 `json:"LogIndexType,omitnil,omitempty" name:"LogIndexType"`
// Index key of traceId. It is valid when the CLS index type is key-value index.
LogTraceIdKey *string `json:"LogTraceIdKey,omitnil,omitempty" name:"LogTraceIdKey"`
// Whether to enable the detection of deleting arbitrary files. (0 - disabled; 1: enabled.)
IsDeleteAnyFileAnalysis *int64 `json:"IsDeleteAnyFileAnalysis,omitnil,omitempty" name:"IsDeleteAnyFileAnalysis"`
// Whether to enable the detection of reading arbitrary files. (0 - disabled; 1 - enabled.)
IsReadAnyFileAnalysis *int64 `json:"IsReadAnyFileAnalysis,omitnil,omitempty" name:"IsReadAnyFileAnalysis"`
// Whether to enable the detection of uploading arbitrary files. (0 - disabled; 1 - enabled.)
IsUploadAnyFileAnalysis *int64 `json:"IsUploadAnyFileAnalysis,omitnil,omitempty" name:"IsUploadAnyFileAnalysis"`
// Whether to enable the detection of the inclusion of arbitrary files. (0: disabled, 1: enabled.)
IsIncludeAnyFileAnalysis *int64 `json:"IsIncludeAnyFileAnalysis,omitnil,omitempty" name:"IsIncludeAnyFileAnalysis"`
// Whether to enable traversal detection of the directory. (0 - disabled; 1 - enabled).
IsDirectoryTraversalAnalysis *int64 `json:"IsDirectoryTraversalAnalysis,omitnil,omitempty" name:"IsDirectoryTraversalAnalysis"`
// Whether to enable template engine injection detection. (0: disabled; 1: enabled.)
IsTemplateEngineInjectionAnalysis *int64 `json:"IsTemplateEngineInjectionAnalysis,omitnil,omitempty" name:"IsTemplateEngineInjectionAnalysis"`
// Whether to enable script engine injection detection. (0 - disabled; 1 - enabled.)
IsScriptEngineInjectionAnalysis *int64 `json:"IsScriptEngineInjectionAnalysis,omitnil,omitempty" name:"IsScriptEngineInjectionAnalysis"`
// Whether to enable expression injection detection. (0 - disabled; 1 - enabled.)
IsExpressionInjectionAnalysis *int64 `json:"IsExpressionInjectionAnalysis,omitnil,omitempty" name:"IsExpressionInjectionAnalysis"`
// Whether to enable JNDI injection detection. (0 - disabled; 1 - enabled.)
IsJNDIInjectionAnalysis *int64 `json:"IsJNDIInjectionAnalysis,omitnil,omitempty" name:"IsJNDIInjectionAnalysis"`
// Whether to enable JNI injection detection. (0 - disabled, 1 - enabled).
IsJNIInjectionAnalysis *int64 `json:"IsJNIInjectionAnalysis,omitnil,omitempty" name:"IsJNIInjectionAnalysis"`
// Whether to enable Webshell backdoor detection. (0 - disabled; 1 - enabled).
IsWebshellBackdoorAnalysis *int64 `json:"IsWebshellBackdoorAnalysis,omitnil,omitempty" name:"IsWebshellBackdoorAnalysis"`
// Whether to enable deserialization detection. (0 - disabled; 1 - enabled).
IsDeserializationAnalysis *int64 `json:"IsDeserializationAnalysis,omitnil,omitempty" name:"IsDeserializationAnalysis"`
// Business system authentication token.
Token *string `json:"Token,omitnil,omitempty" name:"Token"`
// Convergence threshold for URL long segments.
UrlLongSegmentThreshold *int64 `json:"UrlLongSegmentThreshold,omitnil,omitempty" name:"UrlLongSegmentThreshold"`
// Convergence threshold for URL numerical segments.
UrlNumberSegmentThreshold *int64 `json:"UrlNumberSegmentThreshold,omitnil,omitempty" name:"UrlNumberSegmentThreshold"`
}
type ApmMetricRecord ¶
type ApmPrometheusRules ¶
type ApmPrometheusRules struct {
// Metric match rule ID.
Id *int64 `json:"Id,omitnil,omitempty" name:"Id"`
// Metric match rule name.
// Note: This field may return null, indicating that no valid values can be obtained.
Name *string `json:"Name,omitnil,omitempty" name:"Name"`
// Applications where the rule takes effect. input an empty string for all applications.
// Note: This field may return null, indicating that no valid values can be obtained.
ServiceName *string `json:"ServiceName,omitnil,omitempty" name:"ServiceName"`
// Specifies the metric match rule status: 1 (enabled), 2 (disabled).
// Note: This field may return null, indicating that no valid values can be obtained.
Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
// Specifies the metric match rule.
// Note: This field may return null, indicating that no valid values can be obtained.
MetricNameRule *string `json:"MetricNameRule,omitnil,omitempty" name:"MetricNameRule"`
// Match type: 0 - precision match, 1 - prefix match, 2 - suffix match.
// Note: This field may return null, indicating that no valid values can be obtained.
MetricMatchType *int64 `json:"MetricMatchType,omitnil,omitempty" name:"MetricMatchType"`
}
type ApmSampleConfig ¶
type ApmSampleConfig struct {
// Instance ID.
InstanceKey *string `json:"InstanceKey,omitnil,omitempty" name:"InstanceKey"`
// Service name.
ServiceName *string `json:"ServiceName,omitnil,omitempty" name:"ServiceName"`
// Sampling name
SampleName *string `json:"SampleName,omitnil,omitempty" name:"SampleName"`
// API name.
OperationName *string `json:"OperationName,omitnil,omitempty" name:"OperationName"`
// Number of spans sampled
SpanNum *int64 `json:"SpanNum,omitnil,omitempty" name:"SpanNum"`
// Sampling configuration switch. 0: Off; 1: On
Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
// Tag array
// Note: This field may return null, indicating that no valid values can be obtained.
Tags []*APMKVItem `json:"Tags,omitnil,omitempty" name:"Tags"`
// Sampling rate.
SampleRate *int64 `json:"SampleRate,omitnil,omitempty" name:"SampleRate"`
// Specifies the matching method. 0: exact match (default); 1: prefix match; 2: suffix match.
// Note: This field may return null, indicating that no valid values can be obtained.
OperationType *int64 `json:"OperationType,omitnil,omitempty" name:"OperationType"`
// Configuration ID.
// Note: This field may return null, indicating that no valid values can be obtained.
Id *int64 `json:"Id,omitnil,omitempty" name:"Id"`
}
type ApmServiceMetric ¶
type ApmServiceMetric struct {
// Field array.
// Note: This field may return null, indicating that no valid values can be obtained.
Fields []*ApmField `json:"Fields,omitnil,omitempty" name:"Fields"`
// Tag array
// Note: This field may return null, indicating that no valid values can be obtained.
Tags []*ApmTag `json:"Tags,omitnil,omitempty" name:"Tags"`
// Application information
// Note: This field may return null, indicating that no valid values can be obtained.
ServiceDetail *ServiceDetail `json:"ServiceDetail,omitnil,omitempty" name:"ServiceDetail"`
}
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) CreateApmPrometheusRule ¶
func (c *Client) CreateApmPrometheusRule(request *CreateApmPrometheusRuleRequest) (response *CreateApmPrometheusRuleResponse, err error)
CreateApmPrometheusRule This API is used to create metric match rules between apm Business System and Prometheus Instance.
error code that may be returned:
FAILEDOPERATION_PROMRULECONFLICT = "FailedOperation.PromRuleConflict" FAILEDOPERATION_PROMRULEISEMPTYERR = "FailedOperation.PromRuleIsEmptyErr" FAILEDOPERATION_PROMRULENAMECONFLICT = "FailedOperation.PromRuleNameConflict" FAILEDOPERATION_PROMRULEREQUESTNOTVALIDERROR = "FailedOperation.PromRuleRequestNotValidError"
func (*Client) CreateApmPrometheusRuleWithContext ¶
func (c *Client) CreateApmPrometheusRuleWithContext(ctx context.Context, request *CreateApmPrometheusRuleRequest) (response *CreateApmPrometheusRuleResponse, err error)
CreateApmPrometheusRule This API is used to create metric match rules between apm Business System and Prometheus Instance.
error code that may be returned:
FAILEDOPERATION_PROMRULECONFLICT = "FailedOperation.PromRuleConflict" FAILEDOPERATION_PROMRULEISEMPTYERR = "FailedOperation.PromRuleIsEmptyErr" FAILEDOPERATION_PROMRULENAMECONFLICT = "FailedOperation.PromRuleNameConflict" FAILEDOPERATION_PROMRULEREQUESTNOTVALIDERROR = "FailedOperation.PromRuleRequestNotValidError"
func (*Client) CreateApmSampleConfig ¶
func (c *Client) CreateApmSampleConfig(request *CreateApmSampleConfigRequest) (response *CreateApmSampleConfigResponse, err error)
CreateApmSampleConfig Create sampling configurations
error code that may be returned:
FAILEDOPERATION_DEMOINSTANCENOTALLOWMODIFIED = "FailedOperation.DemoInstanceNotAllowModified" FAILEDOPERATION_INVALIDOPERATIONTYPE = "FailedOperation.InvalidOperationType" FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam" FAILEDOPERATION_INVALIDREQUEST = "FailedOperation.InvalidRequest" FAILEDOPERATION_OPERATIONNAMEISEMPTY = "FailedOperation.OperationNameIsEmpty" FAILEDOPERATION_SAMPLENAMECONFLICT = "FailedOperation.SampleNameConflict" FAILEDOPERATION_SAMPLERULECONFLICT = "FailedOperation.SampleRuleConflict"
func (*Client) CreateApmSampleConfigWithContext ¶
func (c *Client) CreateApmSampleConfigWithContext(ctx context.Context, request *CreateApmSampleConfigRequest) (response *CreateApmSampleConfigResponse, err error)
CreateApmSampleConfig Create sampling configurations
error code that may be returned:
FAILEDOPERATION_DEMOINSTANCENOTALLOWMODIFIED = "FailedOperation.DemoInstanceNotAllowModified" FAILEDOPERATION_INVALIDOPERATIONTYPE = "FailedOperation.InvalidOperationType" FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam" FAILEDOPERATION_INVALIDREQUEST = "FailedOperation.InvalidRequest" FAILEDOPERATION_OPERATIONNAMEISEMPTY = "FailedOperation.OperationNameIsEmpty" FAILEDOPERATION_SAMPLENAMECONFLICT = "FailedOperation.SampleNameConflict" FAILEDOPERATION_SAMPLERULECONFLICT = "FailedOperation.SampleRuleConflict"
func (*Client) CreateProfileTask ¶
func (c *Client) CreateProfileTask(request *CreateProfileTaskRequest) (response *CreateProfileTaskResponse, err error)
CreateProfileTask This API is used to create an event task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_AGENTNOTONLINEERROR = "FailedOperation.AgentNotOnlineError" FAILEDOPERATION_AGENTVERSIONNOTSUPPORTERROR = "FailedOperation.AgentVersionNotSupportError" FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam" FAILEDOPERATION_INVALIDREQUEST = "FailedOperation.InvalidRequest"
func (*Client) CreateProfileTaskWithContext ¶
func (c *Client) CreateProfileTaskWithContext(ctx context.Context, request *CreateProfileTaskRequest) (response *CreateProfileTaskResponse, err error)
CreateProfileTask This API is used to create an event task.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_AGENTNOTONLINEERROR = "FailedOperation.AgentNotOnlineError" FAILEDOPERATION_AGENTVERSIONNOTSUPPORTERROR = "FailedOperation.AgentVersionNotSupportError" FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam" FAILEDOPERATION_INVALIDREQUEST = "FailedOperation.InvalidRequest"
func (*Client) DeleteApmSampleConfig ¶
func (c *Client) DeleteApmSampleConfig(request *DeleteApmSampleConfigRequest) (response *DeleteApmSampleConfigResponse, err error)
DeleteApmSampleConfig Delete sampling configurations
error code that may be returned:
FAILEDOPERATION_INSTANCENOTFOUND = "FailedOperation.InstanceNotFound"
func (*Client) DeleteApmSampleConfigWithContext ¶
func (c *Client) DeleteApmSampleConfigWithContext(ctx context.Context, request *DeleteApmSampleConfigRequest) (response *DeleteApmSampleConfigResponse, err error)
DeleteApmSampleConfig Delete sampling configurations
error code that may be returned:
FAILEDOPERATION_INSTANCENOTFOUND = "FailedOperation.InstanceNotFound"
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) DescribeApmApplicationConfig ¶
func (c *Client) DescribeApmApplicationConfig(request *DescribeApmApplicationConfigRequest) (response *DescribeApmApplicationConfigResponse, err error)
DescribeApmApplicationConfig This API is used to query application configuration.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APPIDNOTMATCHINSTANCEINFO = "FailedOperation.AppIdNotMatchInstanceInfo" FAILEDOPERATION_INSTANCENOTFOUND = "FailedOperation.InstanceNotFound" FAILEDOPERATION_INVALIDSERVICENAME = "FailedOperation.InvalidServiceName"
func (*Client) DescribeApmApplicationConfigWithContext ¶
func (c *Client) DescribeApmApplicationConfigWithContext(ctx context.Context, request *DescribeApmApplicationConfigRequest) (response *DescribeApmApplicationConfigResponse, err error)
DescribeApmApplicationConfig This API is used to query application configuration.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APPIDNOTMATCHINSTANCEINFO = "FailedOperation.AppIdNotMatchInstanceInfo" FAILEDOPERATION_INSTANCENOTFOUND = "FailedOperation.InstanceNotFound" FAILEDOPERATION_INVALIDSERVICENAME = "FailedOperation.InvalidServiceName"
func (*Client) DescribeApmAssociation ¶
func (c *Client) DescribeApmAssociation(request *DescribeApmAssociationRequest) (response *DescribeApmAssociationResponse, err error)
DescribeApmAssociation This API is used to query the relationship between apm Business System and other product.
error code that may be returned:
FAILEDOPERATION_PRODUCTNAMENOTAVAILABLE = "FailedOperation.ProductNameNotAvailable"
func (*Client) DescribeApmAssociationWithContext ¶
func (c *Client) DescribeApmAssociationWithContext(ctx context.Context, request *DescribeApmAssociationRequest) (response *DescribeApmAssociationResponse, err error)
DescribeApmAssociation This API is used to query the relationship between apm Business System and other product.
error code that may be returned:
FAILEDOPERATION_PRODUCTNAMENOTAVAILABLE = "FailedOperation.ProductNameNotAvailable"
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) DescribeApmPrometheusRule ¶
func (c *Client) DescribeApmPrometheusRule(request *DescribeApmPrometheusRuleRequest) (response *DescribeApmPrometheusRuleResponse, err error)
DescribeApmPrometheusRule This API is used to query the match rule for metrics between apm Business System and Prometheus Instance.
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) DescribeApmPrometheusRuleWithContext ¶
func (c *Client) DescribeApmPrometheusRuleWithContext(ctx context.Context, request *DescribeApmPrometheusRuleRequest) (response *DescribeApmPrometheusRuleResponse, err error)
DescribeApmPrometheusRule This API is used to query the match rule for metrics between apm Business System and Prometheus Instance.
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) DescribeApmSampleConfig ¶
func (c *Client) DescribeApmSampleConfig(request *DescribeApmSampleConfigRequest) (response *DescribeApmSampleConfigResponse, err error)
DescribeApmSampleConfig Query sampling configuration
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INSTANCENOTFOUND = "FailedOperation.InstanceNotFound" FAILEDOPERATION_SAMPLENOTFOUND = "FailedOperation.SampleNotFound"
func (*Client) DescribeApmSampleConfigWithContext ¶
func (c *Client) DescribeApmSampleConfigWithContext(ctx context.Context, request *DescribeApmSampleConfigRequest) (response *DescribeApmSampleConfigResponse, err error)
DescribeApmSampleConfig Query sampling configuration
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INSTANCENOTFOUND = "FailedOperation.InstanceNotFound" FAILEDOPERATION_SAMPLENOTFOUND = "FailedOperation.SampleNotFound"
func (*Client) DescribeApmServiceMetric ¶
func (c *Client) DescribeApmServiceMetric(request *DescribeApmServiceMetricRequest) (response *DescribeApmServiceMetricResponse, err error)
DescribeApmServiceMetric This API is used to obtain the list of APM application metrics.
error code that may be returned:
AUTHFAILURE_ACCESSCAMFAIL = "AuthFailure.AccessCAMFail" AUTHFAILURE_UNMARSHALRESPONSE = "AuthFailure.UnmarshalResponse" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_SERVICENOTFOUND = "FailedOperation.ServiceNotFound" FAILEDOPERATION_SERVICENOTMATCHAPPIDERR = "FailedOperation.ServiceNotMatchAppIdErr"
func (*Client) DescribeApmServiceMetricWithContext ¶
func (c *Client) DescribeApmServiceMetricWithContext(ctx context.Context, request *DescribeApmServiceMetricRequest) (response *DescribeApmServiceMetricResponse, err error)
DescribeApmServiceMetric This API is used to obtain the list of APM application metrics.
error code that may be returned:
AUTHFAILURE_ACCESSCAMFAIL = "AuthFailure.AccessCAMFail" AUTHFAILURE_UNMARSHALRESPONSE = "AuthFailure.UnmarshalResponse" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_SERVICENOTFOUND = "FailedOperation.ServiceNotFound" FAILEDOPERATION_SERVICENOTMATCHAPPIDERR = "FailedOperation.ServiceNotMatchAppIdErr"
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) ModifyApmApplicationConfig ¶
func (c *Client) ModifyApmApplicationConfig(request *ModifyApmApplicationConfigRequest) (response *ModifyApmApplicationConfigResponse, err error)
ModifyApmApplicationConfig Modify application configurations
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_AGENTOPERATIONCONFIGINVALID = "FailedOperation.AgentOperationConfigInvalid" FAILEDOPERATION_APPIDNOTMATCHINSTANCEINFO = "FailedOperation.AppIdNotMatchInstanceInfo" FAILEDOPERATION_INSTANCEIDISEMPTY = "FailedOperation.InstanceIdIsEmpty" FAILEDOPERATION_INVALIDREGEX = "FailedOperation.InvalidRegex"
func (*Client) ModifyApmApplicationConfigWithContext ¶
func (c *Client) ModifyApmApplicationConfigWithContext(ctx context.Context, request *ModifyApmApplicationConfigRequest) (response *ModifyApmApplicationConfigResponse, err error)
ModifyApmApplicationConfig Modify application configurations
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_AGENTOPERATIONCONFIGINVALID = "FailedOperation.AgentOperationConfigInvalid" FAILEDOPERATION_APPIDNOTMATCHINSTANCEINFO = "FailedOperation.AppIdNotMatchInstanceInfo" FAILEDOPERATION_INSTANCEIDISEMPTY = "FailedOperation.InstanceIdIsEmpty" FAILEDOPERATION_INVALIDREGEX = "FailedOperation.InvalidRegex"
func (*Client) ModifyApmAssociation ¶
func (c *Client) ModifyApmAssociation(request *ModifyApmAssociationRequest) (response *ModifyApmAssociationResponse, err error)
ModifyApmAssociation This API is used to modify the relationship between the apm Business System and other products, including deletion.
error code that may be returned:
FAILEDOPERATION_ASSOCIATIONMODIFYREQUESTNOTVALIDERROR = "FailedOperation.AssociationModifyRequestNotValidError" FAILEDOPERATION_CKAFKADIFFASSOCIATIONERROR = "FailedOperation.CKafkaDiffAssociationError" FAILEDOPERATION_CKAFKAEMPTYTOPICERROR = "FailedOperation.CKafkaEmptyTopicError" FAILEDOPERATION_CKAFKAGETROUTEIDFAILEDERROR = "FailedOperation.CKafkaGetRouteIDFailedError" FAILEDOPERATION_CKAFKAGETROUTETIMEOUTERROR = "FailedOperation.CKafkaGetRouteTimeoutError" FAILEDOPERATION_CKAFKANOTAVAILABLEERROR = "FailedOperation.CKafkaNotAvailableError" FAILEDOPERATION_PEERIDNOTAVAILABLE = "FailedOperation.PeerIdNotAvailable" FAILEDOPERATION_PRODUCTNAMENOTAVAILABLE = "FailedOperation.ProductNameNotAvailable" FAILEDOPERATION_PROMINSTANCENOTAVAILABLEERROR = "FailedOperation.PromInstanceNotAvailableError" FAILEDOPERATION_ROUTENOTAVAILABLEERROR = "FailedOperation.RouteNotAvailableError" FAILEDOPERATION_TOPICNOTAVAILABLEERROR = "FailedOperation.TopicNotAvailableError"
func (*Client) ModifyApmAssociationWithContext ¶
func (c *Client) ModifyApmAssociationWithContext(ctx context.Context, request *ModifyApmAssociationRequest) (response *ModifyApmAssociationResponse, err error)
ModifyApmAssociation This API is used to modify the relationship between the apm Business System and other products, including deletion.
error code that may be returned:
FAILEDOPERATION_ASSOCIATIONMODIFYREQUESTNOTVALIDERROR = "FailedOperation.AssociationModifyRequestNotValidError" FAILEDOPERATION_CKAFKADIFFASSOCIATIONERROR = "FailedOperation.CKafkaDiffAssociationError" FAILEDOPERATION_CKAFKAEMPTYTOPICERROR = "FailedOperation.CKafkaEmptyTopicError" FAILEDOPERATION_CKAFKAGETROUTEIDFAILEDERROR = "FailedOperation.CKafkaGetRouteIDFailedError" FAILEDOPERATION_CKAFKAGETROUTETIMEOUTERROR = "FailedOperation.CKafkaGetRouteTimeoutError" FAILEDOPERATION_CKAFKANOTAVAILABLEERROR = "FailedOperation.CKafkaNotAvailableError" FAILEDOPERATION_PEERIDNOTAVAILABLE = "FailedOperation.PeerIdNotAvailable" FAILEDOPERATION_PRODUCTNAMENOTAVAILABLE = "FailedOperation.ProductNameNotAvailable" FAILEDOPERATION_PROMINSTANCENOTAVAILABLEERROR = "FailedOperation.PromInstanceNotAvailableError" FAILEDOPERATION_ROUTENOTAVAILABLEERROR = "FailedOperation.RouteNotAvailableError" FAILEDOPERATION_TOPICNOTAVAILABLEERROR = "FailedOperation.TopicNotAvailableError"
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) ModifyApmPrometheusRule ¶
func (c *Client) ModifyApmPrometheusRule(request *ModifyApmPrometheusRuleRequest) (response *ModifyApmPrometheusRuleResponse, err error)
ModifyApmPrometheusRule This API is used to modify metric match rules between apm Business System and Prometheus Instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_PROMRULECONFLICT = "FailedOperation.PromRuleConflict" FAILEDOPERATION_PROMRULEISEMPTYERR = "FailedOperation.PromRuleIsEmptyErr" FAILEDOPERATION_PROMRULEREQUESTNOTVALIDERROR = "FailedOperation.PromRuleRequestNotValidError"
func (*Client) ModifyApmPrometheusRuleWithContext ¶
func (c *Client) ModifyApmPrometheusRuleWithContext(ctx context.Context, request *ModifyApmPrometheusRuleRequest) (response *ModifyApmPrometheusRuleResponse, err error)
ModifyApmPrometheusRule This API is used to modify metric match rules between apm Business System and Prometheus Instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_PROMRULECONFLICT = "FailedOperation.PromRuleConflict" FAILEDOPERATION_PROMRULEISEMPTYERR = "FailedOperation.PromRuleIsEmptyErr" FAILEDOPERATION_PROMRULEREQUESTNOTVALIDERROR = "FailedOperation.PromRuleRequestNotValidError"
func (*Client) ModifyApmSampleConfig ¶
func (c *Client) ModifyApmSampleConfig(request *ModifyApmSampleConfigRequest) (response *ModifyApmSampleConfigResponse, err error)
ModifyApmSampleConfig Modify sampling configurations
error code that may be returned:
FAILEDOPERATION_INVALIDOPERATIONTYPE = "FailedOperation.InvalidOperationType" FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam" FAILEDOPERATION_INVALIDREQUEST = "FailedOperation.InvalidRequest" FAILEDOPERATION_OPERATIONNAMEISEMPTY = "FailedOperation.OperationNameIsEmpty" FAILEDOPERATION_SAMPLERULECONFLICT = "FailedOperation.SampleRuleConflict"
func (*Client) ModifyApmSampleConfigWithContext ¶
func (c *Client) ModifyApmSampleConfigWithContext(ctx context.Context, request *ModifyApmSampleConfigRequest) (response *ModifyApmSampleConfigResponse, err error)
ModifyApmSampleConfig Modify sampling configurations
error code that may be returned:
FAILEDOPERATION_INVALIDOPERATIONTYPE = "FailedOperation.InvalidOperationType" FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam" FAILEDOPERATION_INVALIDREQUEST = "FailedOperation.InvalidRequest" FAILEDOPERATION_OPERATIONNAMEISEMPTY = "FailedOperation.OperationNameIsEmpty" FAILEDOPERATION_SAMPLERULECONFLICT = "FailedOperation.SampleRuleConflict"
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 CreateApmPrometheusRuleRequest ¶
type CreateApmPrometheusRuleRequest struct {
*tchttp.BaseRequest
// Metric match rule name.
Name *string `json:"Name,omitnil,omitempty" name:"Name"`
// Applications where the rule takes effect. input an empty string for all applications.
ServiceName *string `json:"ServiceName,omitnil,omitempty" name:"ServiceName"`
// Match type: 0 - precision match, 1 - prefix match, 2 - suffix match.
MetricMatchType *int64 `json:"MetricMatchType,omitnil,omitempty" name:"MetricMatchType"`
// Specifies the rule for customer-defined metric names with cache hit.
MetricNameRule *string `json:"MetricNameRule,omitnil,omitempty" name:"MetricNameRule"`
// Business system ID
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}
func NewCreateApmPrometheusRuleRequest ¶
func NewCreateApmPrometheusRuleRequest() (request *CreateApmPrometheusRuleRequest)
func (*CreateApmPrometheusRuleRequest) FromJsonString ¶
func (r *CreateApmPrometheusRuleRequest) 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 (*CreateApmPrometheusRuleRequest) ToJsonString ¶
func (r *CreateApmPrometheusRuleRequest) ToJsonString() string
type CreateApmPrometheusRuleRequestParams ¶
type CreateApmPrometheusRuleRequestParams struct {
// Metric match rule name.
Name *string `json:"Name,omitnil,omitempty" name:"Name"`
// Applications where the rule takes effect. input an empty string for all applications.
ServiceName *string `json:"ServiceName,omitnil,omitempty" name:"ServiceName"`
// Match type: 0 - precision match, 1 - prefix match, 2 - suffix match.
MetricMatchType *int64 `json:"MetricMatchType,omitnil,omitempty" name:"MetricMatchType"`
// Specifies the rule for customer-defined metric names with cache hit.
MetricNameRule *string `json:"MetricNameRule,omitnil,omitempty" name:"MetricNameRule"`
// Business system ID
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}
Predefined struct for user
type CreateApmPrometheusRuleResponse ¶
type CreateApmPrometheusRuleResponse struct {
*tchttp.BaseResponse
Response *CreateApmPrometheusRuleResponseParams `json:"Response"`
}
func NewCreateApmPrometheusRuleResponse ¶
func NewCreateApmPrometheusRuleResponse() (response *CreateApmPrometheusRuleResponse)
func (*CreateApmPrometheusRuleResponse) FromJsonString ¶
func (r *CreateApmPrometheusRuleResponse) 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 (*CreateApmPrometheusRuleResponse) ToJsonString ¶
func (r *CreateApmPrometheusRuleResponse) ToJsonString() string
type CreateApmPrometheusRuleResponseParams ¶
type CreateApmPrometheusRuleResponseParams 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 CreateApmSampleConfigRequest ¶
type CreateApmSampleConfigRequest struct {
*tchttp.BaseRequest
// Business system ID
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Sampling rate.
SampleRate *int64 `json:"SampleRate,omitnil,omitempty" name:"SampleRate"`
// Application name
ServiceName *string `json:"ServiceName,omitnil,omitempty" name:"ServiceName"`
// Sampling rule name.
SampleName *string `json:"SampleName,omitnil,omitempty" name:"SampleName"`
// Sampling tags
Tags []*APMKVItem `json:"Tags,omitnil,omitempty" name:"Tags"`
// API name.
OperationName *string `json:"OperationName,omitnil,omitempty" name:"OperationName"`
// 0: exact match (default); 1: prefix match; 2: suffix match.
OperationType *int64 `json:"OperationType,omitnil,omitempty" name:"OperationType"`
}
func NewCreateApmSampleConfigRequest ¶
func NewCreateApmSampleConfigRequest() (request *CreateApmSampleConfigRequest)
func (*CreateApmSampleConfigRequest) FromJsonString ¶
func (r *CreateApmSampleConfigRequest) 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 (*CreateApmSampleConfigRequest) ToJsonString ¶
func (r *CreateApmSampleConfigRequest) ToJsonString() string
type CreateApmSampleConfigRequestParams ¶
type CreateApmSampleConfigRequestParams struct {
// Business system ID
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Sampling rate.
SampleRate *int64 `json:"SampleRate,omitnil,omitempty" name:"SampleRate"`
// Application name
ServiceName *string `json:"ServiceName,omitnil,omitempty" name:"ServiceName"`
// Sampling rule name.
SampleName *string `json:"SampleName,omitnil,omitempty" name:"SampleName"`
// Sampling tags
Tags []*APMKVItem `json:"Tags,omitnil,omitempty" name:"Tags"`
// API name.
OperationName *string `json:"OperationName,omitnil,omitempty" name:"OperationName"`
// 0: exact match (default); 1: prefix match; 2: suffix match.
OperationType *int64 `json:"OperationType,omitnil,omitempty" name:"OperationType"`
}
Predefined struct for user
type CreateApmSampleConfigResponse ¶
type CreateApmSampleConfigResponse struct {
*tchttp.BaseResponse
Response *CreateApmSampleConfigResponseParams `json:"Response"`
}
func NewCreateApmSampleConfigResponse ¶
func NewCreateApmSampleConfigResponse() (response *CreateApmSampleConfigResponse)
func (*CreateApmSampleConfigResponse) FromJsonString ¶
func (r *CreateApmSampleConfigResponse) 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 (*CreateApmSampleConfigResponse) ToJsonString ¶
func (r *CreateApmSampleConfigResponse) ToJsonString() string
type CreateApmSampleConfigResponseParams ¶
type CreateApmSampleConfigResponseParams struct {
// Sampling configuration parameter
ApmSampleConfig *ApmSampleConfig `json:"ApmSampleConfig,omitnil,omitempty" name:"ApmSampleConfig"`
// 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 CreateProfileTaskRequest ¶
type CreateProfileTaskRequest struct {
*tchttp.BaseRequest
// Application name
ServiceName *string `json:"ServiceName,omitnil,omitempty" name:"ServiceName"`
// APM business system ID.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Application instance (online).
ServiceInstance *string `json:"ServiceInstance,omitnil,omitempty" name:"ServiceInstance"`
// Event type (cpu, alloc).
Event *string `json:"Event,omitnil,omitempty" name:"Event"`
// Specifies the task duration in milliseconds (ms). value range: 5 to 180 seconds.
Duration *int64 `json:"Duration,omitnil,omitempty" name:"Duration"`
// Number of execution. value range: 1-100.
AllTimes *int64 `json:"AllTimes,omitnil,omitempty" name:"AllTimes"`
// Start timestamp. 0 indicates start from the current time (unit: seconds).
StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`
// Specifies the task execution interval in milliseconds (ms). value range: 10 to 600 seconds. cannot be less than 1.5 times the Duration.
TaskInterval *int64 `json:"TaskInterval,omitnil,omitempty" name:"TaskInterval"`
}
func NewCreateProfileTaskRequest ¶
func NewCreateProfileTaskRequest() (request *CreateProfileTaskRequest)
func (*CreateProfileTaskRequest) FromJsonString ¶
func (r *CreateProfileTaskRequest) 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 (*CreateProfileTaskRequest) ToJsonString ¶
func (r *CreateProfileTaskRequest) ToJsonString() string
type CreateProfileTaskRequestParams ¶
type CreateProfileTaskRequestParams struct {
// Application name
ServiceName *string `json:"ServiceName,omitnil,omitempty" name:"ServiceName"`
// APM business system ID.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Application instance (online).
ServiceInstance *string `json:"ServiceInstance,omitnil,omitempty" name:"ServiceInstance"`
// Event type (cpu, alloc).
Event *string `json:"Event,omitnil,omitempty" name:"Event"`
// Specifies the task duration in milliseconds (ms). value range: 5 to 180 seconds.
Duration *int64 `json:"Duration,omitnil,omitempty" name:"Duration"`
// Number of execution. value range: 1-100.
AllTimes *int64 `json:"AllTimes,omitnil,omitempty" name:"AllTimes"`
// Start timestamp. 0 indicates start from the current time (unit: seconds).
StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`
// Specifies the task execution interval in milliseconds (ms). value range: 10 to 600 seconds. cannot be less than 1.5 times the Duration.
TaskInterval *int64 `json:"TaskInterval,omitnil,omitempty" name:"TaskInterval"`
}
Predefined struct for user
type CreateProfileTaskResponse ¶
type CreateProfileTaskResponse struct {
*tchttp.BaseResponse
Response *CreateProfileTaskResponseParams `json:"Response"`
}
func NewCreateProfileTaskResponse ¶
func NewCreateProfileTaskResponse() (response *CreateProfileTaskResponse)
func (*CreateProfileTaskResponse) FromJsonString ¶
func (r *CreateProfileTaskResponse) 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 (*CreateProfileTaskResponse) ToJsonString ¶
func (r *CreateProfileTaskResponse) ToJsonString() string
type CreateProfileTaskResponseParams ¶
type CreateProfileTaskResponseParams struct {
// Task ID
TaskId *int64 `json:"TaskId,omitnil,omitempty" name:"TaskId"`
// 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 DeleteApmSampleConfigRequest ¶
type DeleteApmSampleConfigRequest struct {
*tchttp.BaseRequest
// Business system ID
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Sampling rule name.
SampleName *string `json:"SampleName,omitnil,omitempty" name:"SampleName"`
}
func NewDeleteApmSampleConfigRequest ¶
func NewDeleteApmSampleConfigRequest() (request *DeleteApmSampleConfigRequest)
func (*DeleteApmSampleConfigRequest) FromJsonString ¶
func (r *DeleteApmSampleConfigRequest) 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 (*DeleteApmSampleConfigRequest) ToJsonString ¶
func (r *DeleteApmSampleConfigRequest) ToJsonString() string
type DeleteApmSampleConfigRequestParams ¶
type DeleteApmSampleConfigRequestParams struct {
// Business system ID
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Sampling rule name.
SampleName *string `json:"SampleName,omitnil,omitempty" name:"SampleName"`
}
Predefined struct for user
type DeleteApmSampleConfigResponse ¶
type DeleteApmSampleConfigResponse struct {
*tchttp.BaseResponse
Response *DeleteApmSampleConfigResponseParams `json:"Response"`
}
func NewDeleteApmSampleConfigResponse ¶
func NewDeleteApmSampleConfigResponse() (response *DeleteApmSampleConfigResponse)
func (*DeleteApmSampleConfigResponse) FromJsonString ¶
func (r *DeleteApmSampleConfigResponse) 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 (*DeleteApmSampleConfigResponse) ToJsonString ¶
func (r *DeleteApmSampleConfigResponse) ToJsonString() string
type DeleteApmSampleConfigResponseParams ¶
type DeleteApmSampleConfigResponseParams 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 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 DescribeApmApplicationConfigRequest ¶
type DescribeApmApplicationConfigRequest struct {
*tchttp.BaseRequest
// Instance ID.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Service name
ServiceName *string `json:"ServiceName,omitnil,omitempty" name:"ServiceName"`
}
func NewDescribeApmApplicationConfigRequest ¶
func NewDescribeApmApplicationConfigRequest() (request *DescribeApmApplicationConfigRequest)
func (*DescribeApmApplicationConfigRequest) FromJsonString ¶
func (r *DescribeApmApplicationConfigRequest) 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 (*DescribeApmApplicationConfigRequest) ToJsonString ¶
func (r *DescribeApmApplicationConfigRequest) ToJsonString() string
type DescribeApmApplicationConfigRequestParams ¶
type DescribeApmApplicationConfigRequestParams struct {
// Instance ID.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Service name
ServiceName *string `json:"ServiceName,omitnil,omitempty" name:"ServiceName"`
}
Predefined struct for user
type DescribeApmApplicationConfigResponse ¶
type DescribeApmApplicationConfigResponse struct {
*tchttp.BaseResponse
Response *DescribeApmApplicationConfigResponseParams `json:"Response"`
}
func NewDescribeApmApplicationConfigResponse ¶
func NewDescribeApmApplicationConfigResponse() (response *DescribeApmApplicationConfigResponse)
func (*DescribeApmApplicationConfigResponse) FromJsonString ¶
func (r *DescribeApmApplicationConfigResponse) 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 (*DescribeApmApplicationConfigResponse) ToJsonString ¶
func (r *DescribeApmApplicationConfigResponse) ToJsonString() string
type DescribeApmApplicationConfigResponseParams ¶
type DescribeApmApplicationConfigResponseParams struct {
// Apm application configuration.
// Note: This field may return null, indicating that no valid values can be obtained.
ApmAppConfig *ApmAppConfig `json:"ApmAppConfig,omitnil,omitempty" name:"ApmAppConfig"`
// 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 DescribeApmAssociationRequest ¶
type DescribeApmAssociationRequest struct {
*tchttp.BaseRequest
// Associated product name. currently only supports Prometheus.
ProductName *string `json:"ProductName,omitnil,omitempty" name:"ProductName"`
// Business System Name
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}
func NewDescribeApmAssociationRequest ¶
func NewDescribeApmAssociationRequest() (request *DescribeApmAssociationRequest)
func (*DescribeApmAssociationRequest) FromJsonString ¶
func (r *DescribeApmAssociationRequest) 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 (*DescribeApmAssociationRequest) ToJsonString ¶
func (r *DescribeApmAssociationRequest) ToJsonString() string
type DescribeApmAssociationRequestParams ¶
type DescribeApmAssociationRequestParams struct {
// Associated product name. currently only supports Prometheus.
ProductName *string `json:"ProductName,omitnil,omitempty" name:"ProductName"`
// Business System Name
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}
Predefined struct for user
type DescribeApmAssociationResponse ¶
type DescribeApmAssociationResponse struct {
*tchttp.BaseResponse
Response *DescribeApmAssociationResponseParams `json:"Response"`
}
func NewDescribeApmAssociationResponse ¶
func NewDescribeApmAssociationResponse() (response *DescribeApmAssociationResponse)
func (*DescribeApmAssociationResponse) FromJsonString ¶
func (r *DescribeApmAssociationResponse) 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 (*DescribeApmAssociationResponse) ToJsonString ¶
func (r *DescribeApmAssociationResponse) ToJsonString() string
type DescribeApmAssociationResponseParams ¶
type DescribeApmAssociationResponseParams struct {
// Associated product instance ID.
ApmAssociation *ApmAssociation `json:"ApmAssociation,omitnil,omitempty" name:"ApmAssociation"`
// 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"`
// Filters by business system name, and fuzzy search is supported.
InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`
// Filters by business system ID, and fuzzy search is supported.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// 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"`
// Filters by business system name, and fuzzy search is supported.
InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`
// Filters by business system ID, and fuzzy search is supported.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// 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 DescribeApmPrometheusRuleRequest ¶
type DescribeApmPrometheusRuleRequest struct {
*tchttp.BaseRequest
// Business system ID
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}
func NewDescribeApmPrometheusRuleRequest ¶
func NewDescribeApmPrometheusRuleRequest() (request *DescribeApmPrometheusRuleRequest)
func (*DescribeApmPrometheusRuleRequest) FromJsonString ¶
func (r *DescribeApmPrometheusRuleRequest) 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 (*DescribeApmPrometheusRuleRequest) ToJsonString ¶
func (r *DescribeApmPrometheusRuleRequest) ToJsonString() string
type DescribeApmPrometheusRuleRequestParams ¶
type DescribeApmPrometheusRuleRequestParams struct {
// Business system ID
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}
Predefined struct for user
type DescribeApmPrometheusRuleResponse ¶
type DescribeApmPrometheusRuleResponse struct {
*tchttp.BaseResponse
Response *DescribeApmPrometheusRuleResponseParams `json:"Response"`
}
func NewDescribeApmPrometheusRuleResponse ¶
func NewDescribeApmPrometheusRuleResponse() (response *DescribeApmPrometheusRuleResponse)
func (*DescribeApmPrometheusRuleResponse) FromJsonString ¶
func (r *DescribeApmPrometheusRuleResponse) 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 (*DescribeApmPrometheusRuleResponse) ToJsonString ¶
func (r *DescribeApmPrometheusRuleResponse) ToJsonString() string
type DescribeApmPrometheusRuleResponseParams ¶
type DescribeApmPrometheusRuleResponseParams struct {
// Specifies the metric match rule.
ApmPrometheusRules []*ApmPrometheusRules `json:"ApmPrometheusRules,omitnil,omitempty" name:"ApmPrometheusRules"`
// 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 DescribeApmSampleConfigRequest ¶
type DescribeApmSampleConfigRequest struct {
*tchttp.BaseRequest
// Business system ID
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Sampling rule name.
SampleName *string `json:"SampleName,omitnil,omitempty" name:"SampleName"`
}
func NewDescribeApmSampleConfigRequest ¶
func NewDescribeApmSampleConfigRequest() (request *DescribeApmSampleConfigRequest)
func (*DescribeApmSampleConfigRequest) FromJsonString ¶
func (r *DescribeApmSampleConfigRequest) 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 (*DescribeApmSampleConfigRequest) ToJsonString ¶
func (r *DescribeApmSampleConfigRequest) ToJsonString() string
type DescribeApmSampleConfigRequestParams ¶
type DescribeApmSampleConfigRequestParams struct {
// Business system ID
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Sampling rule name.
SampleName *string `json:"SampleName,omitnil,omitempty" name:"SampleName"`
}
Predefined struct for user
type DescribeApmSampleConfigResponse ¶
type DescribeApmSampleConfigResponse struct {
*tchttp.BaseResponse
Response *DescribeApmSampleConfigResponseParams `json:"Response"`
}
func NewDescribeApmSampleConfigResponse ¶
func NewDescribeApmSampleConfigResponse() (response *DescribeApmSampleConfigResponse)
func (*DescribeApmSampleConfigResponse) FromJsonString ¶
func (r *DescribeApmSampleConfigResponse) 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 (*DescribeApmSampleConfigResponse) ToJsonString ¶
func (r *DescribeApmSampleConfigResponse) ToJsonString() string
type DescribeApmSampleConfigResponseParams ¶
type DescribeApmSampleConfigResponseParams struct {
// Sampling configuration list
// Note: This field may return null, indicating that no valid values can be obtained.
ApmSampleConfigs []*ApmSampleConfig `json:"ApmSampleConfigs,omitnil,omitempty" name:"ApmSampleConfigs"`
// 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 DescribeApmServiceMetricRequest ¶
type DescribeApmServiceMetricRequest struct {
*tchttp.BaseRequest
// Business system ID
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Application name
ServiceName *string `json:"ServiceName,omitnil,omitempty" name:"ServiceName"`
// Application ID
ServiceID *string `json:"ServiceID,omitnil,omitempty" name:"ServiceID"`
// Start time.
StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`
// End time.
EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`
// Order.
OrderBy *OrderBy `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`
// Whether to use the demo mode.
Demo *bool `json:"Demo,omitnil,omitempty" name:"Demo"`
// Application status filter criteria. valid values: health, warning, error. if multiple statuses are selected, separate them by commas, for example: "warning,error".
ServiceStatus *string `json:"ServiceStatus,omitnil,omitempty" name:"ServiceStatus"`
// Tag list
Tags []*ApmTag `json:"Tags,omitnil,omitempty" name:"Tags"`
// Page number.
Page *int64 `json:"Page,omitnil,omitempty" name:"Page"`
// Page size.
PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
// Filter criteria.
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}
func NewDescribeApmServiceMetricRequest ¶
func NewDescribeApmServiceMetricRequest() (request *DescribeApmServiceMetricRequest)
func (*DescribeApmServiceMetricRequest) FromJsonString ¶
func (r *DescribeApmServiceMetricRequest) 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 (*DescribeApmServiceMetricRequest) ToJsonString ¶
func (r *DescribeApmServiceMetricRequest) ToJsonString() string
type DescribeApmServiceMetricRequestParams ¶
type DescribeApmServiceMetricRequestParams struct {
// Business system ID
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Application name
ServiceName *string `json:"ServiceName,omitnil,omitempty" name:"ServiceName"`
// Application ID
ServiceID *string `json:"ServiceID,omitnil,omitempty" name:"ServiceID"`
// Start time.
StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`
// End time.
EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`
// Order.
OrderBy *OrderBy `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`
// Whether to use the demo mode.
Demo *bool `json:"Demo,omitnil,omitempty" name:"Demo"`
// Application status filter criteria. valid values: health, warning, error. if multiple statuses are selected, separate them by commas, for example: "warning,error".
ServiceStatus *string `json:"ServiceStatus,omitnil,omitempty" name:"ServiceStatus"`
// Tag list
Tags []*ApmTag `json:"Tags,omitnil,omitempty" name:"Tags"`
// Page number.
Page *int64 `json:"Page,omitnil,omitempty" name:"Page"`
// Page size.
PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
// Filter criteria.
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}
Predefined struct for user
type DescribeApmServiceMetricResponse ¶
type DescribeApmServiceMetricResponse struct {
*tchttp.BaseResponse
Response *DescribeApmServiceMetricResponseParams `json:"Response"`
}
func NewDescribeApmServiceMetricResponse ¶
func NewDescribeApmServiceMetricResponse() (response *DescribeApmServiceMetricResponse)
func (*DescribeApmServiceMetricResponse) FromJsonString ¶
func (r *DescribeApmServiceMetricResponse) 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 (*DescribeApmServiceMetricResponse) ToJsonString ¶
func (r *DescribeApmServiceMetricResponse) ToJsonString() string
type DescribeApmServiceMetricResponseParams ¶
type DescribeApmServiceMetricResponseParams struct {
// List of application metrics.
ServiceMetricList []*ApmServiceMetric `json:"ServiceMetricList,omitnil,omitempty" name:"ServiceMetricList"`
// Number of applications meeting the filtering conditions.
TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// Warning of the abnormal number of applications.
WarningErrorCount *int64 `json:"WarningErrorCount,omitnil,omitempty" name:"WarningErrorCount"`
// Total number of applications.
ApplicationCount *int64 `json:"ApplicationCount,omitnil,omitempty" name:"ApplicationCount"`
// Page number.
Page *int64 `json:"Page,omitnil,omitempty" name:"Page"`
// Page size.
PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
// Indicates the number of abnormal applications.
ErrorCount *int64 `json:"ErrorCount,omitnil,omitempty" name:"ErrorCount"`
// Warning of the number of applications.
WarningCount *int64 `json:"WarningCount,omitnil,omitempty" name:"WarningCount"`
// 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 Spans field contains the entire content of the link data. since the data is compressed, perform the following three steps to switch back to the original text.
// Decode the text in the Spans field with Base64 to get the compressed byte[].
// Use gzip to decompress the compressed byte array and get the byte array before compression.
// Uses UTF-8 character set to convert byte[] before compression to text.
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"`
// Aggregation dimension.
GroupBy []*string `json:"GroupBy,omitnil,omitempty" name:"GroupBy"`
// Filter criteria.
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
// Or filter criteria.
OrFilters []*Filter `json:"OrFilters,omitnil,omitempty" name:"OrFilters"`
// 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"`
// Aggregation dimension.
GroupBy []*string `json:"GroupBy,omitnil,omitempty" name:"GroupBy"`
// Filter criteria.
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
// Or filter criteria.
OrFilters []*Filter `json:"OrFilters,omitnil,omitempty" name:"OrFilters"`
// 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"`
// 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"`
// Filter criteria.
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
// 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"`
// 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"`
// Filter criteria.
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
// 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"`
// Start time (unit: sec).
StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`
// End time (unit: seconds).
EndTime *int64 `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"`
// 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"`
// Start time (unit: sec).
StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`
// End time (unit: seconds).
EndTime *int64 `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"`
// 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"`
// Metric data unit
MetricUnit *string `json:"MetricUnit,omitnil,omitempty" name:"MetricUnit"`
}
type ModifyApmApplicationConfigRequest ¶
type ModifyApmApplicationConfigRequest struct {
*tchttp.BaseRequest
// Business system ID.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Application name
ServiceName *string `json:"ServiceName,omitnil,omitempty" name:"ServiceName"`
// 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"`
// Regex rules for exception filtering, separated by commas
ExceptionFilter *string `json:"ExceptionFilter,omitnil,omitempty" name:"ExceptionFilter"`
// Regex rules for URL convergence, separated by commas
UrlConvergence *string `json:"UrlConvergence,omitnil,omitempty" name:"UrlConvergence"`
// Error code filtering, separated by commas
ErrorCodeFilter *string `json:"ErrorCodeFilter,omitnil,omitempty" name:"ErrorCodeFilter"`
// Regex rules for URL exclusion, separated by commas
UrlExclude *string `json:"UrlExclude,omitnil,omitempty" name:"UrlExclude"`
// Log switch. 0: Off; 1: On
IsRelatedLog *int64 `json:"IsRelatedLog,omitnil,omitempty" name:"IsRelatedLog"`
// Log region.
LogRegion *string `json:"LogRegion,omitnil,omitempty" name:"LogRegion"`
// Log topic ID
LogTopicID *string `json:"LogTopicID,omitnil,omitempty" name:"LogTopicID"`
// CLS log set/ES cluster ID
LogSet *string `json:"LogSet,omitnil,omitempty" name:"LogSet"`
// Log source: CLS or ES
LogSource *string `json:"LogSource,omitnil,omitempty" name:"LogSource"`
// APIs to be filtered
IgnoreOperationName *string `json:"IgnoreOperationName,omitnil,omitempty" name:"IgnoreOperationName"`
// Whether thread profiling is enabled.
EnableSnapshot *bool `json:"EnableSnapshot,omitnil,omitempty" name:"EnableSnapshot"`
// Timeout threshold for thread profiling.
SnapshotTimeout *int64 `json:"SnapshotTimeout,omitnil,omitempty" name:"SnapshotTimeout"`
// Whether agent is enabled.
AgentEnable *bool `json:"AgentEnable,omitnil,omitempty" name:"AgentEnable"`
// Whether link compression is enabled.
TraceSquash *bool `json:"TraceSquash,omitnil,omitempty" name:"TraceSquash"`
// Switch for enabling application diagnosis.
EventEnable *bool `json:"EventEnable,omitnil,omitempty" name:"EventEnable"`
// Component List
InstrumentList []*Instrument `json:"InstrumentList,omitnil,omitempty" name:"InstrumentList"`
// Related configurations of the probe APIs.
AgentOperationConfigView *AgentOperationConfigView `json:"AgentOperationConfigView,omitnil,omitempty" name:"AgentOperationConfigView"`
// Whether to enable application log configuration.
EnableLogConfig *bool `json:"EnableLogConfig,omitnil,omitempty" name:"EnableLogConfig"`
// Whether to enable the dashboard configuration for applications. false: disabled (consistent with the business system configuration); true: enabled (application-level configuration).
EnableDashboardConfig *bool `json:"EnableDashboardConfig,omitnil,omitempty" name:"EnableDashboardConfig"`
// Whether to associate with Dashboard. 0: disabled; 1: enabled.
IsRelatedDashboard *int64 `json:"IsRelatedDashboard,omitnil,omitempty" name:"IsRelatedDashboard"`
// dashboard ID
DashboardTopicID *string `json:"DashboardTopicID,omitnil,omitempty" name:"DashboardTopicID"`
// CLS index type. (0 = full-text index; 1 = key-value index).
LogIndexType *int64 `json:"LogIndexType,omitnil,omitempty" name:"LogIndexType"`
// Index key of traceId. It is valid when the CLS index type is key-value index.
LogTraceIdKey *string `json:"LogTraceIdKey,omitnil,omitempty" name:"LogTraceIdKey"`
// Whether to enable the application security configuration.
EnableSecurityConfig *bool `json:"EnableSecurityConfig,omitnil,omitempty" name:"EnableSecurityConfig"`
// Whether to enable SQL injection analysis.
IsSqlInjectionAnalysis *int64 `json:"IsSqlInjectionAnalysis,omitnil,omitempty" name:"IsSqlInjectionAnalysis"`
// Whether to enable detection of component vulnerability.
IsInstrumentationVulnerabilityScan *int64 `json:"IsInstrumentationVulnerabilityScan,omitnil,omitempty" name:"IsInstrumentationVulnerabilityScan"`
// Whether remote command detection is enabled.
IsRemoteCommandExecutionAnalysis *int64 `json:"IsRemoteCommandExecutionAnalysis,omitnil,omitempty" name:"IsRemoteCommandExecutionAnalysis"`
// Whether to enable detection of Java webshell.
IsMemoryHijackingAnalysis *int64 `json:"IsMemoryHijackingAnalysis,omitnil,omitempty" name:"IsMemoryHijackingAnalysis"`
// Whether to enable the detection of deleting arbitrary files. (0 - disabled; 1: enabled.)
IsDeleteAnyFileAnalysis *int64 `json:"IsDeleteAnyFileAnalysis,omitnil,omitempty" name:"IsDeleteAnyFileAnalysis"`
// Whether to enable the detection of reading arbitrary files. (0 - disabled; 1 - enabled.)
IsReadAnyFileAnalysis *int64 `json:"IsReadAnyFileAnalysis,omitnil,omitempty" name:"IsReadAnyFileAnalysis"`
// Whether to enable the detection of uploading arbitrary files. (0 - disabled; 1 - enabled.)
IsUploadAnyFileAnalysis *int64 `json:"IsUploadAnyFileAnalysis,omitnil,omitempty" name:"IsUploadAnyFileAnalysis"`
// Whether to enable the detection of the inclusion of arbitrary files. (0: disabled, 1: enabled.)
IsIncludeAnyFileAnalysis *int64 `json:"IsIncludeAnyFileAnalysis,omitnil,omitempty" name:"IsIncludeAnyFileAnalysis"`
// Whether to enable traversal detection of the directory. (0 - disabled; 1 - enabled).
IsDirectoryTraversalAnalysis *int64 `json:"IsDirectoryTraversalAnalysis,omitnil,omitempty" name:"IsDirectoryTraversalAnalysis"`
// Whether to enable template engine injection detection. (0: disabled; 1: enabled.)
IsTemplateEngineInjectionAnalysis *int64 `json:"IsTemplateEngineInjectionAnalysis,omitnil,omitempty" name:"IsTemplateEngineInjectionAnalysis"`
// Whether to enable script engine injection detection. (0 - disabled; 1 - enabled.)
IsScriptEngineInjectionAnalysis *int64 `json:"IsScriptEngineInjectionAnalysis,omitnil,omitempty" name:"IsScriptEngineInjectionAnalysis"`
// Whether to enable expression injection detection. (0 - disabled; 1 - enabled.)
IsExpressionInjectionAnalysis *int64 `json:"IsExpressionInjectionAnalysis,omitnil,omitempty" name:"IsExpressionInjectionAnalysis"`
// Whether to enable JNDI injection detection. (0 - disabled; 1 - enabled.)
IsJNDIInjectionAnalysis *int64 `json:"IsJNDIInjectionAnalysis,omitnil,omitempty" name:"IsJNDIInjectionAnalysis"`
// Whether to enable JNI injection detection. (0 - disabled, 1 - enabled).
IsJNIInjectionAnalysis *int64 `json:"IsJNIInjectionAnalysis,omitnil,omitempty" name:"IsJNIInjectionAnalysis"`
// Whether to enable Webshell backdoor detection. (0 - disabled; 1 - enabled).
IsWebshellBackdoorAnalysis *int64 `json:"IsWebshellBackdoorAnalysis,omitnil,omitempty" name:"IsWebshellBackdoorAnalysis"`
// Whether to enable deserialization detection. (0 - disabled; 1 - enabled).
IsDeserializationAnalysis *int64 `json:"IsDeserializationAnalysis,omitnil,omitempty" name:"IsDeserializationAnalysis"`
// Automatic convergence switch for APIs. 0: disabled | 1: enabled.
UrlAutoConvergenceEnable *bool `json:"UrlAutoConvergenceEnable,omitnil,omitempty" name:"UrlAutoConvergenceEnable"`
// Convergence threshold for URL long segments.
UrlLongSegmentThreshold *int64 `json:"UrlLongSegmentThreshold,omitnil,omitempty" name:"UrlLongSegmentThreshold"`
// Convergence threshold for URL numerical segments.
UrlNumberSegmentThreshold *int64 `json:"UrlNumberSegmentThreshold,omitnil,omitempty" name:"UrlNumberSegmentThreshold"`
// Specifies the memory threshold for probe fusing.
DisableMemoryUsed *int64 `json:"DisableMemoryUsed,omitnil,omitempty" name:"DisableMemoryUsed"`
// Specifies the CPU threshold for probe fusing.
DisableCpuUsed *int64 `json:"DisableCpuUsed,omitnil,omitempty" name:"DisableCpuUsed"`
}
func NewModifyApmApplicationConfigRequest ¶
func NewModifyApmApplicationConfigRequest() (request *ModifyApmApplicationConfigRequest)
func (*ModifyApmApplicationConfigRequest) FromJsonString ¶
func (r *ModifyApmApplicationConfigRequest) 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 (*ModifyApmApplicationConfigRequest) ToJsonString ¶
func (r *ModifyApmApplicationConfigRequest) ToJsonString() string
type ModifyApmApplicationConfigRequestParams ¶
type ModifyApmApplicationConfigRequestParams struct {
// Business system ID.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Application name
ServiceName *string `json:"ServiceName,omitnil,omitempty" name:"ServiceName"`
// 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"`
// Regex rules for exception filtering, separated by commas
ExceptionFilter *string `json:"ExceptionFilter,omitnil,omitempty" name:"ExceptionFilter"`
// Regex rules for URL convergence, separated by commas
UrlConvergence *string `json:"UrlConvergence,omitnil,omitempty" name:"UrlConvergence"`
// Error code filtering, separated by commas
ErrorCodeFilter *string `json:"ErrorCodeFilter,omitnil,omitempty" name:"ErrorCodeFilter"`
// Regex rules for URL exclusion, separated by commas
UrlExclude *string `json:"UrlExclude,omitnil,omitempty" name:"UrlExclude"`
// Log switch. 0: Off; 1: On
IsRelatedLog *int64 `json:"IsRelatedLog,omitnil,omitempty" name:"IsRelatedLog"`
// Log region.
LogRegion *string `json:"LogRegion,omitnil,omitempty" name:"LogRegion"`
// Log topic ID
LogTopicID *string `json:"LogTopicID,omitnil,omitempty" name:"LogTopicID"`
// CLS log set/ES cluster ID
LogSet *string `json:"LogSet,omitnil,omitempty" name:"LogSet"`
// Log source: CLS or ES
LogSource *string `json:"LogSource,omitnil,omitempty" name:"LogSource"`
// APIs to be filtered
IgnoreOperationName *string `json:"IgnoreOperationName,omitnil,omitempty" name:"IgnoreOperationName"`
// Whether thread profiling is enabled.
EnableSnapshot *bool `json:"EnableSnapshot,omitnil,omitempty" name:"EnableSnapshot"`
// Timeout threshold for thread profiling.
SnapshotTimeout *int64 `json:"SnapshotTimeout,omitnil,omitempty" name:"SnapshotTimeout"`
// Whether agent is enabled.
AgentEnable *bool `json:"AgentEnable,omitnil,omitempty" name:"AgentEnable"`
// Whether link compression is enabled.
TraceSquash *bool `json:"TraceSquash,omitnil,omitempty" name:"TraceSquash"`
// Switch for enabling application diagnosis.
EventEnable *bool `json:"EventEnable,omitnil,omitempty" name:"EventEnable"`
// Component List
InstrumentList []*Instrument `json:"InstrumentList,omitnil,omitempty" name:"InstrumentList"`
// Related configurations of the probe APIs.
AgentOperationConfigView *AgentOperationConfigView `json:"AgentOperationConfigView,omitnil,omitempty" name:"AgentOperationConfigView"`
// Whether to enable application log configuration.
EnableLogConfig *bool `json:"EnableLogConfig,omitnil,omitempty" name:"EnableLogConfig"`
// Whether to enable the dashboard configuration for applications. false: disabled (consistent with the business system configuration); true: enabled (application-level configuration).
EnableDashboardConfig *bool `json:"EnableDashboardConfig,omitnil,omitempty" name:"EnableDashboardConfig"`
// Whether to associate with Dashboard. 0: disabled; 1: enabled.
IsRelatedDashboard *int64 `json:"IsRelatedDashboard,omitnil,omitempty" name:"IsRelatedDashboard"`
// dashboard ID
DashboardTopicID *string `json:"DashboardTopicID,omitnil,omitempty" name:"DashboardTopicID"`
// CLS index type. (0 = full-text index; 1 = key-value index).
LogIndexType *int64 `json:"LogIndexType,omitnil,omitempty" name:"LogIndexType"`
// Index key of traceId. It is valid when the CLS index type is key-value index.
LogTraceIdKey *string `json:"LogTraceIdKey,omitnil,omitempty" name:"LogTraceIdKey"`
// Whether to enable the application security configuration.
EnableSecurityConfig *bool `json:"EnableSecurityConfig,omitnil,omitempty" name:"EnableSecurityConfig"`
// Whether to enable SQL injection analysis.
IsSqlInjectionAnalysis *int64 `json:"IsSqlInjectionAnalysis,omitnil,omitempty" name:"IsSqlInjectionAnalysis"`
// Whether to enable detection of component vulnerability.
IsInstrumentationVulnerabilityScan *int64 `json:"IsInstrumentationVulnerabilityScan,omitnil,omitempty" name:"IsInstrumentationVulnerabilityScan"`
// Whether remote command detection is enabled.
IsRemoteCommandExecutionAnalysis *int64 `json:"IsRemoteCommandExecutionAnalysis,omitnil,omitempty" name:"IsRemoteCommandExecutionAnalysis"`
// Whether to enable detection of Java webshell.
IsMemoryHijackingAnalysis *int64 `json:"IsMemoryHijackingAnalysis,omitnil,omitempty" name:"IsMemoryHijackingAnalysis"`
// Whether to enable the detection of deleting arbitrary files. (0 - disabled; 1: enabled.)
IsDeleteAnyFileAnalysis *int64 `json:"IsDeleteAnyFileAnalysis,omitnil,omitempty" name:"IsDeleteAnyFileAnalysis"`
// Whether to enable the detection of reading arbitrary files. (0 - disabled; 1 - enabled.)
IsReadAnyFileAnalysis *int64 `json:"IsReadAnyFileAnalysis,omitnil,omitempty" name:"IsReadAnyFileAnalysis"`
// Whether to enable the detection of uploading arbitrary files. (0 - disabled; 1 - enabled.)
IsUploadAnyFileAnalysis *int64 `json:"IsUploadAnyFileAnalysis,omitnil,omitempty" name:"IsUploadAnyFileAnalysis"`
// Whether to enable the detection of the inclusion of arbitrary files. (0: disabled, 1: enabled.)
IsIncludeAnyFileAnalysis *int64 `json:"IsIncludeAnyFileAnalysis,omitnil,omitempty" name:"IsIncludeAnyFileAnalysis"`
// Whether to enable traversal detection of the directory. (0 - disabled; 1 - enabled).
IsDirectoryTraversalAnalysis *int64 `json:"IsDirectoryTraversalAnalysis,omitnil,omitempty" name:"IsDirectoryTraversalAnalysis"`
// Whether to enable template engine injection detection. (0: disabled; 1: enabled.)
IsTemplateEngineInjectionAnalysis *int64 `json:"IsTemplateEngineInjectionAnalysis,omitnil,omitempty" name:"IsTemplateEngineInjectionAnalysis"`
// Whether to enable script engine injection detection. (0 - disabled; 1 - enabled.)
IsScriptEngineInjectionAnalysis *int64 `json:"IsScriptEngineInjectionAnalysis,omitnil,omitempty" name:"IsScriptEngineInjectionAnalysis"`
// Whether to enable expression injection detection. (0 - disabled; 1 - enabled.)
IsExpressionInjectionAnalysis *int64 `json:"IsExpressionInjectionAnalysis,omitnil,omitempty" name:"IsExpressionInjectionAnalysis"`
// Whether to enable JNDI injection detection. (0 - disabled; 1 - enabled.)
IsJNDIInjectionAnalysis *int64 `json:"IsJNDIInjectionAnalysis,omitnil,omitempty" name:"IsJNDIInjectionAnalysis"`
// Whether to enable JNI injection detection. (0 - disabled, 1 - enabled).
IsJNIInjectionAnalysis *int64 `json:"IsJNIInjectionAnalysis,omitnil,omitempty" name:"IsJNIInjectionAnalysis"`
// Whether to enable Webshell backdoor detection. (0 - disabled; 1 - enabled).
IsWebshellBackdoorAnalysis *int64 `json:"IsWebshellBackdoorAnalysis,omitnil,omitempty" name:"IsWebshellBackdoorAnalysis"`
// Whether to enable deserialization detection. (0 - disabled; 1 - enabled).
IsDeserializationAnalysis *int64 `json:"IsDeserializationAnalysis,omitnil,omitempty" name:"IsDeserializationAnalysis"`
// Automatic convergence switch for APIs. 0: disabled | 1: enabled.
UrlAutoConvergenceEnable *bool `json:"UrlAutoConvergenceEnable,omitnil,omitempty" name:"UrlAutoConvergenceEnable"`
// Convergence threshold for URL long segments.
UrlLongSegmentThreshold *int64 `json:"UrlLongSegmentThreshold,omitnil,omitempty" name:"UrlLongSegmentThreshold"`
// Convergence threshold for URL numerical segments.
UrlNumberSegmentThreshold *int64 `json:"UrlNumberSegmentThreshold,omitnil,omitempty" name:"UrlNumberSegmentThreshold"`
// Specifies the memory threshold for probe fusing.
DisableMemoryUsed *int64 `json:"DisableMemoryUsed,omitnil,omitempty" name:"DisableMemoryUsed"`
// Specifies the CPU threshold for probe fusing.
DisableCpuUsed *int64 `json:"DisableCpuUsed,omitnil,omitempty" name:"DisableCpuUsed"`
}
Predefined struct for user
type ModifyApmApplicationConfigResponse ¶
type ModifyApmApplicationConfigResponse struct {
*tchttp.BaseResponse
Response *ModifyApmApplicationConfigResponseParams `json:"Response"`
}
func NewModifyApmApplicationConfigResponse ¶
func NewModifyApmApplicationConfigResponse() (response *ModifyApmApplicationConfigResponse)
func (*ModifyApmApplicationConfigResponse) FromJsonString ¶
func (r *ModifyApmApplicationConfigResponse) 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 (*ModifyApmApplicationConfigResponse) ToJsonString ¶
func (r *ModifyApmApplicationConfigResponse) ToJsonString() string
type ModifyApmApplicationConfigResponseParams ¶
type ModifyApmApplicationConfigResponseParams 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 ModifyApmAssociationRequest ¶
type ModifyApmAssociationRequest struct {
*tchttp.BaseRequest
// Associated product name. currently only supports Prometheus.
ProductName *string `json:"ProductName,omitnil,omitempty" name:"ProductName"`
// Status of the association relationship: // association status: 1 (enabled), 2 (disabled), 4 (deleted).
Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`
// Business system ID
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Associated product instance ID.
PeerId *string `json:"PeerId,omitnil,omitempty" name:"PeerId"`
// Specifies the CKafka message topic.
Topic *string `json:"Topic,omitnil,omitempty" name:"Topic"`
}
func NewModifyApmAssociationRequest ¶
func NewModifyApmAssociationRequest() (request *ModifyApmAssociationRequest)
func (*ModifyApmAssociationRequest) FromJsonString ¶
func (r *ModifyApmAssociationRequest) 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 (*ModifyApmAssociationRequest) ToJsonString ¶
func (r *ModifyApmAssociationRequest) ToJsonString() string
type ModifyApmAssociationRequestParams ¶
type ModifyApmAssociationRequestParams struct {
// Associated product name. currently only supports Prometheus.
ProductName *string `json:"ProductName,omitnil,omitempty" name:"ProductName"`
// Status of the association relationship: // association status: 1 (enabled), 2 (disabled), 4 (deleted).
Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`
// Business system ID
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Associated product instance ID.
PeerId *string `json:"PeerId,omitnil,omitempty" name:"PeerId"`
// Specifies the CKafka message topic.
Topic *string `json:"Topic,omitnil,omitempty" name:"Topic"`
}
Predefined struct for user
type ModifyApmAssociationResponse ¶
type ModifyApmAssociationResponse struct {
*tchttp.BaseResponse
Response *ModifyApmAssociationResponseParams `json:"Response"`
}
func NewModifyApmAssociationResponse ¶
func NewModifyApmAssociationResponse() (response *ModifyApmAssociationResponse)
func (*ModifyApmAssociationResponse) FromJsonString ¶
func (r *ModifyApmAssociationResponse) 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 (*ModifyApmAssociationResponse) ToJsonString ¶
func (r *ModifyApmAssociationResponse) ToJsonString() string
type ModifyApmAssociationResponseParams ¶
type ModifyApmAssociationResponseParams 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 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"`
// Whether to enable detection of the remote command attack.
IsRemoteCommandExecutionAnalysis *int64 `json:"IsRemoteCommandExecutionAnalysis,omitnil,omitempty" name:"IsRemoteCommandExecutionAnalysis"`
// Whether to enable detection of Java webshell.
IsMemoryHijackingAnalysis *int64 `json:"IsMemoryHijackingAnalysis,omitnil,omitempty" name:"IsMemoryHijackingAnalysis"`
// CLS index type. (0 = full-text index; 1 = key-value index).
LogIndexType *int64 `json:"LogIndexType,omitnil,omitempty" name:"LogIndexType"`
// Index key of traceId. It is valid when the CLS index type is key-value index.
LogTraceIdKey *string `json:"LogTraceIdKey,omitnil,omitempty" name:"LogTraceIdKey"`
// Whether to enable the detection of deleting arbitrary files. (0 - disabled; 1: enabled.)
IsDeleteAnyFileAnalysis *int64 `json:"IsDeleteAnyFileAnalysis,omitnil,omitempty" name:"IsDeleteAnyFileAnalysis"`
// Whether to enable the detection of reading arbitrary files. (0 - disabled; 1 - enabled.)
IsReadAnyFileAnalysis *int64 `json:"IsReadAnyFileAnalysis,omitnil,omitempty" name:"IsReadAnyFileAnalysis"`
// Whether to enable the detection of uploading arbitrary files. (0 - disabled; 1 - enabled.)
IsUploadAnyFileAnalysis *int64 `json:"IsUploadAnyFileAnalysis,omitnil,omitempty" name:"IsUploadAnyFileAnalysis"`
// Whether to enable the detection of the inclusion of arbitrary files. (0: disabled, 1: enabled.)
IsIncludeAnyFileAnalysis *int64 `json:"IsIncludeAnyFileAnalysis,omitnil,omitempty" name:"IsIncludeAnyFileAnalysis"`
// Whether to enable traversal detection of the directory. (0 - disabled; 1 - enabled).
IsDirectoryTraversalAnalysis *int64 `json:"IsDirectoryTraversalAnalysis,omitnil,omitempty" name:"IsDirectoryTraversalAnalysis"`
// Whether to enable template engine injection detection. (0: disabled; 1: enabled.)
IsTemplateEngineInjectionAnalysis *int64 `json:"IsTemplateEngineInjectionAnalysis,omitnil,omitempty" name:"IsTemplateEngineInjectionAnalysis"`
// Whether to enable script engine injection detection. (0 - disabled; 1 - enabled.)
IsScriptEngineInjectionAnalysis *int64 `json:"IsScriptEngineInjectionAnalysis,omitnil,omitempty" name:"IsScriptEngineInjectionAnalysis"`
// Whether to enable expression injection detection. (0 - disabled; 1 - enabled.)
IsExpressionInjectionAnalysis *int64 `json:"IsExpressionInjectionAnalysis,omitnil,omitempty" name:"IsExpressionInjectionAnalysis"`
// Whether to enable JNDI injection detection. (0 - disabled; 1 - enabled.)
IsJNDIInjectionAnalysis *int64 `json:"IsJNDIInjectionAnalysis,omitnil,omitempty" name:"IsJNDIInjectionAnalysis"`
// Whether to enable JNI injection detection. (0 - disabled, 1 - enabled).
IsJNIInjectionAnalysis *int64 `json:"IsJNIInjectionAnalysis,omitnil,omitempty" name:"IsJNIInjectionAnalysis"`
// Whether to enable Webshell backdoor detection. (0 - disabled; 1 - enabled).
IsWebshellBackdoorAnalysis *int64 `json:"IsWebshellBackdoorAnalysis,omitnil,omitempty" name:"IsWebshellBackdoorAnalysis"`
// Whether to enable deserialization detection. (0 - disabled; 1 - enabled).
IsDeserializationAnalysis *int64 `json:"IsDeserializationAnalysis,omitnil,omitempty" name:"IsDeserializationAnalysis"`
// Convergence threshold for URL long segments.
UrlLongSegmentThreshold *int64 `json:"UrlLongSegmentThreshold,omitnil,omitempty" name:"UrlLongSegmentThreshold"`
// Convergence threshold for URL numerical segments.
UrlNumberSegmentThreshold *int64 `json:"UrlNumberSegmentThreshold,omitnil,omitempty" name:"UrlNumberSegmentThreshold"`
}
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"`
// Whether to enable detection of the remote command attack.
IsRemoteCommandExecutionAnalysis *int64 `json:"IsRemoteCommandExecutionAnalysis,omitnil,omitempty" name:"IsRemoteCommandExecutionAnalysis"`
// Whether to enable detection of Java webshell.
IsMemoryHijackingAnalysis *int64 `json:"IsMemoryHijackingAnalysis,omitnil,omitempty" name:"IsMemoryHijackingAnalysis"`
// CLS index type. (0 = full-text index; 1 = key-value index).
LogIndexType *int64 `json:"LogIndexType,omitnil,omitempty" name:"LogIndexType"`
// Index key of traceId. It is valid when the CLS index type is key-value index.
LogTraceIdKey *string `json:"LogTraceIdKey,omitnil,omitempty" name:"LogTraceIdKey"`
// Whether to enable the detection of deleting arbitrary files. (0 - disabled; 1: enabled.)
IsDeleteAnyFileAnalysis *int64 `json:"IsDeleteAnyFileAnalysis,omitnil,omitempty" name:"IsDeleteAnyFileAnalysis"`
// Whether to enable the detection of reading arbitrary files. (0 - disabled; 1 - enabled.)
IsReadAnyFileAnalysis *int64 `json:"IsReadAnyFileAnalysis,omitnil,omitempty" name:"IsReadAnyFileAnalysis"`
// Whether to enable the detection of uploading arbitrary files. (0 - disabled; 1 - enabled.)
IsUploadAnyFileAnalysis *int64 `json:"IsUploadAnyFileAnalysis,omitnil,omitempty" name:"IsUploadAnyFileAnalysis"`
// Whether to enable the detection of the inclusion of arbitrary files. (0: disabled, 1: enabled.)
IsIncludeAnyFileAnalysis *int64 `json:"IsIncludeAnyFileAnalysis,omitnil,omitempty" name:"IsIncludeAnyFileAnalysis"`
// Whether to enable traversal detection of the directory. (0 - disabled; 1 - enabled).
IsDirectoryTraversalAnalysis *int64 `json:"IsDirectoryTraversalAnalysis,omitnil,omitempty" name:"IsDirectoryTraversalAnalysis"`
// Whether to enable template engine injection detection. (0: disabled; 1: enabled.)
IsTemplateEngineInjectionAnalysis *int64 `json:"IsTemplateEngineInjectionAnalysis,omitnil,omitempty" name:"IsTemplateEngineInjectionAnalysis"`
// Whether to enable script engine injection detection. (0 - disabled; 1 - enabled.)
IsScriptEngineInjectionAnalysis *int64 `json:"IsScriptEngineInjectionAnalysis,omitnil,omitempty" name:"IsScriptEngineInjectionAnalysis"`
// Whether to enable expression injection detection. (0 - disabled; 1 - enabled.)
IsExpressionInjectionAnalysis *int64 `json:"IsExpressionInjectionAnalysis,omitnil,omitempty" name:"IsExpressionInjectionAnalysis"`
// Whether to enable JNDI injection detection. (0 - disabled; 1 - enabled.)
IsJNDIInjectionAnalysis *int64 `json:"IsJNDIInjectionAnalysis,omitnil,omitempty" name:"IsJNDIInjectionAnalysis"`
// Whether to enable JNI injection detection. (0 - disabled, 1 - enabled).
IsJNIInjectionAnalysis *int64 `json:"IsJNIInjectionAnalysis,omitnil,omitempty" name:"IsJNIInjectionAnalysis"`
// Whether to enable Webshell backdoor detection. (0 - disabled; 1 - enabled).
IsWebshellBackdoorAnalysis *int64 `json:"IsWebshellBackdoorAnalysis,omitnil,omitempty" name:"IsWebshellBackdoorAnalysis"`
// Whether to enable deserialization detection. (0 - disabled; 1 - enabled).
IsDeserializationAnalysis *int64 `json:"IsDeserializationAnalysis,omitnil,omitempty" name:"IsDeserializationAnalysis"`
// Convergence threshold for URL long segments.
UrlLongSegmentThreshold *int64 `json:"UrlLongSegmentThreshold,omitnil,omitempty" name:"UrlLongSegmentThreshold"`
// Convergence threshold for URL numerical segments.
UrlNumberSegmentThreshold *int64 `json:"UrlNumberSegmentThreshold,omitnil,omitempty" name:"UrlNumberSegmentThreshold"`
}
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 ModifyApmPrometheusRuleRequest ¶
type ModifyApmPrometheusRuleRequest struct {
*tchttp.BaseRequest
// Rule ID
Id *int64 `json:"Id,omitnil,omitempty" name:"Id"`
// Business system ID
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Specifies the rule name to modify.
Name *string `json:"Name,omitnil,omitempty" name:"Name"`
// Rule status: 1 (enabled), 2 (disabled), 3 (deleted).
Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`
// Applications where the rule takes effect. input an empty string for all applications. if this is not modified, pass the old rule.
ServiceName *string `json:"ServiceName,omitnil,omitempty" name:"ServiceName"`
// Match type: 0 - precision match, 1 - prefix match, 2 - suffix match (if not modified, the old rule must be passed).
MetricMatchType *int64 `json:"MetricMatchType,omitnil,omitempty" name:"MetricMatchType"`
// Specifies the rule for customer-defined metric names with cache hit.
MetricNameRule *string `json:"MetricNameRule,omitnil,omitempty" name:"MetricNameRule"`
}
func NewModifyApmPrometheusRuleRequest ¶
func NewModifyApmPrometheusRuleRequest() (request *ModifyApmPrometheusRuleRequest)
func (*ModifyApmPrometheusRuleRequest) FromJsonString ¶
func (r *ModifyApmPrometheusRuleRequest) 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 (*ModifyApmPrometheusRuleRequest) ToJsonString ¶
func (r *ModifyApmPrometheusRuleRequest) ToJsonString() string
type ModifyApmPrometheusRuleRequestParams ¶
type ModifyApmPrometheusRuleRequestParams struct {
// Rule ID
Id *int64 `json:"Id,omitnil,omitempty" name:"Id"`
// Business system ID
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Specifies the rule name to modify.
Name *string `json:"Name,omitnil,omitempty" name:"Name"`
// Rule status: 1 (enabled), 2 (disabled), 3 (deleted).
Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`
// Applications where the rule takes effect. input an empty string for all applications. if this is not modified, pass the old rule.
ServiceName *string `json:"ServiceName,omitnil,omitempty" name:"ServiceName"`
// Match type: 0 - precision match, 1 - prefix match, 2 - suffix match (if not modified, the old rule must be passed).
MetricMatchType *int64 `json:"MetricMatchType,omitnil,omitempty" name:"MetricMatchType"`
// Specifies the rule for customer-defined metric names with cache hit.
MetricNameRule *string `json:"MetricNameRule,omitnil,omitempty" name:"MetricNameRule"`
}
Predefined struct for user
type ModifyApmPrometheusRuleResponse ¶
type ModifyApmPrometheusRuleResponse struct {
*tchttp.BaseResponse
Response *ModifyApmPrometheusRuleResponseParams `json:"Response"`
}
func NewModifyApmPrometheusRuleResponse ¶
func NewModifyApmPrometheusRuleResponse() (response *ModifyApmPrometheusRuleResponse)
func (*ModifyApmPrometheusRuleResponse) FromJsonString ¶
func (r *ModifyApmPrometheusRuleResponse) 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 (*ModifyApmPrometheusRuleResponse) ToJsonString ¶
func (r *ModifyApmPrometheusRuleResponse) ToJsonString() string
type ModifyApmPrometheusRuleResponseParams ¶
type ModifyApmPrometheusRuleResponseParams 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 ModifyApmSampleConfigRequest ¶
type ModifyApmSampleConfigRequest struct {
*tchttp.BaseRequest
// Business system ID
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Sampling rule name.
SampleName *string `json:"SampleName,omitnil,omitempty" name:"SampleName"`
// Sampling rate.
SampleRate *int64 `json:"SampleRate,omitnil,omitempty" name:"SampleRate"`
// Application name. specifies the application name. fill in the blank to take effect on all applications.
ServiceName *string `json:"ServiceName,omitnil,omitempty" name:"ServiceName"`
// API name.
OperationName *string `json:"OperationName,omitnil,omitempty" name:"OperationName"`
// Sampling tag
Tags []*APMKVItem `json:"Tags,omitnil,omitempty" name:"Tags"`
// Sampling switch. 0: Off; 1: On; 2: Delete
Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
// Configuration ID.
Id *int64 `json:"Id,omitnil,omitempty" name:"Id"`
// 0: exact match (default); 1: prefix match; 2: suffix match.
OperationType *int64 `json:"OperationType,omitnil,omitempty" name:"OperationType"`
}
func NewModifyApmSampleConfigRequest ¶
func NewModifyApmSampleConfigRequest() (request *ModifyApmSampleConfigRequest)
func (*ModifyApmSampleConfigRequest) FromJsonString ¶
func (r *ModifyApmSampleConfigRequest) 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 (*ModifyApmSampleConfigRequest) ToJsonString ¶
func (r *ModifyApmSampleConfigRequest) ToJsonString() string
type ModifyApmSampleConfigRequestParams ¶
type ModifyApmSampleConfigRequestParams struct {
// Business system ID
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Sampling rule name.
SampleName *string `json:"SampleName,omitnil,omitempty" name:"SampleName"`
// Sampling rate.
SampleRate *int64 `json:"SampleRate,omitnil,omitempty" name:"SampleRate"`
// Application name. specifies the application name. fill in the blank to take effect on all applications.
ServiceName *string `json:"ServiceName,omitnil,omitempty" name:"ServiceName"`
// API name.
OperationName *string `json:"OperationName,omitnil,omitempty" name:"OperationName"`
// Sampling tag
Tags []*APMKVItem `json:"Tags,omitnil,omitempty" name:"Tags"`
// Sampling switch. 0: Off; 1: On; 2: Delete
Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
// Configuration ID.
Id *int64 `json:"Id,omitnil,omitempty" name:"Id"`
// 0: exact match (default); 1: prefix match; 2: suffix match.
OperationType *int64 `json:"OperationType,omitnil,omitempty" name:"OperationType"`
}
Predefined struct for user
type ModifyApmSampleConfigResponse ¶
type ModifyApmSampleConfigResponse struct {
*tchttp.BaseResponse
Response *ModifyApmSampleConfigResponseParams `json:"Response"`
}
func NewModifyApmSampleConfigResponse ¶
func NewModifyApmSampleConfigResponse() (response *ModifyApmSampleConfigResponse)
func (*ModifyApmSampleConfigResponse) FromJsonString ¶
func (r *ModifyApmSampleConfigResponse) 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 (*ModifyApmSampleConfigResponse) ToJsonString ¶
func (r *ModifyApmSampleConfigResponse) ToJsonString() string
type ModifyApmSampleConfigResponseParams ¶
type ModifyApmSampleConfigResponseParams 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 ServiceDetail ¶
type ServiceDetail struct {
// Application ID
// Note: This field may return null, indicating that no valid values can be obtained.
ServiceID *string `json:"ServiceID,omitnil,omitempty" name:"ServiceID"`
// Business system ID
// Note: This field may return null, indicating that no valid values can be obtained.
InstanceKey *string `json:"InstanceKey,omitnil,omitempty" name:"InstanceKey"`
// User appid.
// Note: This field may return null, indicating that no valid values can be obtained.
AppID *int64 `json:"AppID,omitnil,omitempty" name:"AppID"`
// Host account UIN
// Note: This field may return null, indicating that no valid values can be obtained.
CreateUIN *string `json:"CreateUIN,omitnil,omitempty" name:"CreateUIN"`
// Application name
// Note: This field may return null, indicating that no valid values can be obtained.
ServiceName *string `json:"ServiceName,omitnil,omitempty" name:"ServiceName"`
// Application description
// Note: This field may return null, indicating that no valid values can be obtained.
ServiceDescription *string `json:"ServiceDescription,omitnil,omitempty" name:"ServiceDescription"`
// Region.
// Note: This field may return null, indicating that no valid values can be obtained.
Region *string `json:"Region,omitnil,omitempty" name:"Region"`
// Tag.
// Note: This field may return null, indicating that no valid values can be obtained.
Tags []*ApmTag `json:"Tags,omitnil,omitempty" name:"Tags"`
// Business system name.
InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`
}
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