Skip to content

Commit a2cb984

Browse files
committed
Merge branch 'master' of github.com:stackhpc/os-capacity
2 parents a35915d + 533798f commit a2cb984

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ you can run the exporter doing something like this:
3939
Or just run via docker or similar:::
4040

4141
docker run -d --name os_capacity \
42-
--mount type=bind,source=/etc/openstack/,target=/etc/openstack/ \
43-
--env OS_CLOUD=openstack --env OS_CLIENT_CONFIG_FILE=/etc/openstack/mycloud.yaml \
44-
-p 9000:9000 ghcr.io/stackhpc/os-capacity:master
42+
--mount type=bind,source=/etc/kolla/os-capacity/,target=/etc/openstack \
43+
--env OS_CLOUD=openstack --env OS_CLIENT_CONFIG_FILE=/etc/openstack/clouds.yaml \
44+
-p 9000:9000 ghcr.io/stackhpc/os-capacity:234330f
4545
curl localhost:9000
4646

4747
Here is some example output from the exporter:::
@@ -77,8 +77,8 @@ Here is some example output from the exporter:::
7777
...
7878
# HELP openstack_project_quota Current quota set to limit max resource allocations per project.
7979
# TYPE openstack_project_quota gauge
80-
openstack_project_quota{project_id="c6992a4f9f5a45fab23114d032fca40a",project_name="test",quota_resource="CPUS"} -1.0
81-
openstack_project_quota{project_id="c6992a4f9f5a45fab23114d032fca40a",project_name="test",quota_resource="MEMORY_MB"} -1.0
80+
openstack_project_quota{project_id="c6992a4f9f5a45fab23114d032fca40b",project_name="test",quota_resource="CPUS"} -1.0
81+
openstack_project_quota{project_id="c6992a4f9f5a45fab23114d032fca40b",project_name="test",quota_resource="MEMORY_MB"} -1.0
8282
...
8383
# HELP openstack_hypervisor_placement_allocated Currently allocated resource for each provider in placement.
8484
# TYPE openstack_hypervisor_placement_allocated gauge

0 commit comments

Comments
 (0)