diff options
author | gord chung <gord@live.ca> | 2017-09-14 21:23:37 +0000 |
---|---|---|
committer | Hanxi Liu <hanxi.liu@easystack.cn> | 2017-10-16 03:20:38 +0000 |
commit | fad69e9603e20c076175733374993fd31df49a4c (patch) | |
tree | 932824a8ecd2425ad8e60b8e6fb7302cda68f679 /ceilometer/cmd | |
parent | 83ffaffcb2cee6a0b19601bc7cefd863685601e2 (diff) | |
download | ceilometer-fad69e9603e20c076175733374993fd31df49a4c.tar.gz |
kill collector
Change-Id: I7720d20eab345a7835d57fac573332eca0e7d11e
Diffstat (limited to 'ceilometer/cmd')
-rw-r--r-- | ceilometer/cmd/collector.py | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/ceilometer/cmd/collector.py b/ceilometer/cmd/collector.py deleted file mode 100644 index 3bd00ebe..00000000 --- a/ceilometer/cmd/collector.py +++ /dev/null @@ -1,30 +0,0 @@ -# -*- encoding: utf-8 -*- -# -# Copyright 2014 OpenStack Foundation -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -import cotyledon -from cotyledon import oslo_config_glue - -from ceilometer import collector -from ceilometer import service - - -def main(): - conf = service.prepare_service() - sm = cotyledon.ServiceManager() - sm.add(collector.CollectorService, workers=conf.collector.workers, - args=(conf,)) - oslo_config_glue.setup(sm, conf) - sm.run() |