forked from crowbar/crowbar-openstack
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ceilometer: add a polling section in ceilometer conf (SCRD-8720)
* Add a [polling] section to ceilometer.conf with cfg_file property which points to polling_pipeline.yaml * removed default_domain_id and default_domain_name from [service_credentials] and added project_domain_name and user_domain name to [service_credentials] in polling.conf to prevent ceilometer polling agent from failing with "need user domain" and "need project domain" error. * added a new pipeline yaml file for polling agent, called polling_pipeline.yml * added swift meters which are polling meters to polling_pipeline.yml
- Loading branch information
Showing
3 changed files
with
32 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
chef/cookbooks/ceilometer/templates/default/polling_pipeline.yaml.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
sources: | ||
- name: swift_source | ||
interval: <%= @swift_interval %> | ||
meters: | ||
- "storage.objects" | ||
- "storage.objects.size" | ||
- "storage.objects.containers" | ||
sinks: | ||
- meter_sink | ||
sinks: | ||
- name: meter_sink | ||
transformers: | ||
publishers: | ||
- monasca://<%= @monasca_api_url %> |