{"_id":"cloudwatch-metrics","_rev":"234-bdcc7f1aab29014e3d34a24e09a772f7","name":"cloudwatch-metrics","dist-tags":{"latest":"1.3.3"},"versions":{"1.0.0":{"name":"cloudwatch-metrics","version":"1.0.0","keywords":["aws","cloudwatch","metrics"],"author":{"url":"https://mixmax.com","name":"Trey Tacon","email":"trey@mixmax.com"},"license":"MIT","_id":"cloudwatch-metrics@1.0.0","maintainers":[{"name":"ttacon","email":"ttacon@gmail.com"}],"homepage":"https://github.com/mixmaxhq/cloudwatch-metrics#readme","bugs":{"url":"https://github.com/mixmaxhq/cloudwatch-metrics/issues"},"dist":{"shasum":"feaae300800badaa238e42430f0daf4bf39d0d2c","tarball":"https://registry.npmjs.org/cloudwatch-metrics/-/cloudwatch-metrics-1.0.0.tgz","integrity":"sha512-lEgv/U/ScnqrzLIWm8lqXPflLa30iscFd5KRjAlxU9Rd/xYNGDXnHm30aR+L3VBSpDTIzvHNdlHOOPjfQS+8Jw==","signatures":[{"sig":"MEUCIQDqmu/tRCJ+h0/hZpU/L3wHB3ELYngtRNpCP/YUAs9oFQIgEKzpHKGC14UtD/Quhjj3z9uEXvjrVsosCQXjKZ3ScCU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"feaae300800badaa238e42430f0daf4bf39d0d2c","gitHead":"173353f2e24bf6bde52cc7e2d4699971a2f3467c","scripts":{"test":"mocha"},"_npmUser":{"name":"ttacon","email":"ttacon@gmail.com"},"repository":{"url":"git+https://github.com/mixmaxhq/cloudwatch-metrics.git","type":"git"},"_npmVersion":"2.14.12","description":"A simple wrapper for simplifying using Cloudwatch metrics","directories":{},"_nodeVersion":"4.3.2","dependencies":{"aws-sdk":"^2.4.14","underscore":"^1.8.3"},"devDependencies":{"chai":"^3.5.0","mocha":"^3.0.2","aws-sdk-mock":"^1.5.0"},"_npmOperationalInternal":{"tmp":"tmp/cloudwatch-metrics-1.0.0.tgz_1471961740107_0.0808726497925818","host":"packages-12-west.internal.npmjs.com"}},"1.1.0":{"name":"cloudwatch-metrics","version":"1.1.0","keywords":["aws","cloudwatch","metrics"],"author":{"url":"https://mixmax.com","name":"Trey Tacon","email":"trey@mixmax.com"},"license":"MIT","_id":"cloudwatch-metrics@1.1.0","maintainers":[{"name":"ttacon","email":"ttacon@gmail.com"}],"homepage":"https://github.com/mixmaxhq/cloudwatch-metrics#readme","bugs":{"url":"https://github.com/mixmaxhq/cloudwatch-metrics/issues"},"dist":{"shasum":"5b515e26f148b5fe7426646b7ba4fca3621adf64","tarball":"https://registry.npmjs.org/cloudwatch-metrics/-/cloudwatch-metrics-1.1.0.tgz","integrity":"sha512-i35rniYvYMWlOe6XYa1m1fttyhPEdSOMdpUOfBvy+duIyjsqaMEdNj4Y0kxRwvBhGbPcxtroWJ0nIthgjCdQ7Q==","signatures":[{"sig":"MEQCIHCienb1NtnZYjphRbF4p7tp8kEIdN6YBbDClgnH+MHvAiB7r8yWGS5w+lZcdXF98/WwXBmyfnNNB5+ucZ2/hyhi8Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"5b515e26f148b5fe7426646b7ba4fca3621adf64","gitHead":"706a4f4bd7ccd80513b7b7221e31146d62980da6","scripts":{"test":"jasmine"},"_npmUser":{"name":"ttacon","email":"ttacon@gmail.com"},"repository":{"url":"git+https://github.com/mixmaxhq/cloudwatch-metrics.git","type":"git"},"_npmVersion":"2.14.12","description":"A simple wrapper for simplifying using Cloudwatch metrics","directories":{},"_nodeVersion":"4.3.2","dependencies":{"aws-sdk":"^2.4.14","underscore":"^1.8.3"},"devDependencies":{"rewire":"^2.5.2","jasmine":"^2.5.2"},"_npmOperationalInternal":{"tmp":"tmp/cloudwatch-metrics-1.1.0.tgz_1475258574352_0.4281244759913534","host":"packages-16-east.internal.npmjs.com"}},"1.2.0":{"name":"cloudwatch-metrics","version":"1.2.0","keywords":["aws","cloudwatch","metrics"],"author":{"url":"https://mixmax.com","name":"Trey Tacon","email":"trey@mixmax.com"},"license":"MIT","_id":"cloudwatch-metrics@1.2.0","maintainers":[{"name":"andytran","email":"hello@andytran.me"},{"name":"bradvogel","email":"bradavogel@gmail.com"},{"name":"chanpory","email":"junk@rith.com"},{"name":"chuy-mixmax","email":"chuy@mixmax.com"},{"name":"gaastonsr","email":"gaastonsr@gmail.com"},{"name":"ghmeier","email":"meier.garret@gmail.com"},{"name":"janicelihuang","email":"janice@mixmax.com"},{"name":"jenskene","email":"jen+npm@mixmax.com"},{"name":"liisa","email":"liisa@mixmax.com"},{"name":"logandavis","email":"logankeahidavis@gmail.com"},{"name":"megantinleywilson","email":"megan@mixmax.com"},{"name":"mericsson","email":"mericsson@gmail.com"},{"name":"mixmax-codeship","email":"admin+mixmax-codeship-npm@mixmax.com"},{"name":"olofster","email":"olofmathe@hotmail.com"},{"name":"pricj004","email":"pricj004@gmail.com"},{"name":"sbalaji1996","email":"srinand@mixmax.com"},{"name":"shils","email":"shil.sinha@gmail.com"},{"name":"skeggse","email":"skeggse@gmail.com"},{"name":"tleavitt","email":"tucker@mixmax.com"},{"name":"ttacon","email":"ttacon@gmail.com"},{"name":"wearhere","email":"jeffreywear@gmail.com"},{"name":"wellcode","email":"ter4444@gmail.com"}],"homepage":"https://github.com/mixmaxhq/cloudwatch-metrics#readme","bugs":{"url":"https://github.com/mixmaxhq/cloudwatch-metrics/issues"},"dist":{"shasum":"758675cf967983701900e6bdb55860fe8a3d2024","tarball":"https://registry.npmjs.org/cloudwatch-metrics/-/cloudwatch-metrics-1.2.0.tgz","fileCount":10,"integrity":"sha512-yOVT3gTrHv0IrWJ7Nl2d85qyJ5GQULvz6hzHENOU8zhp8n0dqNJvVYfTS+GzWJTrE1BGyNKhzN3OY2HMM7F4ug==","signatures":[{"sig":"MEUCIQDU3nK0caYo5VJ78mx2EsIshXjnK00LC7bLEugyaX6fhgIgSVztnBrmCENtATlr5gB6j3l4EwjgKPhXTN5ssQ+3OOM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27261,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYvu+CRA9TVsSAnZWagAArgYP/R616DmkSn41eZOm5hUx\nXRtHszN/C6GFJ/JyDEiKgAX+srSpih53Lbad7vnC2F0OQ/BUjuQGnAIrD5wm\n5pWk1I4i94rPhphHpDEgrLWvjimkbTdAne2T01LUQoVbj7KDX03KyUxD5QeN\n/CLVj+RF5x7MpgMS+lCcgbbS7cEHfv3s7OTJO4kO39Mti759Gp4kPxq5kH4l\ngHP14v8r9UD24UQeGxN9adTf3wNTz0g+aOpknOHw1xw0AhlcbAWE0xv9796P\nPx2f0NfSxWNpTIPPvgltETVKx0OR3pzrN+F/2p1npMC63jkC866SpTVD5qqE\nErBH0x6+GdX1fqWOLECdstVUJHd98dQzd+EnxAHwKKh7WZ3hyrZyJEl6WSTS\n7Myu9Eyn0qNN3LiDWf3EEXhIqa2SuIJh8f/400wGg6idTb3nGpWONI1dNHA1\nkOm2FgE4wOD9cOSMi8yi9viPh/8T9A9X8bHN4GGeumtbo3j4P5RG/x1IqrZn\nZTYD34VfE+7GwSvvIP1L6MGPpdA8TayysuUek6/aW0gosCFraRIThz1VUW5J\nEpmgQnQCb2i9DJ6JRpEqJ6h3sVYjBg+wUpNsMHi1IIV/MXUX9BOsS0fuFnAK\nWVHz19Ewk5J++MCWqLE/SfijXNwrDk2+Mx26I721PpevYc5rlMFM6K42itYP\noT7Z\r\n=TUG2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"f1438181087146482a1d76ab15cf217f4b2703d3","scripts":{"lint":"eslint .","test":"jasmine"},"_npmUser":{"name":"ttacon","email":"ttacon@gmail.com"},"pre-commit":["lint"],"repository":{"url":"git+https://github.com/mixmaxhq/cloudwatch-metrics.git","type":"git"},"_npmVersion":"6.0.0","description":"A simple wrapper for simplifying using Cloudwatch metrics","directories":{},"_nodeVersion":"8.9.3","dependencies":{"aws-sdk":"^2.4.14"},"_hasShrinkwrap":false,"devDependencies":{"eslint":">=3","rewire":"^2.5.2","jasmine":"^2.5.2","pre-commit":"^1.2.2","underscore":"^1.8.3","eslint-config-mixmax":"^0.6.0"},"_npmOperationalInternal":{"tmp":"tmp/cloudwatch-metrics_1.2.0_1533213629753_0.7410099896784779","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"cloudwatch-metrics","version":"1.3.0","keywords":["aws","cloudwatch","metrics"],"author":{"url":"https://mixmax.com","name":"Trey Tacon","email":"trey@mixmax.com"},"license":"MIT","_id":"cloudwatch-metrics@1.3.0","maintainers":[{"name":"mixmaxryan","email":"ryan@mixmax.com"},{"name":"shils","email":"shil.sinha@gmail.com"},{"name":"sbalaji1996","email":"srinand@mixmax.com"},{"name":"ttacon","email":"ttacon@gmail.com"},{"name":"mixmax-codeship","email":"admin+mixmax-codeship-npm@mixmax.com"},{"name":"bradvogel","email":"bradavogel@gmail.com"},{"name":"ghmeier","email":"meier.garret@gmail.com"},{"name":"logandavis","email":"logankeahidavis@gmail.com"},{"name":"yasin.mixmax","email":"yasin@mixmax.com"},{"name":"jsalvata","email":"jordi@mixmax.com"},{"name":"unphonetic","email":"siobhan@mixmax.com"},{"name":"sicarul","email":"pabloseibelt@gmail.com"},{"name":"rtasson_mixmax","email":"ryant@mixmax.com"},{"name":"vladimir-mixmax","email":"vladimir@mixmax.com"},{"name":"laryro","email":"laryssa.vrocha@gmail.com"},{"name":"mdumrauf","email":"matias.dumrauf@gmail.com"}],"homepage":"https://github.com/mixmaxhq/cloudwatch-metrics#readme","bugs":{"url":"https://github.com/mixmaxhq/cloudwatch-metrics/issues"},"dist":{"shasum":"3eb05a744932d4c9cc08a595dbc10d75694c8154","tarball":"https://registry.npmjs.org/cloudwatch-metrics/-/cloudwatch-metrics-1.3.0.tgz","fileCount":12,"integrity":"sha512-ITe60sFgPbKqArFdvaRmZb7RzZbhMAo910khw3sQTSdnZIyq+Me6C4Mm4uQ0eQYYYerksuUzfMxwNWOy3TcOEA==","signatures":[{"sig":"MEQCIGMZ7/erhVbNftW6GIQL6P6VT6A4qV64jzJgIKdB1h7/AiAroBO/jHHsB4ZzwS6a4qX53eZNoMHfvPp45md3BhM0pQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34006,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2mNvCRA9TVsSAnZWagAA6h4P/ipUGC/rKy4ybG3Pyr2y\nsIrZLuS0gLex26s5vYm2QLuwVzu6LXMJcG3RHNdvrIoLwRctpVgB/k7KSTph\n9Pbue2TLeyAJE70y+sNWGl6xt/tTRmcoFuk/apq9/odqSzKNbclxJBW53rMu\nZgC7WuxopdoxQzLtTxLSI95MEGczzfNqtPS3aT6VsPyzRr3GpWzeKheaq1vr\nly7E9dRhQGhJSl8Xnb+pN0d/szYtlr9h8LXw4PNpfPwU1srL2cvIGHVRkgyr\nEqEhR4bBSPsIkkDYoEqqHCVO/O7sVN3ujisbRYif0iBIV0PpB44kMET/VQZp\n7sjxN5qs/UomPmlFPbyv/ezYKE5GZMXVEB/TYFPqzFncr7tV4hWwME3JV8ea\nxOiK5AD9YyXK0JHVzf/0UPKPHeOeaaDeo4ZQ5k9/PWdoEi5EAw+9exmIJF9L\nBFvqXXOJAUjlUJAV8l20XxD6gLli0voG4zXaS+sdkJq1YNZPabXxOk6BZP5B\n0OFoLcjXc57pOZ52UgxtIeqa38Oa2hPEhl2wEh6jjJtHCtDKhkXMdXVQYRBE\n0VaS5IwAZKUVEkL0+rPttPNyd/C4n9kOkySiRcl8i9CxNdzLcAjyxsTTv7BC\nkhrCPGn22FI0C0/lgr3XxKv6sDi6eG5BHn2O5lhOH9WHxdKoSPwb8VBnqsEq\nbsCy\r\n=tvd9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"3b1d655959699546fb9cfb9fc4dcd61da202e755","scripts":{"ci":"npm run lint && npm test","lint":"eslint .","test":"jasmine"},"_npmUser":{"name":"ttacon","email":"ttacon@gmail.com"},"pre-commit":["lint"],"repository":{"url":"git+https://github.com/mixmaxhq/cloudwatch-metrics.git","type":"git"},"_npmVersion":"6.9.0","description":"A simple wrapper for simplifying using Cloudwatch metrics","directories":{},"_nodeVersion":"10.18.0","dependencies":{"aws-sdk":"^2.412.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":">=3","rewire":"^2.5.2","jasmine":"^2.5.2","pre-commit":"^1.2.2","underscore":"^1.8.3","eslint-config-mixmax":"^0.6.0"},"_npmOperationalInternal":{"tmp":"tmp/cloudwatch-metrics_1.3.0_1610641732134_0.205355218091112","host":"s3://npm-registry-packages"}},"1.3.2":{"name":"cloudwatch-metrics","version":"1.3.2","keywords":["aws","cloudwatch","metrics"],"author":{"url":"https://mixmax.com","name":"Trey Tacon","email":"trey@mixmax.com"},"license":"MIT","_id":"cloudwatch-metrics@1.3.2","maintainers":[{"name":"gusth-sa","email":"gusth.salomao@gmail.com"},{"name":"joneslloyd","email":"lloyd@lloydjones.io"},{"name":"kamilgruszka","email":"kamilgruszka1993.kg@gmail.com"},{"name":"tharindu-wj","email":"tharinduwjh@gmail.com"},{"name":"njogz","email":"njgndungu@yahoo.com"},{"name":"ahmedxalaa","email":"ahmedelkolfat@outlook.com"},{"name":"aminao","email":"amina@mixmax.com"},{"name":"maya_guras","email":"maya.k.guras@gmail.com"},{"name":"enuma","email":"ahmad.abdelwahab90@gmail.com"},{"name":"adriandmitroca","email":"dmitroca.adrian@gmail.com"},{"name":"sergei.kukhariev","email":"serge.kukharev@gmail.com"},{"name":"fealaer","email":"fealaer@gmail.com"},{"name":"mixmaxkristina","email":"kristina@mixmax.com"},{"name":"corridonimatias","email":"npm@matias.corridoni.me"},{"name":"mikusd","email":"mikusdominikcz@gmail.com"},{"name":"mixmax_it","email":"it-ops@mixmax.com"},{"name":"andra.lazariuc","email":"andra.lazariuc@yahoo.com"},{"name":"anda.nenu","email":"anda.nenu@gmail.com"},{"name":"danaya","email":"danaya@gmail.com"},{"name":"jfbarranco","email":"jfbarranco@gmail.com"},{"name":"adborroto","email":"adborroto90@gmail.com"},{"name":"aaavakian","email":"aaavakn@gmail.com"},{"name":"kovalskyi","email":"mykhailo.kovalskyi@gmail.com"},{"name":"dnechay","email":"lelekkofe@gmail.com"},{"name":"raphaelbs","email":"raphael.b.souza@hotmail.com"},{"name":"guilhermemj","email":"guilhermem.j@hotmail.com"},{"name":"eduard.borges","email":"eduardborges@me.com"},{"name":"mixmax-codeship","email":"admin+mixmax-codeship-npm@mixmax.com"},{"name":"bradvogel","email":"bradavogel@gmail.com"},{"name":"jessem3","email":"jesse@mixmax.com"},{"name":"jsalvata","email":"jordi@mixmax.com"},{"name":"gabriel-mixmax","email":"gabriel@mixmax.com"},{"name":"ttacon","email":"ttacon@gmail.com"}],"homepage":"https://github.com/mixmaxhq/cloudwatch-metrics#readme","bugs":{"url":"https://github.com/mixmaxhq/cloudwatch-metrics/issues"},"dist":{"shasum":"fba123e4ac296d39f8b8421e8f12bbc734e7ae4c","tarball":"https://registry.npmjs.org/cloudwatch-metrics/-/cloudwatch-metrics-1.3.2.tgz","fileCount":13,"integrity":"sha512-XtvU7P7p0g/1DeZDd9XRol2LpR6N3aXZUpOv3nrzKhmhf2t27dWVbV3jOtvCquTrLnm2u5ph7vXTkFh+QoUxUw==","signatures":[{"sig":"MEQCIGgZWd+JeNl+oZwVrfJRL6yPOEkIbzFMlc8z5Icp/er9AiAd9yYvlZoJMokky54wAVStSrAzNNwY+AvpDtPZrdgJEA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35789},"main":"index.js","gitHead":"46340fad2a6135da3d9f6b4f7a365795fd6291ff","scripts":{"ci":"npm run lint && npm test","lint":"eslint .","test":"jasmine"},"_npmUser":{"name":"mixmaxkristina","email":"kristina@mixmax.com"},"pre-commit":["lint"],"repository":{"url":"git+https://github.com/mixmaxhq/cloudwatch-metrics.git","type":"git"},"_npmVersion":"8.19.3","description":"A simple wrapper for simplifying using Cloudwatch metrics","directories":{},"_nodeVersion":"18.13.0","dependencies":{"@aws-sdk/client-cloudwatch":"^3.332.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":">=3","rewire":"^2.5.2","jasmine":"^2.99.0","pre-commit":"^1.2.2","underscore":"^1.8.3","eslint-config-mixmax":"^0.6.0"},"_npmOperationalInternal":{"tmp":"tmp/cloudwatch-metrics_1.3.2_1688985084701_0.915904357626061","host":"s3://npm-registry-packages"}},"1.3.3":{"name":"cloudwatch-metrics","version":"1.3.3","keywords":["aws","cloudwatch","metrics"],"author":{"url":"https://mixmax.com","name":"Trey Tacon","email":"trey@mixmax.com"},"license":"MIT","_id":"cloudwatch-metrics@1.3.3","maintainers":[{"name":"gusth-sa","email":"gusth.salomao@gmail.com"},{"name":"joneslloyd","email":"lloyd@lloydjones.io"},{"name":"kamilgruszka","email":"kamilgruszka1993.kg@gmail.com"},{"name":"tharindu-wj","email":"tharinduwjh@gmail.com"},{"name":"njogz","email":"njgndungu@yahoo.com"},{"name":"ahmedxalaa","email":"ahmedelkolfat@outlook.com"},{"name":"aminao","email":"amina@mixmax.com"},{"name":"maya_guras","email":"maya.k.guras@gmail.com"},{"name":"enuma","email":"ahmad.abdelwahab90@gmail.com"},{"name":"adriandmitroca","email":"dmitroca.adrian@gmail.com"},{"name":"sergei.kukhariev","email":"serge.kukharev@gmail.com"},{"name":"fealaer","email":"fealaer@gmail.com"},{"name":"mixmaxkristina","email":"kristina@mixmax.com"},{"name":"corridonimatias","email":"npm@matias.corridoni.me"},{"name":"mikusd","email":"mikusdominikcz@gmail.com"},{"name":"mixmax_it","email":"it-ops@mixmax.com"},{"name":"andra.lazariuc","email":"andra.lazariuc@yahoo.com"},{"name":"anda.nenu","email":"anda.nenu@gmail.com"},{"name":"danaya","email":"danaya@gmail.com"},{"name":"jfbarranco","email":"jfbarranco@gmail.com"},{"name":"adborroto","email":"adborroto90@gmail.com"},{"name":"aaavakian","email":"aaavakn@gmail.com"},{"name":"kovalskyi","email":"mykhailo.kovalskyi@gmail.com"},{"name":"dnechay","email":"lelekkofe@gmail.com"},{"name":"raphaelbs","email":"raphael.b.souza@hotmail.com"},{"name":"guilhermemj","email":"guilhermem.j@hotmail.com"},{"name":"eduard.borges","email":"eduardborges@me.com"},{"name":"mixmax-codeship","email":"admin+mixmax-codeship-npm@mixmax.com"},{"name":"bradvogel","email":"bradavogel@gmail.com"},{"name":"jessem3","email":"jesse@mixmax.com"},{"name":"jsalvata","email":"jordi@mixmax.com"},{"name":"gabriel-mixmax","email":"gabriel@mixmax.com"},{"name":"ttacon","email":"ttacon@gmail.com"}],"homepage":"https://github.com/mixmaxhq/cloudwatch-metrics#readme","bugs":{"url":"https://github.com/mixmaxhq/cloudwatch-metrics/issues"},"dist":{"shasum":"2e02d3495d92320ba4f4059a68bc18d2e8665d01","tarball":"https://registry.npmjs.org/cloudwatch-metrics/-/cloudwatch-metrics-1.3.3.tgz","fileCount":13,"integrity":"sha512-Ybm9LU5FryRsjrfgQglRo3WTgY13KM4dOq66FzrHNdqiEhnEUTaqBkO7SbcqqDa1ZFlIxC8Aabgkbq3qlUEtww==","signatures":[{"sig":"MEYCIQCYOG8z63bHpNJz5xS72OLvY1bD/NwpIsqOfrJvuRn3JwIhAOLNAb0y9ag+mtvgZZBe5XJ0hVttMQJXhAG+5ai2+drZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35794},"main":"index.js","gitHead":"c7ae9300dca4607e8847deaffd5a057af2549427","scripts":{"ci":"npm run lint && npm test","lint":"eslint .","test":"jasmine"},"_npmUser":{"name":"mixmaxkristina","email":"kristina@mixmax.com"},"pre-commit":["lint"],"repository":{"url":"git+https://github.com/mixmaxhq/cloudwatch-metrics.git","type":"git"},"_npmVersion":"8.19.3","description":"A simple wrapper for simplifying using Cloudwatch metrics","directories":{},"_nodeVersion":"18.13.0","dependencies":{"@aws-sdk/client-cloudwatch":"^3.332.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":">=3","rewire":"^2.5.2","jasmine":"^2.99.0","pre-commit":"^1.2.2","underscore":"^1.8.3","eslint-config-mixmax":"^0.6.0"},"_npmOperationalInternal":{"tmp":"tmp/cloudwatch-metrics_1.3.3_1689057754592_0.709167948209591","host":"s3://npm-registry-packages"}}},"time":{"created":"2016-08-23T14:15:42.152Z","modified":"2026-08-06T09:19:14.259Z","1.0.0":"2016-08-23T14:15:42.152Z","1.1.0":"2016-09-30T18:02:55.536Z","1.2.0":"2018-08-02T12:40:29.878Z","1.3.0":"2021-01-14T16:28:52.240Z","1.3.2":"2023-07-10T10:31:24.900Z","1.3.3":"2023-07-11T06:42:34.784Z"},"bugs":{"url":"https://github.com/mixmaxhq/cloudwatch-metrics/issues"},"author":{"url":"https://mixmax.com","name":"Trey Tacon","email":"trey@mixmax.com"},"license":"MIT","homepage":"https://github.com/mixmaxhq/cloudwatch-metrics#readme","keywords":["aws","cloudwatch","metrics"],"repository":{"url":"git+https://github.com/mixmaxhq/cloudwatch-metrics.git","type":"git"},"description":"A simple wrapper for simplifying using Cloudwatch metrics","maintainers":[{"email":"mikusdominikcz@gmail.com","name":"mikusd"},{"email":"admin+mixmax-codeship-npm@mixmax.com","name":"mixmax-codeship"},{"email":"jesse@mixmax.com","name":"jessem3"},{"email":"syed.ahmed.anas@gmail.com","name":"ahmed-anas"},{"email":"guilhermem.j@hotmail.com","name":"guilhermemj"},{"email":"jordi.salvat.i.alabart@gmail.com","name":"jsalvata"},{"email":"raphael.b.souza@hotmail.com","name":"raphaelbs"},{"email":"it-ops@mixmax.com","name":"mixmax_it"},{"email":"akashbhalla@gmail.com","name":"akashbhalla"},{"email":"jordi.nistal@gmail.com","name":"jordins"},{"email":"amina@mixmax.com","name":"aminao"},{"email":"misterpy@gmail.com","name":"misterpy"},{"email":"pialwlc@gmail.com","name":"mvpia"},{"email":"nirmal@mixmax.com","name":"its-nimo"},{"email":"alexander.k@mixmax.com","name":"kohlhofer_mixmax"},{"email":"jakub@mixmax.com","name":"jtutaj"},{"email":"pedro@mixmax.com","name":"pedro-mixmax"},{"email":"alexander.simovic@gmail.com","name":"simalexan"},{"email":"graham@mixmax.com","name":"grahammixmax"},{"email":"jpdjeredjian@gmail.com","name":"jpdjere"},{"email":"ttacon@gmail.com","name":"ttacon"}],"readme":"## cloudwatch-metrics\nThis module provides a simplified wrapper for creating and publishing\nCloudWatch metrics.\n\n## Install\n```\n$ npm install cloudwatch-metrics\n```\nor\n```\n$ npm install cloudwatch-metrics --save\n```\n\n## Usage\n\n### Initialization\n\nBy default, the library will log metrics to the `us-east-1` region and read\nAWS credentials from the AWS SDK's [default environment variables](http://docs.aws.amazon.com/AWSJavaScriptSDK/guide/node-configuring.html#Credentials_from_Environment_Variables).\n\nIf you want to change these values, you can call `initialize`:\n\n```js\nvar cloudwatchMetrics = require('cloudwatch-metrics');\ncloudwatchMetrics.initialize({\n\tregion: 'us-east-1'\n});\n```\n\n### Metric creation\nFor creating a metric, we simply need to provide the\nnamespace and the default type of metric:\n```js\nvar myMetric = new cloudwatchMetrics.Metric('namespace', 'Count');\n```\n\n### Metric creation - w/ default dimensions\nIf we want to add our own default dimensions, such as environment information,\nwe can add it in the following manner:\n```js\nvar myMetric = new cloudwatchMetrics.Metric('namespace', 'Count', [{\n\tName: 'environment',\n\tValue: 'PROD'\n}]);\n```\n\n### Metric creation - w/ options\nIf we want to disable a metric in certain environments (such as local development),\nwe can make the metric in the following manner:\n```js\n// isLocal is a boolean\nvar isLocal = someWayOfDetermingIfLocal();\n\nvar myMetric = new cloudwatchMetrics.Metric('namespace', 'Count', [{\n\tName: 'environment',\n\tValue: 'PROD'\n}], {\n\tenabled: isLocal\n});\n```\n\nThe full list of configuration options is:\n\nOption | Purpose\n------ | -------\nenabled | Whether or not we should send the metric to CloudWatch (useful for dev vs prod environments).\nsendInterval | The interval in milliseconds at which we send any buffered metrics, defaults to 5000 milliseconds.\nsendCallback | A callback to be called when we send metric data to CloudWatch (useful for logging any errors in sending data).\nmaxCapacity | A maximum number of events to buffer before we send immediately (before the sendInterval is reached).\nwithTimestamp | Include the timestamp with the metric value.\nstorageResolution | The metric storage resolution to use in seconds. Set to 1 for high resolution metrics. See (https://aws.amazon.com/blogs/aws/new-high-resolution-custom-metrics-and-alarms-for-amazon-cloudwatch/)\n\n### Publishing metric data\nThen, whenever we want to publish a metric, we simply do:\n```js\nmyMetric.put(value, metric, units, additionalDimensions);\n```\n\n### Using summary metrics\n\nInstead of sending individual data points for your metric, you may want to send\nsummary metrics. Summary metrics track statistics over time, and send those\nstatistics to CloudWatch on a configurable interval. For instance, you might\nwant to know your total network throughput, but you don't care about individual\nrequest size percentiles. You could use `summaryPut` to track this data and send\nit to CloudWatch with fewer requests:\n\n```js\nvar metric = new cloudwatchMetrics.Metric('namespace', 'Bytes');\n\nfunction onRequest(req) {\n\t// This will still track maximum, minimum, sum, count, and average, but won't\n\t// take up lots of CloudWatch requests doing so.\n\tmetric.summaryPut(req.size, 'requestSize');\n}\n```\n\nNote that metrics use different summaries for different dimensions, _and that\nthe order of the dimensions is significant!_ In other words, these track\ndifferent metric sets:\n\n```js\nvar metric = new cloudwatchMetrics.Metric('namespace', 'Bytes');\n// Different statistic sets!\nmetric.summaryPut(45, 'requestSize', [{Name: 'Region', Value: 'US'}, {Name: 'Server', Value: 'Card'}]);\nmetric.summaryPut(894, 'requestSize', [{Name: 'Server', Value: 'Card'}, {Name: 'Region', Value: 'US'}]);\n```\n\n### NOTES\nBe aware that the `put` call does not actually send the metric to CloudWatch\nat that moment. Instead, it stores unsent metrics and sends them to\nCloudWatch on a predetermined interval (to help get around sending too many\nmetrics at once - CloudWatch limits you by default to 150 put-metric data\ncalls per second). The default interval is 5 seconds, if you want metrics\nsent at a different interval, then provide that option when constructing your\nCloudWatch Metric:\n\n```js\nvar myMetric = new cloudwatchMetrics.Metric('namespace', 'Count', [{\n\tName: 'environment',\n\tValue: 'PROD'\n}], {\n\tsendInterval: 3 * 1000 // It's specified in milliseconds.\n});\n```\n\nYou can also register a callback to be called when we actually send metrics\nto CloudWatch - this can be useful for logging put-metric-data errors:\n```js\nvar myMetric = new cloudwatchMetrics.Metric('namespace', 'Count', [{\n\tName: 'environment',\n\tValue: 'PROD'\n}], {\n\tsendCallback: (err) => {\n\t\tif (!err) return;\n\t\t// Do your error handling here.\n\t}\n});\n```\n\n## Publishing a new version\n\n```\nGH_TOKEN=xxx npx semantic-release --no-ci\n```","readmeFilename":"README.md","users":{"pricj004":true,"wstowersguestdna":true}}