Comparison between CLIs
StackState Self-hosted v5.0.x
This page describes StackState version 5.0.
Overview
StackState has a new CLI! The new CLI has many advantages and a few notable differences.
The old sts
CLI has been renamed to stac
.
In a future release of StackState, the new sts
CLI will fully replace the stac
CLI. Most commands will be ported to the new sts
CLI, but some will be deprecated. See the CLI command overview for up-to-date information on the port process.
Why a new CLI?
The new sts
CLI has been built for a reason. Here are the major advantages of switching:
Easy installation and configuration for all Operating Systems
Native macOS support
Faster releases - the CLI is versioned independently of the StackState product
Backwards as well as forwards compatible with StackState versions
Machine readable output for every command
Many UX improvements, including syntax highlighting, auto-completion and progress bars.
SaaS support
Notable Differences between the CLIs
Unlike
stac
, the newsts
CLI will not have commands for sending data to StackState. For these purposes, you can use either the StackState Agent or the StackState Receiver API.Some commands have been renamed to fall more in line with how we think of StackState today. For example, the old command
stac graph
is now calledsts settings
.The new
sts
CLI only works with StackState v5.0 or later.
The sts
CLI is:
🎉 The new CLI!
Works with StackState v5.0 or later.
Contains all of the latest commands - see the CLI command overview.
Which version of the CLI am I running?
There are now two versions of the StackState CLI and the old version of the CLI has been renamed:
The new CLI is called
sts
- note that this name was used by the old CLI in previous releases of StackState.The old CLI has been renamed to
stac
, this allows you to have the old CLI and new CLI installed on the same machine.
You can check which version of the sts
CLI you are running with the following command:
If you are not running the new sts
CLI yet, we recommend that you:
CLI command overview
The new sts
CLI will completely replace the old stac
CLI. Not all commands have been moved to the new CLI yet and some commands are not available in the old CLI. The following table gives an overview of the commands available in each CLI and the current port
status.
🚧 - Work in progress.
❌ - Command will not be available in this CLI.
|
| Description |
|
| Export anomalies to disk. |
| ❌ | Send anomalies. Will not be ported to the new |
❌ |
| Generate the CLI autocompletion script for the specified shell. |
❌ |
| Manage CLI authentication contexts. |
|
| List all telemetry data sources. |
| ❌ | Send events. Will not be ported to the new |
|
| Configure StackState settings. |
| 🚧 | Configure StackState graph database retention. |
| 🚧 | Configure health synchronization. |
| ❌ | Send and retrieve metrics. Will not be ported to the new |
|
| |
| 🚧 | Configure user/group permissions. |
| ❌ | Read StackState log files. Will not be ported to the new |
|
| Execute StackState scripts. |
|
| Install, configure and uninstall StackPacks. |
| 🚧 | Configure the StackState license. |
| 🚧 | Configure users/groups. |
| ❌ | Send topology. Will not be ported to the new |
| 🚧 | Inspect StackState messaging topics. |
| ❌ | Send traces. Will not be ported to the new |
Last updated