opbeat is a command line client for Opbeat. It provides access to the Opbeat API through the command line.
opbeat allows you to run different commands. For most commands you need to be authenticated with Opbeat. The following arguments are valid for all commands:
-s SERVER, --server SERVER
Override server. Can be set with environment variable OPBEAT_SERVER
-o ORGANIZATION_ID, --org-id ORGANIZATION_ID
Set organization id. Can be set with environment variable OPBEAT_ORGANIZATION_ID.
-a APP_ID, --app-id APP_ID
Set app id. Can be set with environment variable OPBEAT_APP_ID.
-t ACCESS_TOKEN, --access-token ACCESS_TOKEN
Set access token. Can be set with environment variable OPBEAT_ACCESS_TOKEN.
--verbose
Increase output verbosity
opbeat [OPTIONS] deployment [-d DIRECTORY] [-m MODULE_NAME]
Notifies Opbeat about version of installed software. By default, it will collect all available python modules.
It will also check if the current working directory (override with -d
) is a
Subversion, Git or Mercurial repository. If this is the case, the most recent
revision/commit hash is sent, as module MODULE_NAME
. Default module name is
the last part of DIRECTORY
.