Skip to content

Commit

Permalink
PMM-7498 azure monitoring (#718)
Browse files Browse the repository at this point in the history
* PMM-7498 Add Discover and Add Azure Database.

* PMM-7498 Add MariaDB and creds field.

* Remove myself from CODEOWNERS

* PMM-7557: Add bucket name field (#691)

* PMM-7676 Add Azure exporter.

* PMM-7676 Add agent type.

* PMM-7676 Some changes in naming.

* PMM-7676 Fix.

* PMM-7676 Prefix renaming.

* PMM-7676 Some changes in structs.

* PMM-7676 Remove discovery part.

* PMM-7676 Add remote to inventory.

* PMM-7676 Node type.

* PMM-7676 Add resource_type, renaming.

* PMM-7676 Add resource type as required.

* PMM-7676 Fix for required field.

* PMM-7676 Fix.

* PMM-7498 Clean Azure DB messages.

* PMM-7498 Add node_type as SKU.

* PMM-7498 Clean Azure DB messages.

* PMM-7498 Clean up fields name.

* PMM-7498 Add vardation to required fields.

* PMM-7498 Rename Azure field.

* PMM-7498 Rename Azure field.

* PMM-7498 Removed MariaDB as separate MySQL type.

* PMM-7767 Azure monitoring - feature flag

* PMM-7498 Moved azure api to beta

* PMM-7498 Fix comments.

* PMM-7498 Add Discover and Add Azure Database.

* PMM-7498 Add MariaDB and creds field.

* PMM-7557: Add bucket name field (#691)

* PMM-7676 Add agent type.

* PMM-7676 Some changes in naming.

* PMM-7676 Fix.

* PMM-7676 Some changes in structs.

* PMM-7676 Remove discovery part.

* PMM-7676 Add resource_type, renaming.

* PMM-7676 Add resource type as required.

* PMM-7676 Fix for required field.

* PMM-7498 Clean Azure DB messages.

* PMM-7498 Add node_type as SKU.

* PMM-7498 Clean Azure DB messages.

* PMM-7498 Clean up fields name.

* PMM-7498 Add vardation to required fields.

* PMM-7498 Removed MariaDB as separate MySQL type.

* PMM-7498 Moved azure api to beta

Co-authored-by: Alexey Palazhchenko <[email protected]>
Co-authored-by: Maksym <[email protected]>
Co-authored-by: Jiri Ctvrtka <[email protected]>
Co-authored-by: Adivinho <[email protected]>
  • Loading branch information
5 people authored Apr 5, 2021
1 parent 94fed37 commit 614c31c
Show file tree
Hide file tree
Showing 58 changed files with 12,217 additions and 2,178 deletions.
1 change: 0 additions & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
* @atymchuk @BupycHuk

5 changes: 3 additions & 2 deletions api/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ gen: clean ## Generate files.

./prototool all

for API in agentlocalpb serverpb inventorypb managementpb managementpb/dbaas managementpb/ia managementpb/backup qanpb ; do \
for API in agentlocalpb serverpb inventorypb managementpb managementpb/dbaas managementpb/ia managementpb/backup managementpb/azure qanpb ; do \
set -x ; \
swagger mixin $$API/json/header.json $$API/*.swagger.json --output=$$API/json/$$(basename $$API).json --keep-spec-order; \
swagger flatten --with-flatten=expand --with-flatten=remove-unused $$API/json/$$(basename $$API).json --output=$$API/json/$$(basename $$API).json ; \
Expand All @@ -44,7 +44,7 @@ gen: clean ## Generate files.
done

# generate public API spec, omit agentlocalpb (always private),
# and managementpb/dbaas, managementpb/ia, managementpb/backup and qanpb (not v1 yet)
# and managementpb/dbaas, managementpb/ia, managementpb/backup , managementpb/azure and qanpb (not v1 yet)
swagger mixin --output=swagger/swagger.json \
swagger/header.json \
serverpb/json/serverpb.json \
Expand All @@ -63,6 +63,7 @@ gen: clean ## Generate files.
managementpb/dbaas/json/dbaas.json \
managementpb/ia/json/ia.json \
managementpb/backup/json/backup.json \
managementpb/azure/json/azure.json \
qanpb/json/qanpb.json
swagger validate swagger/swagger-dev.json

Expand Down
6 changes: 4 additions & 2 deletions api/agentlocalpb/json/agentlocalpb.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@
"QAN_POSTGRESQL_PGSTATEMENTS_AGENT",
"QAN_POSTGRESQL_PGSTATMONITOR_AGENT",
"RDS_EXPORTER",
"EXTERNAL_EXPORTER"
"EXTERNAL_EXPORTER",
"AZURE_DATABASE_EXPORTER"
],
"x-order": 1
},
Expand Down Expand Up @@ -326,7 +327,8 @@
"QAN_POSTGRESQL_PGSTATEMENTS_AGENT",
"QAN_POSTGRESQL_PGSTATMONITOR_AGENT",
"RDS_EXPORTER",
"EXTERNAL_EXPORTER"
"EXTERNAL_EXPORTER",
"AZURE_DATABASE_EXPORTER"
],
"x-order": 1
},
Expand Down
7 changes: 5 additions & 2 deletions api/agentlocalpb/json/client/agent_local/status_responses.go

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

Binary file modified api/api.descriptor
Binary file not shown.
1 change: 1 addition & 0 deletions api/inventorypb/agents.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ func (*QANPostgreSQLPgStatementsAgent) sealedAgent() {}
func (*QANPostgreSQLPgStatMonitorAgent) sealedAgent() {}
func (*RDSExporter) sealedAgent() {}
func (*ExternalExporter) sealedAgent() {}
func (*AzureDatabaseExporter) sealedAgent() {}
Loading

0 comments on commit 614c31c

Please sign in to comment.