Live: api to show available pipeline entities (#39469)

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
This commit is contained in:
Alexander Emelin
2021-09-21 11:57:58 -07:00
committed by GitHub
co-authored by Ryan McKinley
parent a680162792
commit 0bf70b14fd
27 changed files with 312 additions and 104 deletions
+1
View File
@@ -438,6 +438,7 @@ func (hs *HTTPServer) registerRoutes() {
// POST Live data to be processed according to channel rules.
liveRoute.Post("/push/:streamId/:path", hs.LivePushGateway.HandlePath)
liveRoute.Get("/channel-rules", routing.Wrap(hs.Live.HandleChannelRulesListHTTP), reqOrgAdmin)
liveRoute.Get("/pipeline-entities", routing.Wrap(hs.Live.HandlePipelineEntitiesListHTTP), reqOrgAdmin)
liveRoute.Get("/remote-write-backends", routing.Wrap(hs.Live.HandleRemoteWriteBackendsListHTTP), reqOrgAdmin)
}
})