{"action":"created","issue":{"url":"https://api.github.com/repos/verisign/storm-graphite/issues/6","labels_url":"https://api.github.com/repos/verisign/storm-graphite/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/verisign/storm-graphite/issues/6/comments","events_url":"https://api.github.com/repos/verisign/storm-graphite/issues/6/events","html_url":"https://github.com/verisign/storm-graphite/issues/6","id":60844120,"number":6,"title":"Can't see storm metrics in graphite UI","user":{"login":"alecinvan","id":7638106,"avatar_url":"https://avatars.githubusercontent.com/u/7638106?v=3","gravatar_id":"","url":"https://api.github.com/users/alecinvan","html_url":"https://github.com/alecinvan","followers_url":"https://api.github.com/users/alecinvan/followers","following_url":"https://api.github.com/users/alecinvan/following{/other_user}","gists_url":"https://api.github.com/users/alecinvan/gists{/gist_id}","starred_url":"https://api.github.com/users/alecinvan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alecinvan/subscriptions","organizations_url":"https://api.github.com/users/alecinvan/orgs","repos_url":"https://api.github.com/users/alecinvan/repos","events_url":"https://api.github.com/users/alecinvan/events{/privacy}","received_events_url":"https://api.github.com/users/alecinvan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/verisign/storm-graphite/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-03-12T16:09:38Z","updated_at":"2015-03-17T20:30:59Z","closed_at":null,"body":"Hi, \r\nI was able to successfully build the jars, here is what I did to be able to monitor storm topology in graphite web UI. My storm cluster is 3-node cluster, and I get graphite installed on one of nodes.\r\n\r\n1.  I copy these jar files into $storm_home/lib of each node, which is /etc/storm/lib\r\n\r\n```\r\n-rw-r--r--  1 stuser storm   146358 Mar 11 16:57 storm-graphite-0.1.5-SNAPSHOT-all.jar\r\n-rw-r--r--  1 stuser storm     8214 Mar 11 16:57 storm-graphite-0.1.5-SNAPSHOT.jar\r\n-rw-r--r--  1 stuser storm    48800 Mar 11 16:57 storm-graphite-0.1.5-SNAPSHOT-javadoc.jar\r\n-rw-r--r--  1 stuser storm     7275 Mar 11 16:57 storm-graphite-0.1.5-SNAPSHOT-sources.jar\r\n```\r\n\r\n\r\n2. In storm.yaml of each node, I add such\r\n\r\n```\r\ntopology.builtin.metrics.bucket.size.secs: 10\r\ntopology.metrics.consumer.register:\r\n  - class: \"com.verisign.storm.metrics.GraphiteMetricsConsumer\"\r\n    parallelism.hint: 1\r\n    argument:\r\n      metrics.graphite.host: \"10.100.70.29\"\r\n      metrics.graphite.port: \"2003\"\r\n      metrics.graphite.prefix: \"storm.devCluster.metrics\"\r\n      metrics.graphite.min-connect-attempt-interval-secs: \"5\"\r\n```\r\n\r\nAnd restart each node storm-supervisor. \r\n\r\n3, Config storage-schemas.conf\r\n\r\n```\r\n[carbon]\r\npattern = ^carbon\\.\r\nretentions = 1min:180d,10min:180d\r\n\r\n[storm_metrics]\r\npattern = ^storm\\.devCluster\\.metrics\\.\r\nretentions = 10s:2d,1m:30d,5m:90d,1h:2y\r\n\r\n[default_1min_for_1day]\r\npattern = .*\r\nretentions = 60s:1d\r\n```\r\n\r\n4. set carbon-cache and carbon-aggregator in terms of \r\nhttp://www.michael-noll.com/blog/2013/11/06/sending-metrics-from-storm-to-graphite/\r\nBut I did have whisper up as well.\r\n\r\nAfter done all of above, I am running my topos, but I was unable to see any storm buildin metric in graphite web UI. Did I miss something?\r\n\r\nthanks\r\nAL\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/verisign/storm-graphite/issues/comments/82584891","html_url":"https://github.com/verisign/storm-graphite/issues/6#issuecomment-82584891","issue_url":"https://api.github.com/repos/verisign/storm-graphite/issues/6","id":82584891,"user":{"login":"alecinvan","id":7638106,"avatar_url":"https://avatars.githubusercontent.com/u/7638106?v=3","gravatar_id":"","url":"https://api.github.com/users/alecinvan","html_url":"https://github.com/alecinvan","followers_url":"https://api.github.com/users/alecinvan/followers","following_url":"https://api.github.com/users/alecinvan/following{/other_user}","gists_url":"https://api.github.com/users/alecinvan/gists{/gist_id}","starred_url":"https://api.github.com/users/alecinvan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alecinvan/subscriptions","organizations_url":"https://api.github.com/users/alecinvan/orgs","repos_url":"https://api.github.com/users/alecinvan/repos","events_url":"https://api.github.com/users/alecinvan/events{/privacy}","received_events_url":"https://api.github.com/users/alecinvan/received_events","type":"User","site_admin":false},"created_at":"2015-03-17T20:30:59Z","updated_at":"2015-03-17T20:30:59Z","body":"topology.builtin.metrics.bucket.size.secs: 10\r\ntopology.metrics.consumer.register:\r\n  - class: \"com.verisign.storm.metrics.GraphiteMetricsConsumer\"\r\n    parallelism.hint: 1\r\n    argument:\r\n      metrics.graphite.host: \"10.100.70.250\"\r\n      metrics.graphite.port: \"2003\"\r\n      metrics.graphite.prefix: \"storm.devCluster.metrics\"\r\n      metrics.graphite.min-connect-attempt-interval-secs: \"5\"\r\n\r\nThis is what I have added into storm.yaml, I didn't add anything in my code, therefore, all topologies running on my storm cluster will have build-in metrics available for graphite/grafana, any other metricReporters have been removed from my topos, but I am trying to send out some custom metrics to test. "}}