checker

package
v1.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2021 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CREATE_CHECKER_V1 = apis.ApiSpec{
	Path:        "/api/projects/<id>/metrics",
	BackendPath: "/api/v1/msp/checkers/projects/<id>/metrics",
	Host:        "msp.marathon.l4lb.thisdcos.directory:8080",
	Scheme:      "http",
	Method:      "POST",
	CheckLogin:  true,
	Doc:         "summary: 新建url监控指标",
	Audit:       auditCreateMicroserviceStatusPageMetric(apistructs.CreateInitiativeMonitor),
}
View Source
var DELETE_CHECKER_V1 = apis.ApiSpec{
	Path:        "/api/metrics/<id>",
	BackendPath: "/api/v1/msp/checkers/metrics/<id>",
	Host:        "msp.marathon.l4lb.thisdcos.directory:8080",
	Scheme:      "http",
	Method:      "DELETE",
	CheckLogin:  true,
	Doc:         "summary: 删除url监控指标",
	Audit:       auditOperateMicroserviceStatusPageMetric(apistructs.DeleteInitiativeMonitor),
}
View Source
var DESCRIBE_CHECKERS_V1 = apis.ApiSpec{
	Path:        "/api/projects/<id>/dashboard",
	BackendPath: "/api/v1/msp/checkers/projects/<id>/dashboard",
	Host:        "msp.marathon.l4lb.thisdcos.directory:8080",
	Scheme:      "http",
	Method:      "GET",
	CheckLogin:  true,
	Doc:         "summary: 项目指标监控总览",
}
View Source
var DESCRIBE_CHECKER_V1 = apis.ApiSpec{
	Path:        "/api/metrics/<id>/dashboard",
	BackendPath: "/api/v1/msp/checkers/metrics/<id>/dashboard",
	Host:        "msp.marathon.l4lb.thisdcos.directory:8080",
	Scheme:      "http",
	Method:      "GET",
	CheckLogin:  true,
	Doc:         "summary: url指标监控总览",
}
View Source
var GET_CHECKER_ISSUES_V1 = apis.ApiSpec{
	Path:        "/api/metrics/<id>/issues",
	BackendPath: "/api/v1/msp/checkers/metrics/<id>/issues",
	Host:        "msp.marathon.l4lb.thisdcos.directory:8080",
	Scheme:      "http",
	Method:      "GET",
	CheckLogin:  true,
	Doc:         "summary: url宕机事件列表",
}
View Source
var GET_CHECKER_STATUS_V1 = apis.ApiSpec{
	Path:        "/api/metrics/<id>/status",
	BackendPath: "/api/v1/msp/checkers/metrics/<id>/status",
	Host:        "msp.marathon.l4lb.thisdcos.directory:8080",
	Scheme:      "http",
	Method:      "GET",
	CheckLogin:  true,
	Doc:         "summary: url日状态总览",
}
View Source
var UPDATE_CHECKER_V1 = apis.ApiSpec{
	Path:        "/api/metrics/<id>",
	BackendPath: "/api/v1/msp/checkers/metrics/<id>",
	Host:        "msp.marathon.l4lb.thisdcos.directory:8080",
	Scheme:      "http",
	Method:      "POST",
	CheckLogin:  true,
	Doc:         "summary: 更新url监控指标",
	Audit:       auditOperateMicroserviceStatusPageMetric(apistructs.UpdateInitiativeMonitor),
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL