)]}'
{"monasca_setup/detection/plugins/rabbitmq.py":[{"author":{"_account_id":12133,"name":"Cindy O\u0027Neill","email":"cindy.o-neill@hpe.com","username":"oneilcin"},"change_message_id":"af153f45d446ac7f4a0cd033ad7be8620326c542","unresolved":false,"context_lines":[{"line_number":122,"context_line":"        config \u003d monasca_setup.agent_config.Plugins()"},{"line_number":123,"context_line":"        # First watch the process"},{"line_number":124,"context_line":"        config.merge(monasca_setup.detection.watch_process([\u0027rabbitmq-server\u0027], \u0027rabbitmq\u0027, detailed\u003dFalse))"},{"line_number":125,"context_line":"        log.info(\"\\tWatching the rabbitmq-server process.\")"},{"line_number":126,"context_line":"        config.merge(monasca_setup.detection.watch_process_by_username(\u0027rabbitmq\u0027, \u0027rabbitmq\u0027, \u0027rabbitmq\u0027))"},{"line_number":127,"context_line":"        log.info(\"\\tWatching all processes owned by the rabbitmq user.\")"},{"line_number":128,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"1af94dfe_0c874c62","line":125,"updated":"2016-03-15 17:42:28.000000000","message":"Shouldn\u0027t we remove the watch_process line?\nThis will setup two process.pid_count metrics for the process_name \u0027rabbitmq\u0027 i believe.  In the case of vertica plugin we decided to just use the watch_process_by_username to eliminate the dup metrics.","commit_id":"4dc598f30baa0060d7dad08df0bc6ba84c6e5d93"},{"author":{"_account_id":15027,"name":"Michael Hoppal","email":"michael.jam.hoppal@hpe.com","username":"michael-hoppal"},"change_message_id":"e403b5f49da42995a55d5526ef66019f6e503b09","unresolved":false,"context_lines":[{"line_number":122,"context_line":"        config \u003d monasca_setup.agent_config.Plugins()"},{"line_number":123,"context_line":"        # First watch the process"},{"line_number":124,"context_line":"        config.merge(monasca_setup.detection.watch_process([\u0027rabbitmq-server\u0027], \u0027rabbitmq\u0027, detailed\u003dFalse))"},{"line_number":125,"context_line":"        log.info(\"\\tWatching the rabbitmq-server process.\")"},{"line_number":126,"context_line":"        config.merge(monasca_setup.detection.watch_process_by_username(\u0027rabbitmq\u0027, \u0027rabbitmq\u0027, \u0027rabbitmq\u0027))"},{"line_number":127,"context_line":"        log.info(\"\\tWatching all processes owned by the rabbitmq user.\")"},{"line_number":128,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"1af94dfe_cfd8b620","line":125,"in_reply_to":"1af94dfe_0c874c62","updated":"2016-03-15 18:10:40.000000000","message":"In this case we want to know if the rabbitmq-server is up or not. And if it goes down but other processes owned by rabbitmq are running we wont catch it if we run it just by username. Vertica was different because you added in the query to check health status.","commit_id":"4dc598f30baa0060d7dad08df0bc6ba84c6e5d93"}]}
