{"action":"created","issue":{"url":"https://api.github.com/repos/grpc-ecosystem/java-grpc-prometheus/issues/8","repository_url":"https://api.github.com/repos/grpc-ecosystem/java-grpc-prometheus","labels_url":"https://api.github.com/repos/grpc-ecosystem/java-grpc-prometheus/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/grpc-ecosystem/java-grpc-prometheus/issues/8/comments","events_url":"https://api.github.com/repos/grpc-ecosystem/java-grpc-prometheus/issues/8/events","html_url":"https://github.com/grpc-ecosystem/java-grpc-prometheus/issues/8","id":190768324,"number":8,"title":"How to export metrics from gRPC server","user":{"login":"rsmilyanov","id":6984182,"avatar_url":"https://avatars.githubusercontent.com/u/6984182?v=3","gravatar_id":"","url":"https://api.github.com/users/rsmilyanov","html_url":"https://github.com/rsmilyanov","followers_url":"https://api.github.com/users/rsmilyanov/followers","following_url":"https://api.github.com/users/rsmilyanov/following{/other_user}","gists_url":"https://api.github.com/users/rsmilyanov/gists{/gist_id}","starred_url":"https://api.github.com/users/rsmilyanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsmilyanov/subscriptions","organizations_url":"https://api.github.com/users/rsmilyanov/orgs","repos_url":"https://api.github.com/users/rsmilyanov/repos","events_url":"https://api.github.com/users/rsmilyanov/events{/privacy}","received_events_url":"https://api.github.com/users/rsmilyanov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-21T16:31:26Z","updated_at":"2016-11-26T12:57:22Z","closed_at":null,"body":"Hello guys,\r\n\r\nDo you have some documentation how to export the collected metrics from ```MonitoringServerInterceptor``` to Prometheus?\r\n\r\nI checked the code and it seems that I have export the metrics by myself. Am I right?\r\n\r\nThanks,\r\nRado\r\n"},"comment":{"url":"https://api.github.com/repos/grpc-ecosystem/java-grpc-prometheus/issues/comments/263062131","html_url":"https://github.com/grpc-ecosystem/java-grpc-prometheus/issues/8#issuecomment-263062131","issue_url":"https://api.github.com/repos/grpc-ecosystem/java-grpc-prometheus/issues/8","id":263062131,"user":{"login":"dinowernli","id":5654433,"avatar_url":"https://avatars.githubusercontent.com/u/5654433?v=3","gravatar_id":"","url":"https://api.github.com/users/dinowernli","html_url":"https://github.com/dinowernli","followers_url":"https://api.github.com/users/dinowernli/followers","following_url":"https://api.github.com/users/dinowernli/following{/other_user}","gists_url":"https://api.github.com/users/dinowernli/gists{/gist_id}","starred_url":"https://api.github.com/users/dinowernli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dinowernli/subscriptions","organizations_url":"https://api.github.com/users/dinowernli/orgs","repos_url":"https://api.github.com/users/dinowernli/repos","events_url":"https://api.github.com/users/dinowernli/events{/privacy}","received_events_url":"https://api.github.com/users/dinowernli/received_events","type":"User","site_admin":false},"created_at":"2016-11-26T12:57:22Z","updated_at":"2016-11-26T12:57:22Z","body":"Hi Rado\n\nActually, the way Prometheus is usually set up looks as follows:\n1) The binary in need of monitoring exports the relevant metrics\n2) The binary in need of monitoring exposes an HTTP endpoint which surfaces\nall metrics (can be done using a jetty servlet container and a simple\nservlet)\n3) A separate prometheus binary periodically scrapes the original binary.\n\nThis library helps you do (1). Solutions for (2) and (3) exist and are\nlargely shipped with Prometheus itself. Does this help?\n\nCheers\nDino\n\nOn Nov 21, 2016 16:31, \"rsmilyanov\" <notifications@github.com> wrote:\n\n> Hello guys,\n>\n> Do you have some documentation how to export the collected metrics from\n> MonitoringServerInterceptor to Prometheus?\n>\n> I checked the code and it seems that I have export the metrics by myself.\n> Am I right?\n>\n> Thanks,\n> Rado\n>\n> —\n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/grpc-ecosystem/java-grpc-prometheus/issues/8>, or mute\n> the thread\n> <https://github.com/notifications/unsubscribe-auth/AFZHoSU2SOdNHkgCCpArk7kBN5BauVX5ks5rAcdfgaJpZM4K4aNy>\n> .\n>\n"}}
{"actor":{"display_login":"dinowernli"}}