此内容没有您所选择的语言版本。
Chapter 14. Install Time-Series-Database-as-a-Service
Time-Series-Database-as-a-Service (
gnocchi
) is a multi-tenant, metrics and resource database. It is designed to store metrics at a very large scale while providing access to metrics and resources information to operators and users.
For more information on using the Time-Series-Database-as-a-Service, see the Using the Time-Series-Database-as-a-Service section in the Logging, Monitoring, and Troubleshooting Guide.
Time-Series-as-a-Service is built around the following drivers:
- storage
- The
storage
driver is responsible for storing measures of created metrics. It receives timestamps and values and computes aggregations according to the defined archive policies. - indexer
- The
indexer
driver is responsible for storing the index of all resources, along with their types and their properties. Time-Series-as-a-Service only knows resource types from the OpenStack project, but also provides a generic type so you can create basic resources and handle the resource properties yourself. Theindexer
is also responsible for linking resources with metrics.
The REST API exposed to the user manipulates both these drivers to provide all the features that are needed to provide correct infrastructure measurement.
14.1. Install the Time-Series-Database-as-a-Service Packages
The following packages provide the components of the Time-Series-Database-as-a-Service:
- openstack-gnocchi-api
- Provides the main OpenStack Time-Series-Database-as-a-Service API
- openstack-gnocchi-carbonara
- Provides the OpenStack Time-Series-Database-as-a-Service carbonara
- openstack-gnocchi-doc
- Provides the OpenStack Time-Series-Database-as-a-Service documentation
- openstack-gnocchi-indexer-sqlalchemy
- Provides the OpenStack Time-Series-Database-as-a-Service indexer SQLAlchemy
- openstack-gnocchi-statsd
- Provides the OpenStack Time-Series-Database-as-a-Service stats deamon
- python-gnocchi
- Provides the OpenStack Time-Series-Database-as-a-Service Python libraries
Install all the packages on the controller node:
#
yum install openstack-gnocchi\* -y