Skip to content

Commit

Permalink
PMM-12013 rds exporter (#3057)
Browse files Browse the repository at this point in the history
* PMM-12013 run RDS exporter on client instances.

* PMM-12013 go mod tidy.

* PMM-12013 Fix tests.

* PMM-12013 Fix tests.

* PMM-12013 Fix imports.

* PMM-12013 Fix conflicts.

* PMM-13416 regenerate.
  • Loading branch information
BupycHuk authored Nov 8, 2024
1 parent 45b18f5 commit 8cb6278
Show file tree
Hide file tree
Showing 13 changed files with 322 additions and 256 deletions.
2 changes: 1 addition & 1 deletion agent/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ PMM_RELEASE_VERSION ?= $(shell git describe --always --dirty | cut -b2-)
PMM_RELEASE_TIMESTAMP ?= $(shell date '+%s')
PMM_RELEASE_FULLCOMMIT ?= $(shell git rev-parse HEAD)
PMM_RELEASE_BRANCH ?= $(shell git describe --always --contains --all)
PMM_DEV_SERVER_PORT ?= 8443
PMM_DEV_SERVER_PORT ?= 443
ifeq ($(GOBIN),)
GOBIN := $(shell go env GOPATH)/bin
endif
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

57 changes: 31 additions & 26 deletions api/management/v1/json/v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -3285,104 +3285,109 @@
],
"x-order": 6
},
"pmm_agent_id": {
"description": "PMM Agent ID.",
"type": "string",
"x-order": 7
},
"node_name": {
"description": "Unique across all Nodes user-defined name. Defaults to AWS instance ID.",
"type": "string",
"x-order": 7
"x-order": 8
},
"service_name": {
"description": "Unique across all Services user-defined name. Defaults to AWS instance ID.",
"type": "string",
"x-order": 8
"x-order": 9
},
"environment": {
"description": "Environment name.",
"type": "string",
"x-order": 9
"x-order": 10
},
"cluster": {
"description": "Cluster name.",
"type": "string",
"x-order": 10
"x-order": 11
},
"replication_set": {
"description": "Replication set name.",
"type": "string",
"x-order": 11
"x-order": 12
},
"username": {
"description": "Username for scraping metrics.",
"type": "string",
"x-order": 12
"x-order": 13
},
"password": {
"description": "Password for scraping metrics.",
"type": "string",
"x-order": 13
"x-order": 14
},
"aws_access_key": {
"description": "AWS Access key.",
"type": "string",
"x-order": 14
"x-order": 15
},
"aws_secret_key": {
"description": "AWS Secret key.",
"type": "string",
"x-order": 15
"x-order": 16
},
"rds_exporter": {
"description": "If true, adds rds_exporter.",
"type": "boolean",
"x-order": 16
"x-order": 17
},
"qan_mysql_perfschema": {
"description": "If true, adds qan-mysql-perfschema-agent.",
"type": "boolean",
"x-order": 17
"x-order": 18
},
"custom_labels": {
"description": "Custom user-assigned labels for Node and Service.",
"type": "object",
"additionalProperties": {
"type": "string"
},
"x-order": 18
"x-order": 19
},
"skip_connection_check": {
"description": "Skip connection check.",
"type": "boolean",
"x-order": 19
"x-order": 20
},
"tls": {
"description": "Use TLS for database connections.",
"type": "boolean",
"x-order": 20
"x-order": 21
},
"tls_skip_verify": {
"description": "Skip TLS certificate and hostname validation.",
"type": "boolean",
"x-order": 21
"x-order": 22
},
"disable_query_examples": {
"description": "Disable query examples.",
"type": "boolean",
"x-order": 22
"x-order": 23
},
"tablestats_group_table_limit": {
"description": "Tablestats group collectors will be disabled if there are more than that number of tables.\nIf zero, server's default value is used.\nUse negative value to disable them.",
"type": "integer",
"format": "int32",
"x-order": 23
"x-order": 24
},
"disable_basic_metrics": {
"description": "Disable basic metrics.",
"type": "boolean",
"x-order": 24
"x-order": 25
},
"disable_enhanced_metrics": {
"description": "Disable enhanced metrics.",
"type": "boolean",
"x-order": 25
"x-order": 26
},
"metrics_mode": {
"description": "MetricsMode defines desired metrics mode for agent,\nit can be pull, push or auto mode chosen by server.\n\n - METRICS_MODE_UNSPECIFIED: Auto",
Expand All @@ -3393,39 +3398,39 @@
"METRICS_MODE_PULL",
"METRICS_MODE_PUSH"
],
"x-order": 26
"x-order": 27
},
"qan_postgresql_pgstatements": {
"type": "boolean",
"title": "If true, add qan-pgstatements",
"x-order": 27
"x-order": 28
},
"agent_password": {
"description": "Custom password for exporter endpoint /metrics.",
"type": "string",
"x-order": 28
"x-order": 29
},
"database": {
"description": "Database name.",
"type": "string",
"x-order": 29
"x-order": 30
},
"auto_discovery_limit": {
"description": "Limit of databases for auto-discovery.",
"type": "integer",
"format": "int32",
"x-order": 30
"x-order": 31
},
"disable_comments_parsing": {
"description": "Disable parsing comments from queries and showing them in QAN.",
"type": "boolean",
"x-order": 31
"x-order": 32
},
"max_postgresql_exporter_connections": {
"description": "Maximum number of exporter connections to PostgreSQL instance.",
"type": "integer",
"format": "int32",
"x-order": 32
"x-order": 33
}
},
"x-order": 6
Expand Down
Loading

0 comments on commit 8cb6278

Please sign in to comment.