Skip to content

Commit

Permalink
PMM-12013 Fix scrapeconfig generation for rds exporter. (#3293)
Browse files Browse the repository at this point in the history
  • Loading branch information
BupycHuk authored Nov 8, 2024
1 parent 8cb6278 commit 9fcf353
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion api/swagger/swagger-dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -5185,7 +5185,8 @@
"AGENT_TYPE_QAN_POSTGRESQL_PGSTATMONITOR_AGENT",
"AGENT_TYPE_EXTERNAL_EXPORTER",
"AGENT_TYPE_RDS_EXPORTER",
"AGENT_TYPE_AZURE_DATABASE_EXPORTER"
"AGENT_TYPE_AZURE_DATABASE_EXPORTER",
"AGENT_TYPE_NOMAD_AGENT"
],
"type": "string",
"default": "AGENT_TYPE_UNSPECIFIED",
Expand Down
3 changes: 2 additions & 1 deletion api/swagger/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -4227,7 +4227,8 @@
"AGENT_TYPE_QAN_POSTGRESQL_PGSTATMONITOR_AGENT",
"AGENT_TYPE_EXTERNAL_EXPORTER",
"AGENT_TYPE_RDS_EXPORTER",
"AGENT_TYPE_AZURE_DATABASE_EXPORTER"
"AGENT_TYPE_AZURE_DATABASE_EXPORTER",
"AGENT_TYPE_NOMAD_AGENT"
],
"type": "string",
"default": "AGENT_TYPE_UNSPECIFIED",
Expand Down
1 change: 1 addition & 0 deletions managed/services/management/rds.go
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ func (s *ManagementService) addRDS(ctx context.Context, req *managementv1.AddRDS
AWSSecretKey: req.AwsSecretKey,
RDSBasicMetricsDisabled: req.DisableBasicMetrics,
RDSEnhancedMetricsDisabled: req.DisableEnhancedMetrics,
PushMetrics: isPushMode(metricsMode),
})
if err != nil {
return err
Expand Down

0 comments on commit 9fcf353

Please sign in to comment.