4

我想使用 gnocchi Stein 版本,但我有问题,因为所有措施都是空的,我不知道如何解决它。在自爆中,我显示了配置和命令列表:

在 gnocchi.conf 中:

 [storage] coordination_url = redis://controller:6379
 file_basepath = /var/lib/gnocchi
 driver = file

在云高仪/pipeline.yaml 中:

 publishers: - gnocchi://?filter_project=service&archive_policy=high

(我这样测试中低)

在计算中我只安装 ceilometer-agent-compute

汤团指标列表

+--------------------------------------+---------------------+----------------------------+---------+--------------------------------------+
| id                                   | archive_policy/name | name                       | unit    | resource_id                          |
+--------------------------------------+---------------------+----------------------------+---------+--------------------------------------+
| 1e785d3d-3f04-47c1-90b7-42ffbffc691d | ceilometer-low-rate | network.outgoing.packets   | packet  | 9284f4b1-1706-56d1-9727-4a1a534b9351 |
| 44789dfd-bd40-4a1e-bb69-acfc7da0d07f | ceilometer-low-rate | disk.device.read.bytes     | B       | 789282b6-cf18-5cea-9726-90f49645e964 |
| 470d813e-fdcf-42ef-bda7-e8176702333f | ceilometer-low-rate | cpu                        | ns      | 5831590b-f777-43cf-b371-f0e972e302e0 |
| 52687228-77f3-4110-b4ce-65d2265251ff | ceilometer-low      | disk.ephemeral.size        | GB      | 5831590b-f777-43cf-b371-f0e972e302e0 |
| 58fe4bd5-d9db-470a-9611-5bd9f0d32ad2 | ceilometer-low      | memory                     | MB      | 5831590b-f777-43cf-b371-f0e972e302e0 |
| 6453d474-1f73-421f-bbc3-2ad9f1f6a75f | ceilometer-low-rate | disk.device.write.requests | request | 789282b6-cf18-5cea-9726-90f49645e964 |
| 8717da56-a006-4f29-96e0-b8051eaa9519 | ceilometer-low-rate | network.incoming.packets   | packet  | 9284f4b1-1706-56d1-9727-4a1a534b9351 |
| 9371c616-13b0-419c-9d42-71aa1d56e97d | ceilometer-low-rate | disk.device.write.bytes    | B       | 789282b6-cf18-5cea-9726-90f49645e964 |
| c14b4768-73d9-40c1-b599-58bb68ab3e3f | ceilometer-low      | vcpus                      | vcpu    | 5831590b-f777-43cf-b371-f0e972e302e0 |
| ca1e92d5-35f3-423f-a6eb-b3cda281d32d | ceilometer-low-rate | network.incoming.bytes     | B       | 9284f4b1-1706-56d1-9727-4a1a534b9351 |
| db1d313e-40d5-47f6-8403-6587f6e9ecb1 | ceilometer-low      | memory.usage               | MB      | 5831590b-f777-43cf-b371-f0e972e302e0 |
| deeb45da-0c6b-47d7-90b2-7d6247976323 | ceilometer-low      | disk.root.size             | GB      | 5831590b-f777-43cf-b371-f0e972e302e0 |
| df5b15c9-bbc4-42c7-a3f7-99b8f5568803 | ceilometer-low-rate | disk.device.read.requests  | request | 789282b6-cf18-5cea-9726-90f49645e964 |
| e2edde4e-74cf-4948-b1e1-38e86157dc3e | ceilometer-low-rate | network.outgoing.bytes     | B       | 9284f4b1-1706-56d1-9727-4a1a534b9351 |
+--------------------------------------+---------------------+----------------------------+---------+--------------------------------------+

gnocchi 度量显示 c14b4768-73d9-40c1-b599-58bb68ab3e3f

+--------------------------------+-------------------------------------------------------------------+
| Field                          | Value                                                             |
+--------------------------------+-------------------------------------------------------------------+
| archive_policy/name            | ceilometer-low                                                    |
| creator                        | bc4221d78ed84fa4aaf7500aba3eee8f:841727edc3014652bf4619e7c05d4d2f |
| id                             | c14b4768-73d9-40c1-b599-58bb68ab3e3f                              |
| name                           | vcpus                                                             |
| resource/created_by_project_id | 841727edc3014652bf4619e7c05d4d2f                                  |
| resource/created_by_user_id    | bc4221d78ed84fa4aaf7500aba3eee8f                                  |
| resource/creator               | bc4221d78ed84fa4aaf7500aba3eee8f:841727edc3014652bf4619e7c05d4d2f |
| resource/ended_at              | None                                                              |
| resource/id                    | 5831590b-f777-43cf-b371-f0e972e302e0                              |
| resource/original_resource_id  | 5831590b-f777-43cf-b371-f0e972e302e0                              |
| resource/project_id            | 325ea229bd7241ce8dd488b6716bdf5c                                  |
| resource/revision_end          | None                                                              |
| resource/revision_start        | 2019-11-16T14:44:15.740027+00:00                                  |
| resource/started_at            | 2019-11-16T14:43:10.541605+00:00                                  |
| resource/type                  | instance                                                          |
| resource/user_id               | 8d0f277add03403b94c2b568449de598                                  |
| unit                           | vcpu                                                              |
+--------------------------------+-------------------------------------------------------------------+

汤团措施显示 e2edde4e-74cf-4948-b1e1-38e86157dc3e

空响应

同时添加相同的错误:

团子措施添加 -r 5831590b-f777-43cf-b371-f0e972e302e0 -m 2019-01-28T08:00:39@300 cpu

500 内部服务器错误 内部服务器错误

服务器遇到内部错误或配置错误,无法完成您的请求。

请通过 [no address given] 联系服务器管理员,告知他们此错误发生的时间,以及您在此错误之前执行的操作。

服务器错误日志中可能提供有关此错误的更多信息。

Apache/2.4.29 (Ubuntu) 服务器在控制器端口 8041 (HTTP 500)

4

0 回答 0