{"action":"created","issue":{"url":"https://api.github.com/repos/scality/S3/issues/1236","repository_url":"https://api.github.com/repos/scality/S3","labels_url":"https://api.github.com/repos/scality/S3/issues/1236/labels{/name}","comments_url":"https://api.github.com/repos/scality/S3/issues/1236/comments","events_url":"https://api.github.com/repos/scality/S3/issues/1236/events","html_url":"https://github.com/scality/S3/pull/1236","id":319105342,"node_id":"MDExOlB1bGxSZXF1ZXN0MTg1MTEzNjgz","number":1236,"title":"FT: ZENKO-20 Redesigned monitoring to use labels","user":{"login":"anurag4DSB","id":1321012,"node_id":"MDQ6VXNlcjEzMjEwMTI=","avatar_url":"https://avatars1.githubusercontent.com/u/1321012?v=4","gravatar_id":"","url":"https://api.github.com/users/anurag4DSB","html_url":"https://github.com/anurag4DSB","followers_url":"https://api.github.com/users/anurag4DSB/followers","following_url":"https://api.github.com/users/anurag4DSB/following{/other_user}","gists_url":"https://api.github.com/users/anurag4DSB/gists{/gist_id}","starred_url":"https://api.github.com/users/anurag4DSB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anurag4DSB/subscriptions","organizations_url":"https://api.github.com/users/anurag4DSB/orgs","repos_url":"https://api.github.com/users/anurag4DSB/repos","events_url":"https://api.github.com/users/anurag4DSB/events{/privacy}","received_events_url":"https://api.github.com/users/anurag4DSB/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":30,"created_at":"2018-05-01T03:29:37Z","updated_at":"2018-06-05T23:15:15Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/scality/S3/pulls/1236","html_url":"https://github.com/scality/S3/pull/1236","diff_url":"https://github.com/scality/S3/pull/1236.diff","patch_url":"https://github.com/scality/S3/pull/1236.patch"},"body":"## Monitoring for Zenko using Prometheus\r\n\r\n### This pull request provides metrics in the form of labels using counters, gauges and summaries of prom-client\r\n\r\nWhy is this change required? What problem does it solve?\r\nThis change is required to successfully monitor S3 using Prometheus server\r\n\r\n### Related issues: \r\n[ZENKO-21](https://scality.atlassian.net/browse/ZENKO-21)\r\n[ZENKO-171](https://scality.atlassian.net/browse/ZENKO-171)\r\n\r\n## Metrics list:\r\n- name: 'cloud_server_number_of_buckets',\r\n    help: 'Total number of buckets'\r\n- name: 'cloud_server_number_of_objects',\r\n    help: 'Total number of objects'\r\n- name: 'cloud_server_data_disk_available',\r\n    help: 'Available data disk storage in bytes'\r\n- name: 'cloud_server_data_disk_free',\r\n    help: 'Free data disk storage in bytes'\r\n- name: 'cloud_server_data_disk_total',\r\n    help: 'Total data disk storage in bytes'\r\n\r\nThe following metrics are with the labels: 'method', 'bucketName', 'code'\r\n- name: 'cloud_server_http_requests_total',\r\n    help: 'Total number of HTTP requests'\r\n- name: 'cloud_server_http_request_duration_microseconds',\r\n    help: 'Duration of HTTP requests in microseconds'\r\n- name: 'cloud_server_http_request_size_bytes',\r\n    help: 'The HTTP request sizes in bytes.'\r\n- name: 'cloud_server_http_response_size_bytes',\r\n    help: 'The HTTP response sizes in bytes.'\r\n\r\n## Labels Description:\r\n- method: PUT, DELETE, HEAD, GET\r\n- bucketName: Name of the bucket on which the request is made\r\n- code: 1xx, 2xx, 3xx, 4xx, 5xx"},"comment":{"url":"https://api.github.com/repos/scality/S3/issues/comments/394890001","html_url":"https://github.com/scality/S3/pull/1236#issuecomment-394890001","issue_url":"https://api.github.com/repos/scality/S3/issues/1236","id":394890001,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDg5MDAwMQ==","user":{"login":"ironman-machine","id":15127091,"node_id":"MDQ6VXNlcjE1MTI3MDkx","avatar_url":"https://avatars0.githubusercontent.com/u/15127091?v=4","gravatar_id":"","url":"https://api.github.com/users/ironman-machine","html_url":"https://github.com/ironman-machine","followers_url":"https://api.github.com/users/ironman-machine/followers","following_url":"https://api.github.com/users/ironman-machine/following{/other_user}","gists_url":"https://api.github.com/users/ironman-machine/gists{/gist_id}","starred_url":"https://api.github.com/users/ironman-machine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ironman-machine/subscriptions","organizations_url":"https://api.github.com/users/ironman-machine/orgs","repos_url":"https://api.github.com/users/ironman-machine/repos","events_url":"https://api.github.com/users/ironman-machine/events{/privacy}","received_events_url":"https://api.github.com/users/ironman-machine/received_events","type":"User","site_admin":false},"created_at":"2018-06-05T23:15:15Z","updated_at":"2018-06-05T23:15:15Z","author_association":"CONTRIBUTOR","body":"PR has been updated. Reviewers, please be cautious."}}
{"actor":{"display_login":"ironman-machine"}}