-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Monitoring adding openstack exporter for resource metrics
- Loading branch information
Showing
12 changed files
with
195 additions
and
275 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
230 changes: 0 additions & 230 deletions
230
helm-configs/monitoring/openstack-exporter/openstack-exporter-helm-overrides.yaml
This file was deleted.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
helm-configs/monitoring/openstack-metrics-exporter/clouds-yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
clouds.yaml: | | ||
clouds: | ||
default: | ||
region_name: RegionOne | ||
auth: | ||
username: admin | ||
password: <admin-password> | ||
project_name: admin | ||
project_domain_name: default | ||
user_domain_name: default | ||
auth_url: 'http://keystone-api.openstack.svc.cluster.local:5000/v3' | ||
|
89 changes: 89 additions & 0 deletions
89
...figs/monitoring/openstack-metrics-exporter/openstack-metrics-exporter-helm-overrides.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
--- | ||
# Choose endpoint type (this will override the value of clouds.yaml) | ||
endpoint_type: public | ||
# Ignored when multicloud.enabled: true | ||
cloud: default | ||
|
||
replicaCount: 1 | ||
|
||
image: | ||
repository: ghcr.io/openstack-exporter/openstack-exporter | ||
tag: 1.7.0 | ||
pullPolicy: Always | ||
|
||
serviceMonitor: | ||
interval: 1m | ||
scrapeTimeout: 30s | ||
|
||
multicloud: | ||
# Enable multicloud (i.e. /probe?... targets) | ||
# Doc: https://github.com/openstack-exporter/openstack-exporter#description | ||
enabled: false | ||
# Monitor the exporter's internal metrics (i.e. /metrics) | ||
selfmonitor: false | ||
# List of clouds to scrape, and the services to scrape from them | ||
clouds: | ||
- name: default | ||
services: | ||
- volume | ||
- image | ||
- identity | ||
- compute | ||
- network | ||
- placement | ||
- load-balancer | ||
- object-store | ||
#- container-infra | ||
#- dns | ||
#- baremetal | ||
- gnocchi | ||
#- database | ||
- orchestration | ||
|
||
# - name: cloud1 | ||
# services: | ||
# - volume | ||
# - name: cloud2 | ||
# services: | ||
# - volume | ||
# - image | ||
# - identity | ||
# - compute | ||
# - network | ||
# - placement # NB this needs the openstack-exporter release > 1.4.0 | ||
|
||
# Add extra args to the exporter. | ||
# Doc: https://github.com/openstack-exporter/openstack-exporter#command-line-options | ||
#extraArgs: | ||
# - --disable-service.baremetal | ||
# - --disable-service.container-infra | ||
# - --disable-service.object-store | ||
|
||
# Add extra environment variables | ||
# extraEnvs: | ||
# "ENV_VAR": "value" | ||
|
||
# Add extra labels | ||
#commonLabels: | ||
# prometheus.io/scrape: "true" | ||
# prometheus.io/monitor: "true" | ||
|
||
# Generate a secret for clouds.yaml | ||
# Doc: https://github.com/openstack-exporter/openstack-exporter#openstack-configuration | ||
clouds_yaml_config: | | ||
clouds.yaml: | | ||
clouds: | ||
default: | ||
region_name: RegionOne | ||
auth: | ||
username: admin | ||
password: <admin-password> | ||
project_name: admin | ||
project_domain_name: default | ||
user_domain_name: default | ||
auth_url: 'http://keystone-api.openstack.svc.cluster.local:5000/v3' | ||
# In case of multicloud.enabled | ||
# cloud1: | ||
# ... | ||
# cloud2: | ||
# ... |
14 changes: 0 additions & 14 deletions
14
kustomize/monitoring/openstack-exporter/aio/kustomization.yaml
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
kustomize/monitoring/openstack-exporter/base/hpa-openstack-exporter.yaml
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
kustomize/monitoring/openstack-exporter/base/kustomization.yaml
This file was deleted.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
kustomize/monitoring/openstack-metrics-exporter/clouds-yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
clouds.yaml: | | ||
clouds: | ||
default: | ||
region_name: RegionOne | ||
auth: | ||
username: your-user-here | ||
password: your-password-here | ||
project_name: your-project-here | ||
project_domain_name: 'Default' | ||
user_domain_name: 'Default' | ||
auth_url: 'http://your-url-here:5000/v3' |
Oops, something went wrong.