提交 aff53e8b 编写于 作者: U Ulric Qin

Merge branch 'main' of github.com:ccfos/nightingale

......@@ -60,13 +60,13 @@ func (rt *Router) Config(r *gin.Engine) {
r.POST("/openfalcon/push", auth, rt.falconPush)
r.POST("/prometheus/v1/write", auth, rt.remoteWrite)
r.POST("/v1/n9e/target-update", auth, rt.targetUpdate)
r.POST("/v1/n9e/heartbeat/pushgw", auth, rt.heartbeat)
r.POST("/v1/n9e/edge/heartbeat", auth, rt.heartbeat)
} else {
// no need basic auth
r.POST("/opentsdb/put", rt.openTSDBPut)
r.POST("/openfalcon/push", rt.falconPush)
r.POST("/prometheus/v1/write", rt.remoteWrite)
r.POST("/v1/n9e/target-update", rt.targetUpdate)
r.POST("/v1/n9e/heartbeat/pushgw", rt.heartbeat)
r.POST("/v1/n9e/edge/heartbeat", rt.heartbeat)
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册