{"_id":"@bmatei/apollo-prometheus-exporter","_rev":"16-46e44245966707b1d83b8dd583f90a9f","name":"@bmatei/apollo-prometheus-exporter","dist-tags":{"latest":"3.0.0","release-1.x":"1.3.1"},"versions":{"1.0.0":{"name":"@bmatei/apollo-prometheus-exporter","version":"1.0.0","description":"Plugin for Apollo Server to export metrics in Prometheus format","keywords":["apollo","apollo server","prometheus","metrics","tracing"],"author":{"name":"Bogdan Matei","email":"bogdan@matei.dev"},"license":"MIT","main":"index.js","homepage":"https://github.com/bfmatei/apollo-prometheus-exporter#readme","repository":{"type":"git","url":"git+https://github.com/bfmatei/apollo-prometheus-exporter.git"},"peerDependencies":{"prom-client":"^12.0.0"},"bugs":{"url":"https://github.com/bfmatei/apollo-prometheus-exporter/issues"},"_id":"@bmatei/apollo-prometheus-exporter@1.0.0","_nodeVersion":"14.15.1","_npmVersion":"6.14.9","dist":{"integrity":"sha512-1KaYdC5MFWhAbl1PWjiSXkpzoUtyAR8+gEjrOnw/BLYL9FulgHInI4wrQ5occhCLf5KB0qozluxsIom1kLNB7g==","shasum":"f4efff3367433d72bd47931ed4695f6d5eafce14","tarball":"https://registry.npmjs.org/@bmatei/apollo-prometheus-exporter/-/apollo-prometheus-exporter-1.0.0.tgz","fileCount":24,"unpackedSize":34536,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfz3nqCRA9TVsSAnZWagAAxsgP/30J236CSOMirO1fIGVT\nrUKJOb+Rw+kU2srqfm8QoJWvXJCIEe0XIXJy12segm0r4hPOPiavUIwwGB0M\nNyTItrSUJ7g9jVY+5vngjrA/v+5H1GQ7XbFh/MEoeWDGA2NqvsrwqI9mpPc4\nY1N7yD1G3Iy5mSBgxHgYqL+9HF5Mh1tZNzPfaujnEet7J8ye/wOpbqK0LvG4\nWxHqY/24bWoavknNn30LYwo8oaK7prFewVIz0egLasa2bqA8el4h1wn5FWCs\nCl+SM5BAUeBpaT8Y1XwAq3ktIfWp0Nuf3iGmCGvByIbPFvg60e2F2KImHX53\ncQT2m329BTWHm5x2Kq+f0e2PzizNR6/udsZ+QliysaT7Ub7VfRnHIcpE9Rpp\nHEYvez8CKrzlT3L4/j0Ns4flSzSuWpj9RTLyXF05IWl+D56EycQtjSZMzHY3\nHDSdQaF1kuR7Luo36Oazh/sRz9isbsyPwP2Ly/l87HawZuhTyRM/RRN/zs69\nWadz0mKZLrAmZqAPpH4FUMO68fmaFVC6IsjPp2k4zrFbFo0iTOUf0vzO9r9t\nqm6FfpFgfElYGFR9GW+y1AFyPyaf6QUS0wqgEjpaAr/1bcS4eB4h5iSgoJM1\nDa9iiOq25iL/oLP1HvJPnXLlf0HexIPn4ML3tqknpX59p56jN3zYAn2thUTN\nCShn\r\n=DNOe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCPe/4xQlmwxMN1SYb4UwNuFZXVlSkEgZfL0le8Y5LqHQIgMSm7JuqojFyJCdqbRaWI925Bc1kq/njq3O6jrmCSufU="}]},"_npmUser":{"name":"bmatei","email":"bogdan@matei.dev"},"directories":{},"maintainers":[{"name":"bmatei","email":"bogdan@matei.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-prometheus-exporter_1.0.0_1607432681539_0.5996279643493303"},"_hasShrinkwrap":false},"1.0.1":{"name":"@bmatei/apollo-prometheus-exporter","version":"1.0.1","description":"Plugin for Apollo Server to export metrics in Prometheus format","keywords":["apollo","apollo server","prometheus","metrics","tracing"],"author":{"name":"Bogdan Matei","email":"bogdan@matei.dev"},"license":"MIT","main":"index.js","homepage":"https://github.com/bfmatei/apollo-prometheus-exporter#readme","repository":{"type":"git","url":"git+https://github.com/bfmatei/apollo-prometheus-exporter.git"},"peerDependencies":{"prom-client":"^12.0.0"},"bugs":{"url":"https://github.com/bfmatei/apollo-prometheus-exporter/issues"},"_id":"@bmatei/apollo-prometheus-exporter@1.0.1","_nodeVersion":"14.15.1","_npmVersion":"6.14.9","dist":{"integrity":"sha512-WrMknCrvsTXJubcxj8hHRPsbixBxKCjBjOHYuK0T4moQl8q38F8ZwLUNCz4Qol9Gr4BomCb9qZaOjp1MxhKnJQ==","shasum":"b991fa5772ed2aa8bed6e7cb12088a5254993de7","tarball":"https://registry.npmjs.org/@bmatei/apollo-prometheus-exporter/-/apollo-prometheus-exporter-1.0.1.tgz","fileCount":24,"unpackedSize":35435,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfz38uCRA9TVsSAnZWagAAO5oQAKP9aVh8dE+F/zvOJw2H\nOxjWoLvped8xpOgg43vnADwufuFw7y5V12Ejqxl31zGvgXAgT58DSV64czDW\ndlNsJTp03pEVuNMg38KTrzAJS6M8J2Rc4VeQj8YuJUTP3A5Ea7ZNuE59o9Ck\n7chXIHIagSW7A9FOqLyEONTXDC36ssW4FWbmLqX556AXMGxZvhPapbxMTFzf\nXKI7In8/zrDpRiTyzj44KvUI4fZDy8h2/1n6rhJ1UHf+IeCxZABAADIEx+XJ\nWbKY8oq9XlO+DPkKYBAglsmPweojJAGt3RUG+JKCr3D0QfhbVWan7WguM1Pn\nKd6nUgGlK5cK8kQYq/e2h1nQBhl1IG7JmtXaxAytdjwdqGL2SvxbXQoE328T\n4MKbwOcIoaLt31JhBekNIM7nl/fpxbEiWcdZ2q6NhH36g+7OUxcXATkI0Yjf\n84QcE5FkHzTJ6ZaCSAydt/VN4L8I9lWdsN2rUhQpaz1I+0JxsbWiVOhHoDDn\nrZVpVMK/fqNE/2BmZW8oyd7m39Ze9uhseuwnF4L2SK8PRnytT7Zjnz9r1Sj9\n8q/MRfp+FX5w/aaNUZvTcy31Yw3QFpoeEoCTQhfgmz5ejJdj9xyvAz0sCcBV\nAS5yi61prjZo7A3qaScQxHfgvI/uA546EMZ3M9GmHM5nu8XTrBiQKYR4MBeN\nXf3G\r\n=WlT3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCjnJ8MPMRwgyM143bacDp6UBcTQ2v32osgzJjCu1ZZigIgMWV0Vy/xMpmxhFD/MSUmfKWbz6BT5d988W298626pDs="}]},"_npmUser":{"name":"bmatei","email":"bogdan@matei.dev"},"directories":{},"maintainers":[{"name":"bmatei","email":"bogdan@matei.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-prometheus-exporter_1.0.1_1607434030342_0.1683583515031133"},"_hasShrinkwrap":false},"1.0.2":{"name":"@bmatei/apollo-prometheus-exporter","version":"1.0.2","description":"Plugin for Apollo Server to export metrics in Prometheus format","keywords":["apollo","apollo server","prometheus","metrics","tracing"],"author":{"name":"Bogdan Matei","email":"bogdan@matei.dev"},"license":"MIT","main":"index.js","homepage":"https://github.com/bfmatei/apollo-prometheus-exporter#readme","repository":{"type":"git","url":"git+https://github.com/bfmatei/apollo-prometheus-exporter.git"},"peerDependencies":{"prom-client":"^12.0.0"},"bugs":{"url":"https://github.com/bfmatei/apollo-prometheus-exporter/issues"},"_id":"@bmatei/apollo-prometheus-exporter@1.0.2","_nodeVersion":"14.15.1","_npmVersion":"6.14.9","dist":{"integrity":"sha512-enyCiNilanw5KWQ/+DBe77jg5tLrR/iK+bgTczzn97jLL+6SXm3rmGsLbSw/ckJChc8HQtcDhF5NC4CSB7jOPg==","shasum":"fded5312f6e547870a68dec1ce6dd802ceaf0089","tarball":"https://registry.npmjs.org/@bmatei/apollo-prometheus-exporter/-/apollo-prometheus-exporter-1.0.2.tgz","fileCount":26,"unpackedSize":44483,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfz4GUCRA9TVsSAnZWagAAd6wP/jpMoCvewa6r58XLBXfI\nkMOSYfBPFqmVuGdBJPHiPaSbRTUo3f7IWf8l3NKSSjNxdynM28hbdPHkqK8w\n+UyEodBkC7CMPKYhk5cjOvUj9LaWDshboxvJmam5qjgO/n7jQ2tjqyQNEplw\n6ouN+4Ijeks2YkzT9Jh1zvhffhh4++VPnO6B8CDIb5WN8jskp6Z6ZHgcRNuB\nHgcBrD//Xm7p7IvcpVRDo8e27fosm5J4fICI4itYF+48V8Qb49rSOq0LgpoY\n6wW/rR0aremgkMMo/Kz1MHUAmgac3DifTuZZkaw8M3uMYmPdawShBZaLDk9V\nrf+vb03cn2DO7L7swXp91HU3Ec9Mc/OzgeszmZ+Y31KE7cg9BN/QZAeQ06wF\nwSiLy9H6xEdbvTx+5LUuPUac5GaxLyyfSYVRrHGKqjQNGJRHYnh646SIZU+r\nPGOIraCH9WsZ97sqdZnHzbqrj6+tHRSukNBRetRhIRpGSzXQa6db05YIVNpb\nasC7/NONenoO9RY1HBPGXGMjvtxhlubSDxw2bbf4Q2cs4uUG4dFJjCMHgc33\ni069OR0mI8l5y+AVyy38U8e/NgCgdELc/QP6zi4+Qb6a4LGy86RvI+T5ciDR\n9jM79XcdBZct4OUQVeDW9WYg+XxJT5y+HIdZZPEE2ViUPMcPwwW9VpII2vaZ\nQeIm\r\n=5k3u\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFlx6wt8yCuchZl1fvwyEVjb69gs6YDQVPjXr6eRqjm0AiEAoiDpi62DrMSsgIT8acsz8udISNfI5G3AsQY4sgtDeNI="}]},"_npmUser":{"name":"bmatei","email":"bogdan@matei.dev"},"directories":{},"maintainers":[{"name":"bmatei","email":"bogdan@matei.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-prometheus-exporter_1.0.2_1607434644480_0.1387162908709323"},"_hasShrinkwrap":false},"1.0.3":{"name":"@bmatei/apollo-prometheus-exporter","version":"1.0.3","description":"Plugin for Apollo Server to export metrics in Prometheus format","keywords":["apollo","apollo server","prometheus","metrics","tracing"],"author":{"name":"Bogdan Matei","email":"bogdan@matei.dev"},"license":"MIT","main":"index.js","homepage":"https://github.com/bfmatei/apollo-prometheus-exporter#readme","repository":{"type":"git","url":"git+https://github.com/bfmatei/apollo-prometheus-exporter.git"},"peerDependencies":{"prom-client":"^12.0.0"},"bugs":{"url":"https://github.com/bfmatei/apollo-prometheus-exporter/issues"},"_id":"@bmatei/apollo-prometheus-exporter@1.0.3","_nodeVersion":"14.15.1","_npmVersion":"6.14.9","dist":{"integrity":"sha512-FC7E7h19onvEF1J48sgaPIG5KWGamM72sOpYqDiXIg2lnBpE4434twRu6IBb82jNdYC81b/+AIs4F2zpx+mBGQ==","shasum":"d9ddc17addccc508b9d59c9030f496e3b43997ff","tarball":"https://registry.npmjs.org/@bmatei/apollo-prometheus-exporter/-/apollo-prometheus-exporter-1.0.3.tgz","fileCount":24,"unpackedSize":42295,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfz4PLCRA9TVsSAnZWagAAvoUP/3eSUvX1Gdrde+aAM8bB\n7bctKMZRuV5knuabl7nD9SzqxVhK1d8kIMikP+p0zRdoFurRVlpw9Ug+ST0A\n1lkchgfr+N81t7u335xgCB9Hrtmk5/Jufmtgu+DULi2eL1S/aPReLTdVaBEP\n9U2nzRBKBf4Y3d6co37jBZIirLPqmQXIDj1PfoRsLmJ3Cf9FMxXiIDV61z3U\npD82GxcC+ZeB6T9u/+Omb9yXKwFywqVQ/gdfjmaTAmbX0pS38F1a1LnCGsfT\nW9cOnCiFSbGQTm3mt6qzMJX5j/gI1NZZbQTDpTSky6bpoq2xZ5ZtOjorMLm1\n0ynRCi6gjWmyTc8d+kT0SPtFQROzGbWwHDlYiyFNEK+98tICg5V//CI99Mxc\nDhz1PA2jZEiv/vbolxB6r4UBVETyPV7fM/obHc3187sc0uOOr4svAhJldjda\nWEuU3AIfk9+lzU5n/R3NzBDMb3wHagY7qP2xspcLdPzho1bBO5X28vpYJdTa\ng4jFshaIVcJKrqwIv7roTiFkuLtulRyzt1oDlyVPC1W0NpeS87lXTU1ypJqs\nRg/svEE9eQQvL0jPmS4UwCEjQLgRqOtht2gojOa0RgZCeCelDaarx/JCpwHN\nLXPPRzqbCmQ+YMoCGmdM61PmtIRSrlHnnUC73psDSrr7zipASIHVSAmPCRUQ\np2Te\r\n=NzIa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA44ilzLlA8DD6ROjze2AygItdGFs5233Zh3QIdcaECyAiB6SVHsSow9n+yZL+QhxKS6pDHmPRTJYgDglsWM/bC0/A=="}]},"_npmUser":{"name":"bmatei","email":"bogdan@matei.dev"},"directories":{},"maintainers":[{"name":"bmatei","email":"bogdan@matei.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-prometheus-exporter_1.0.3_1607435211438_0.5482507326830994"},"_hasShrinkwrap":false},"1.0.4":{"name":"@bmatei/apollo-prometheus-exporter","version":"1.0.4","description":"Plugin for Apollo Server to export metrics in Prometheus format","keywords":["apollo","apollo server","prometheus","metrics","tracing"],"author":{"name":"Bogdan Matei","email":"bogdan@matei.dev"},"license":"MIT","main":"index.js","homepage":"https://github.com/bfmatei/apollo-prometheus-exporter#readme","repository":{"type":"git","url":"git+https://github.com/bfmatei/apollo-prometheus-exporter.git"},"peerDependencies":{"prom-client":"^12.0.0"},"bugs":{"url":"https://github.com/bfmatei/apollo-prometheus-exporter/issues"},"_id":"@bmatei/apollo-prometheus-exporter@1.0.4","_nodeVersion":"14.15.1","_npmVersion":"6.14.9","dist":{"integrity":"sha512-cxhKcB2/hTaJD8uHBFnSlBviKArAywGdTnsI9qr6wSGbv01CaigDWge/Ifc5Mq/dPkX1ZMVRRjmSvule7ssIIA==","shasum":"ef77ab04b36fb10291cfa195c9dd51a6476f6a50","tarball":"https://registry.npmjs.org/@bmatei/apollo-prometheus-exporter/-/apollo-prometheus-exporter-1.0.4.tgz","fileCount":24,"unpackedSize":42571,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf0hOwCRA9TVsSAnZWagAACEgP/2VSshfeah2rk4i/bUmR\nFsO6wQH0hMtCMyxbft3qOCRVe112ajRu+pjHtSNKFciqQMRPbKjeiXGNm+vn\nKLklUQX5f+raUiI97WNp/aHpWJ2kTAMi1zGZDbeQ/V2tsTKRPV50qlncFcSh\n/odz/BvyZdL/H4Er4bTdnypLKV6Slm25s5OpKGGflm1QfNUXrqsPqFsqmI61\npI4N8Asf9A5gArpjsuDM4IFgrRIJz7hqLZopBYwuVgE9H5sAUxKCtZ+0dS1R\nGKyFpFrulpwoH8PzisUZ/H8EaHZSIcJ0gT6ZZ9FyD/68mLymRDZNp+evFflG\n8+w4QXmCgmskwvodz9YSe6SyL3h2W8YjQbRZXRnO0UKURVjlmkJJ6BEXdOuT\nuCnHbtLw9RaYf0uys7W1SyN13z+wFanECIWw7C547QH6wPScOE5fwE0cbkT+\njC2M8ffDmsYj11OvavcvR0XqLsvK5erqH2hHFPv/fNhJjDl7pTJuoLqFUNN0\nz+B7aWXNSwMFL/epYVBK2sx41lsJRua2T60SZnbVB7njiwgxF62ddYhySu2P\nDmnWJbxRXx57/BtPqKDYvoejWnhIhXi7jVo+RFoY71z2mQBFnxE/6wAe9bBJ\nMo9eQUHoE7vaLp9Y08kQ9oOOw5xWhYnW5lrG7HUNHWtiA21UVTb/B4k8jJ2G\nMKz4\r\n=gQiw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC574wI7Zr8nLMNIDwigaak7UR0faGT9o/WRd5JayguXwIhALjU+hTScR0P8PiO0i8kOOVRNNy2gWQgQgH8KsMaDt0G"}]},"_npmUser":{"name":"bmatei","email":"bogdan@matei.dev"},"directories":{},"maintainers":[{"name":"bmatei","email":"bogdan@matei.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-prometheus-exporter_1.0.4_1607603120234_0.23110362746175062"},"_hasShrinkwrap":false},"1.1.0":{"name":"@bmatei/apollo-prometheus-exporter","version":"1.1.0","description":"Plugin for Apollo Server to export metrics in Prometheus format","keywords":["apollo","apollo server","prometheus","metrics","tracing"],"author":{"name":"Bogdan Matei","email":"bogdan@matei.dev"},"license":"MIT","main":"index.js","homepage":"https://github.com/bfmatei/apollo-prometheus-exporter#readme","repository":{"type":"git","url":"git+https://github.com/bfmatei/apollo-prometheus-exporter.git"},"peerDependencies":{"prom-client":"^12.0.0"},"bugs":{"url":"https://github.com/bfmatei/apollo-prometheus-exporter/issues"},"_id":"@bmatei/apollo-prometheus-exporter@1.1.0","_nodeVersion":"14.15.1","_npmVersion":"6.14.9","dist":{"integrity":"sha512-nSWhiY6QFevysUr0YzeIGQwc2QUVTfgnLO/D8fIpq9e3vGuBdiikcLITp39i78VhZKwaDORv5Z3JImh/TdgeXg==","shasum":"2e682ef5434978739bc6595288ed7a72675cf7c2","tarball":"https://registry.npmjs.org/@bmatei/apollo-prometheus-exporter/-/apollo-prometheus-exporter-1.1.0.tgz","fileCount":24,"unpackedSize":47602,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf1oGCCRA9TVsSAnZWagAApREP/2bYhVVoPCAfxRNzf635\nBV5Hz2VGI6V1EKZQp4Q3YQxgXzpoGoP0+1UD+5ETkJQrkZgValaUnjP58vni\nkakcpAzcqPfCbS6ktY1Fa3gNQe3TXMX8/1o5rFg+7SBcBi1yBdyKTI+4+fdL\nRLT1fiX3u+7JQtNqB9GswkW7a0nE/OWT+wnxDa7hBcGgP3birP575gE3vupx\nzPyPKlOU4Xw9zwqR/5C0GUpHOtIW4tLAGWGqdJZRnAmLD17vnzIZ3xciRLgX\nrbt9YUm93B/RC7gkXNWnHN+PGOXhIOs88LTobFjyFwRGnenEz8y3U3oq9fom\n9vEnp0MoGL1gQlEe8h9+HMF5E2ce+TypkEXBFGwwiq1s1G+m3ElvP4SBXPs2\n/ELHk10bbNSvghkxcWfgGpmXcAvjBGH0aw19cNaA7S8iqgXeZS0jUV0OhSFn\ngwwLz0SQ6uogKJMB/GJhSJZk/PHQWi8JecCbUSTKiqZZCJQc8AG1mHuF3iSA\nS6AHyVYZ0A0e0ArbsY+QzKa6wcnwnnqVkNR1+SPmtHCmPdhdDQB49x+H2RKl\nNIOmLB2kxlzPf3eGql/EV6edpU2ZU5jjeXhTPZFUStIWlinZmVkeB9GntQQj\nb0xbWQIZvSxaRTbnT6FzadkIJu8AviIs0LvkXAWPxBCB0G4CrReRhVhZWdRg\n/evD\r\n=y4K0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAdIAm3CSnJh/ZjXO8+d9STx8b8YyXvfj3B8mHhO6o8FAiByaYdFM7GozZUeBL9D4A9JBrUcVbNcddehAueHdrjWdw=="}]},"_npmUser":{"name":"bmatei","email":"bogdan@matei.dev"},"directories":{},"maintainers":[{"name":"bmatei","email":"bogdan@matei.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-prometheus-exporter_1.1.0_1607893377569_0.35535611655451604"},"_hasShrinkwrap":false},"1.2.0":{"name":"@bmatei/apollo-prometheus-exporter","version":"1.2.0","description":"Plugin for Apollo Server to export metrics in Prometheus format","keywords":["apollo","apollo server","prometheus","metrics","tracing"],"author":{"name":"Bogdan Matei","email":"bogdan@matei.dev"},"license":"MIT","main":"index.js","homepage":"https://github.com/bfmatei/apollo-prometheus-exporter#readme","repository":{"type":"git","url":"git+https://github.com/bfmatei/apollo-prometheus-exporter.git"},"peerDependencies":{"prom-client":"^12.0.0 || ^13.0.0"},"bugs":{"url":"https://github.com/bfmatei/apollo-prometheus-exporter/issues"},"_id":"@bmatei/apollo-prometheus-exporter@1.2.0","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-Rnr5ibt5x1Kc9y8UUmx0EF/3CjFnhwz8gytU9WJhm1GuL4v1HXgiyjQqvtJrJ+1UKYbQaThamyZT9NjbcrURLg==","shasum":"911363f4d179d640886371bfdea103c1e34bdb46","tarball":"https://registry.npmjs.org/@bmatei/apollo-prometheus-exporter/-/apollo-prometheus-exporter-1.2.0.tgz","fileCount":24,"unpackedSize":48413,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgXcy/CRA9TVsSAnZWagAAyVUP/1GtrKybmiR4Ia3f4HDu\nH17y0h/fOV2TVWBJRrPY38mSvSFXMyoFYDSSm6m2RgyYFE+BUzB2FapZ3XNW\nppEVwVI1q5Y1Zqoo10a0EDp8MbFKy9KWUZ8j2dp6dXt1NW+ANq3tWtxR3nZ8\nTaal3SwZm0L/+UUtXEeI4hDKqPWVBOUrZ2PA7k/JA0wf05s+sWAd6MgCJCFF\nZqYfurCCu0cDh4v8KdZAgPHcyhkDGzFxPMK+DxyaQeaWUpXq5yF2unEg9JbO\nMayzSF0gqAsDM3Ol6/Al36g8wjGe6icE59xP34E6AcB7EB7W9xQ/qUiedG6d\nxrM5ySot/+3lV6A2rxMR7dviRfSYCDydLuDwJeJJd1+A7bX/UYB3ivUhlpr/\nvbHJIL9yu5HzortndnTE+Zpc/SJdub2uFr+rTPOI0qO40mndkLe5Ht1CAsxF\nBE+XXWl7wTNXE9Ys8X1vKa/WauB1Fudp7U0KEOYeRtGGMxeaYNiZ+E2GC7/U\nflxgfjhMkNFzn0e9VTuPHrylPDOlBZ+K4OBeCtfWBf1HGXgxUi+kGn3uIfTh\nSRG/AtCrU0pAJknEJ8cBtT39lgP+2am9XHh/Pn8FAVuakA0AefE+O+vlc/fh\nw+eToMbGyKEt/igJiuoQ2d6nCqNsUghPlcpnY+23/d2Tl+uW8zJCoLjqMGez\n4aFx\r\n=xSIh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHzq51H18QbpCp10AmRUY9+O4H2xYAWonKa/Iyak/tNCAiA7AxWE1F+qfBumOC1EOGas8WCxfu+6EVNuT5QkqUhizw=="}]},"_npmUser":{"name":"bmatei","email":"bogdan@matei.dev"},"directories":{},"maintainers":[{"name":"bmatei","email":"bogdan@matei.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-prometheus-exporter_1.2.0_1616759999027_0.3152605828789554"},"_hasShrinkwrap":false},"2.0.0":{"name":"@bmatei/apollo-prometheus-exporter","version":"2.0.0","description":"Plugin for Apollo Server to export metrics in Prometheus format","keywords":["apollo","apollo server","prometheus","metrics","tracing"],"author":{"name":"Bogdan Matei","email":"bogdan@matei.dev"},"license":"MIT","main":"index.js","homepage":"https://github.com/bfmatei/apollo-prometheus-exporter#readme","repository":{"type":"git","url":"git+https://github.com/bfmatei/apollo-prometheus-exporter.git"},"peerDependencies":{"prom-client":"^12.0.0 || ^13.0.0"},"types":"./index.d.ts","gitHead":"c7d04ab316611df8f3400f92591dde8f7cc97f3e","bugs":{"url":"https://github.com/bfmatei/apollo-prometheus-exporter/issues"},"_id":"@bmatei/apollo-prometheus-exporter@2.0.0","_nodeVersion":"16.11.0","_npmVersion":"7.24.2","dist":{"integrity":"sha512-n03OLdaEn7MxD/TKMVHz7AhClD35srrlK/2HHORKsNXcfZxlGTxxW3Tkbx3Xij1PGLk3a5lbDwiSv47d2zOblA==","shasum":"e05198e56e8726ad8a109fb30ef3e920b49dab34","tarball":"https://registry.npmjs.org/@bmatei/apollo-prometheus-exporter/-/apollo-prometheus-exporter-2.0.0.tgz","fileCount":24,"unpackedSize":49008,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDHk0L+/BQxsGh/TEmPaJ03j55BPlSWVX8GX3TS+MsH2gIgVA0rPuGg7vGJ8l05uTocHEe6u56q3fv79jG11iEE97k="}]},"_npmUser":{"name":"bmatei","email":"bogdan@matei.dev"},"directories":{},"maintainers":[{"name":"bmatei","email":"bogdan@matei.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-prometheus-exporter_2.0.0_1633978774784_0.6079256575522174"},"_hasShrinkwrap":false},"2.1.0":{"name":"@bmatei/apollo-prometheus-exporter","version":"2.1.0","description":"Plugin for Apollo Server to export metrics in Prometheus format","keywords":["apollo","apollo server","prometheus","metrics","tracing"],"author":{"name":"Bogdan Matei","email":"bogdan@matei.dev"},"license":"MIT","main":"index.js","homepage":"https://github.com/bfmatei/apollo-prometheus-exporter#readme","repository":{"type":"git","url":"git+https://github.com/bfmatei/apollo-prometheus-exporter.git"},"peerDependencies":{"prom-client":"^12.0.0 || ^13.0.0"},"types":"./index.d.ts","gitHead":"5917cee55570b656b397c195e52435b01efa86b7","bugs":{"url":"https://github.com/bfmatei/apollo-prometheus-exporter/issues"},"_id":"@bmatei/apollo-prometheus-exporter@2.1.0","_nodeVersion":"16.11.0","_npmVersion":"7.24.2","dist":{"integrity":"sha512-9zaTOxoGdjG7BB4NN3HBFuio7BTV7E1U2Uoo/vhnsaCAPYFgH2ejpQmuOiGk++G08hVpjR4VB+T9HJRde4IFtw==","shasum":"1d2d20ac533cbc9cc7a7853eb26cdfc1d97ca3c6","tarball":"https://registry.npmjs.org/@bmatei/apollo-prometheus-exporter/-/apollo-prometheus-exporter-2.1.0.tgz","fileCount":24,"unpackedSize":59618,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEXipYj8aLoZw57xtUoYj3o7/2S/O8zActbstv+qo83kAiEA9s78oPRzHV6wuC2B2lSSwGn953o7mqfaM1zQd09VBAg="}]},"_npmUser":{"name":"bmatei","email":"bogdan@matei.dev"},"directories":{},"maintainers":[{"name":"bmatei","email":"bogdan@matei.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-prometheus-exporter_2.1.0_1633983808761_0.1484184490322471"},"_hasShrinkwrap":false},"1.3.0":{"name":"@bmatei/apollo-prometheus-exporter","version":"1.3.0","description":"Plugin for Apollo Server to export metrics in Prometheus format","keywords":["apollo","apollo server","prometheus","metrics","tracing"],"author":{"name":"Bogdan Matei","email":"bogdan@matei.dev"},"license":"MIT","main":"index.js","homepage":"https://github.com/bfmatei/apollo-prometheus-exporter#readme","repository":{"type":"git","url":"git+https://github.com/bfmatei/apollo-prometheus-exporter.git"},"peerDependencies":{"prom-client":"^12.0.0 || ^13.0.0"},"types":"./index.d.ts","readme":"# Apollo Prometheus Exporter\n\n![GitHub Workflow Status](https://img.shields.io/github/workflow/status/bfmatei/apollo-prometheus-exporter/Release)\n![npm](https://img.shields.io/npm/v/@bmatei/apollo-prometheus-exporter)\n\nPlugin for Apollo Server to export metrics in Prometheus format.\n\nIt uses [prom-client](https://github.com/siimon/prom-client) under the hood the export the metrics.\n\nSince Apollo Server released a new major version, a new version (v2.x.y) of the exporter has been launched. Apollo\nServer v2 is still supported in v1.x.y. The two versions will be features-matched as much as possible.\n\n## Metrics\n\n| Name                                     | Description                                             | Type      |\n| ---------------------------------------- | ------------------------------------------------------- | --------- |\n| `apollo_server_starting`                 | The last timestamp when Apollo Server was starting.     | Gauge     |\n| `apollo_server_closing`                  | The last timestamp when Apollo Server was closing.      | Gauge     |\n| `apollo_query_started`                   | The amount of received queries.                         | Counter   |\n| `apollo_query_failed`                    | The amount of queries that failed.                      | Counter   |\n| `apollo_query_parse_started`             | The amount of queries for which parsing has started.    | Counter   |\n| `apollo_query_parse_failed`              | The amount of queries for which parsing has failed.     | Counter   |\n| `apollo_query_validation_started`        | The amount of queries for which validation has started. | Counter   |\n| `apollo_query_validation_failed`         | The amount of queries for which validation has failed.  | Counter   |\n| `apollo_query_resolved`                  | The amount of queries which could be resolved.          | Counter   |\n| `apollo_query_execution_started`         | The amount of queries for which execution has started.  | Counter   |\n| `apollo_query_execution_failed`          | The amount of queries for which execution has failed.   | Counter   |\n| `apollo_query_duration`                  | The total duration of a query.                          | Histogram |\n| `apollo_query_field_resolution_duration` | The total duration for resolving fields.                | Histogram |\n\nFor default metrics, please refer to [prom-client](https://github.com/siimon/prom-client) default metrics.\n\n## Usage\n\n1. Install `prom-client` and `@bmatei/apollo-prometheus-exporter`\n\n   ```shell script\n   npm install prom-client @bmatei/apollo-prometheus-exporter\n   ```\n\n2. Create an instance of the plugin\n\n   ```ts\n   const app = express();\n\n   const prometheusExporterPlugin = createPrometheusExporterPlugin({ app });\n   ```\n\n3. Add the plugin to ApolloServer\n\n   ```ts\n   const server = new ApolloServer({\n     plugins: [prometheusExporterPlugin]\n   });\n   ```\n\nFor a complete working example, please have a look over the `example` project in this repository.\n\n## Options\n\n| Name                       | Description                                                                                                                                                  | Type                                   | Default Value                                                    |\n| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------- | ---------------------------------------------------------------- |\n| `app`                      | Express instance. For the moment it is used for defining the metrics endpoint. It is mandatory unless `metricsEndpoint` is set to false.                     | `Express`                              | `undefined`                                                      |\n| `defaultLabels`            | An object containing default labels to be sent with each metric.                                                                                             | `Object`                               | `{}`                                                             |\n| `defaultMetrics`           | Flag to enable/disable the default metrics registered by `prom-client`.                                                                                      | `Boolean`                              | `true`                                                           |\n| `defaultMetricsOptions`    | Configuration object for the default metrics.                                                                                                                | `DefaultMetricsCollectorConfiguration` | `{}`                                                             |\n| `durationHistogramBuckets` | A list of durations that should be used by histograms.                                                                                                       | `number[]`                             | `[0.001, 0.005, 0.015, 0.05, 0.1, 0.2, 0.3, 0.4, 0.5, 1, 5, 10]` |\n| `hostnameLabel`            | Flag to enable/disable `hostname` label.                                                                                                                     | `Boolean`                              | `true`                                                           |\n| `hostnameLabelName`        | The name of the `hostname` label.                                                                                                                            | `String`                               | `hostname`                                                       |\n| `metricsEndpoint`          | Flag to enable/disable the metrics endpoint. If you disable this, you can use the `registerPrometheusMetricsEndpoint` method to enable the metrics endpoint. | `Boolean`                              | `true`                                                           |\n| `metricsEndpointPath`      | HTTP path where the metrics will be published.                                                                                                               | `String`                               | `\"/metrics\"`                                                     |\n| `register`                 | Prometheus client registry to be used by Apollo Metrics. By default, it is also used by the default metrics.                                                 | `Registry`                             | `register`                                                       |\n| `skipMetrics`              | A key-value map that controls if a metric is enabled or disabled.                                                                                            | `SkipMetricsMap`                       | `{}`                                                             |\n\n## Thanks\n\n- [prom-client](https://github.com/siimon/prom-client)\n- [apollo-metrics](https://github.com/dotellie/apollo-metrics)\n","readmeFilename":"README.md","gitHead":"2d2af17ed92326d605f89a5ef003ed5ecbd2d0d1","bugs":{"url":"https://github.com/bfmatei/apollo-prometheus-exporter/issues"},"_id":"@bmatei/apollo-prometheus-exporter@1.3.0","_nodeVersion":"16.11.0","_npmVersion":"7.24.2","dist":{"integrity":"sha512-aeudrqZSfZAznwod+LlGljcpZnbiAy5aTaR5T+SRywwXIP9m8Z/so6VHCHPWPOscywlrII93eirQBZZxMFvdMQ==","shasum":"62d56fb3445da2ccce09257a054ee509b06f2e8c","tarball":"https://registry.npmjs.org/@bmatei/apollo-prometheus-exporter/-/apollo-prometheus-exporter-1.3.0.tgz","fileCount":24,"unpackedSize":59402,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEmqZnGb0zoYytHLQFt2LE0NFPXeBYL2Ir6u0BozCedJAiBA93ZrnpQ1GALWM/dIcKm3ZSgWYQFplcVaMLp5uBsXeg=="}]},"_npmUser":{"name":"bmatei","email":"bogdan@matei.dev"},"directories":{},"maintainers":[{"name":"bmatei","email":"bogdan@matei.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-prometheus-exporter_1.3.0_1633984364704_0.7714657818595587"},"_hasShrinkwrap":false},"1.3.1":{"name":"@bmatei/apollo-prometheus-exporter","version":"1.3.1","description":"Plugin for Apollo Server to export metrics in Prometheus format","keywords":["apollo","apollo server","prometheus","metrics","tracing"],"author":{"name":"Bogdan Matei","email":"bogdan@matei.dev"},"license":"MIT","main":"index.js","homepage":"https://github.com/bfmatei/apollo-prometheus-exporter#readme","repository":{"type":"git","url":"git+https://github.com/bfmatei/apollo-prometheus-exporter.git"},"peerDependencies":{"prom-client":"^12.0.0 || ^13.0.0 || ^14.0.0"},"types":"./index.d.ts","readme":"# Apollo Prometheus Exporter\n\n![GitHub Workflow Status](https://img.shields.io/github/workflow/status/bfmatei/apollo-prometheus-exporter/Release)\n![npm](https://img.shields.io/npm/v/@bmatei/apollo-prometheus-exporter)\n\nPlugin for Apollo Server to export metrics in Prometheus format.\n\nIt uses [prom-client](https://github.com/siimon/prom-client) under the hood the export the metrics.\n\nSince Apollo Server released a new major version, a new version (v2.x.y) of the exporter has been launched. Apollo\nServer v2 is still supported in v1.x.y. The two versions will be features-matched as much as possible.\n\n## Metrics\n\n| Name                                     | Description                                             | Type      |\n| ---------------------------------------- | ------------------------------------------------------- | --------- |\n| `apollo_server_starting`                 | The last timestamp when Apollo Server was starting.     | Gauge     |\n| `apollo_server_closing`                  | The last timestamp when Apollo Server was closing.      | Gauge     |\n| `apollo_query_started`                   | The amount of received queries.                         | Counter   |\n| `apollo_query_failed`                    | The amount of queries that failed.                      | Counter   |\n| `apollo_query_parse_started`             | The amount of queries for which parsing has started.    | Counter   |\n| `apollo_query_parse_failed`              | The amount of queries for which parsing has failed.     | Counter   |\n| `apollo_query_validation_started`        | The amount of queries for which validation has started. | Counter   |\n| `apollo_query_validation_failed`         | The amount of queries for which validation has failed.  | Counter   |\n| `apollo_query_resolved`                  | The amount of queries which could be resolved.          | Counter   |\n| `apollo_query_execution_started`         | The amount of queries for which execution has started.  | Counter   |\n| `apollo_query_execution_failed`          | The amount of queries for which execution has failed.   | Counter   |\n| `apollo_query_duration`                  | The total duration of a query.                          | Histogram |\n| `apollo_query_field_resolution_duration` | The total duration for resolving fields.                | Histogram |\n\nFor default metrics, please refer to [prom-client](https://github.com/siimon/prom-client) default metrics.\n\n## Usage\n\n1. Install `prom-client` and `@bmatei/apollo-prometheus-exporter`\n\n   ```shell script\n   npm install prom-client @bmatei/apollo-prometheus-exporter\n   ```\n\n2. Create an instance of the plugin\n\n   ```ts\n   const app = express();\n\n   const prometheusExporterPlugin = createPrometheusExporterPlugin({ app });\n   ```\n\n3. Add the plugin to ApolloServer\n\n   ```ts\n   const server = new ApolloServer({\n     plugins: [prometheusExporterPlugin]\n   });\n   ```\n\nFor a complete working example, please have a look over the `example` project in this repository.\n\n## Options\n\n| Name                       | Description                                                                                                                                                  | Type                                   | Default Value                                                    |\n| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------- | ---------------------------------------------------------------- |\n| `app`                      | Express instance. For the moment it is used for defining the metrics endpoint. It is mandatory unless `metricsEndpoint` is set to false.                     | `Express`                              | `undefined`                                                      |\n| `defaultLabels`            | An object containing default labels to be sent with each metric.                                                                                             | `Object`                               | `{}`                                                             |\n| `defaultMetrics`           | Flag to enable/disable the default metrics registered by `prom-client`.                                                                                      | `Boolean`                              | `true`                                                           |\n| `defaultMetricsOptions`    | Configuration object for the default metrics.                                                                                                                | `DefaultMetricsCollectorConfiguration` | `{}`                                                             |\n| `durationHistogramBuckets` | A list of durations that should be used by histograms.                                                                                                       | `number[]`                             | `[0.001, 0.005, 0.015, 0.05, 0.1, 0.2, 0.3, 0.4, 0.5, 1, 5, 10]` |\n| `hostnameLabel`            | Flag to enable/disable `hostname` label.                                                                                                                     | `Boolean`                              | `true`                                                           |\n| `hostnameLabelName`        | The name of the `hostname` label.                                                                                                                            | `String`                               | `hostname`                                                       |\n| `metricsEndpoint`          | Flag to enable/disable the metrics endpoint. If you disable this, you can use the `registerPrometheusMetricsEndpoint` method to enable the metrics endpoint. | `Boolean`                              | `true`                                                           |\n| `metricsEndpointPath`      | HTTP path where the metrics will be published.                                                                                                               | `String`                               | `\"/metrics\"`                                                     |\n| `register`                 | Prometheus client registry to be used by Apollo Metrics. By default, it is also used by the default metrics.                                                 | `Registry`                             | `register`                                                       |\n| `skipMetrics`              | A key-value map that controls if a metric is enabled or disabled.                                                                                            | `SkipMetricsMap`                       | `{}`                                                             |\n\n## Thanks\n\n- [prom-client](https://github.com/siimon/prom-client)\n- [apollo-metrics](https://github.com/dotellie/apollo-metrics)\n","readmeFilename":"README.md","gitHead":"9243b9f034772e2470dfb7f8288d2144ba44bd6b","bugs":{"url":"https://github.com/bfmatei/apollo-prometheus-exporter/issues"},"_id":"@bmatei/apollo-prometheus-exporter@1.3.1","_nodeVersion":"16.12.0","_npmVersion":"7.24.2","dist":{"integrity":"sha512-3oLPTauDefWpoUvKffZIES1F32A+4lAwbceWEiE6z/jgy+6zHim3eC1meMbw6cTX1VkYl2p8e75w2Cq2a4nluQ==","shasum":"174477106f4859059c42bf15dfe5be7f5f27e937","tarball":"https://registry.npmjs.org/@bmatei/apollo-prometheus-exporter/-/apollo-prometheus-exporter-1.3.1.tgz","fileCount":24,"unpackedSize":59419,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICNTtv4q+rM7tz2xW1zL6UfznwoTlraKurQt/d9S1svbAiABbh9xaQ1gB72ZtEwmzTMbDVWmmBVTYLryHX5mJ7ofVA=="}]},"_npmUser":{"name":"bmatei","email":"bogdan@matei.dev"},"directories":{},"maintainers":[{"name":"bmatei","email":"bogdan@matei.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-prometheus-exporter_1.3.1_1634920225115_0.9690030806426679"},"_hasShrinkwrap":false},"2.1.1":{"name":"@bmatei/apollo-prometheus-exporter","version":"2.1.1","description":"Plugin for Apollo Server to export metrics in Prometheus format","keywords":["apollo","apollo server","prometheus","metrics","tracing"],"author":{"name":"Bogdan Matei","email":"bogdan@matei.dev"},"license":"MIT","main":"index.js","homepage":"https://github.com/bfmatei/apollo-prometheus-exporter#readme","repository":{"type":"git","url":"git+https://github.com/bfmatei/apollo-prometheus-exporter.git"},"peerDependencies":{"prom-client":"^12.0.0 || ^13.0.0 || ^14.0.0"},"types":"./index.d.ts","gitHead":"793e99a6924e500fb1970577fe9d94e8223d74b7","bugs":{"url":"https://github.com/bfmatei/apollo-prometheus-exporter/issues"},"_id":"@bmatei/apollo-prometheus-exporter@2.1.1","_nodeVersion":"16.12.0","_npmVersion":"7.24.2","dist":{"integrity":"sha512-e/ZYtj1o9BTaXEqhAVB/RAjb5cUj6bcbsTSSwEQW5dOVGRwGa2C6h9HTWTU3fECP+FIiqNOCVXx6aNOXIQ1fEQ==","shasum":"3b426919b730761686b67414e8f06f185661d3ae","tarball":"https://registry.npmjs.org/@bmatei/apollo-prometheus-exporter/-/apollo-prometheus-exporter-2.1.1.tgz","fileCount":24,"unpackedSize":59633,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2BrpCRA9TVsSAnZWagAA3h0P/0pDw/hxY9ggGTQz7sFb\n9zq1V7oXs+I8E+RH50NzAZN9uSLmMXb0xiRuOR27WzDVRpAF1nDWkvQSJ39P\nUfGSEhRZ4nvDeDEsBFVOPdKNXjc808QXHW4Xq0Hb6IXkVNZH4LLpzp57/lXk\nA0/XBXsAwtSusBDa9SpwGDSuGyk3jKrIV43yBbZ8w02g620Lp3WlADOdcq6W\nvFMX94OA93inBcU1BAMZT0CPgPdSUz0Qb33PBFhoLgH1JN1hPSnJ3EXMXp2O\n+Z6kAsJMFztama6JDddAeP1oB9aVwKAEU27JignPIB8y3TY5G//3dn5/l069\ng+Joaas6QFGsJ/nO87oBPxgepVNdX9nGoLvM48cbFz625rmVhDh4wAhvYMhm\n37rEeqmW/dy83CQbFel6saB3KR5tPZDAC1ww1rxmHD//68wQFHZE5txxEihc\ngE7QjTxlfjJUR7qqBSd1uD0HHWwlOJrJPS8ryjo8fLrOkhnGCixWBtfHlRC+\nGtFTBJhhkHrsF3/9PTZiiuAuzw2EmvME4VmOBg2WDdOPQ6/2Pntumv5h8IDy\neSfXDjrtfq1SbnDK7CUwB838euo521S8wSOHoKN0xgtW/D/vNDpbpEAQtdN1\neT3EyIy/4X06Zsu1Xm486bZNnVkzYgJBXJLH2qycQD6T8q3NPKXduKIKTe9P\npCLj\r\n=7E/4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD0uP1TSK/t2J7tjqh3SM1CCQlqKW0RU0RrnaCG6cIJ/wIhALnfHUqRAA7B8EsATG8P6qxcUkPZsddBXcwtmw1J1thQ"}]},"_npmUser":{"name":"bmatei","email":"bogdan@matei.dev"},"directories":{},"maintainers":[{"name":"bmatei","email":"bogdan@matei.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-prometheus-exporter_2.1.1_1634920313270_0.5479200833955218"},"_hasShrinkwrap":false},"3.0.0":{"name":"@bmatei/apollo-prometheus-exporter","version":"3.0.0","description":"Plugin for Apollo Server to export metrics in Prometheus format","keywords":["apollo","apollo server","prometheus","metrics","tracing"],"author":{"name":"Bogdan Matei","email":"bogdan@matei.dev"},"license":"MIT","main":"index.js","homepage":"https://github.com/bfmatei/apollo-prometheus-exporter#readme","repository":{"type":"git","url":"git+https://github.com/bfmatei/apollo-prometheus-exporter.git"},"peerDependencies":{"prom-client":"^12.0.0 || ^13.0.0 || ^14.0.0"},"types":"./index.d.ts","gitHead":"93aeda218f30a598a6d48a49b8f598b0709b274c","bugs":{"url":"https://github.com/bfmatei/apollo-prometheus-exporter/issues"},"_id":"@bmatei/apollo-prometheus-exporter@3.0.0","_nodeVersion":"16.20.2","_npmVersion":"7.24.2","dist":{"integrity":"sha512-6mhqiIZvt7UWwQ9RF0nLtduOzmdzQ5EA2Deb/fa5/s5ByJZmi+miX328dM8lVVMoHicGLsBeRj2CJ232QWZJKQ==","shasum":"f9db2bd227160ea4380d2c86b9e7fd073de4c61a","tarball":"https://registry.npmjs.org/@bmatei/apollo-prometheus-exporter/-/apollo-prometheus-exporter-3.0.0.tgz","fileCount":24,"unpackedSize":59067,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCMc5peJBZXIbIjllqDC3ihBUKFrHB6aOGSpIXGurv8sQIhAOsGk7OBybTPoJe4jJduWQ8+Yhvr/H5iLlDsfGvu4z8v"}]},"_npmUser":{"name":"rgeyer","email":"me@ryangeyer.com"},"directories":{},"maintainers":[{"name":"bmatei","email":"bogdan@matei.dev"},{"name":"rgeyer","email":"me@ryangeyer.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apollo-prometheus-exporter_3.0.0_1700684467974_0.44875425682237435"},"_hasShrinkwrap":false}},"time":{"created":"2020-12-08T13:04:41.485Z","1.0.0":"2020-12-08T13:04:41.668Z","modified":"2023-11-22T20:21:08.409Z","1.0.1":"2020-12-08T13:27:10.570Z","1.0.2":"2020-12-08T13:37:24.623Z","1.0.3":"2020-12-08T13:46:51.582Z","1.0.4":"2020-12-10T12:25:20.365Z","1.1.0":"2020-12-13T21:02:57.702Z","1.2.0":"2021-03-26T11:59:59.177Z","2.0.0":"2021-10-11T18:59:34.912Z","2.1.0":"2021-10-11T20:23:28.991Z","1.3.0":"2021-10-11T20:32:44.867Z","1.3.1":"2021-10-22T16:30:25.315Z","2.1.1":"2021-10-22T16:31:53.442Z","3.0.0":"2023-11-22T20:21:08.227Z"},"maintainers":[{"name":"bmatei","email":"bogdan@matei.dev"},{"name":"rgeyer","email":"me@ryangeyer.com"}],"description":"Plugin for Apollo Server to export metrics in Prometheus format","homepage":"https://github.com/bfmatei/apollo-prometheus-exporter#readme","keywords":["apollo","apollo server","prometheus","metrics","tracing"],"repository":{"type":"git","url":"git+https://github.com/bfmatei/apollo-prometheus-exporter.git"},"author":{"name":"Bogdan Matei","email":"bogdan@matei.dev"},"bugs":{"url":"https://github.com/bfmatei/apollo-prometheus-exporter/issues"},"license":"MIT","readme":"# Apollo Prometheus Exporter\n\n![GitHub Workflow Status](https://img.shields.io/github/workflow/status/bfmatei/apollo-prometheus-exporter/Release)\n![npm](https://img.shields.io/npm/v/@bmatei/apollo-prometheus-exporter)\n\nPlugin for Apollo Server to export metrics in Prometheus format.\n\nIt uses [prom-client](https://github.com/siimon/prom-client) under the hood the export the metrics.\n\nSince Apollo Server released a new major version, a new version (v2.x.y) of the exporter has been launched. Apollo\nServer v2 is still supported in v1.x.y. The two versions will be features-matched as much as possible.\n\n## Metrics\n\n| Name                                     | Description                                             | Type      |\n| ---------------------------------------- | ------------------------------------------------------- | --------- |\n| `apollo_server_starting`                 | The last timestamp when Apollo Server was starting.     | Gauge     |\n| `apollo_server_closing`                  | The last timestamp when Apollo Server was closing.      | Gauge     |\n| `apollo_query_started`                   | The amount of received queries.                         | Counter   |\n| `apollo_query_failed`                    | The amount of queries that failed.                      | Counter   |\n| `apollo_query_parse_started`             | The amount of queries for which parsing has started.    | Counter   |\n| `apollo_query_parse_failed`              | The amount of queries for which parsing has failed.     | Counter   |\n| `apollo_query_validation_started`        | The amount of queries for which validation has started. | Counter   |\n| `apollo_query_validation_failed`         | The amount of queries for which validation has failed.  | Counter   |\n| `apollo_query_resolved`                  | The amount of queries which could be resolved.          | Counter   |\n| `apollo_query_execution_started`         | The amount of queries for which execution has started.  | Counter   |\n| `apollo_query_execution_failed`          | The amount of queries for which execution has failed.   | Counter   |\n| `apollo_query_duration`                  | The total duration of a query.                          | Histogram |\n| `apollo_query_field_resolution_duration` | The total duration for resolving fields.                | Histogram |\n\nFor default metrics, please refer to [prom-client](https://github.com/siimon/prom-client) default metrics.\n\n## Usage\n\n1. Install `prom-client` and `@bmatei/apollo-prometheus-exporter`\n\n   ```shell script\n   npm install prom-client @bmatei/apollo-prometheus-exporter\n   ```\n\n2. Create an instance of the plugin\n\n   ```ts\n   const app = express();\n\n   const prometheusExporterPlugin = createPrometheusExporterPlugin({ app });\n   ```\n\n3. Add the plugin to ApolloServer\n\n   ```ts\n   const server = new ApolloServer({\n     plugins: [prometheusExporterPlugin]\n   });\n   ```\n\nFor a complete working example, please have a look over the `example` project in this repository.\n\n## Options\n\n| Name                       | Description                                                                                                                                                  | Type                                   | Default Value                                                    |\n| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------- | ---------------------------------------------------------------- |\n| `app`                      | Express instance. For the moment it is used for defining the metrics endpoint. It is mandatory unless `metricsEndpoint` is set to false.                     | `Express`                              | `undefined`                                                      |\n| `defaultLabels`            | An object containing default labels to be sent with each metric.                                                                                             | `Object`                               | `{}`                                                             |\n| `defaultMetrics`           | Flag to enable/disable the default metrics registered by `prom-client`.                                                                                      | `Boolean`                              | `true`                                                           |\n| `defaultMetricsOptions`    | Configuration object for the default metrics.                                                                                                                | `DefaultMetricsCollectorConfiguration` | `{}`                                                             |\n| `durationHistogramBuckets` | A list of durations that should be used by histograms.                                                                                                       | `number[]`                             | `[0.001, 0.005, 0.015, 0.05, 0.1, 0.2, 0.3, 0.4, 0.5, 1, 5, 10]` |\n| `hostnameLabel`            | Flag to enable/disable `hostname` label.                                                                                                                     | `Boolean`                              | `true`                                                           |\n| `hostnameLabelName`        | The name of the `hostname` label.                                                                                                                            | `String`                               | `hostname`                                                       |\n| `metricsEndpoint`          | Flag to enable/disable the metrics endpoint. If you disable this, you can use the `registerPrometheusMetricsEndpoint` method to enable the metrics endpoint. | `Boolean`                              | `true`                                                           |\n| `metricsEndpointPath`      | HTTP path where the metrics will be published.                                                                                                               | `String`                               | `\"/metrics\"`                                                     |\n| `register`                 | Prometheus client registry to be used by Apollo Metrics. By default, it is also used by the default metrics.                                                 | `Registry`                             | `register`                                                       |\n| `skipMetrics`              | A key-value map that controls if a metric is enabled or disabled.                                                                                            | `SkipMetricsMap`                       | `{}`                                                             |\n\n## Thanks\n\n- [prom-client](https://github.com/siimon/prom-client)\n- [apollo-metrics](https://github.com/dotellie/apollo-metrics)\n","readmeFilename":"README.md"}