{"id":18119713,"url":"https://github.com/mostlygeek/statsd-backend-cloudwatch","last_synced_at":"2025-04-06T11:18:24.268Z","repository":{"id":8629920,"uuid":"10275501","full_name":"mostlygeek/statsd-backend-cloudwatch","owner":"mostlygeek","description":"StatsD CloudWatch Backend","archived":false,"fork":false,"pushed_at":"2013-05-30T22:46:47.000Z","size":190,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-12T16:51:48.456Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mostlygeek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-05-24T21:36:21.000Z","updated_at":"2016-06-20T13:35:28.000Z","dependencies_parsed_at":"2022-09-01T13:12:12.299Z","dependency_job_id":null,"html_url":"https://github.com/mostlygeek/statsd-backend-cloudwatch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mostlygeek%2Fstatsd-backend-cloudwatch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mostlygeek%2Fstatsd-backend-cloudwatch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mostlygeek%2Fstatsd-backend-cloudwatch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mostlygeek%2Fstatsd-backend-cloudwatch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mostlygeek","download_url":"https://codeload.github.com/mostlygeek/statsd-backend-cloudwatch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247471521,"owners_count":20944158,"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":[],"created_at":"2024-11-01T05:16:48.862Z","updated_at":"2025-04-06T11:18:24.246Z","avatar_url":"https://github.com/mostlygeek.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"statsd-backend-cloudwatch\n=========================\n\nThis is a backend for StatsD that sends stats into AWS CloudWatch. \n\n# Configuration\n\nThe backend takes a very simple configuration. Here are all the \navailable configuration options: \n\n    {\n        backends: [ \"statsd-backend-cloudwatch\" ],\n        cloudwatch: {\n            namespace : \"MyService\",\n            region    : \"AWS_REGION\",\n            creds     : {\n                accessKeyId: \"Access Key\", \n                secretAccessKey: \"secret\"\n            },\n\n            debug: false\n        }\n    }\n\nEC2 IAM roles are supported. This will automatically fetch a temporary access key, secret and token \nfrom the EC2 metadata. Just make sure your IAM role has a security policy to put information \ninto CloudWatch. \n\nSet `creds` to `IAM` for credentials to be automatically pulled from the EC2 instance's meta data.\n\n    {\n        backends: [ \"statsd-backend-cloudwatch\" ],\n        cloudwatch: {\n            namespace : \"MyService\",\n            region    : \"AWS_REGION\",\n            creds     : \"IAM\"\n        }\n    }\n\nDetection of the region is also possible. If you want all StatsD data\nto go to CloudWatch in the same region change `region` to `__AUTO`.\n\n    {\n        backends: [ \"statsd-backend-cloudwatch\" ],\n        cloudwatch: {\n            namespace : \"MyService\",\n            region    : \"__AUTO\",\n            creds     : \"IAM\"\n        }\n    }\n\nFinally, the CloudWatch namespace can be automatically extracted\nfrom the StatsD bucket name.\n\n    {\n        backends: [ \"statsd-backend-cloudwatch\" ],\n        cloudwatch: {\n            namespace : \"__AUTO\",\n            region    : \"__AUTO\",\n            creds     : \"IAM\"\n        }\n    }\n\n*NOTE*: use this feature with caution. The way this feature works is \nbucket names will be split on a `.` character. If a bucket name does not \nhave at least two parts it will be *skipped*. \n\nExample of what will happen to buckets names:\n\n    Bucket Name                 NameSpace       Metric Name\n    ------------                ---------       -----------\n    MyCounter                           *skipped*\n    MyApp.MyCounter             MyApp           MyCounter\n    MyApp.counters.requests     MyApp           counters.requests\n    MyApp.counters.failures     MyApp           counters.failures\n    MyApp/MyCounter.ok                  *skipped*\n\n## Debug Mode\n\nThe `debug` flag will \n\n* output the cloudwatch data (what goes into the awssum API) to the console\n* stills sends it to CloudWatch\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmostlygeek%2Fstatsd-backend-cloudwatch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmostlygeek%2Fstatsd-backend-cloudwatch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmostlygeek%2Fstatsd-backend-cloudwatch/lists"}