Documentation ¶
Index ¶
- func DeleteCustomDashboard(c *gin.Context)
- func DisplayWatermark(c *gin.Context)
- func GetChart(c *gin.Context)
- func GetChartOld(c *gin.Context)
- func GetChartsByEndpoint(c *gin.Context)
- func GetCustomDashboard(c *gin.Context)
- func GetCustomDashboardRole(c *gin.Context)
- func GetEndpointMetric(c *gin.Context)
- func GetEndpointsByIp(c *gin.Context)
- func GetMainPage(c *gin.Context)
- func GetPanels(c *gin.Context)
- func GetPieChart(c *gin.Context)
- func GetPromMetric(c *gin.Context)
- func GetTags(c *gin.Context)
- func ListCustomDashboard(c *gin.Context)
- func ListMainPageRole(c *gin.Context)
- func MainDashboard(c *gin.Context)
- func MainSearch(c *gin.Context)
- func SaveCustomDashboard(c *gin.Context)
- func SaveCustomDashboardRole(c *gin.Context)
- func UpdateChartsTitle(c *gin.Context)
- func UpdateMainPage(c *gin.Context)
- func UpdatePromMetric(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteCustomDashboard ¶
func DisplayWatermark ¶ added in v1.5.1
func GetChartOld ¶ added in v1.0.1
@Summary 页面通用接口 : 获取chart数据 @Description 获取chart数据 @Produce json @Param id query int true "panel里的chart id" @Param endpoint query []string true "endpoint数组, ['88B525B4-43E8-4A7A-8E11-0E664B5CB8D0']" @Param metric query []string true "metric数组, ['cpmid.busy']" @Param start query string true "开始时间" @Param end query string false "结束时间" @Param aggregate query string false "聚合类型 枚举 min max avg p95 none" @Success 200 @Router /api/v1/dashboard/chart [get]
func GetChartsByEndpoint ¶
func GetCustomDashboard ¶
func GetCustomDashboardRole ¶ added in v1.6.0
func GetEndpointMetric ¶
func GetEndpointsByIp ¶
func GetMainPage ¶
func GetPanels ¶
@Summary 页面通用接口 : 获取panels @Description 获取panels @Produce json @Param group query int true "panels url 上自带该id" @Param endpoint query string true "需要在panels url上把{endpoint}替换" @Success 200 @Router /api/v1/dashboard/panels [get]
func GetPieChart ¶ added in v1.5.0
func GetPromMetric ¶
func GetTags ¶
@Summary 页面通用接口 : 根据tag获取charts组 @Description 根据tag获取charts组 @Produce json @Param panel_id query int true "url上自带该id" @Param endpoint query string true "url上自带该endpoint" @Param tag query string true "tag button里面的option_value" @Success 200 @Router /api/v1/dashboard/tags [get]
func ListCustomDashboard ¶
func ListMainPageRole ¶ added in v1.6.0
func MainDashboard ¶
@Summary 页面通用接口 : 视图 @Description 获取主视图,有主机、网络等 @Produce json @Param type query string true "页面类型,主机页面type=host" @Success 200 @Router /api/v1/dashboard/main [get]
func MainSearch ¶
@Summary 主页面接口 : 模糊搜索 @Description 模糊搜索 @Produce json @Param search query string true "放弃search_col,直接把用户输入拼到url后面请求" @Param limit query string false "数量限制" @Success 200 @Router /api/v1/dashboard/search [get]
func SaveCustomDashboard ¶
func SaveCustomDashboardRole ¶ added in v1.6.0
func UpdateChartsTitle ¶ added in v1.4.0
func UpdateMainPage ¶ added in v1.6.0
func UpdatePromMetric ¶
Types ¶
This section is empty.