Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var APM_ALERT = apis.ApiSpec{ Path: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/alerts/<id>", BackendPath: "/api/msp/apm/<tenantGroup>/alerts/<id>", Host: "msp.marathon.l4lb.thisdcos.directory:8080", Scheme: "http", Method: "GET", CheckLogin: true, CheckToken: true, Doc: "summary: 获取微服务告警详情", }
View Source
var APM_ALERTS = apis.ApiSpec{ Path: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/alerts", BackendPath: "/api/msp/apm/<tenantGroup>/alerts", Host: "msp.marathon.l4lb.thisdcos.directory:8080", Scheme: "http", Method: "GET", CheckLogin: true, CheckToken: true, Doc: "summary: 获取微服务告警列表", }
View Source
var APM_ALERTS_RULES = apis.ApiSpec{ Path: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/alerts-rules", BackendPath: "/api/msp/apm/<tenantGroup>/alert-rules", Host: "msp.marathon.l4lb.thisdcos.directory:8080", Scheme: "http", Method: "GET", CheckLogin: true, CheckToken: true, Doc: "summary: 获取微服务告警规则列表", }
View Source
var APM_ALERT_CREATE = apis.ApiSpec{ Path: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/alerts", BackendPath: "/api/msp/apm/<tenantGroup>/alerts", Host: "msp.marathon.l4lb.thisdcos.directory:8080", Scheme: "http", Method: "POST", CheckLogin: true, CheckToken: true, Doc: "summary: 创建微服务告警", Audit: auditCreateMicroserviceAlert(apistructs.CreateMicroserviceAlert), }
View Source
var APM_ALERT_DELETE = apis.ApiSpec{ Path: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/alerts/<id>", BackendPath: "/api/msp/apm/<tenantGroup>/alerts/<id>", Host: "msp.marathon.l4lb.thisdcos.directory:8080", Scheme: "http", Method: "DELETE", CheckLogin: true, CheckToken: true, Doc: "summary: 删除微服务告警", Audit: auditOperateMicroserviceAlert(apistructs.DeleteMicroserviceAlert, "delete"), }
View Source
var APM_ALERT_RECORD = apis.ApiSpec{ Path: "/api/tmc/tenantGroup/<tenantGroup>/alert-records/<groupId>", BackendPath: "/api/msp/apm/<tenantGroup>/alert-records/<groupId>", Host: "msp.marathon.l4lb.thisdcos.directory:8080", Scheme: "http", Method: "GET", CheckLogin: true, CheckToken: true, Doc: "summary: 获取微服务告警记录", }
View Source
var APM_ALERT_RECORDS = apis.ApiSpec{ Path: "/api/tmc/tenantGroup/<tenantGroup>/alert-records", BackendPath: "/api/msp/apm/<tenantGroup>/alert-records", Host: "msp.marathon.l4lb.thisdcos.directory:8080", Scheme: "http", Method: "GET", CheckLogin: true, CheckToken: true, Doc: "summary: 获取微服务告警记录列表", }
View Source
var APM_ALERT_RECORD_ATTRS = apis.ApiSpec{ Path: "/api/tmc/tenantGroup/<tenantGroup>/alert-record-attrs", BackendPath: "/api/msp/apm/<tenantGroup>/alert-record-attrs", Host: "msp.marathon.l4lb.thisdcos.directory:8080", Scheme: "http", Method: "GET", CheckLogin: true, CheckToken: true, Doc: "summary: 获取微服务告警记录属性", }
View Source
var APM_ALERT_RECORD_HISTORIES = apis.ApiSpec{ Path: "/api/tmc/tenantGroup/<tenantGroup>/alert-records/<groupId>/histories", BackendPath: "/api/msp/apm/<tenantGroup>/alert-records/<groupId>/histories", Host: "msp.marathon.l4lb.thisdcos.directory:8080", Scheme: "http", Method: "GET", CheckLogin: true, CheckToken: true, Doc: "summary: 获取微服务告警记录历史", }
View Source
var APM_ALERT_RECORD_ISSUE_CREATE = apis.ApiSpec{ Path: "/api/tmc/tenantGroup/<tenantGroup>/alert-records/<groupId>/issues", BackendPath: "/api/msp/apm/<tenantGroup>/alert-records/<groupId>/issues", Host: "msp.marathon.l4lb.thisdcos.directory:8080", Scheme: "http", Method: "POST", CheckLogin: true, CheckToken: true, Doc: "summary: 创建微服务告警记录工单", }
View Source
var APM_ALERT_RECORD_ISSUE_UPDATE = apis.ApiSpec{ Path: "/api/tmc/tenantGroup/<tenantGroup>/alert-records/<groupId>/issues/<issueId>", BackendPath: "/api/msp/apm/<tenantGroup>/alert-records/<groupId>/issues", Host: "msp.marathon.l4lb.thisdcos.directory:8080", Scheme: "http", Method: "PUT", CheckLogin: true, CheckToken: true, Doc: "summary: 修改微服务告警记录工单", }
View Source
var APM_ALERT_SWITCH = apis.ApiSpec{ Path: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/alerts/<id>/switch", BackendPath: "/api/msp/apm/<tenantGroup>/alerts/<id>/switch", Host: "msp.marathon.l4lb.thisdcos.directory:8080", Scheme: "http", Method: "PUT", CheckLogin: true, CheckToken: true, Doc: "summary: 切换微服务告警开关", Audit: auditOperateMicroserviceAlert(apistructs.SwitchMicroserviceAlert, ""), }
View Source
var APM_ALERT_UPDATE = apis.ApiSpec{ Path: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/alerts/<id>", BackendPath: "/api/msp/apm/<tenantGroup>/alerts/<id>", Host: "msp.marathon.l4lb.thisdcos.directory:8080", Scheme: "http", Method: "PUT", CheckLogin: true, CheckToken: true, Doc: "summary: 修改微服务告警", Audit: auditOperateMicroserviceAlert(apistructs.UpdateMicroserviceAlert, "update"), }
View Source
var APM_CUSTOMIZE_ALERT = apis.ApiSpec{ Path: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts/<id>", BackendPath: "/api/msp/apm/<tenantGroup>/custom-alerts/<id>", Host: "msp.marathon.l4lb.thisdcos.directory:8080", Scheme: "http", Method: "GET", CheckLogin: true, CheckToken: true, Doc: "summary: 获取微服务自定义告警详情", }
View Source
var APM_CUSTOMIZE_ALERTS = apis.ApiSpec{ Path: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts", BackendPath: "/api/msp/apm/<tenantGroup>/custom-alerts", Host: "msp.marathon.l4lb.thisdcos.directory:8080", Scheme: "http", Method: "GET", CheckLogin: true, CheckToken: true, Doc: "summary: 获取微服务自定义告警列表", }
View Source
var APM_CUSTOMIZE_ALERT_CREATE = apis.ApiSpec{ Path: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts", BackendPath: "/api/msp/apm/<tenantGroup>/custom-alerts", Host: "msp.marathon.l4lb.thisdcos.directory:8080", Scheme: "http", Method: "POST", CheckLogin: true, CheckToken: true, Doc: "summary: 创建微服务自定义告警", Audit: auditCreateMicroserviceAlert(apistructs.CreateMicroserviceCustomAlert), }
View Source
var APM_CUSTOMIZE_ALERT_DASH_PREVIEW = apis.ApiSpec{ Path: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts/dash-preview/query", BackendPath: "/api/msp/apm/<tenantGroup>/alert-records/custom-alerts/dash-preview/query", Host: "msp.marathon.l4lb.thisdcos.directory:8080", Scheme: "http", Method: "POST", CheckLogin: true, CheckToken: true, Doc: "summary: 微服务自定义告警预览大盘生成", }
View Source
var APM_CUSTOMIZE_ALERT_DELETE = apis.ApiSpec{ Path: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts/<id>", BackendPath: "/api/msp/apm/<tenantGroup>/custom-alerts/<id>", Host: "msp.marathon.l4lb.thisdcos.directory:8080", Scheme: "http", Method: "DELETE", CheckLogin: true, CheckToken: true, Doc: "summary: 删除微服务自定义告警", Audit: auditOperateMicroserviceCustomAlert(apistructs.DeleteMicroserviceCustomAlert, "delete"), }
View Source
var APM_CUSTOMIZE_ALERT_METRICS = apis.ApiSpec{ Path: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts/metrics", BackendPath: "/api/msp/apm/<tenantGroup>/custom-alerts/metrics", Host: "msp.marathon.l4lb.thisdcos.directory:8080", Scheme: "http", Method: "GET", CheckLogin: true, CheckToken: true, Doc: "summary: 获取企业自定义告警指标", }
View Source
var APM_CUSTOMIZE_ALERT_NOTIFY_TARGET = apis.ApiSpec{ Path: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts/notifies/targets", BackendPath: "/api/msp/apm/<tenantGroup>/custom-alerts/notifies/targets", Host: "msp.marathon.l4lb.thisdcos.directory:8080", Scheme: "http", Method: "GET", CheckLogin: true, CheckToken: true, Doc: "summary: 获取企业自定义告警通知方式", }
View Source
var APM_CUSTOMIZE_ALERT_SWITCH = apis.ApiSpec{ Path: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts/<id>/switch", BackendPath: "/api/msp/apm/<tenantGroup>/custom-alerts/<id>/switch", Host: "msp.marathon.l4lb.thisdcos.directory:8080", Scheme: "http", Method: "PUT", CheckLogin: true, CheckToken: true, Doc: "summary: 切换微服务自定义告警开关", Audit: auditOperateMicroserviceCustomAlert(apistructs.SwitchMicroserviceCustomAlert, ""), }
View Source
var APM_CUSTOMIZE_ALERT_UPDATE = apis.ApiSpec{ Path: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts/<id>", BackendPath: "/api/msp/apm/<tenantGroup>/custom-alerts/<id>", Host: "msp.marathon.l4lb.thisdcos.directory:8080", Scheme: "http", Method: "PUT", CheckLogin: true, CheckToken: true, Doc: "summary: 修改微服务自定义告警", Audit: auditOperateMicroserviceCustomAlert(apistructs.UpdateMicroserviceCustomAlert, "update"), }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Source Files ¶
- apm_alert.go
- apm_alert_create.go
- apm_alert_delete.go
- apm_alert_record.go
- apm_alert_record_attrs.go
- apm_alert_record_histories.go
- apm_alert_record_issue_create.go
- apm_alert_record_issue_update.go
- apm_alert_records.go
- apm_alert_switch.go
- apm_alert_update.go
- apm_alerts.go
- apm_alerts_rules.go
- apm_customize_alert.go
- apm_customize_alert_create.go
- apm_customize_alert_dash_preview.go
- apm_customize_alert_delete.go
- apm_customize_alert_metrics.go
- apm_customize_alert_notify_target.go
- apm_customize_alert_switch.go
- apm_customize_alert_update.go
- apm_customize_alerts.go
Click to show internal directories.
Click to hide internal directories.