{"id":26651713,"url":"https://github.com/dialectlabs/monitoring-service","last_synced_at":"2026-01-23T19:31:36.275Z","repository":{"id":41982499,"uuid":"454909411","full_name":"dialectlabs/monitoring-service","owner":"dialectlabs","description":null,"archived":false,"fork":false,"pushed_at":"2022-05-28T01:29:08.000Z","size":188,"stargazers_count":6,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-11T05:08:47.307Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/dialectlabs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-02-02T19:35:43.000Z","updated_at":"2022-08-15T14:23:11.000Z","dependencies_parsed_at":"2022-08-12T01:20:36.856Z","dependency_job_id":null,"html_url":"https://github.com/dialectlabs/monitoring-service","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/dialectlabs/monitoring-service","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dialectlabs%2Fmonitoring-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dialectlabs%2Fmonitoring-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dialectlabs%2Fmonitoring-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dialectlabs%2Fmonitoring-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dialectlabs","download_url":"https://codeload.github.com/dialectlabs/monitoring-service/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dialectlabs%2Fmonitoring-service/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28698842,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T17:25:48.045Z","status":"ssl_error","status_checked_at":"2026-01-23T17:25:47.153Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2025-03-25T03:05:13.475Z","updated_at":"2026-01-23T19:31:36.257Z","avatar_url":"https://github.com/dialectlabs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Monitoring service\n\nA reference implementation of a service running `@dialectlabs/monitor`.\nSee https://github.com/dialectlabs/monitor for details on the notifications module.\n\n## Development\n\n### Prerequisites\n\n- Git\n- Yarn (\u003c2)\n- Nodejs (\u003e=16.10.0 \u003c17)\n\n### Getting started with monitor development in this repo\n\n#### Install dependencies\n\n**npm:**\n\n```shell\nnpm install\n```\n\n**yarn:**\n\n```shell\nyarn\n```\n\n#### Run a solana validator node with dialect program\n\nPlease follow the instructions in https://github.com/dialectlabs/protocol#local-development\n\n### Running locally\n\n#### Step 1. Generate a new keypair for monitoring monitoring service and fund it\n\n```bash\nexport your_path=~/projects/dialect\nsolana-keygen new --outfile ${your_path}/monitoring-service-dev-local-key.json\nsolana-keygen pubkey ${your_path}/monitoring-service-dev-local-key.json \u003e ${your_path}/monitoring-service-dev-local-key.pub\nsolana -k ${your_path}/monitoring-service-dev-local-key.json airdrop 5\n```\n\n#### Step 2. Start server\n\n```shell\nexport your_path=~/projects/dialect\nPRIVATE_KEY=$(cat ${your_path}/monitoring-service-dev-local-key.json) yarn start:dev\n```\n\n#### Step 3. Start client\n\n```shell\nexport your_path=~/projects/dialect\nMONITORING_SERVICE_PUBLIC_KEY=$(cat ${your_path}/monitoring-service-dev-local-key.pub) ts-node test/dialect-clients.ts\n```\n\n#### Step 4. Look at client logs for notifications\n\nWhen both client and server are started, server will send notifications to clients\n\n### Containerization\n\n#### Build image (macOS)\n\n```shell\nbrew install jq\n./docker-build.sh\n```\n\n#### Run container locally\n\n```shell\nexport your_path=~/projects/dialect\ndocker run --name dialectlabs_monitoring-service -e PRIVATE_KEY=$(cat ${your_path}/monitoring-service-dev-local-key.json) dialectlab/monitoring-service:latest \n```\n\n#### Publish image\n\n```shell\nbrew install jq\ndocker login\n./docker-publish.sh\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdialectlabs%2Fmonitoring-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdialectlabs%2Fmonitoring-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdialectlabs%2Fmonitoring-service/lists"}