Skip to content

Commit

Permalink
Merge pull request #60 from 3scale-ops/feat/update-exporters
Browse files Browse the repository at this point in the history
feat: update exporters
  • Loading branch information
3scale-robot authored Nov 19, 2024
2 parents b4e93d9 + 1e541f9 commit 4beef5c
Show file tree
Hide file tree
Showing 18 changed files with 146 additions and 96 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

# Binaries for programs and plugins
*.exe
*.exe~
Expand All @@ -13,3 +12,6 @@ bin
*.swo
*~
kubeconfig

# tmp folder
tmp
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# To re-generate a bundle for another specific version without changing the standard setup, you can:
# - use the VERSION as arg of the bundle target (e.g make bundle VERSION=0.0.2)
# - use environment variables to overwrite this value (e.g export VERSION=0.0.2)
VERSION ?= 0.8.2-alpha.1
VERSION ?= 0.8.2-alpha.2

# CHANNELS define the bundle channels used in the bundle.
# Add a new line here if you would like to change its default config. (E.g CHANNELS = "candidate,fast,stable")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ metadata:
operators.operatorframework.io/project_layout: ansible.sdk.operatorframework.io/v1
repository: https://github.com/3scale-ops/prometheus-exporter-operator
support: Red Hat, Inc.
name: prometheus-exporter-operator.v0.8.2-alpha.1
name: prometheus-exporter-operator.v0.8.2-alpha.2
namespace: placeholder
spec:
apiservicedefinitions: {}
Expand Down Expand Up @@ -125,7 +125,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.annotations['olm.targetNamespaces']
image: quay.io/3scale/prometheus-exporter-operator:v0.8.2-alpha.1
image: quay.io/3scale/prometheus-exporter-operator:v0.8.2-alpha.2
livenessProbe:
httpGet:
path: /healthz
Expand Down Expand Up @@ -310,4 +310,4 @@ spec:
provider:
name: Red Hat
url: https://www.redhat.com
version: 0.8.2-alpha.1
version: 0.8.2-alpha.2
2 changes: 2 additions & 0 deletions catalog/prometheus-exporter-operator/alpha-channel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ entries:
replaces: prometheus-exporter-operator.v0.8.0
- name: prometheus-exporter-operator.v0.8.2-alpha.1
replaces: prometheus-exporter-operator.v0.8.1
- name: prometheus-exporter-operator.v0.8.2-alpha.2
replaces: prometheus-exporter-operator.v0.8.2-alpha.1
name: alpha
package: prometheus-exporter-operator
schema: olm.channel

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ kind: Kustomization
images:
- name: controller
newName: quay.io/3scale/prometheus-exporter-operator
newTag: v0.8.2-alpha.1
newTag: v0.8.2-alpha.2
153 changes: 91 additions & 62 deletions examples/README.md

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions roles/prometheusexporter/exporters/cloudwatch/vars.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---

# Exporter
image_name: "prom/cloudwatch-exporter"
image_version: "cloudwatch_exporter-0.11.0"
image_version: "v0.16.0"
port: 9106
liveness_probe_timeout_seconds: 45
liveness_probe_period_seconds: 60
Expand All @@ -20,7 +19,6 @@ resources_limits_memory: "256Mi"
# Custom
aws_credentials_secret_name: "prometheus-exporter-{{ type }}-{{ ansible_operator_meta.name }}"
configuration_configmap_name: "prometheus-exporter-{{ type }}-{{ ansible_operator_meta.name }}"

###### Example of Secret
#
# If you don't specify CR field awsCredentialsSecretName, it will be used default Secret name "prometheus-exporter-cloudwatch-{{ CR_NAME }}"
Expand Down
3 changes: 1 addition & 2 deletions roles/prometheusexporter/exporters/es/container.yml.j2
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
command:
- "/bin/elasticsearch_exporter"
args:
- "--es.uri={{ db_host }}:{{ db_port }}"
- "--es.all"
5 changes: 2 additions & 3 deletions roles/prometheusexporter/exporters/es/vars.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---

# Exporter
image_name: "justwatch/elasticsearch_exporter"
image_version: "1.1.0"
image_name: "quay.io/prometheuscommunity/elasticsearch-exporter"
image_version: "v1.8.0"
port: 9114
liveness_probe_timeout_seconds: 10
liveness_probe_period_seconds: 15
Expand Down
3 changes: 1 addition & 2 deletions roles/prometheusexporter/exporters/manticore/vars.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---

