Skip to main content

CLI for Bigeye

Project description

Bigeye CLI

Version: 0.3.15

Install

Bigeye CLI is a pip installable package. Run the following:

pip3 install bigeye-cli

Credential

Run the following command to get logged into your Bigeye workspace from the CLI:

bigeye credential

There are two ways to authenticate: basic authentication and browser authentication.

Basic Authentication

If you select basic authentication, the CLI will prompt you to enter your Bigeye username and password. This will create a default credential file at ~/.bigeye/default_cred.json. This credential will be used for all CLI commands calls unless an environment variable is explicitly provided.

base_url: "https://app.bigeye.com",
user: "some_user+some_company@bigeye.com",
password: "fakepassword1234"

You can create an environment variable for your workspace credential file, this is helpful if you are managing multiple workspaces and need to flip between them. Add the following to your ~/.bashrc or ~/.zshrc file:

export BIGEYE_API_CRED_FILE=/some/path/to/bigeye_cred_file.json

Lastly, if you want to specify the credential per command, you can always pass a -b parameter with the file path for the desired credential.

Browser Authentication

Alternatively, you can use browser authentication. Login to your bigeye workspace on a Chrome, Chromium or Firefox browser. Run bigeye credential and select browser_auth when prompted in the CLI and follow the instructions. If you use Chrome profiles, make sure to specify the profile email address you are logged into.

Note: your authentication will only be valid so long as your browser session is active.

Basic Usage

$ bigeye --help

Tab/Auto Completion

Bigeye supports tab/auto completion for many different shells. For example, run:

$ bigeye --install-completion zsh

ZSH Completion

Verify that the following has been added to your shell rc file:

autoload -Uz compinit
zstyle :completion:* menu select
fpath+=~/.zfunc

If you are having trouble with auto complete then add the following below the 3 lines above.

compinit

CLI Documentation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

bigeye_cli-0.3.15-py3-none-any.whl (32.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page