{"id":23114449,"url":"https://github.com/mrmcc3/aws-metrics-collector","last_synced_at":"2025-08-16T21:31:29.464Z","repository":{"id":57716763,"uuid":"121831295","full_name":"mrmcc3/aws-metrics-collector","owner":"mrmcc3","description":"Clojure AWS Cloudwatch metric collector","archived":false,"fork":false,"pushed_at":"2018-02-21T06:31:46.000Z","size":16,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-16T04:03:57.956Z","etag":null,"topics":["aws","clojure","cloudwatch","metrics"],"latest_commit_sha":null,"homepage":"","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrmcc3.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"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":"2018-02-17T05:53:25.000Z","updated_at":"2019-05-28T09:45:42.000Z","dependencies_parsed_at":"2022-08-24T01:41:23.569Z","dependency_job_id":null,"html_url":"https://github.com/mrmcc3/aws-metrics-collector","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/mrmcc3/aws-metrics-collector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmcc3%2Faws-metrics-collector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmcc3%2Faws-metrics-collector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmcc3%2Faws-metrics-collector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmcc3%2Faws-metrics-collector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrmcc3","download_url":"https://codeload.github.com/mrmcc3/aws-metrics-collector/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmcc3%2Faws-metrics-collector/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270775799,"owners_count":24642961,"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","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["aws","clojure","cloudwatch","metrics"],"created_at":"2024-12-17T03:31:26.311Z","updated_at":"2025-08-16T21:31:29.201Z","avatar_url":"https://github.com/mrmcc3.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aws-metrics-collector (alpha)\n\nClojure AWS Cloudwatch metric collector.\n\nA collector is a core.async channel that:\n\n* accepts metrics as vanilla clojure data\n* drops non-conforming metrics\n* batches metrics according to AWS limits\n* sends the batches periodically to Cloudwatch using the AWS Java SDK\n\n## Usage\n\nimage:https://img.shields.io/clojars/v/mrmcc3/aws-metrics-collector.svg[Clojars]\n\n[source, clojure]\n----\n{:deps {mrmcc3/aws-metrics-collector\n        {:git/url \"https://github.com/mrmcc3/aws-metrics-collector\"\n         :sha     \"a16baa17c7b71a684b2085c0e40913315fb85c6b\"}}}\n----\n\n[source, clojure]\n----\n(require\n  '[mrmcc3.aws.metrics.collector :as c]\n  '[clojure.core.async :as a])\n\n;; define a collector channel with a Cloudwatch metrics namespace\n(def collector (c/collector {:namespace \"Test\"}))\n\n;; put a single metric\n(a/put! collector {:name \"im-a-metric\" :value 3.14})\n\n;; for multiple metrics use a/onto-chan\n(a/onto-chan\n    collector\n    {:ResponseTime 125\n     :RenderTime   55.2}\n    false)\n\n;; close the collector when finished\n(a/close! collector)\n----\n\nNote by default `collector` will use a default AWS Cloudwatch client\nso make sure the you have AWS credentials setup somewhere in the\ndefault chain with the permission to PutMetricData.\n\nSee the specs in the code for more info about the collector options\nand valid metric data. Dimensions, aggregated statistics,\nstorage resolution, timestamps and units are all supported!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrmcc3%2Faws-metrics-collector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrmcc3%2Faws-metrics-collector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrmcc3%2Faws-metrics-collector/lists"}