0.0.2 • Published 4 years ago

codeclimate-connector-pagerduty v0.0.2

Weekly downloads
-
License
AGPL-3.0-only
Repository
-
Last release
4 years ago

Code Climate Connector: PagerDuty

A connector integration for Code Climate Velocity to collect data from PagerDuty.

Configuration

Expects configuration of the following schema:

{
  "apiToken": "your_v2_api_token" # only needs read-only access
}

See PagerDuty's docs for guidance on creating API keys.

Development

Clone this repo, run yarn install to install dependencies. yarn test will run unit tests.

Running the connector locally

To run the connector in an integration environment, the codeclimate-connector-sdk provides a CLI you can use.

First, generate a PagerDuty token, and write a file in this project's directory called connector-config.json with the token:

{
  "apiToken": "YOUR_TOKEN"
}

There are several make rules to run different commands easily:

make verify-configuration
make discover-streams
make sync-stream

Development

See DEVELOPERS.md

0.0.2

4 years ago

0.0.1

4 years ago