Documentation ¶
Index ¶
Constants ¶
View Source
const ( AgentTypePMMAgent = "PMM_AGENT" AgentTypeNodeExporter = "NODE_EXPORTER" AgentTypeMySQLdExporter = "MYSQLD_EXPORTER" AgentTypeMongoDBExporter = "MONGODB_EXPORTER" AgentTypePostgresExporter = "POSTGRES_EXPORTER" AgentTypeProxySQLExporter = "PROXYSQL_EXPORTER" AgentTypeQANMySQLPerfSchemaAgent = "QAN_MYSQL_PERFSCHEMA_AGENT" AgentTypeQANMySQLSlowlogAgent = "QAN_MYSQL_SLOWLOG_AGENT" AgentTypeQANMongoDBProfilerAgent = "QAN_MONGODB_PROFILER_AGENT" AgentTypeQANPostgreSQLPgStatementsAgent = "QAN_POSTGRESQL_PGSTATEMENTS_AGENT" AgentTypeRDSExporter = "RDS_EXPORTER" AgentTypeExternalExporter = "EXTERNAL_EXPORTER" )
this list should be in sync with inventorypb/agents.pb.go
View Source
const ( NodeTypeGenericNode = "GENERIC_NODE" NodeTypeContainerNode = "CONTAINER_NODE" NodeTypeRemoteNode = "REMOTE_NODE" NodeTypeRemoteRDSNode = "REMOTE_RDS_NODE" )
this list should be in sync with inventorypb/nodes.pb.go
View Source
const ( ServiceTypeMySQLService = "MYSQL_SERVICE" ServiceTypeMongoDBService = "MONGODB_SERVICE" ServiceTypePostgreSQLService = "POSTGRESQL_SERVICE" ServiceTypeProxySQLService = "PROXYSQL_SERVICE" ServiceTypeExternalService = "EXTERNAL_SERVICE" )
this list should be in sync with inventorypb/services.pb.go
Variables ¶
This section is empty.
Functions ¶
func AgentTypeName ¶
AgentTypeName returns human friendly agent type to be used in reports
func NodeTypeName ¶
NodeTypeName returns human friendly node type to be used in reports
func ServiceTypeName ¶
ServiceTypeName returns human friendly service type to be used in reports
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.