Skip to main content

opbeatcli is a command line client for `Opbeat <https://opbeat.com/>`_. It provides access to the Opbeat API through the command line. It is also useful for use in your own applications. "opbeat" is installed as a binary.

Project description

Command line client for Opbeat.

https://badge.fury.io/py/opbeatcli.png https://secure.travis-ci.org/opbeat/opbeatcli.png?branch=dev

Installation

Make sure you have Git and a supported version Python installed on your system. The supported Python versions are: 2.6.x, 2.7.x, 3.3+ and PyPy.

$ python --version

Opbeat CLI can then be installed using the standard Python package installation method:

$ pip install opbeatcli

If pip is not available, you can alternatively use easy_install:

$ easy_install opbeatcli

To verify successful installation of Opbeat CLI:

$ opbeat --version

Usage

$ opbeat [common options] sub-command [sub-command options]

Common Options

These options are shared by all sub-commands.

To obtain these, please go to your app settings on opbeat.com:

--org-id, -o

Organization ID

--app-id, -a

Application ID.

--secret-token, -t

Secret API authentication token.

For more information and a complete list of the available common options, please see the command help:

$ opbeat --help

Sub-Commands

deployment

This command registers a deployment of an application to a machine with the Opbeat API. Deployment tracking enables advanced features of the Opbeat platform, such as version history and the ability to relate errors with particular deployments, etc. It is meant to be run from the machine that is being deployed to:

# A basic deployment registration: Run this from your application
# repository directory on the machine which it's been deployed to:
$ opbeat -o ORGANISATION_ID -a APP_ID -t SECRET_TOKEN \
    deployment --component path:.

For more information and examples please see deployment tracking documentation and the command help:

$ opbeat deployment --help

Project details


Download files

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

Source Distribution

opbeatcli-2.0.2.tar.gz (21.7 kB view details)

Uploaded Source

File details

Details for the file opbeatcli-2.0.2.tar.gz.

File metadata

  • Download URL: opbeatcli-2.0.2.tar.gz
  • Upload date:
  • Size: 21.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for opbeatcli-2.0.2.tar.gz
Algorithm Hash digest
SHA256 5002e2da2a1ae10ef9249495c0c6bc0f0d823e85d022bc64bd48409c816cd0ef
MD5 e2b3ba1328381a892ab7cf0ca62ea68c
BLAKE2b-256 3e7a84abc164a73729692000b6c31b8902c6b66564d46cb839d7415039e3226f

See more details on using hashes here.

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