fsoc

command module
v0.24.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

README

fsoc - Cisco FSO Platform Developer's Control Tool

Release Go Report Card License stability-alpha Github All Releases

The Cisco Full Stack Observability (FSO) Platform provides a set of core capabilities for developers to build full-stack observability solutions that deliver visibility, insight and actions on top of MELT* telemetry to support their observability goals across the domains representing their technology and business stack.

The FSO control (fsoc) tool provides a command line interface to help developers manage their solutions lifecycle and interact with the core services and solutions currently available in the platform.

*MELT: Metrics, Events, Logs and Traces

Documentation

The fsoc documentation is going to be published in Cisco's DevNet. This link may not work until the first document publication is available. Until then, the fsoc help command is a good starting point. Most commands provide sample command lines you can try.

You can also run fsoc gendocs to generate a command reference. It provides the same information as fsoc help but in static Markdown pages.

TL;DR Build

To build fsoc locally, after cloning this repository:

  • Run go build
  • Use the binary saved in the same directory, e.g., ./fsoc help

For more information on setting up the development environment and building fsoc, please see CONTRIBUTING.

TL;DR Install Prebuilt Binaries

To download the prebuilt binaries for any of the supported environments, go to the releases.

Set Shell Autocompletion

This is an optional step. To add autocompletion in bash, run:

. <(./fsoc completion bash)

For other shells, check out the completion help with fsoc help completion.

Configure

Configure the default profile to your tenant of choice (replace MYTENANT with your tenant's name):

fsoc config set --auth=oauth --server=MYTENANT.observe.appdynamics.com
fsoc login  # test access

NOTE: The login command will pop up a browser to perform the log in and then continue executing the command. Subsequent invocations of fsoc will use cached credentials.

Assistance and Suggestions

We are working to provide channels for help, suggestions, etc., for this project. In the meantime, if you have suggestions or want to report a problem, please use Github issues.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
Package cmd defines all CLI commands and their flags
Package cmd defines all CLI commands and their flags
config
Package config provides access to fsoc configuration, both to obtain the current configuration and to incrementally or fully modify the configuration.
Package config provides access to fsoc configuration, both to obtain the current configuration and to incrementally or fully modify the configuration.
gendocs
Package gendocs generates a command line reference for the fsoc utility using markdown.
Package gendocs generates a command line reference for the fsoc utility using markdown.
uql
Package cmdkit provides tools for implementing standard command patterns, such as fetch+print.
Package cmdkit provides tools for implementing standard command patterns, such as fetch+print.
Package output provides display and formatting capabilities to show the result of command's execution (command output)
Package output provides display and formatting capabilities to show the result of command's execution (command output)
platform
api
Package api provides access to the platform API, in all forms supported by the config context (aka access profile)
Package api provides access to the platform API, in all forms supported by the config context (aka access profile)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL