types

package
v2.18.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2021 License: AGPL-3.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

View Source
const (
	AgentTypePMMAgent                        = "PMM_AGENT"
	AgentTypeVMAgent                         = "VM_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"
	AgentTypeQANPostgreSQLPgStatMonitorAgent = "QAN_POSTGRESQL_PGSTATMONITOR_AGENT"
	AgentTypeRDSExporter                     = "RDS_EXPORTER"
	AgentTypeExternalExporter                = "EXTERNAL_EXPORTER"
	AgentTypeAzureDatabaseExporter           = "AZURE_DATABASE_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"
	NodeTypeRemoteAzureDatabaseNode = "REMOTE_AZURE_DATABASE_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"
	ServiceTypeHAProxyService    = "HAPROXY_SERVICE"
	ServiceTypeExternalService   = "EXTERNAL_SERVICE"
)

this list should be in sync with inventorypb/services.pb.go

Variables

This section is empty.

Functions

func AgentTypeName

func AgentTypeName(t string) string

AgentTypeName returns human friendly agent type to be used in reports

func NodeTypeName

func NodeTypeName(t string) string

NodeTypeName returns human friendly node type to be used in reports

func ServiceTypeName

func ServiceTypeName(t string) string

ServiceTypeName returns human friendly service type to be used in reports

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL