codeclimate-connector-pagerduty
v0.0.2
Published
The Code Climate Connector for PagerDuty
Downloads
1
Readme
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