Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correlation id #197

Closed
wants to merge 6 commits into from
Closed

Conversation

rosesyrett
Copy link
Contributor

Attempts to deal with correlation id via CLI and rest api.

The concept is, whatever is calling the rest API will already have some correlation id for the plan to be run.
This PR should allow the client to call the server via the CLI to:

  1. put a plan onto the queue (with some correlation id). This will return immediately.
  2. Check for the status of a plan with some correlation id.

I'm not yet sure the best way of restfully accomplishing these tasks. So far, I've just done everything through the CLI run_plan function, but this handles the active mq subscriptions directly which doesn't seem smart. It seems better to have some sort of 'cache' of bluesky events that can be accessed by the rest API to get the latest status.

@callumforrester
Copy link
Contributor

Worker transactions now in #202

@rosesyrett rosesyrett changed the title Correlation id WIP: Correlation id May 22, 2023
@rosesyrett rosesyrett marked this pull request as draft May 22, 2023 08:23
@rosesyrett rosesyrett changed the title WIP: Correlation id Correlation id May 22, 2023
@callumforrester
Copy link
Contributor

@keithralphs does this PR contain anything useful to you in your opentelemetery endeavours?

@callumforrester
Copy link
Contributor

This is now very out of date, we can decide on a new way forward based on #586

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants