A connector integration for Code Climate Velocity to collect data from PagerDuty.
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.
Clone this repo, run yarn install
to install dependencies. yarn test
will
run unit tests.
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
See DEVELOPERS.md