Skip to content
Discussion options

You must be logged in to vote

Ah, got it. Thank you for the grafana example. I understand the distinction now.

Yeah, so the current xyOps flow requires two requests:

  1. Call the Magic Link API, which launches the job and immediately returns its ID and stream token.
  2. Connect to stream_job and consume the SSE stream until the final job output arrives.

While stream_job does contain the final output data, it still requires the caller to understand SSE and manage that second, long-lived request. That does not help clients such as the Grafana Infinity data source, which expect a single conventional HTTP request followed by a regular response.

What you are describing is effectively a synchronous job HTTP API endpoint: launch a…

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jhuckaby
Comment options

Answer selected by arminus
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants