LogoLogo
WebsiteGarden Core
Main
Main
  • Welcome!
  • 🌳Getting Started
    • Adding Your First Project
  • 🌺Features
    • Live Mode
    • Insights
    • Secrets
    • One-click Preview Environments
    • Automatic Environment Cleanup
    • User Groups, Roles and Permissions
    • Cloud Workflows
    • Service Accounts
    • Cloud Builder
  • 🌿Guides
    • Setting Up a GitHub App
    • Setting Up a GitLab App
    • Authenticating to Cloud Providers
    • Authentication via SAML
  • 💐Cloud
    • Requirements
  • 🌻Enterprise (Self-Hosted)
    • Requirements
    • Installation
    • Updating Garden Enterprise
    • Vault
    • PostgreSQL Configuration
    • Creating KMS Keys
    • Creating an AWS Load Balancer
    • Monitoring Services
    • Environment Configuration
    • Updating the Admin Console
  • 🌹Misc
    • Release Notes
    • FAQ
    • Troubleshooting
Powered by GitBook
On this page
  • Command Palette
  • Live Log Streaming (Stack Streams)

Was this helpful?

  1. Features

Live Mode

PreviousAdding Your First ProjectNextInsights

Last updated 2 years ago

Was this helpful?

When you run Garden Core in watch mode, e.g. by running garden dev or garden deploy --watch, it'll automatically connect to Garden Cloud and start "live mode".

In this mode, you can view events, results, and runtime logs from your stack in real time and interact with the CLI—all from your browser.

Starting live mode

Command Palette

With the command palette you can run any Garden command directly from the browser when the Garden CLI is running in watch mode.

You can open the command palette by pressing ⌘+p if you're on macOS or ctrl+p if you're on Windows from anywhere in the app.

You can also open it directly from the Commands page.

When using the command palette you don't need to memorize the name of all the tasks and tests or dig through your config. Simply open it up to get a list of all the actions available to you.

You can search both by the action kind, e.g. test, or by the name of the action e.g. db-.

Garden Core responds immediately to the request so there's no need to switch to your terminal and wait for a new Garden command to start up.

You can also type in options such as --force directly into the input or select them from the options dropdown.

Live Log Streaming (Stack Streams)

Stack Streams allows you to stream events, build and service logs, and test/task results in real time when the Garden CLI is running in watch mode.

You can open it by pressing ⌘+s if you're on macOS or ctrl+s if you're on Windows from anywhere in the app.

You can also open it directly from the Commands page.

In the gif above, we use the command palette to run an end-to-end test while Stack Streams is open and then can observe how the test triggers events across this distributed system.

With Stack Streams you can stream:

  • Garden events,

  • build logs,

  • service logs,

  • task results,

  • and test results...

...for all your actions.

You can stream all your logs in a single pane like in the screenshot above or open multiple log panes side-by-side. In a given pane you can stream logs from any number of sources.

Aligning log panes side-by-side can be useful to observe how information flows through your system.

In the screenshot below you can e.g. see the output from an end-to-end test in the left most pane and the services affected next to it.

Opening the command palette
Using Stack Streams
🌺
Command palette options
Select Sources
Stack Streams modal