{"id":17306922,"url":"https://github.com/reservoir-data/tap-betterstack","last_synced_at":"2025-03-03T13:29:11.969Z","repository":{"id":176385021,"uuid":"657370379","full_name":"reservoir-data/tap-betterstack","owner":"reservoir-data","description":"Singer tap for Better Stack. Built with the Meltano Singer SDK.","archived":false,"fork":false,"pushed_at":"2025-02-24T03:16:47.000Z","size":527,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-24T03:26:08.481Z","etag":null,"topics":["betterstack","betteruptime","elt","meltano","singer-sdk","uptime"],"latest_commit_sha":null,"homepage":"https://pypi.org/p/tap-betterstack","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/reservoir-data.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["edgarrmondragon"],"polar":"reservoir-data","thanks_dev":"u/gh/edgarrmondragon"}},"created_at":"2023-06-22T23:16:58.000Z","updated_at":"2025-02-24T03:16:09.000Z","dependencies_parsed_at":"2023-12-11T23:16:41.342Z","dependency_job_id":"a048c793-966b-40b0-ab5e-05144f24fb93","html_url":"https://github.com/reservoir-data/tap-betterstack","commit_stats":null,"previous_names":["edgarrmondragon/tap-betterstack","reservoir-data/tap-betterstack"],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reservoir-data%2Ftap-betterstack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reservoir-data%2Ftap-betterstack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reservoir-data%2Ftap-betterstack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reservoir-data%2Ftap-betterstack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reservoir-data","download_url":"https://codeload.github.com/reservoir-data/tap-betterstack/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241672829,"owners_count":20000854,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["betterstack","betteruptime","elt","meltano","singer-sdk","uptime"],"created_at":"2024-10-15T11:59:58.132Z","updated_at":"2025-03-03T13:29:11.951Z","avatar_url":"https://github.com/reservoir-data.png","language":"Python","funding_links":["https://github.com/sponsors/edgarrmondragon","https://polar.sh/reservoir-data","https://thanks.dev/u/gh/edgarrmondragon"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# tap-betterstack\n\n\u003cdiv\u003e\n  \u003ca href=\"https://results.pre-commit.ci/latest/github/edgarrmondragon/tap-betterstack/main\"\u003e\n    \u003cimg alt=\"pre-commit.ci status\" src=\"https://results.pre-commit.ci/badge/github/edgarrmondragon/tap-betterstack/main.svg\"/\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/edgarrmondragon/tap-betterstack/blob/main/LICENSE\"\u003e\n    \u003cimg alt=\"License\" src=\"https://img.shields.io/github/license/edgarrmondragon/tap-betterstack\"/\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/astral-sh/ruff\"\u003e\n    \u003cimg src=\"https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json\" alt=\"Ruff\" style=\"max-width:100%;\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://pypi.org/p/tap-betterstack/\"\u003e\n    \u003cimg alt=\"Python versions\" src=\"https://img.shields.io/pypi/pyversions/tap-betterstack\"/\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\nSinger tap for [Better Stack](https://betterstack.com). Built with the [Meltano Singer SDK](https://sdk.meltano.com).\n\n\u003c/div\n\n## Capabilities\n\n* `catalog`\n* `state`\n* `discover`\n* `about`\n* `stream-maps`\n* `schema-flattening`\n* `batch`\n\n## Settings\n\n| Setting             | Required | Default | Description |\n|:--------------------|:--------:|:-------:|:------------|\n| token               | True     | None    | API Token for Better Stack |\n| start_date          | False    | None    | Earliest datetime to get data from |\n| stream_maps         | False    | None    | Config object for stream maps capability. For more information check out [Stream Maps](https://sdk.meltano.com/en/latest/stream_maps.html). |\n| stream_map_config   | False    | None    | User-defined config values to be used within map expressions. |\n| flattening_enabled  | False    | None    | 'True' to enable schema flattening and automatically expand nested properties. |\n| flattening_max_depth| False    | None    | The max depth to flatten schemas. |\n| batch_config        | False    | None    |             |\n\nA full list of supported settings and capabilities is available by running: `tap-betterstack --about`\n\n## Streams\n\n### Supported\n\n* [`monitors`](https://betterstack.com/docs/uptime/api/list-all-existing-monitors/)\n* [`monitor_groups`](https://betterstack.com/docs/uptime/api/list-all-existing-monitor-groups/)\n* [`heartbeats`](https://betterstack.com/docs/uptime/api/list-all-existing-hearbeats/)\n* [`heartbeat_groups`](https://betterstack.com/docs/uptime/api/list-all-existing-heartbeat-groups/)\n* [`on_calls`](https://betterstack.com/docs/uptime/api/list-all-existing-on-call-calendars/)\n* [`escalation_policies`](https://betterstack.com/docs/uptime/api/list-all-escalation-policies/)\n* [`incidents`](https://betterstack.com/docs/uptime/api/list-all-incidents/)\n* [`incident_events`](https://betterstack.com/docs/uptime/api/list-of-incident-timeline-events/)\n* [`email_integrations`](https://betterstack.com/docs/uptime/api/list-all-email-integrations/)\n* [`incoming_webhooks`](https://betterstack.com/docs/uptime/api/list-all-incoming-webhooks/)\n* [`status_pages`](https://betterstack.com/docs/uptime/api/list-all-existing-status-pages/)\n\n### Planned (PRs welcome!)\n\n* [`status_page_sections`](https://betterstack.com/docs/uptime/api/list-existing-sections-of-a-status-page/)\n* [`status_page_resources`](https://betterstack.com/docs/uptime/api/list-existing-resources-of-a-status-page/)\n* [`status_page_reports`](https://betterstack.com/docs/uptime/api/list-existing-reports-on-a-status-page/)\n* [`status_page_report_updates`](https://betterstack.com/docs/uptime/api/list-all-existing-status-updates-for-a-status-page-report/)\n\n## Usage\n\nYou can easily run `tap-betterstack` by itself or in a pipeline using [Meltano](https://meltano.com/).\n\n### Executing the Tap Directly\n\n```bash\ntap-betterstack --version\ntap-betterstack --help\ntap-betterstack --config CONFIG --discover \u003e ./catalog.json\n```\n\n## Developer Resources\n\n- [ ] `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.\n\n### Initialize your Development Environment\n\n```bash\npipx install poetry\npoetry install\n```\n\n### Create and Run Tests\n\nCreate tests within the `tests` subfolder and then run:\n\n```bash\npoetry run pytest\n```\n\nYou can also test the `tap-betterstack` CLI interface directly using `poetry run`:\n\n```bash\npoetry run tap-betterstack --help\n```\n\n### Testing with [Meltano](https://www.meltano.com)\n\n_**Note:** This tap will work in any Singer environment and does not require Meltano.\nExamples here are for convenience and to streamline end-to-end orchestration scenarios._\n\nYour project comes with a custom `meltano.yml` project file already created. Open the `meltano.yml` and follow any _\"TODO\"_ items listed in\nthe file.\n\nNext, install Meltano (if you haven't already) and any needed plugins:\n\n```bash\n# Install meltano\npipx install meltano\n# Initialize meltano within this directory\ncd tap-betterstack\nmeltano install\n```\n\nNow you can test and orchestrate using Meltano:\n\n```bash\n# Test invocation:\nmeltano invoke tap-betterstack --version\n# OR run a test `elt` pipeline:\nmeltano elt tap-betterstack target-jsonl\n```\n\n### SDK Dev Guide\n\nSee the [dev guide](https://sdk.meltano.com/en/latest/dev_guide.html) for more instructions on how to use the SDK to\ndevelop your own taps and targets.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freservoir-data%2Ftap-betterstack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freservoir-data%2Ftap-betterstack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freservoir-data%2Ftap-betterstack/lists"}