![]() |
Consumption Analytics Documentation |
OpenStack requires the following information in a data source:
os_auth_url
parameter in the global configuration file.http://<hostname>:5000/v2.0
. For example, http://keystoneserver:5000/v2.0
.service
.admin
.publicURL
, internalURL
, and adminURL
. The default is publicURL
.publicURL
, internalURL
, and adminURL
. The default is adminURL
.You can define this information in a managed data source or an explicit data source. For general information about these two types, see Setting up a data source.
When creating a managed data source, select the type OpenStack Ceilometer. When referring to your data source from a job, use the com.cloudcruiser.batch.collect.openstack.ManagedOpenStackDataSource
bean. For example:
<bean id="dataSource" class="com.cloudcruiser.batch.collect.openstack.ManagedOpenStackDataSource"> <property name="name" value="MyOpenStackDataSource"/> </bean>
When defining your data source in a job, use the com.cloudcruiser.batch.collect.openstack.OpenStackDataSourceConfig
bean. For example:
<bean id="dataSource" class="com.cloudcruiser.batch.collect.openstack.OpenStackDataSourceConfig"> <property name="endpoint" value="http://192.168.101.158:5000/v2.0" /> <property name="username" value="ceilometer" /> <property name="password" value="qwerty" /> </bean>
(c) Copyright 2017-2020 Hewlett Packard Enterprise Development LP