setup.cfg 17.7 KB
Newer Older
Monty Taylor's avatar
Monty Taylor committed
1 2
[metadata]
name = ceilometer
xiaozhuangqing's avatar
xiaozhuangqing committed
3
url = http://launchpad.net/ceilometer
4
summary = OpenStack Telemetry
Monty Taylor's avatar
Monty Taylor committed
5
description-file =
6
    README.rst
Monty Taylor's avatar
Monty Taylor committed
7 8
author = OpenStack
author-email = openstack-dev@lists.openstack.org
9
home-page = https://docs.openstack.org/ceilometer/latest/
Monty Taylor's avatar
Monty Taylor committed
10 11 12 13 14 15 16 17 18
classifier =
    Environment :: OpenStack
    Intended Audience :: Information Technology
    Intended Audience :: System Administrators
    License :: OSI Approved :: Apache Software License
    Operating System :: POSIX :: Linux
    Programming Language :: Python
    Programming Language :: Python :: 2
    Programming Language :: Python :: 2.7
19 20
    Programming Language :: Python :: 3
    Programming Language :: Python :: 3.5
Monty Taylor's avatar
Monty Taylor committed
21 22 23 24 25 26 27 28 29
    Topic :: System :: Monitoring

[global]
setup-hooks =
    pbr.hooks.setup_hook

[files]
packages =
    ceilometer
