catalogstatediscoveraboutstream-mapsschema-flatteningbatch
| Setting | Required | Default | Description |
|---|---|---|---|
| token | True | None | API Token for Better Stack |
| start_date | False | None | Earliest datetime to get data from |
| stream_maps | False | None | Config object for stream maps capability. For more information check out Stream Maps. |
| stream_map_config | False | None | User-defined config values to be used within map expressions. |
| flattening_enabled | False | None | 'True' to enable schema flattening and automatically expand nested properties. |
| flattening_max_depth | False | None | The max depth to flatten schemas. |
| batch_config | False | None |
A full list of supported settings and capabilities is available by running: tap-betterstack --about
monitorsmonitor_groupsheartbeatsheartbeat_groupson_callsescalation_policiesincidentsincident_eventsemail_integrationsincoming_webhooksstatus_pages
You can easily run tap-betterstack by itself or in a pipeline using Meltano.
tap-betterstack --version
tap-betterstack --help
tap-betterstack --config CONFIG --discover > ./catalog.json-
Developer TODO:As a first step, scan the entire project for the text "TODO:" and complete any recommended steps, deleting the "TODO" references once completed.
curl -LsSf https://astral.sh/uv/install.sh | sh # or see https://docs.astral.sh/uv/getting-started/installation/
uv syncCreate tests within the tests subfolder and then run:
uv run pytestYou can also test the tap-betterstack CLI interface directly using the virtual environment:
uv run tap-betterstack --helpTesting with Meltano
Note: This tap will work in any Singer environment and does not require Meltano. Examples here are for convenience and to streamline end-to-end orchestration scenarios.
Use Meltano to run an EL pipeline:
uvx meltano invoke tap-betterstack --version
uvx meltano run tap-betterstack target-jsonlSee the dev guide for more instructions on how to use the SDK to develop your own taps and targets.