{"push_id":3338753507,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"6b99c8bfe967b137f3ab9c8dfa8b9124dc8fa781","before":"85d04382dd6eea01e3a9a8a5062b5605b16ff38c","commits":[{"sha":"6b99c8bfe967b137f3ab9c8dfa8b9124dc8fa781","author":{"name":"Emmanuel T Odeke","email":"bd234ba4276433f0e5fc7a8fa2d18274fa711567@orijtech.com"},"message":"all: add full implementation of instrumented Client\n\nOcRedis is a full drop-in replacement for redis.Redis.\nIt wraps redis.Redis and uses OpenCensus to collect\ntraces and metrics for each invocation.\nIt captures and counts errors, method invocations and delivers\nthem as traces as well as views that are then exported as metrics.\n\nSample usage:\n```python\nimport ocredis\n\ndef main():\n   client = ocredis.OcRedis(host='localhost')\n\n   # Turn on stats collection and reporting.\n   # Please remember to then use any of the OpenCensus exporters\n   # defined at https://opencensus.io/exporters/supported-exporters/python/\n   ocredis.register_views()\n   # Enable your exporter of choice here.\n\n   # Now use the client normally just like you would use redis.Redis\n   value = client.get('name_here')\n   client.del('name_here')\n```","distinct":true,"url":"https://api.github.com/repos/opencensus-integrations/ocredispy/commits/6b99c8bfe967b137f3ab9c8dfa8b9124dc8fa781"}]}
{"actor":{"display_login":"odeke-em"}}