# Exporter
image_name: "manticoresearch/prometheus-exporter"
image_version: "6.2.13.0"
image_version: "6.3.2.0"
port: 8081
liveness_probe_timeout_seconds: 3
liveness_probe_period_seconds: 15
Expand Down
3 changes: 1 addition & 2 deletions roles/prometheusexporter/exporters/memcached/vars.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---

# Exporter
image_name: "prom/memcached-exporter"
image_version: "v0.6.0"
image_version: "v0.15.0"
port: 9150
liveness_probe_timeout_seconds: 3
liveness_probe_period_seconds: 15
Expand Down
4 changes: 1 addition & 3 deletions roles/prometheusexporter/exporters/mysql/vars.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---

# Exporter
image_name: "prom/mysqld-exporter"
image_version: "v0.12.1"
image_version: "v0.14.0" # v0.15 and above introduces breaking changes, replacing connection string secret with a .my.cnf based configuration
port: 9104
liveness_probe_timeout_seconds: 3
liveness_probe_period_seconds: 15
Expand All @@ -19,7 +18,6 @@ resources_limits_memory: "64Mi"

# Custom
db_connection_string_secret_name: "prometheus-exporter-{{ type }}-{{ ansible_operator_meta.name }}"

###### Example of Secret
#
# If you don't specify CR field dbConnectionStringSecretName, it will be used default Secret name "prometheus-exporter-mysql-{{ CR_NAME }}"
Expand Down
6 changes: 2 additions & 4 deletions roles/prometheusexporter/exporters/postgresql/vars.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---

# Exporter
image_name: "wrouesnel/postgres_exporter"
image_version: "v0.8.0"
image_name: "quay.io/prometheuscommunity/postgres-exporter"
image_version: "v0.16.0"
port: 9187
liveness_probe_timeout_seconds: 3
liveness_probe_period_seconds: 15
Expand All @@ -19,7 +18,6 @@ resources_limits_memory: "64Mi"

# Custom
db_connection_string_secret_name: "prometheus-exporter-{{ type }}-{{ ansible_operator_meta.name }}"

###### Example of Secret
#
# If you don't specify CR field dbConnectionStringSecretName, it will be used default Secret name "prometheus-exporter-postgresql-{{ CR_NAME }}"
Expand Down
2 changes: 1 addition & 1 deletion roles/prometheusexporter/exporters/probe/vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Exporter
image_name: "quay.io/prometheus/blackbox-exporter"
image_version: "v0.22.0"
image_version: "v0.25.0"
port: 9115
liveness_probe_timeout_seconds: 3
liveness_probe_period_seconds: 15
Expand Down
4 changes: 1 addition & 3 deletions roles/prometheusexporter/exporters/redis/vars.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---

# Exporter
image_name: "oliver006/redis_exporter"
image_version: "v1.44.0"
image_version: "v1.66.0"
port: 9121
liveness_probe_timeout_seconds: 3
liveness_probe_period_seconds: 15
Expand All @@ -20,7 +19,6 @@ resources_limits_memory: "64Mi"
# Custom
db_host: "backend-redis"
db_port: 6379

## Optional:
# Example 3scale backend:
#db_check_keys: "resque:queue:stats,resque:queue:priority,resque:queue:main,resque:failed"
Expand Down
4 changes: 1 addition & 3 deletions roles/prometheusexporter/exporters/sendgrid/vars.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---

# Exporter
image_name: "chatwork/sendgrid-stats-exporter"
image_version: "0.0.9"
image_version: "v0.0.10"
port: 9154
liveness_probe_timeout_seconds: 3
liveness_probe_period_seconds: 15
Expand All @@ -22,7 +21,6 @@ sendgrid_credentials_secret_name: "prometheus-exporter-{{ type }}-{{ ansible_ope
sendgrid_accumulated_metrics: "True"
sendgrid_location: ""
sendgrid_time_offset: "0"

###### Example of Secret
#
# If you don't specify CR field sendgridCredentialsSecretName, it will be used default Secret name "prometheus-exporter-sendgrid-{{ CR_NAME }}"
Expand Down
3 changes: 1 addition & 2 deletions roles/prometheusexporter/exporters/sphinx/vars.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---

# Exporter
image_name: "foxdalas/sphinx-exporter"
image_version: "master"
image_version: "v0.3.0"
port: 9247
liveness_probe_timeout_seconds: 3
liveness_probe_period_seconds: 15
Expand Down

0 comments on commit 4beef5c

Please sign in to comment.