60de679237
Change-Id: I9ab5e8517abaf440ddc8a58beda6223a0c76fc32
64 lines
1.6 KiB
Django/Jinja
64 lines
1.6 KiB
Django/Jinja
---
|
|
# Copyright 2020 VEXXHOST, Inc.
|
|
#
|
|
# 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.
|
|
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
namespace: openstack
|
|
name: ceilometer-config
|
|
stringData:
|
|
ceilometer.conf: |
|
|
[DEFAULT]
|
|
transport_url = fake:/
|
|
[event]
|
|
definitions_cfg_file = /etc/ceilometer/event_definitions.yaml
|
|
[notification]
|
|
ack_on_event_error = false
|
|
{% for transport in spec.get('transports', []) %}
|
|
messaging_urls = {{ transport }}
|
|
{% endfor %}
|
|
pipeline.yaml: |
|
|
---
|
|
sources: []
|
|
sinks: []
|
|
event_pipeline.yaml: |
|
|
---
|
|
sources:
|
|
- name: all
|
|
events:
|
|
- "*"
|
|
sinks:
|
|
- atmosphere
|
|
sinks:
|
|
- name: atmosphere
|
|
publishers:
|
|
- http://localhost:8080/v1/events
|
|
event_definitions.yaml: |
|
|
---
|
|
- event_type: 'compute.instance.*'
|
|
traits:
|
|
resource_id:
|
|
fields: payload.instance_id
|
|
instance_type:
|
|
fields: payload.instance_type
|
|
state:
|
|
fields: payload.state
|
|
created_at:
|
|
type: datetime
|
|
fields: payload.created_at
|
|
deleted_at:
|
|
type: datetime
|
|
fields: payload.deleted_at
|