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

[META] Push command #494

Closed
10 of 11 tasks
lucasfcosta opened this issue Apr 25, 2022 · 3 comments
Closed
10 of 11 tasks

[META] Push command #494

lucasfcosta opened this issue Apr 25, 2022 · 3 comments
Labels
enhancement New feature or request Team:Uptime Label for the Uptime team

Comments

@lucasfcosta
Copy link
Contributor

lucasfcosta commented Apr 25, 2022

Summary

This META issue covers the push command: a CLI feature which will allow users to push their monitors directly from the CLI to the Elastic Stack.

High Level Overview

The command would be elastic-synthetics push. Invoking it would:

  1. Establish a connection to the specified stack's kibana instance
  2. Filter local journeys using existing flags to match only those specified
  3. Create individual JS bundles per journey using a dependency resolution library
  4. Use the monitor management APIs to create a monitor per journey using those zipped JS bundles

Once pushed to Kibana, Heartbeat would be able to download these journeys and execute them.

Issues

This issue has been broke down into three main parts:

The following changes are also necessary, but out of the main line of work:

Docs

Related

Pending Refinement

@lucasfcosta lucasfcosta added enhancement New feature or request Team:Uptime Label for the Uptime team labels Apr 25, 2022
@paulb-elastic
Copy link
Contributor

Added https://github.com/elastic/uptime-dev/issues/96 to the above list

@shahzad31
Copy link
Contributor

PR related to API key enhancements needed for push command elastic/kibana#130918

@paulb-elastic
Copy link
Contributor

https://github.com/elastic/infosec/issues/10478 has been pushed to 8.4, so closing this meta as all the other activities for getting project monitors (push) out for 8.3 in beta form, are done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Team:Uptime Label for the Uptime team
Projects
None yet
Development

No branches or pull requests

3 participants