You've already forked prometheus-postgres-exporter
							
							docs(README): be compliant with markdownlint MD044
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Generate README / generate-parameters (push) Successful in 9s
				
			
		
			
				
	
				Helm / helm-unittest (push) Successful in 16s
				
			
		
			
				
	
				Markdown linter / markdown-link-checker (push) Successful in 11s
				
			
		
			
				
	
				Helm / helm-lint (push) Successful in 22s
				
			
		
			
				
	
				Markdown linter / markdown-lint (push) Successful in 28s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Generate README / generate-parameters (push) Successful in 9s
				
			Helm / helm-unittest (push) Successful in 16s
				
			Markdown linter / markdown-link-checker (push) Successful in 11s
				
			Helm / helm-lint (push) Successful in 22s
				
			Markdown linter / markdown-lint (push) Successful in 28s
				
			This commit is contained in:
		
							
								
								
									
										17
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										17
									
								
								README.md
									
									
									
									
									
								
							| @@ -3,8 +3,10 @@ | |||||||
| [](https://artifacthub.io/packages/search?repo=prometheus-exporters) | [](https://artifacthub.io/packages/search?repo=prometheus-exporters) | ||||||
|  |  | ||||||
| > [!NOTE] | > [!NOTE] | ||||||
| > This is not the official *community* helm chart of the Prometheus metric exporter for PostgreSQL databases. You can | > This is not the official *community* helm chart of the Prometheus metric exporter for PostgreSQL databases. If you are | ||||||
| > find the official community chart [here](https://github.com/prometheus-community/helm-charts). | > looking for the official helm chart, checkout the GitHub project | ||||||
|  | > [helm-charts](https://github.com/prometheus-community/helm-charts) of the [Prometheus | ||||||
|  | > community](https://github.com/prometheus-community). | ||||||
|  |  | ||||||
| This helm chart enables the deployment of a Prometheus metrics exporter for PostgreSQL databases and allows the | This helm chart enables the deployment of a Prometheus metrics exporter for PostgreSQL databases and allows the | ||||||
| individual configuration of additional containers/initContainers, mounting of volumes, defining additional environment | individual configuration of additional containers/initContainers, mounting of volumes, defining additional environment | ||||||
| @@ -19,7 +21,7 @@ helm chart is tested for deployment scenarios with **ArgoCD**. | |||||||
| ## Helm: configuration and installation | ## Helm: configuration and installation | ||||||
|  |  | ||||||
| 1. A helm chart repository must be configured, to pull the helm charts from. | 1. A helm chart repository must be configured, to pull the helm charts from. | ||||||
| 2. All available parameters are [here](#parameters) in detail documented. The parameters can be defined via the helm | 2. All available [parameters](#parameters) are documented in detail below. The parameters can be defined via the helm | ||||||
|    `--set` flag or directly as part of a `values.yaml` file. The following example defines the `prometheus-exporter` |    `--set` flag or directly as part of a `values.yaml` file. The following example defines the `prometheus-exporter` | ||||||
|    repository and use the `--set` flag for a basic deployment. |    repository and use the `--set` flag for a basic deployment. | ||||||
|  |  | ||||||
| @@ -73,7 +75,8 @@ available. As this is a Golang application, this can be implemented using `GOMAX | |||||||
| of defining `GOMAXPROCS` automatically based on the defined CPU limit like `1000m`. Please keep in mind, that the CFS | of defining `GOMAXPROCS` automatically based on the defined CPU limit like `1000m`. Please keep in mind, that the CFS | ||||||
| rate of `100ms` - default on each kubernetes node, is also very important to avoid CPU throttling. | rate of `100ms` - default on each kubernetes node, is also very important to avoid CPU throttling. | ||||||
|  |  | ||||||
| Further information about this topic can be found [here](https://kanishk.io/posts/cpu-throttling-in-containerized-go-apps/). | Further information about this topic can be found in one of Kanishk's blog | ||||||
|  | [posts](https://kanishk.io/posts/cpu-throttling-in-containerized-go-apps/). | ||||||
|  |  | ||||||
| > [!NOTE] | > [!NOTE] | ||||||
| > The environment variable `GOMAXPROCS` is set automatically, when a CPU limit is defined. An explicit configuration is | > The environment variable `GOMAXPROCS` is set automatically, when a CPU limit is defined. An explicit configuration is | ||||||
| @@ -269,7 +272,7 @@ networkPolicies: | |||||||
| ### Configuration | ### Configuration | ||||||
|  |  | ||||||
| | Name                                              | Description                                                                                                                                                                                                                          | Value   | | | Name                                              | Description                                                                                                                                                                                                                          | Value   | | ||||||
| | ------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- | | | ------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------- | | ||||||
| | `config.database.existingSecret.enabled`          | Mount an existing secret containing the application specific `DATA_SOURCE_` prefixed environment variables.                                                                                                                          | `false` | | | `config.database.existingSecret.enabled`          | Mount an existing secret containing the application specific `DATA_SOURCE_` prefixed environment variables.                                                                                                                          | `false` | | ||||||
| | `config.database.existingSecret.secretName`       | Name of the existing secret containing the application specific `DATA_SOURCE_` prefixed environment variables.                                                                                                                       | `""`    | | | `config.database.existingSecret.secretName`       | Name of the existing secret containing the application specific `DATA_SOURCE_` prefixed environment variables.                                                                                                                       | `""`    | | ||||||
| | `config.database.secret.annotations`              | Additional annotations of the secret containing the database credentials.                                                                                                                                                            | `{}`    | | | `config.database.secret.annotations`              | Additional annotations of the secret containing the database credentials.                                                                                                                                                            | `{}`    | | ||||||
| @@ -281,12 +284,12 @@ networkPolicies: | |||||||
| | `config.exporterConfig.existingSecret.secretName` | Name of the existing secret containing the key `exporterConfig.yaml`.                                                                                                                                                                | `""`    | | | `config.exporterConfig.existingSecret.secretName` | Name of the existing secret containing the key `exporterConfig.yaml`.                                                                                                                                                                | `""`    | | ||||||
| | `config.exporterConfig.secret.annotations`        | Additional annotations of the secret containing the `exporterConfig.yaml`.                                                                                                                                                           | `{}`    | | | `config.exporterConfig.secret.annotations`        | Additional annotations of the secret containing the `exporterConfig.yaml`.                                                                                                                                                           | `{}`    | | ||||||
| | `config.exporterConfig.secret.labels`             | Additional labels of the secret containing the `exporterConfig.yaml`.                                                                                                                                                                | `{}`    | | | `config.exporterConfig.secret.labels`             | Additional labels of the secret containing the `exporterConfig.yaml`.                                                                                                                                                                | `{}`    | | ||||||
| | `config.exporterConfig.secret.exporterConfig`     | Content of the `exporterConfig.yaml`. Further information can be found [here](https://github.com/prometheus-community/postgres_exporter?tab=readme-ov-file#multi-target-support-beta). | `{}`    | | | `config.exporterConfig.secret.exporterConfig`     | Content of the `exporterConfig.yaml`. Further information can be found in the [README](https://github.com/prometheus-community/postgres_exporter?tab=readme-ov-file#multi-target-support-beta) file of the Postgres exporter binary. | `{}`    | | ||||||
| | `config.webConfig.existingSecret.enabled`         | Mount an existing secret containing the key `webConfig.yaml`.                                                                                                                                                                        | `false` | | | `config.webConfig.existingSecret.enabled`         | Mount an existing secret containing the key `webConfig.yaml`.                                                                                                                                                                        | `false` | | ||||||
| | `config.webConfig.existingSecret.secretName`      | Name of the existing secret containing the key `webConfig.yaml`.                                                                                                                                                                     | `""`    | | | `config.webConfig.existingSecret.secretName`      | Name of the existing secret containing the key `webConfig.yaml`.                                                                                                                                                                     | `""`    | | ||||||
| | `config.webConfig.secret.annotations`             | Additional annotations of the secret containing the `webConfig.yaml`.                                                                                                                                                                | `{}`    | | | `config.webConfig.secret.annotations`             | Additional annotations of the secret containing the `webConfig.yaml`.                                                                                                                                                                | `{}`    | | ||||||
| | `config.webConfig.secret.labels`                  | Additional labels of the secret containing the `webConfig.yaml`.                                                                                                                                                                     | `{}`    | | | `config.webConfig.secret.labels`                  | Additional labels of the secret containing the `webConfig.yaml`.                                                                                                                                                                     | `{}`    | | ||||||
| | `config.webConfig.secret.webConfig`               | Content of the `webConfig.yaml`. Further information can be found [here](https://prometheus.io/docs/prometheus/latest/configuration/https/).                                           | `{}`    | | | `config.webConfig.secret.webConfig`               | Content of the `webConfig.yaml`. Further [documentation](https://prometheus.io/docs/prometheus/latest/configuration/https/) is available on the official Prometheus website.                                                         | `{}`    | | ||||||
|  |  | ||||||
| ### Deployment | ### Deployment | ||||||
|  |  | ||||||
|   | |||||||
| @@ -35,7 +35,7 @@ config: | |||||||
|  |  | ||||||
|     ## @param config.exporterConfig.secret.annotations Additional annotations of the secret containing the `exporterConfig.yaml`. |     ## @param config.exporterConfig.secret.annotations Additional annotations of the secret containing the `exporterConfig.yaml`. | ||||||
|     ## @param config.exporterConfig.secret.labels Additional labels of the secret containing the `exporterConfig.yaml`. |     ## @param config.exporterConfig.secret.labels Additional labels of the secret containing the `exporterConfig.yaml`. | ||||||
|     ## @param config.exporterConfig.secret.exporterConfig Content of the `exporterConfig.yaml`. Further information can be found [here](https://github.com/prometheus-community/postgres_exporter?tab=readme-ov-file#multi-target-support-beta). |     ## @param config.exporterConfig.secret.exporterConfig Content of the `exporterConfig.yaml`. Further information can be found in the [README](https://github.com/prometheus-community/postgres_exporter?tab=readme-ov-file#multi-target-support-beta) file of the Postgres exporter binary. | ||||||
|     ## @skip config.exporterConfig.secret.exporterConfig Skip individual postgres exporter configuration. |     ## @skip config.exporterConfig.secret.exporterConfig Skip individual postgres exporter configuration. | ||||||
|     secret: |     secret: | ||||||
|       annotations: {} |       annotations: {} | ||||||
| @@ -59,7 +59,7 @@ config: | |||||||
|  |  | ||||||
|     ## @param config.webConfig.secret.annotations Additional annotations of the secret containing the `webConfig.yaml`. |     ## @param config.webConfig.secret.annotations Additional annotations of the secret containing the `webConfig.yaml`. | ||||||
|     ## @param config.webConfig.secret.labels Additional labels of the secret containing the `webConfig.yaml`. |     ## @param config.webConfig.secret.labels Additional labels of the secret containing the `webConfig.yaml`. | ||||||
|     ## @param config.webConfig.secret.webConfig Content of the `webConfig.yaml`. Further information can be found [here](https://prometheus.io/docs/prometheus/latest/configuration/https/). |     ## @param config.webConfig.secret.webConfig Content of the `webConfig.yaml`. Further [documentation](https://prometheus.io/docs/prometheus/latest/configuration/https/) is available on the official Prometheus website. | ||||||
|     ## @skip config.webConfig.secret.webConfig Skip individual web configuration. |     ## @skip config.webConfig.secret.webConfig Skip individual web configuration. | ||||||
|     secret: |     secret: | ||||||
|       annotations: {} |       annotations: {} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user