30 31
data_files =
    etc/ceilometer = etc/ceilometer/*
Monty Taylor's avatar
Monty Taylor committed
32

33 34
[extras]
gnocchi =
35
    gnocchiclient>=3.1.0 # Apache-2.0
36 37 38 39 40 41
mongo =
    pymongo!=3.1,>=3.0.2 # Apache-2.0
postgresql =
    psycopg2>=2.5 # LGPL/ZPL
mysql =
    PyMySQL>=0.6.2 # MIT License
Thomas Herve's avatar
Thomas Herve committed
42 43
zaqar =
    python-zaqarclient>=1.0.0 # Apache-2.0
44

Monty Taylor's avatar
Monty Taylor committed
45
[entry_points]
Julien Danjou's avatar
Julien Danjou committed
46
ceilometer.notification =
47 48
    http.request = ceilometer.middleware:HTTPRequest
    http.response = ceilometer.middleware:HTTPResponse
Edwin Zhai's avatar
Edwin Zhai committed
49 50 51 52
    hardware.ipmi.temperature = ceilometer.ipmi.notifications.ironic:TemperatureSensorNotification
    hardware.ipmi.voltage = ceilometer.ipmi.notifications.ironic:VoltageSensorNotification
    hardware.ipmi.current = ceilometer.ipmi.notifications.ironic:CurrentSensorNotification
    hardware.ipmi.fan = ceilometer.ipmi.notifications.ironic:FanSensorNotification
53
    _sample = ceilometer.telemetry.notifications:TelemetryIpc
54
    meter = ceilometer.meter.notifications:ProcessMeterNotifications
Monty Taylor's avatar
Monty Taylor committed
55

56
ceilometer.discover.compute =
57
    local_instances = ceilometer.compute.discovery:InstanceDiscovery
58 59

ceilometer.discover.central =
60 61
    endpoint = ceilometer.agent.discovery.endpoint:EndpointDiscovery
    tenant = ceilometer.agent.discovery.tenant:TenantDiscovery
62 63 64
    lb_pools = ceilometer.network.services.discovery:LBPoolsDiscovery
    lb_vips = ceilometer.network.services.discovery:LBVipsDiscovery
    lb_members = ceilometer.network.services.discovery:LBMembersDiscovery
65 66
    lb_listeners = ceilometer.network.services.discovery:LBListenersDiscovery
    lb_loadbalancers = ceilometer.network.services.discovery:LBLoadBalancersDiscovery
67
    lb_health_probes = ceilometer.network.services.discovery:LBHealthMonitorsDiscovery
68 69
    vpn_services    = ceilometer.network.services.discovery:VPNServicesDiscovery
    ipsec_connections  = ceilometer.network.services.discovery:IPSecConnectionsDiscovery
70 71
    fw_services = ceilometer.network.services.discovery:FirewallDiscovery
    fw_policy = ceilometer.network.services.discovery:FirewallPolicyDiscovery
72
    tripleo_overcloud_nodes = ceilometer.hardware.discovery:NodesDiscoveryTripleO
73
    fip_services = ceilometer.network.services.discovery:FloatingIPDiscovery
74
    images = ceilometer.image.discovery:ImagesDiscovery
75 76 77
    volumes = ceilometer.volume.discovery:VolumeDiscovery
    volume_snapshots = ceilometer.volume.discovery:VolumeSnapshotsDiscovery
    volume_backups = ceilometer.volume.discovery:VolumeBackupsDiscovery
78

79 80 81
ceilometer.discover.ipmi =
    local_node = ceilometer.agent.discovery.localnode:LocalNodeDiscovery

Monty Taylor's avatar
Monty Taylor committed
82
ceilometer.poll.compute =
83 84 85 86
    disk.read.requests = ceilometer.compute.pollsters.disk:ReadRequestsPollster
    disk.write.requests = ceilometer.compute.pollsters.disk:WriteRequestsPollster
    disk.read.bytes = ceilometer.compute.pollsters.disk:ReadBytesPollster
    disk.write.bytes = ceilometer.compute.pollsters.disk:WriteBytesPollster
87 88 89 90
    disk.read.requests.rate = ceilometer.compute.pollsters.disk:ReadRequestsRatePollster
    disk.write.requests.rate = ceilometer.compute.pollsters.disk:WriteRequestsRatePollster
    disk.read.bytes.rate = ceilometer.compute.pollsters.disk:ReadBytesRatePollster
    disk.write.bytes.rate = ceilometer.compute.pollsters.disk:WriteBytesRatePollster
91 92 93 94 95 96 97 98
    disk.device.read.requests = ceilometer.compute.pollsters.disk:PerDeviceReadRequestsPollster
    disk.device.write.requests = ceilometer.compute.pollsters.disk:PerDeviceWriteRequestsPollster
    disk.device.read.bytes = ceilometer.compute.pollsters.disk:PerDeviceReadBytesPollster
    disk.device.write.bytes = ceilometer.compute.pollsters.disk:PerDeviceWriteBytesPollster
    disk.device.read.requests.rate = ceilometer.compute.pollsters.disk:PerDeviceReadRequestsRatePollster
    disk.device.write.requests.rate = ceilometer.compute.pollsters.disk:PerDeviceWriteRequestsRatePollster
    disk.device.read.bytes.rate = ceilometer.compute.pollsters.disk:PerDeviceReadBytesRatePollster
    disk.device.write.bytes.rate = ceilometer.compute.pollsters.disk:PerDeviceWriteBytesRatePollster
99 100
    disk.latency = ceilometer.compute.pollsters.disk:DiskLatencyPollster
    disk.device.latency = ceilometer.compute.pollsters.disk:PerDeviceDiskLatencyPollster
101 102
    disk.iops = ceilometer.compute.pollsters.disk:DiskIOPSPollster
    disk.device.iops = ceilometer.compute.pollsters.disk:PerDeviceDiskIOPSPollster
103 104 105
    cpu = ceilometer.compute.pollsters.instance_stats:CPUPollster
    cpu_util = ceilometer.compute.pollsters.instance_stats:CPUUtilPollster
    cpu_l3_cache = ceilometer.compute.pollsters.instance_stats:CPUL3CachePollster
106 107 108 109
    network.incoming.bytes = ceilometer.compute.pollsters.net:IncomingBytesPollster
    network.incoming.packets = ceilometer.compute.pollsters.net:IncomingPacketsPollster
    network.outgoing.bytes = ceilometer.compute.pollsters.net:OutgoingBytesPollster
    network.outgoing.packets = ceilometer.compute.pollsters.net:OutgoingPacketsPollster
110 111
    network.incoming.bytes.rate = ceilometer.compute.pollsters.net:IncomingBytesRatePollster
    network.outgoing.bytes.rate = ceilometer.compute.pollsters.net:OutgoingBytesRatePollster
112 113 114 115
    network.incoming.packets.drop = ceilometer.compute.pollsters.net:IncomingDropPollster
    network.outgoing.packets.drop = ceilometer.compute.pollsters.net:OutgoingDropPollster
    network.incoming.packets.error = ceilometer.compute.pollsters.net:IncomingErrorsPollster
    network.outgoing.packets.error = ceilometer.compute.pollsters.net:OutgoingErrorsPollster
116 117 118 119
    memory.usage = ceilometer.compute.pollsters.instance_stats:MemoryUsagePollster
    memory.resident = ceilometer.compute.pollsters.instance_stats:MemoryResidentPollster
    memory.bandwidth.total = ceilometer.compute.pollsters.instance_stats:MemoryBandwidthTotalPollster
    memory.bandwidth.local = ceilometer.compute.pollsters.instance_stats:MemoryBandwidthLocalPollster
120 121 122 123 124 125
    disk.capacity = ceilometer.compute.pollsters.disk:CapacityPollster
    disk.allocation = ceilometer.compute.pollsters.disk:AllocationPollster
    disk.usage = ceilometer.compute.pollsters.disk:PhysicalPollster
    disk.device.capacity = ceilometer.compute.pollsters.disk:PerDeviceCapacityPollster
    disk.device.allocation = ceilometer.compute.pollsters.disk:PerDeviceAllocationPollster
    disk.device.usage = ceilometer.compute.pollsters.disk:PerDevicePhysicalPollster
126 127 128 129
    perf.cpu.cycles = ceilometer.compute.pollsters.instance_stats:PerfCPUCyclesPollster
    perf.instructions = ceilometer.compute.pollsters.instance_stats:PerfInstructionsPollster
    perf.cache.references = ceilometer.compute.pollsters.instance_stats:PerfCacheReferencesPollster
    perf.cache.misses = ceilometer.compute.pollsters.instance_stats:PerfCacheMissesPollster
Monty Taylor's avatar
Monty Taylor committed
130

Edwin Zhai's avatar
Edwin Zhai committed
131 132
ceilometer.poll.ipmi =
    hardware.ipmi.node.power = ceilometer.ipmi.pollsters.node:PowerPollster
133
    hardware.ipmi.node.temperature = ceilometer.ipmi.pollsters.node:InletTemperaturePollster
134 135 136 137 138 139
    hardware.ipmi.node.outlet_temperature = ceilometer.ipmi.pollsters.node:OutletTemperaturePollster
    hardware.ipmi.node.airflow = ceilometer.ipmi.pollsters.node:AirflowPollster
    hardware.ipmi.node.cups = ceilometer.ipmi.pollsters.node:CUPSIndexPollster
    hardware.ipmi.node.cpu_util = ceilometer.ipmi.pollsters.node:CPUUtilPollster
    hardware.ipmi.node.mem_util = ceilometer.ipmi.pollsters.node:MemUtilPollster
    hardware.ipmi.node.io_util = ceilometer.ipmi.pollsters.node:IOUtilPollster
Edwin Zhai's avatar
Edwin Zhai committed
140 141 142 143 144
    hardware.ipmi.temperature = ceilometer.ipmi.pollsters.sensor:TemperatureSensorPollster
    hardware.ipmi.voltage = ceilometer.ipmi.pollsters.sensor:VoltageSensorPollster
    hardware.ipmi.current = ceilometer.ipmi.pollsters.sensor:CurrentSensorPollster
    hardware.ipmi.fan = ceilometer.ipmi.pollsters.sensor:FanSensorPollster

Monty Taylor's avatar
Monty Taylor committed
145
ceilometer.poll.central =
146
    ip.floating = ceilometer.network.floatingip:FloatingIPPollster
147
    image.size = ceilometer.image.glance:ImageSizePollster
148 149 150 151 152 153
    rgw.containers.objects = ceilometer.objectstore.rgw:ContainersObjectsPollster
    rgw.containers.objects.size = ceilometer.objectstore.rgw:ContainersSizePollster
    rgw.objects = ceilometer.objectstore.rgw:ObjectsPollster
    rgw.objects.size = ceilometer.objectstore.rgw:ObjectsSizePollster
    rgw.objects.containers = ceilometer.objectstore.rgw:ObjectsContainersPollster
    rgw.usage = ceilometer.objectstore.rgw:UsagePollster
154 155
    storage.containers.objects = ceilometer.objectstore.swift:ContainersObjectsPollster
    storage.containers.objects.size = ceilometer.objectstore.swift:ContainersSizePollster
156 157 158
    storage.objects = ceilometer.objectstore.swift:ObjectsPollster
    storage.objects.size = ceilometer.objectstore.swift:ObjectsSizePollster
    storage.objects.containers = ceilometer.objectstore.swift:ObjectsContainersPollster
159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181
    switch.port = ceilometer.network.statistics.port:PortPollster
    switch.port.receive.packets = ceilometer.network.statistics.port:PortPollsterReceivePackets
    switch.port.transmit.packets = ceilometer.network.statistics.port:PortPollsterTransmitPackets
    switch.port.receive.bytes = ceilometer.network.statistics.port:PortPollsterReceiveBytes
    switch.port.transmit.bytes = ceilometer.network.statistics.port:PortPollsterTransmitBytes
    switch.port.receive.drops = ceilometer.network.statistics.port:PortPollsterReceiveDrops
    switch.port.transmit.drops = ceilometer.network.statistics.port:PortPollsterTransmitDrops
    switch.port.receive.errors = ceilometer.network.statistics.port:PortPollsterReceiveErrors
    switch.port.transmit.errors = ceilometer.network.statistics.port:PortPollsterTransmitErrors
    switch.port.receive.frame_error = ceilometer.network.statistics.port:PortPollsterReceiveFrameErrors
    switch.port.receive.overrun_error = ceilometer.network.statistics.port:PortPollsterReceiveOverrunErrors
    switch.port.receive.crc_error = ceilometer.network.statistics.port:PortPollsterReceiveCRCErrors
    switch.port.collision.count = ceilometer.network.statistics.port:PortPollsterCollisionCount
    switch.table = ceilometer.network.statistics.table:TablePollster
    switch.table.active.entries = ceilometer.network.statistics.table:TablePollsterActiveEntries
    switch.table.lookup.packets = ceilometer.network.statistics.table:TablePollsterLookupPackets
    switch.table.matched.packets = ceilometer.network.statistics.table:TablePollsterMatchedPackets
    switch = ceilometer.network.statistics.switch:SWPollster
    switch.flow = ceilometer.network.statistics.flow:FlowPollster
    switch.flow.bytes = ceilometer.network.statistics.flow:FlowPollsterBytes
    switch.flow.duration.nanoseconds = ceilometer.network.statistics.flow:FlowPollsterDurationNanoseconds
    switch.flow.duration.seconds = ceilometer.network.statistics.flow:FlowPollsterDurationSeconds
    switch.flow.packets = ceilometer.network.statistics.flow:FlowPollsterPackets
182 183 184
    network.services.lb.pool = ceilometer.network.services.lbaas:LBPoolPollster
    network.services.lb.vip = ceilometer.network.services.lbaas:LBVipPollster
    network.services.lb.member = ceilometer.network.services.lbaas:LBMemberPollster
185 186
    network.services.lb.listener = ceilometer.network.services.lbaas:LBListenerPollster
    network.services.lb.loadbalancer = ceilometer.network.services.lbaas:LBLoadBalancerPollster
187 188 189 190 191
    network.services.lb.health_monitor = ceilometer.network.services.lbaas:LBHealthMonitorPollster
    network.services.lb.total.connections = ceilometer.network.services.lbaas:LBTotalConnectionsPollster
    network.services.lb.active.connections = ceilometer.network.services.lbaas:LBActiveConnectionsPollster
    network.services.lb.incoming.bytes = ceilometer.network.services.lbaas:LBBytesInPollster
    network.services.lb.outgoing.bytes = ceilometer.network.services.lbaas:LBBytesOutPollster
192 193
    network.services.vpn = ceilometer.network.services.vpnaas:VPNServicesPollster
    network.services.vpn.connections = ceilometer.network.services.vpnaas:IPSecConnectionsPollster
194 195
    network.services.firewall = ceilometer.network.services.fwaas:FirewallPollster
    network.services.firewall.policy = ceilometer.network.services.fwaas:FirewallPolicyPollster
196 197 198
    volume.size = ceilometer.volume.cinder:VolumeSizePollster
    volume.snapshot.size = ceilometer.volume.cinder:VolumeSnapshotSize
    volume.backup.size = ceilometer.volume.cinder:VolumeBackupSize
199

200 201 202
ceilometer.builder.poll.central =
    hardware.snmp = ceilometer.hardware.pollsters.generic:GenericHardwareDeclarativePollster

203
ceilometer.metering.storage =
204 205 206 207 208 209
    log = ceilometer.storage.impl_log:Connection
    mongodb = ceilometer.storage.impl_mongodb:Connection
    mysql = ceilometer.storage.impl_sqlalchemy:Connection
    postgresql = ceilometer.storage.impl_sqlalchemy:Connection
    sqlite = ceilometer.storage.impl_sqlalchemy:Connection
    hbase = ceilometer.storage.impl_hbase:Connection
Monty Taylor's avatar
Monty Taylor committed
210 211 212

ceilometer.compute.virt =
    libvirt = ceilometer.compute.virt.libvirt.inspector:LibvirtInspector
213
    hyperv = ceilometer.compute.virt.hyperv.inspector:HyperVInspector
214
    vsphere = ceilometer.compute.virt.vmware.inspector:VsphereInspector
215
    xenapi = ceilometer.compute.virt.xenapi.inspector:XenapiInspector
Monty Taylor's avatar
Monty Taylor committed
216

217 218 219
ceilometer.hardware.inspectors =
    snmp = ceilometer.hardware.inspector.snmp:SNMPInspector

Monty Taylor's avatar
Monty Taylor committed
220 221
ceilometer.transformer =
    accumulator = ceilometer.transformer.accumulator:TransformerAccumulator
222
    delta = ceilometer.transformer.conversions:DeltaTransformer
223
    unit_conversion = ceilometer.transformer.conversions:ScalingTransformer
224
    rate_of_change = ceilometer.transformer.conversions:RateOfChangeTransformer
225
    aggregator = ceilometer.transformer.conversions:AggregatorTransformer
226
    arithmetic = ceilometer.transformer.arithmetic:ArithmeticTransformer
Monty Taylor's avatar
Monty Taylor committed
227

228
ceilometer.sample.publisher =
229
    test = ceilometer.publisher.test:TestPublisher
230
    notifier = ceilometer.publisher.messaging:SampleNotifierPublisher
231
    udp = ceilometer.publisher.udp:UDPPublisher
Tong Li's avatar
Tong Li committed
232
    file = ceilometer.publisher.file:FilePublisher
233
    direct = ceilometer.publisher.direct:DirectPublisher
234
    kafka = ceilometer.publisher.kafka_broker:KafkaBrokerPublisher
Tong Li's avatar
Tong Li committed
235
    http = ceilometer.publisher.http:HttpPublisher
236
    https = ceilometer.publisher.http:HttpPublisher
237 238 239 240
    gnocchi = ceilometer.publisher.direct:DirectPublisher
    database = ceilometer.publisher.direct:DirectPublisher
    file_alt = ceilometer.publisher.direct:DirectPublisher
    http_alt = ceilometer.publisher.direct:DirectPublisher
Thomas Herve's avatar
Thomas Herve committed
241
    zaqar = ceilometer.publisher.zaqar:ZaqarPublisher
Monty Taylor's avatar
Monty Taylor committed
242

gordon chung's avatar
gordon chung committed
243 244 245
ceilometer.event.publisher =
    test = ceilometer.publisher.test:TestPublisher
    direct = ceilometer.publisher.direct:DirectPublisher
246
    notifier = ceilometer.publisher.messaging:EventNotifierPublisher
247
    kafka = ceilometer.publisher.kafka_broker:KafkaBrokerPublisher
Tong Li's avatar
Tong Li committed
248
    http = ceilometer.publisher.http:HttpPublisher
249
    https = ceilometer.publisher.http:HttpPublisher
250 251 252 253
    gnocchi = ceilometer.publisher.direct:DirectPublisher
    database = ceilometer.publisher.direct:DirectPublisher
    file_alt = ceilometer.publisher.direct:DirectPublisher
    http_alt = ceilometer.publisher.direct:DirectPublisher
Thomas Herve's avatar
Thomas Herve committed
254
    zaqar = ceilometer.publisher.zaqar:ZaqarPublisher
gordon chung's avatar
gordon chung committed
255

256 257 258
ceilometer.event.trait_plugin =
    split = ceilometer.event.trait_plugins:SplitterTraitPlugin
    bitfield = ceilometer.event.trait_plugins:BitfieldTraitPlugin
259 260
    timedelta = ceilometer.event.trait_plugins:TimedeltaPlugin

261
wsgi_scripts =
262
    ceilometer-api = ceilometer.cmd.api:build_wsgi_app
263

264
console_scripts =
Julien Danjou's avatar
Julien Danjou committed
265 266 267
    ceilometer-polling = ceilometer.cmd.polling:main
    ceilometer-agent-notification = ceilometer.cmd.agent_notification:main
    ceilometer-send-sample = ceilometer.cmd.sample:send_sample
268
    ceilometer-upgrade = ceilometer.cmd.storage:upgrade
269
    ceilometer-db-legacy-clean = ceilometer.cmd.storage:db_clean_legacy
Julien Danjou's avatar
Julien Danjou committed
270
    ceilometer-expirer = ceilometer.cmd.storage:expirer
Edwin Zhai's avatar
Edwin Zhai committed
271
    ceilometer-rootwrap = oslo_rootwrap.cmd:main
Julien Danjou's avatar
Julien Danjou committed
272
    ceilometer-collector = ceilometer.cmd.collector:main
273

274
ceilometer.dispatcher.meter =
275
    database = ceilometer.dispatcher.database:MeterDatabaseDispatcher
276
    file = ceilometer.dispatcher.file:FileDispatcher
Tong Li's avatar
Tong Li committed
277
    http = ceilometer.dispatcher.http:HttpDispatcher
278
    gnocchi = ceilometer.dispatcher.gnocchi:GnocchiDispatcher
279

280 281 282
ceilometer.dispatcher.event =
    file = ceilometer.dispatcher.file:FileDispatcher
    http = ceilometer.dispatcher.http:HttpDispatcher
283
    gnocchi = ceilometer.dispatcher.gnocchi:GnocchiDispatcher
284

285
network.statistics.drivers =
286
    opendaylight = ceilometer.network.statistics.opendaylight.driver:OpenDayLightDriver
287
    opencontrail = ceilometer.network.statistics.opencontrail.driver:OpencontrailDriver
288

289 290
oslo.config.opts =
    ceilometer = ceilometer.opts:list_opts
291
    ceilometer-auth = ceilometer.opts:list_keystoneauth_opts
292

293
oslo.config.opts.defaults =
294
    ceilometer = ceilometer.conf.defaults:set_cors_middleware_defaults
295

296 297 298
tempest.test_plugins =
    ceilometer_tests = ceilometer.tests.tempest.plugin:CeilometerTempestPlugin

299 300 301 302
[build_sphinx]
all_files = 1
build-dir = doc/build
source-dir = doc/source
303

304 305
[pbr]
warnerrors = true
306
autodoc_index_modules = true
307

308 309 310 311 312 313 314 315 316 317 318 319 320
[extract_messages]
keywords = _ gettext ngettext l_ lazy_gettext
mapping_file = babel.cfg
output_file = ceilometer/locale/ceilometer.pot

[compile_catalog]
directory = ceilometer/locale
domain = ceilometer

[update_catalog]
domain = ceilometer
output_dir = ceilometer/locale
input_file = ceilometer/locale/ceilometer.pot