Skip to content

Official Singer tap for extracting data from incident.io and into Singer targets.

License

Notifications You must be signed in to change notification settings

incident-io/singer-tap

Repository files navigation

incident.io Singer tap

This is the official Singer tap for incident.io, used to extract incident.io data that can be used alongside Singer targets to load into a data warehouse.

Getting started

macOS users can install the catalog using brew:

brew tap incident-io/homebrew-taps
brew install tap-incident

Otherwise, ensure that the go runtime is installed and then:

go install github.com/incident-io/singer-tap/cmd/tap-incident@latest

Once installed, see documentation for example configurations.

Using Docker

A Docker image is available for containerised environments; see Docker Hub for more details of the image and available tags.

Integration snapshots

The integration package contains snapshots of data from the integration test incident.io account. These snapshots are not intended to be managed by hand, and should be updated automatically instead.

Whenever you need to update the snapshots, run:

$ export TEST_INCIDENT_API_KEY="<test-key>"
$ export TAP_SNAPSHOT_UPDATE='true' ginkgo -tags=integration -r ./integration
Writing snapshot file testdata/sync/follow_ups.json
...

For incident.io employees, you can find the test key in 1Password here.

Contributing

We're happy to accept open-source contributions or feedback. Just open a PR/issue and we'll get back to you. This repo contains details on how to get started with local development.