Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TMC_ERROR_EVENT = apis.ApiSpec{ Path: "/api/error-events/<eventId>", BackendPath: "/api/tmc/error-events/<eventId>", Host: "tmc.marathon.l4lb.thisdcos.directory:8050", Scheme: "http", Method: "GET", CheckLogin: true, CheckToken: true, Doc: "summary: 查询error-event详情", }
View Source
var TMC_ERROR_EVENT_IDS = apis.ApiSpec{ Path: "/api/errors/<errorId>/error-events", BackendPath: "/api/tmc/errors/<errorId>/error-events", Host: "tmc.marathon.l4lb.thisdcos.directory:8050", Scheme: "http", Method: "GET", CheckLogin: true, CheckToken: true, Doc: "summary: 查询error下的event id列表", }
View Source
var TMC_ERROR_LISTS = apis.ApiSpec{ Path: "/api/tmc/errors", BackendPath: "/api/tmc/errors", Host: "tmc.marathon.l4lb.thisdcos.directory:8050", Scheme: "http", Method: "GET", CheckLogin: true, CheckToken: true, Doc: "summary: 查询指定project和环境下面的error列表", }
View Source
var TMC_MICRO_SERVICE_ALERT = apis.ApiSpec{ Path: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/alerts/<id>", BackendPath: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/alerts/<id>", Host: "tmc.marathon.l4lb.thisdcos.directory:8050", Scheme: "http", Method: "GET", CheckLogin: true, CheckToken: true, Doc: "summary: 获取微服务告警详情", }
View Source
var TMC_MICRO_SERVICE_ALERTS = apis.ApiSpec{ Path: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/alerts", BackendPath: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/alerts", Host: "tmc.marathon.l4lb.thisdcos.directory:8050", Scheme: "http", Method: "GET", CheckLogin: true, CheckToken: true, Doc: "summary: 获取微服务告警列表", }
View Source
var TMC_MICRO_SERVICE_ALERTS_RULES = apis.ApiSpec{ Path: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/alerts/rules", BackendPath: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/alerts/rules", Host: "tmc.marathon.l4lb.thisdcos.directory:8050", Scheme: "http", Method: "GET", CheckLogin: true, CheckToken: true, Doc: "summary: 获取微服务告警规则列表", }
View Source
var TMC_MICRO_SERVICE_ALERT_CREATE = apis.ApiSpec{ Path: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/alerts", BackendPath: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/alerts", Host: "tmc.marathon.l4lb.thisdcos.directory:8050", Scheme: "http", Method: "POST", CheckLogin: true, CheckToken: true, Doc: "summary: 创建微服务告警", Audit: auditCreateMicroserviceAlert(apistructs.CreateMicroserviceAlert), }
View Source
var TMC_MICRO_SERVICE_ALERT_DELETE = apis.ApiSpec{ Path: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/alerts/<id>", BackendPath: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/alerts/<id>", Host: "tmc.marathon.l4lb.thisdcos.directory:8050", Scheme: "http", Method: "DELETE", CheckLogin: true, CheckToken: true, Doc: "summary: 删除微服务告警", Audit: auditOperateMicroserviceAlert(apistructs.DeleteMicroserviceAlert, "delete"), }
View Source
var TMC_MICRO_SERVICE_ALERT_RECORD = apis.ApiSpec{ Path: "/api/tmc/tenantGroup/<tenantGroup>/alert-records/<groupId>", BackendPath: "/api/tmc/tenantGroup/<tenantGroup>/alert-records/<groupId>", Host: "tmc.marathon.l4lb.thisdcos.directory:8050", Scheme: "http", Method: "GET", CheckLogin: true, CheckToken: true, Doc: "summary: 获取微服务告警记录", }
View Source
var TMC_MICRO_SERVICE_ALERT_RECORDS = apis.ApiSpec{ Path: "/api/tmc/tenantGroup/<tenantGroup>/alert-records", BackendPath: "/api/tmc/tenantGroup/<tenantGroup>/alert-records", Host: "tmc.marathon.l4lb.thisdcos.directory:8050", Scheme: "http", Method: "GET", CheckLogin: true, CheckToken: true, Doc: "summary: 获取微服务告警记录列表", }
View Source
var TMC_MICRO_SERVICE_ALERT_RECORD_ATTRS = apis.ApiSpec{ Path: "/api/tmc/tenantGroup/<tenantGroup>/alert-record-attrs", BackendPath: "/api/tmc/tenantGroup/<tenantGroup>/alert-record-attrs", Host: "tmc.marathon.l4lb.thisdcos.directory:8050", Scheme: "http", Method: "GET", CheckLogin: true, CheckToken: true, Doc: "summary: 获取微服务告警记录属性", }
View Source
var TMC_MICRO_SERVICE_ALERT_RECORD_HISTORIES = apis.ApiSpec{ Path: "/api/tmc/tenantGroup/<tenantGroup>/alert-records/<groupId>/histories", BackendPath: "/api/tmc/tenantGroup/<tenantGroup>/alert-records/<groupId>/histories", Host: "tmc.marathon.l4lb.thisdcos.directory:8050", Scheme: "http", Method: "GET", CheckLogin: true, CheckToken: true, Doc: "summary: 获取微服务告警记录历史", }
View Source
var TMC_MICRO_SERVICE_ALERT_RECORD_ISSUE_CREATE = apis.ApiSpec{ Path: "/api/tmc/tenantGroup/<tenantGroup>/alert-records/<groupId>/issues", BackendPath: "/api/tmc/tenantGroup/<tenantGroup>/alert-records/<groupId>/issues", Host: "tmc.marathon.l4lb.thisdcos.directory:8050", Scheme: "http", Method: "POST", CheckLogin: true, CheckToken: true, Doc: "summary: 创建微服务告警记录工单", }
View Source
var TMC_MICRO_SERVICE_ALERT_RECORD_ISSUE_UPDATE = apis.ApiSpec{ Path: "/api/tmc/tenantGroup/<tenantGroup>/alert-records/<groupId>/issues/<issueId>", BackendPath: "/api/tmc/tenantGroup/<tenantGroup>/alert-records/<groupId>/issues", Host: "tmc.marathon.l4lb.thisdcos.directory:8050", Scheme: "http", Method: "PUT", CheckLogin: true, CheckToken: true, Doc: "summary: 修改微服务告警记录工单", }
View Source
var TMC_MICRO_SERVICE_ALERT_SWITCH = apis.ApiSpec{ Path: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/alerts/<id>/switch", BackendPath: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/alerts/<id>/switch", Host: "tmc.marathon.l4lb.thisdcos.directory:8050", Scheme: "http", Method: "PUT", CheckLogin: true, CheckToken: true, Doc: "summary: 切换微服务告警开关", Audit: auditOperateMicroserviceAlert(apistructs.SwitchMicroserviceAlert, ""), }
View Source
var TMC_MICRO_SERVICE_ALERT_UPDATE = apis.ApiSpec{ Path: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/alerts/<id>", BackendPath: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/alerts/<id>", Host: "tmc.marathon.l4lb.thisdcos.directory:8050", Scheme: "http", Method: "PUT", CheckLogin: true, CheckToken: true, Doc: "summary: 修改微服务告警", Audit: auditOperateMicroserviceAlert(apistructs.UpdateMicroserviceAlert, "update"), }
View Source
var TMC_MICRO_SERVICE_CREATE = apis.ApiSpec{ Path: "/api/micro-service/<*>", BackendPath: "/api/tmc/micro-service/<*>", Host: "tmc.marathon.l4lb.thisdcos.directory:8050", Scheme: "http", Method: "POST", CheckLogin: true, CheckToken: true, Doc: "summary: 管理微服务的创建", }
View Source
var TMC_MICRO_SERVICE_CUSTOMIZE_ALERT = apis.ApiSpec{ Path: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts/<id>", BackendPath: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts/<id>", Host: "tmc.marathon.l4lb.thisdcos.directory:8050", Scheme: "http", Method: "GET", CheckLogin: true, CheckToken: true, Doc: "summary: 获取微服务自定义告警详情", }
View Source
var TMC_MICRO_SERVICE_CUSTOMIZE_ALERTS = apis.ApiSpec{ Path: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts", BackendPath: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts", Host: "tmc.marathon.l4lb.thisdcos.directory:8050", Scheme: "http", Method: "GET", CheckLogin: true, CheckToken: true, Doc: "summary: 获取微服务自定义告警列表", }
View Source
var TMC_MICRO_SERVICE_CUSTOMIZE_ALERT_CREATE = apis.ApiSpec{ Path: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts", BackendPath: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts", Host: "tmc.marathon.l4lb.thisdcos.directory:8050", Scheme: "http", Method: "POST", CheckLogin: true, CheckToken: true, Doc: "summary: 创建微服务自定义告警", Audit: auditCreateMicroserviceAlert(apistructs.CreateMicroserviceCustomAlert), }
View Source
var TMC_MICRO_SERVICE_CUSTOMIZE_ALERT_DASH_PREVIEW = apis.ApiSpec{ Path: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts/dash-preview/query", BackendPath: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts/dash-preview/query", Host: "tmc.marathon.l4lb.thisdcos.directory:8050", Scheme: "http", Method: "POST", CheckLogin: true, CheckToken: true, Doc: "summary: 微服务自定义告警预览大盘生成", }
View Source
var TMC_MICRO_SERVICE_CUSTOMIZE_ALERT_DELETE = apis.ApiSpec{ Path: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts/<id>", BackendPath: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts/<id>", Host: "tmc.marathon.l4lb.thisdcos.directory:8050", Scheme: "http", Method: "DELETE", CheckLogin: true, CheckToken: true, Doc: "summary: 删除微服务自定义告警", Audit: auditOperateMicroserviceCustomAlert(apistructs.DeleteMicroserviceCustomAlert, "delete"), }
View Source
var TMC_MICRO_SERVICE_CUSTOMIZE_ALERT_METRICS = apis.ApiSpec{ Path: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts/metrics", BackendPath: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts/metrics", Host: "tmc.marathon.l4lb.thisdcos.directory:8050", Scheme: "http", Method: "GET", CheckLogin: true, CheckToken: true, Doc: "summary: 获取企业自定义告警指标", }
View Source
var TMC_MICRO_SERVICE_CUSTOMIZE_ALERT_NOTIFY_TARGET = apis.ApiSpec{ Path: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts/notifies/targets", BackendPath: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts/notifies/targets", Host: "tmc.marathon.l4lb.thisdcos.directory:8050", Scheme: "http", Method: "GET", CheckLogin: true, CheckToken: true, Doc: "summary: 获取企业自定义告警通知方式", }
View Source
var TMC_MICRO_SERVICE_CUSTOMIZE_ALERT_SWITCH = apis.ApiSpec{ Path: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts/<id>/switch", BackendPath: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts/<id>/switch", Host: "tmc.marathon.l4lb.thisdcos.directory:8050", Scheme: "http", Method: "PUT", CheckLogin: true, CheckToken: true, Doc: "summary: 切换微服务自定义告警开关", Audit: auditOperateMicroserviceCustomAlert(apistructs.SwitchMicroserviceCustomAlert, ""), }
View Source
var TMC_MICRO_SERVICE_CUSTOMIZE_ALERT_UPDATE = apis.ApiSpec{ Path: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts/<id>", BackendPath: "/api/tmc/micro-service/tenantGroup/<tenantGroup>/customize/alerts/<id>", Host: "tmc.marathon.l4lb.thisdcos.directory:8050", Scheme: "http", Method: "PUT", CheckLogin: true, CheckToken: true, Doc: "summary: 修改微服务自定义告警", Audit: auditOperateMicroserviceCustomAlert(apistructs.UpdateMicroserviceCustomAlert, "update"), }
View Source
var TMC_MICRO_SERVICE_DELETE = apis.ApiSpec{ Path: "/api/micro-service/<*>", BackendPath: "/api/tmc/micro-service/<*>", Host: "tmc.marathon.l4lb.thisdcos.directory:8050", Scheme: "http", Method: "DELETE", CheckLogin: true, CheckToken: true, Doc: "summary: 管理微服务的删除", }
View Source
var TMC_MONITOR_INSTAC = apis.ApiSpec{ Path: "/api/monitor/instances/<terminusKey>", BackendPath: "/api/msp/monitor/instances/<terminusKey>", Host: "msp.marathon.l4lb.thisdcos.directory:8080", Scheme: "http", Method: "GET", CheckLogin: true, CheckToken: true, Doc: "summary: 根据TerminusKey获取monitor实例", }
View Source
var TMC_MONITOR_RUNTIME = apis.ApiSpec{ Path: "/api/tmc/monitor/runtime/<runtimeId>", BackendPath: "/api/msp/monitor/runtime/<runtimeId>", Host: "msp.marathon.l4lb.thisdcos.directory:8080", Scheme: "http", Method: "GET", CheckLogin: true, CheckToken: true, Doc: "summary: 获取Runtime信息", }
View Source
var TMC_MONITOR_TK = apis.ApiSpec{ Path: "/api/monitor/tk/<runtimeId>", BackendPath: "/api/tmc/monitor/tk/<runtimeId>", Host: "tmc.marathon.l4lb.thisdcos.directory:8050", Scheme: "http", Method: "GET", CheckLogin: true, CheckToken: true, Doc: "summary: 根据runtimeId查询TK", }
View Source
var TMC_REPORT_DAILY_LIST = apis.ApiSpec{ Path: "/api/report/<projectId>/<workspace>/daily", BackendPath: "/api/tmc/report/<projectId>/<workspace>/daily", Host: "tmc.marathon.l4lb.thisdcos.directory:8050", Scheme: "http", Method: "GET", CheckLogin: true, CheckToken: true, Doc: "summary: 项目日报查询接口", }
View Source
var TMC_REPORT_DAILY_RENDER = apis.ApiSpec{ Path: "/api/report/<projectId>/<workspace>/daily/render", BackendPath: "/api/tmc/report/<projectId>/<workspace>/daily/render", Host: "tmc.marathon.l4lb.thisdcos.directory:8050", Scheme: "http", Method: "GET", CheckLogin: true, CheckToken: true, Doc: "summary: 项目周报渲染接口", }
View Source
var TMC_REPORT_DAILY_SEND = apis.ApiSpec{ Path: "/api/report/<projectId>/<workspace>/daily/send", BackendPath: "/api/tmc/report/<projectId>/<workspace>/daily/send", Host: "tmc.marathon.l4lb.thisdcos.directory:8050", Scheme: "http", Method: "GET", CheckLogin: true, CheckToken: true, Doc: "summary: 项目日报发送接口", }
View Source
var TMC_REPORT_DELETE = apis.ApiSpec{ Path: "/api/report/<projectId>/<workspace>/<key>", BackendPath: "/api/tmc/report/<projectId>/<workspace>/<key>", Host: "tmc.marathon.l4lb.thisdcos.directory:8050", Scheme: "http", Method: "DELETE", CheckLogin: true, CheckToken: true, Doc: "summary: 项目报表删除接口", }
View Source
var TMC_REPORT_SETTINGS_GET = apis.ApiSpec{ Path: "/api/report/<projectId>/<workspace>/settings", BackendPath: "/api/tmc/report/<projectId>/<workspace>/settings", Host: "tmc.marathon.l4lb.thisdcos.directory:8050", Scheme: "http", Method: "GET", CheckLogin: true, CheckToken: true, Doc: "summary: 获取项目报表设置接口", }
View Source
var TMC_REPORT_SETTINGS_SET = apis.ApiSpec{ Path: "/api/report/<projectId>/<workspace>/settings", BackendPath: "/api/tmc/report/<projectId>/<workspace>/settings", Host: "tmc.marathon.l4lb.thisdcos.directory:8050", Scheme: "http", Method: "POST", CheckLogin: true, CheckToken: true, Doc: "summary: 设置项目报表设置接口", }
View Source
var TMC_REPORT_WEEKLY_LIST = apis.ApiSpec{ Path: "/api/report/<projectId>/<workspace>/weekly", BackendPath: "/api/tmc/report/<projectId>/<workspace>/weekly", Host: "tmc.marathon.l4lb.thisdcos.directory:8050", Scheme: "http", Method: "GET", CheckLogin: true, CheckToken: true, Doc: "summary: 项目周报查询接口", }
View Source
var TMC_REPORT_WEEKLY_RENDER = apis.ApiSpec{ Path: "/api/report/<projectId>/<workspace>/weekly/render", BackendPath: "/api/tmc/report/<projectId>/<workspace>/weekly/render", Host: "tmc.marathon.l4lb.thisdcos.directory:8050", Scheme: "http", Method: "GET", CheckLogin: true, CheckToken: true, Doc: "summary: 项目周报渲染接口", }
View Source
var TMC_REPORT_WEEKLY_SEND = apis.ApiSpec{ Path: "/api/report/<projectId>/<workspace>/weekly/send", BackendPath: "/api/tmc/report/<projectId>/<workspace>/weekly/send", Host: "tmc.marathon.l4lb.thisdcos.directory:8050", Scheme: "http", Method: "GET", CheckLogin: true, CheckToken: true, Doc: "summary: 项目周报发送接口", }
View Source
var TMC_REQUEST_EVENT_IDS = apis.ApiSpec{ Path: "/api/trace/<requestId>/error-events", BackendPath: "/api/tmc/trace/<requestId>/error-events", Host: "tmc.marathon.l4lb.thisdcos.directory:8050", Scheme: "http", Method: "GET", CheckLogin: true, CheckToken: true, Doc: "summary: 查询requestid关联的event id列表", }
View Source
var TMC_TRACE_SPANS = apis.ApiSpec{ Path: "/api/trace/<requestId>", BackendPath: "/api/tmc/trace/<requestId>", Host: "tmc.marathon.l4lb.thisdcos.directory:8050", Scheme: "http", Method: "GET", CheckLogin: true, CheckToken: true, Doc: "summary: 查询调用链查询", }
View Source
var TMC_TRACE_SUMMARY = apis.ApiSpec{ Path: "/api/trace/summary", BackendPath: "/api/tmc/trace/summary", Host: "tmc.marathon.l4lb.thisdcos.directory:8050", Scheme: "http", Method: "GET", CheckLogin: true, CheckToken: true, Doc: "summary: trace 列表", }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Source Files
¶
- tmc_error_event_desc.go
- tmc_error_event_ids.go
- tmc_error_list.go
- tmc_micro_service_alert.go
- tmc_micro_service_alert_create.go
- tmc_micro_service_alert_delete.go
- tmc_micro_service_alert_record.go
- tmc_micro_service_alert_record_attrs.go
- tmc_micro_service_alert_record_histories.go
- tmc_micro_service_alert_record_issue_create.go
- tmc_micro_service_alert_record_issue_update.go
- tmc_micro_service_alert_records.go
- tmc_micro_service_alert_switch.go
- tmc_micro_service_alert_update.go
- tmc_micro_service_alerts.go
- tmc_micro_service_alerts_rules.go
- tmc_micro_service_create.go
- tmc_micro_service_customize_alert.go
- tmc_micro_service_customize_alert_create.go
- tmc_micro_service_customize_alert_dash_preview.go
- tmc_micro_service_customize_alert_delete.go
- tmc_micro_service_customize_alert_metrics.go
- tmc_micro_service_customize_alert_notify_target.go
- tmc_micro_service_customize_alert_switch.go
- tmc_micro_service_customize_alert_update.go
- tmc_micro_service_customize_alerts.go
- tmc_micro_service_delete.go
- tmc_monitor_instance.go
- tmc_monitor_runtime.go
- tmc_monitor_tk.go
- tmc_report_daily_list.go
- tmc_report_daily_render.go
- tmc_report_daily_send.go
- tmc_report_delete.go
- tmc_report_settings_get.go
- tmc_report_settings_set.go
- tmc_report_weekly_list.go
- tmc_report_weekly_render.go
- tmc_report_weekly_send.go
- tmc_trace_error_ids.go
- tmc_trace_spans.go
- tmc_trace_summary.go
Click to show internal directories.
Click to hide internal directories.