Skip to content

Conversation

MySQL, MongoDB, Postgres, ProxySQL

QANMySQLPerfSchema, QANMySQLSlowlog, QANMongoDBProfiler, QANPostgreSQLPgStatements, QANPostgreSQLPgStatMonitor

RDS, AzureDatabase
@YaroslavPodorvanov
Copy link
Contributor Author

YaroslavPodorvanov commented May 26, 2022

pmm-admin inventory add agent * pmm-admin exists pmm-admin log-level added pmm-managed exists ui exists
external ✔️ ❌️ ?
mongodb-exporter ✔️ ✔️ ?
mysqld-exporter ✔️ ✔️ ?
node-exporter ✔️ ✔️ ?
pmm-agent ✔️ ❌️ ?
postgres-exporter ✔️ ✔️ ?
proxysql-exporter ✔️ ✔️ ?
qan-mongodb-profiler-agent ✔️ ✔️ ?
qan-mysql-perfschema-agent ✔️ ✔️ ?
qan-mysql-slowlog-agent ✔️ ✔️ ?
qan-postgresql-pgstatements-agent ✔️ ✔️ ?
qan-postgresql-pgstatmonitor-agent ✔️ ✔️ ?
rds-exporter ✔️ ✔️ ?
azure-database-exporter ❌️ ❌️ ?

Command ./bin/pmm-admin inventory add agent azure-database-exporter not exists, but exists rds-exporter and also exists in pmm-managed AgentsService::AddAzureDatabaseExporter

tshcherban
tshcherban previously approved these changes Jun 2, 2022
BupycHuk
BupycHuk previously approved these changes Jun 2, 2022
tshcherban
tshcherban previously approved these changes Jun 2, 2022
artemgavrilov
artemgavrilov previously approved these changes Jun 6, 2022
@YaroslavPodorvanov YaroslavPodorvanov requested a review from a user July 20, 2022 08:07
}
}

func SpecifyLogLevel(variant inventorypb.LogLevel) string {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci-lint] reported by reviewdog 🐶
exported function SpecifyLogLevel should have comment or be unexported (golint)

PushMetricsEnabled: agent.PushMetrics,
DisabledCollectors: agent.DisabledCollectors,
ProcessExecPath: processExecPath,
LogLevel: inventorypb.LogLevel(inventorypb.LogLevel_value[pointer.GetString(agent.LogLevel)]),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci-lint] reported by reviewdog 🐶
LogLevel_value contains underscore. You should use mixedCap or MixedCap. (nosnakecase)

}

func SpecifyLogLevel(variant inventorypb.LogLevel) string {
if variant == inventorypb.LogLevel_auto {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci-lint] reported by reviewdog 🐶
LogLevel_auto contains underscore. You should use mixedCap or MixedCap. (nosnakecase)

@BupycHuk BupycHuk merged commit fee7475 into main Jul 20, 2022
@BupycHuk BupycHuk deleted the PMM-9968-pmm-admin-inventory-with-log-level branch July 20, 2022 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants