mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 23:23:10 +08:00
live: add ws endpoint to push into pipeline (#41534)
This commit is contained in:
@ -435,7 +435,7 @@ func (hs *HTTPServer) registerRoutes() {
|
||||
|
||||
if hs.Cfg.FeatureToggles["live-pipeline"] {
|
||||
// POST Live data to be processed according to channel rules.
|
||||
liveRoute.Post("/push/:streamId/:path", hs.LivePushGateway.HandlePath)
|
||||
liveRoute.Post("/pipeline/push/*", hs.LivePushGateway.HandlePipelinePush)
|
||||
liveRoute.Post("/pipeline-convert-test", routing.Wrap(hs.Live.HandlePipelineConvertTestHTTP), reqOrgAdmin)
|
||||
liveRoute.Get("/pipeline-entities", routing.Wrap(hs.Live.HandlePipelineEntitiesListHTTP), reqOrgAdmin)
|
||||
liveRoute.Get("/channel-rules", routing.Wrap(hs.Live.HandleChannelRulesListHTTP), reqOrgAdmin)
|
||||
|
Reference in New Issue
Block a user