{"action":"created","issue":{"url":"https://api.github.com/repos/kubeflow/kubeflow/issues/1911","repository_url":"https://api.github.com/repos/kubeflow/kubeflow","labels_url":"https://api.github.com/repos/kubeflow/kubeflow/issues/1911/labels{/name}","comments_url":"https://api.github.com/repos/kubeflow/kubeflow/issues/1911/comments","events_url":"https://api.github.com/repos/kubeflow/kubeflow/issues/1911/events","html_url":"https://github.com/kubeflow/kubeflow/pull/1911","id":377624282,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI4NTIzNzM5","number":1911,"title":"Enable tf serving prometheus metrics","user":{"login":"lluunn","id":32310205,"node_id":"MDQ6VXNlcjMyMzEwMjA1","avatar_url":"https://avatars0.githubusercontent.com/u/32310205?v=4","gravatar_id":"","url":"https://api.github.com/users/lluunn","html_url":"https://github.com/lluunn","followers_url":"https://api.github.com/users/lluunn/followers","following_url":"https://api.github.com/users/lluunn/following{/other_user}","gists_url":"https://api.github.com/users/lluunn/gists{/gist_id}","starred_url":"https://api.github.com/users/lluunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lluunn/subscriptions","organizations_url":"https://api.github.com/users/lluunn/orgs","repos_url":"https://api.github.com/users/lluunn/repos","events_url":"https://api.github.com/users/lluunn/events{/privacy}","received_events_url":"https://api.github.com/users/lluunn/received_events","type":"User","site_admin":false},"labels":[{"id":1016516455,"node_id":"MDU6TGFiZWwxMDE2NTE2NDU1","url":"https://api.github.com/repos/kubeflow/kubeflow/labels/cla:%20yes","name":"cla: yes","color":"ededed","default":false},{"id":796371353,"node_id":"MDU6TGFiZWw3OTYzNzEzNTM=","url":"https://api.github.com/repos/kubeflow/kubeflow/labels/size/M","name":"size/M","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-11-05T23:16:26Z","updated_at":"2018-11-06T19:50:19Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/kubeflow/kubeflow/pulls/1911","html_url":"https://github.com/kubeflow/kubeflow/pull/1911","diff_url":"https://github.com/kubeflow/kubeflow/pull/1911.diff","patch_url":"https://github.com/kubeflow/kubeflow/pull/1911.patch"},"body":"For #1036 \r\n\r\nVerify can get data from XXX:8500/monitoring/prometheus/metrics\r\n\r\n```\r\n# TYPE :tensorflow:cc:saved_model:load_attempt_count counter\r\n:tensorflow:cc:saved_model:load_attempt_count{model_path=\"gs://kubeflow-examples-data/mnist/1\",status=\"success\"} 1\r\n# TYPE :tensorflow:cc:saved_model:load_latency counter\r\n:tensorflow:cc:saved_model:load_latency{model_path=\"gs://kubeflow-examples-data/mnist/1\"} 620873\r\n# TYPE :tensorflow:contrib:session_bundle:load_attempt_count counter\r\n# TYPE :tensorflow:contrib:session_bundle:load_latency counter\r\n# TYPE :tensorflow:core:direct_session_runs counter\r\n:tensorflow:core:direct_session_runs{} 1\r\n# TYPE :tensorflow:serving:request_example_count_total counter\r\n# TYPE :tensorflow:serving:request_example_counts histogram\r\n# TYPE :tensorflow:serving:request_log_count counter\r\n```\r\n\r\nSo the current available metrics are\r\n```\r\n:tensorflow:cc:saved_model:load_attempt_count\r\n:tensorflow:cc:saved_model:load_latency\r\n:tensorflow:core:direct_session_runs\r\n```\r\n\r\n/cc @jlewi\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/kubeflow/kubeflow/1911)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/kubeflow/kubeflow/issues/comments/436385420","html_url":"https://github.com/kubeflow/kubeflow/pull/1911#issuecomment-436385420","issue_url":"https://api.github.com/repos/kubeflow/kubeflow/issues/1911","id":436385420,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjM4NTQyMA==","user":{"login":"lluunn","id":32310205,"node_id":"MDQ6VXNlcjMyMzEwMjA1","avatar_url":"https://avatars0.githubusercontent.com/u/32310205?v=4","gravatar_id":"","url":"https://api.github.com/users/lluunn","html_url":"https://github.com/lluunn","followers_url":"https://api.github.com/users/lluunn/followers","following_url":"https://api.github.com/users/lluunn/following{/other_user}","gists_url":"https://api.github.com/users/lluunn/gists{/gist_id}","starred_url":"https://api.github.com/users/lluunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lluunn/subscriptions","organizations_url":"https://api.github.com/users/lluunn/orgs","repos_url":"https://api.github.com/users/lluunn/repos","events_url":"https://api.github.com/users/lluunn/events{/privacy}","received_events_url":"https://api.github.com/users/lluunn/received_events","type":"User","site_admin":false},"created_at":"2018-11-06T19:50:19Z","updated_at":"2018-11-06T19:50:19Z","author_association":"CONTRIBUTOR","body":"Added unit test, PTAL"}}
{"actor":{"display_login":"lluunn"}}