From 3a9c673cbc95b7cf717e779ca8d5b44d3048eb0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5rten=20Svantesson?= Date: Fri, 29 Nov 2024 22:39:00 +0100 Subject: [PATCH] docs: select db instances by tags MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: MÃ¥rten Svantesson --- README.md | 37 +++++++++++++++++++------------------ configs/helm/values.yaml | 2 +- 2 files changed, 20 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index f136904..15a5b2d 100644 --- a/README.md +++ b/README.md @@ -172,24 +172,25 @@ Prometheus RDS exporter
Configuration could be defined in [prometheus-rds-exporter.yaml](https://github.com/qonto/prometheus-rds-exporter/blob/main/configs/prometheus-rds-exporter/prometheus-rds-exporter.yaml) or environment variables (format `PROMETHEUS_RDS_EXPORTER_`). -| Parameter | Description | Default | -| --- | --- | --- | -| aws-assume-role-arn | AWS IAM ARN role to assume to fetch metrics | | -| aws-assume-role-session | AWS assume role session name | prometheus-rds-exporter | -| collect-instance-metrics | Collect AWS instances metrics (AWS Cloudwatch API) | true | -| collect-instance-tags | Collect AWS RDS tags | true | -| collect-instance-types | Collect AWS instance types information (AWS EC2 API) | true | -| collect-logs-size | Collect AWS instances logs size (AWS RDS API) | true | -| collect-maintenances | Collect AWS instances maintenances (AWS RDS API) | true | -| collect-quotas | Collect AWS RDS quotas (AWS quotas API) | true | -| collect-usages | Collect AWS RDS usages (AWS Cloudwatch API) | true | -| debug | Enable debug mode | | -| enable-otel-traces | Enable OpenTelemetry traces. See [configuration](https://opentelemetry.io/docs/languages/sdk-configuration/otlp-exporter/) | false | -| listen-address | Address to listen on for web interface | :9043 | -| log-format | Log format (`text` or `json`) | json | -| metrics-path | Path under which to expose metrics | /metrics | -| tls-cert-path | Path to TLS certificate | | -| tls-key-path | Path to private key for TLS | +| Parameter | Description | Default | +|--------------------------|-------------------------------------------------------|-------------------------| +| aws-assume-role-arn | AWS IAM ARN role to assume to fetch metrics | | +| aws-assume-role-session | AWS assume role session name | prometheus-rds-exporter | +| collect-instance-metrics | Collect AWS instances metrics (AWS Cloudwatch API) | true | +| collect-instance-tags | Collect AWS RDS tags | true | +| collect-instance-types | Collect AWS instance types information (AWS EC2 API) | true | +| collect-logs-size | Collect AWS instances logs size (AWS RDS API) | true | +| collect-maintenances | Collect AWS instances maintenances (AWS RDS API) | true | +| collect-quotas | Collect AWS RDS quotas (AWS quotas API) | true | +| collect-usages | Collect AWS RDS usages (AWS Cloudwatch API) | true | +| debug | Enable debug mode | | +| tag-selections | Tags to select database instances with | | +| enable-otel-traces | Enable OpenTelemetry traces. See [configuration](https://opentelemetry.io/docs/languages/sdk-configuration/otlp-exporter/) | false | +| listen-address | Address to listen on for web interface | :9043 | +| log-format | Log format (`text` or `json`) | json | +| metrics-path | Path under which to expose metrics | /metrics | +| tls-cert-path | Path to TLS certificate | | +| tls-key-path | Path to private key for TLS | | Configuration parameters priorities: diff --git a/configs/helm/values.yaml b/configs/helm/values.yaml index 8c83fdd..1780cc9 100644 --- a/configs/helm/values.yaml +++ b/configs/helm/values.yaml @@ -11,7 +11,7 @@ image: # Define environment variables env: {} -# Configuration to generate +# Application configuration. If set a configmap will be created. For example values see https://github.com/qonto/prometheus-rds-exporter/blob/main/configs/prometheus-rds-exporter/prometheus-rds-exporter.yaml config: {} # Name of the secret containing AWS credentials