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

[ui]: initial proof of concept interface using butler #1052

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

TristanCacqueray
Copy link
Contributor

@TristanCacqueray TristanCacqueray commented Aug 19, 2023

This change implements the following integration between monocle and butler:

  • A sample app to perform query.
  • Butler's display websocket served along the monocle api.
  • Run butler context using monocle logging system (or the otherway around).
  • App storage using a custom elasticsearch index.

@TristanCacqueray TristanCacqueray force-pushed the butler-poc branch 2 times, most recently from 0902a72 to a2c54fc Compare August 19, 2023 16:41
@TristanCacqueray
Copy link
Contributor Author

@morucci here is a little poc to integrate butler. It's still missing proper logging and storage, but for now, if you go to "/view", then you'll get a butler app that makes a query :-)

@morucci
Copy link
Collaborator

morucci commented Aug 19, 2023

When I access /view route my browser keeps trying again and again 'ws/htmx' but server side I see "59786ms error <1>init Butler.Display.WebSocket:91 Unknown websocket session {"session": null}" at each connection attempt.

@TristanCacqueray
Copy link
Contributor Author

Do you have oidc auth enabled and you are not logged-in the regular ui?

@morucci
Copy link
Collaborator

morucci commented Aug 19, 2023

That was it (my OIDC config) now I see "Change count: 0" which is expected I guess as I don't have any data :)

@morucci
Copy link
Collaborator

morucci commented Aug 19, 2023

Then I'm wondering if, as a follow-up of this POC, that could be an opportunity to move the search author implementation (which is already via htmx) to the butler/ws ?

@TristanCacqueray
Copy link
Contributor Author

Well that's the reason I made this prototype, so that we can experiment with such UI implementation :) My goals here are two folds:

  • Implement a grafana-like interface, where user can create and share dashboards composed of individual panels.
  • Improve butler to smooth such integration, so that we could for example, use it for zuul-weeder as well.

@TristanCacqueray TristanCacqueray marked this pull request as draft August 29, 2023 15:07
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.

None yet

2 participants