File tree Expand file tree Collapse file tree 9 files changed +352
-54
lines changed
grafana/dashboards/openstack
prometheus/prometheus.yml.d Expand file tree Collapse file tree 9 files changed +352
-54
lines changed Original file line number Diff line number Diff line change @@ -20,3 +20,4 @@ ignore: |
20
20
.github/
21
21
.gitlab/
22
22
.gitlab-ci.yml
23
+ *etc/kayobe/kolla/config/prometheus/prometheus.yml.d/70-oscapacity.yml
Original file line number Diff line number Diff line change @@ -141,17 +141,25 @@ OpenStack Capacity
141
141
==================
142
142
143
143
OpenStack Capacity allows you to see how much space you have avaliable
144
- in your cloud. StackHPC Kayobe Config includes this exporter by default
145
- and it's necessary that some variables are set to allow deployment.
144
+ in your cloud. StackHPC Kayobe Config includes a playbook for manual
145
+ deployment, and it's necessary that some variables are set before
146
+ running this playbook.
146
147
147
148
To successfully deploy OpenStack Capacity, you are required to specify
148
149
the OpenStack application credentials in ``kayobe/secrets.yml `` as:
149
150
150
151
.. code-block :: yaml
151
152
152
- secrets_os_exporter_auth_url : <some_auth_url>
153
- secrets_os_exporter_credential_id : <some_credential_id>
154
- secrets_os_exporter_credential_secret : <some_credential_secret>
153
+ secrets_os_capacity_auth_url : <some_auth_url>
154
+ secrets_os_capacity_credential_id : <some_credential_id>
155
+ secrets_os_capacity_credential_secret : <some_credential_secret>
156
+
157
+ Additionally, you are required to enable a conditional flag to allow
158
+ HAProxy configuration to be templated to controllers during deployment.
159
+
160
+ .. code-block :: yaml
161
+
162
+ stackhpc_enable_os_capacity : true
155
163
156
164
After defining your credentials, You may deploy OpenStack Capacity
157
165
using the ``ansible/deploy-os-capacity-exporter.yml `` Ansible playbook
Original file line number Diff line number Diff line change 1
1
clouds:
2
2
openstack:
3
3
auth:
4
- auth_url: "{{ secrets_os_exporter_auth_url }}"
5
- application_credential_id: "{{ secrets_os_exporter_credential_id }}"
6
- application_credential_secret: "{{ secrets_os_exporter_credential_secret }}"
4
+ auth_url: "{{ secrets_os_capacity_auth_url }}"
5
+ application_credential_id: "{{ secrets_os_capacity_credential_id }}"
6
+ application_credential_secret: "{{ secrets_os_capacity_credential_secret }}"
7
7
region_name: "RegionOne"
8
8
interface: "internal"
9
9
identity_api_version: 3
10
10
auth_type: "v3applicationcredential"
11
+ {% if kolla_enable_tls_internal | bool %}
12
+ verify: False
13
+ {% endif %}
Original file line number Diff line number Diff line change 25
25
"editable" : true ,
26
26
"fiscalYearStartMonth" : 0 ,
27
27
"graphTooltip" : 0 ,
28
- "id" : 2084495 ,
29
28
"links" : [],
30
29
"liveNow" : false ,
31
30
"panels" : [
86
85
},
87
86
"textMode" : " auto"
88
87
},
89
- "pluginVersion" : " 9.4.7 " ,
88
+ "pluginVersion" : " 10.1.2 " ,
90
89
"repeat" : " flavors" ,
91
90
"repeatDirection" : " h" ,
92
91
"targets" : [
424
423
"tooltip" : false ,
425
424
"viz" : false
426
425
},
426
+ "insertNulls" : false ,
427
427
"lineInterpolation" : " linear" ,
428
428
"lineWidth" : 1 ,
429
429
"pointSize" : 5 ,
465
465
"y" : 17
466
466
},
467
467
"id" : 5 ,
468
+ "interval" : " 30m" ,
468
469
"options" : {
469
470
"legend" : {
470
471
"calcs" : [
522
523
"tooltip" : false ,
523
524
"viz" : false
524
525
},
526
+ "insertNulls" : false ,
525
527
"lineInterpolation" : " linear" ,
526
528
"lineWidth" : 1 ,
527
529
"pointSize" : 5 ,
563
565
"y" : 17
564
566
},
565
567
"id" : 16 ,
568
+ "interval" : " 30m" ,
566
569
"options" : {
567
570
"legend" : {
568
571
"calcs" : [
646
649
"tooltip" : false ,
647
650
"viz" : false
648
651
},
652
+ "insertNulls" : false ,
649
653
"lineInterpolation" : " smooth" ,
650
654
"lineStyle" : {
651
655
"fill" : " solid"
689
693
"y" : 26
690
694
},
691
695
"id" : 6 ,
696
+ "interval" : " 30m" ,
692
697
"options" : {
693
698
"legend" : {
694
699
"calcs" : [
750
755
"tooltip" : false ,
751
756
"viz" : false
752
757
},
758
+ "insertNulls" : false ,
753
759
"lineInterpolation" : " linear" ,
754
760
"lineWidth" : 1 ,
755
761
"pointSize" : 5 ,
791
797
"y" : 26
792
798
},
793
799
"id" : 4 ,
800
+ "interval" : " 30m" ,
794
801
"options" : {
795
802
"legend" : {
796
803
"calcs" : [
836
843
"current" : {
837
844
"selected" : false ,
838
845
"text" : " Prometheus" ,
839
- "value" : " Prometheus "
846
+ "value" : " PBFA97CFB590B2093 "
840
847
},
841
848
"description" : " The prometheus datasource used for queries." ,
842
849
"hide" : 0 ,
885
892
]
886
893
},
887
894
"time" : {
888
- "from" : " now-24h " ,
895
+ "from" : " now-2d " ,
889
896
"to" : " now"
890
897
},
891
898
"timepicker" : {},
895
902
"version" : 1 ,
896
903
"weekStart" : " "
897
904
}
898
- {% endraw % }
905
+ {% endraw % }
You can’t perform that action at this time.
0 commit comments