pganalyze_collector

package
v0.64.1 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: BSD-2-Clause, BSD-3-Clause, PostgreSQL Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Backend_WaitEventType_name = map[int32]string{
		0:  "PG_WAIT_UNDEFINED",
		1:  "PG_WAIT_LWLOCK_NAMED",
		2:  "PG_WAIT_LWLOCK_TRANCHE",
		3:  "PG_WAIT_LOCK",
		4:  "PG_WAIT_BUFFER_PIN",
		5:  "PG_WAIT_LWLOCK",
		6:  "PG_WAIT_ACTIVITY",
		7:  "PG_WAIT_CLIENT",
		8:  "PG_WAIT_EXTENSION",
		9:  "PG_WAIT_IPC",
		10: "PG_WAIT_TIMEOUT",
		11: "PG_WAIT_IO",
	}
	Backend_WaitEventType_value = map[string]int32{
		"PG_WAIT_UNDEFINED":      0,
		"PG_WAIT_LWLOCK_NAMED":   1,
		"PG_WAIT_LWLOCK_TRANCHE": 2,
		"PG_WAIT_LOCK":           3,
		"PG_WAIT_BUFFER_PIN":     4,
		"PG_WAIT_LWLOCK":         5,
		"PG_WAIT_ACTIVITY":       6,
		"PG_WAIT_CLIENT":         7,
		"PG_WAIT_EXTENSION":      8,
		"PG_WAIT_IPC":            9,
		"PG_WAIT_TIMEOUT":        10,
		"PG_WAIT_IO":             11,
	}
)

Enum value maps for Backend_WaitEventType.

View Source
var (
	Backend_WaitEvent_name = map[int32]string{}/* 233 elements not displayed */

	Backend_WaitEvent_value = map[string]int32{}/* 233 elements not displayed */

)

Enum value maps for Backend_WaitEvent.

View Source
var (
	VacuumProgressStatistic_VacuumPhase_name = map[int32]string{
		0: "INITIALIZING",
		1: "SCAN_HEAP",
		2: "VACUUM_INDEX",
		3: "VACUUM_HEAP",
		4: "INDEX_CLEANUP",
		5: "TRUNCATE",
		6: "FINAL_CLEANUP",
	}
	VacuumProgressStatistic_VacuumPhase_value = map[string]int32{
		"INITIALIZING":  0,
		"SCAN_HEAP":     1,
		"VACUUM_INDEX":  2,
		"VACUUM_HEAP":   3,
		"INDEX_CLEANUP": 4,
		"TRUNCATE":      5,
		"FINAL_CLEANUP": 6,
	}
)

Enum value maps for VacuumProgressStatistic_VacuumPhase.

View Source
var (
	LogFileReference_LogSecretKind_name = map[int32]string{
		0: "CREDENTIAL_LOG_SECRET",
		1: "PARSING_ERROR_LOG_SECRET",
		2: "STATEMENT_TEXT_LOG_SECRET",
		3: "STATEMENT_PARAMETER_LOG_SECRET",
		4: "TABLE_DATA_LOG_SECRET",
		5: "OPS_LOG_SECRET",
		6: "UNIDENTIFIED_LOG_SECRET",
	}
	LogFileReference_LogSecretKind_value = map[string]int32{
		"CREDENTIAL_LOG_SECRET":          0,
		"PARSING_ERROR_LOG_SECRET":       1,
		"STATEMENT_TEXT_LOG_SECRET":      2,
		"STATEMENT_PARAMETER_LOG_SECRET": 3,
		"TABLE_DATA_LOG_SECRET":          4,
		"OPS_LOG_SECRET":                 5,
		"UNIDENTIFIED_LOG_SECRET":        6,
	}
)

Enum value maps for LogFileReference_LogSecretKind.

View Source
var (
	LogLineInformation_LogLevel_name = map[int32]string{
		0:  "UNKNOWN",
		1:  "DEBUG",
		2:  "INFO",
		3:  "NOTICE",
		4:  "WARNING",
		5:  "ERROR",
		6:  "LOG",
		7:  "FATAL",
		8:  "PANIC",
		9:  "DETAIL",
		10: "HINT",
		11: "CONTEXT",
		12: "STATEMENT",
		13: "QUERY",
	}
	LogLineInformation_LogLevel_value = map[string]int32{
		"UNKNOWN":   0,
		"DEBUG":     1,
		"INFO":      2,
		"NOTICE":    3,
		"WARNING":   4,
		"ERROR":     5,
		"LOG":       6,
		"FATAL":     7,
		"PANIC":     8,
		"DETAIL":    9,
		"HINT":      10,
		"CONTEXT":   11,
		"STATEMENT": 12,
		"QUERY":     13,
	}
)

Enum value maps for LogLineInformation_LogLevel.

View Source
var (
	LogLineInformation_LogClassification_name = map[int32]string{
		0:    "UNKNOWN_LOG_CLASSIFICATION",
		1:    "SERVER_CRASHED",
		2:    "SERVER_START",
		3:    "SERVER_START_RECOVERING",
		4:    "SERVER_SHUTDOWN",
		5:    "SERVER_OUT_OF_MEMORY",
		6:    "SERVER_INVALID_CHECKSUM",
		7:    "SERVER_TEMP_FILE_CREATED",
		8:    "SERVER_MISC",
		9:    "SERVER_RELOAD",
		10:   "SERVER_PROCESS_EXITED",
		11:   "SERVER_STATS_COLLECTOR_TIMEOUT",
		20:   "CONNECTION_RECEIVED",
		21:   "CONNECTION_AUTHORIZED",
		22:   "CONNECTION_REJECTED",
		23:   "CONNECTION_DISCONNECTED",
		24:   "CONNECTION_CLIENT_FAILED_TO_CONNECT",
		25:   "CONNECTION_LOST",
		26:   "CONNECTION_LOST_OPEN_TX",
		27:   "CONNECTION_TERMINATED",
		28:   "OUT_OF_CONNECTIONS",
		29:   "TOO_MANY_CONNECTIONS_ROLE",
		30:   "COULD_NOT_ACCEPT_SSL_CONNECTION",
		31:   "PROTOCOL_ERROR_UNSUPPORTED_VERSION",
		32:   "PROTOCOL_ERROR_INCOMPLETE_MESSAGE",
		33:   "TOO_MANY_CONNECTIONS_DATABASE",
		40:   "CHECKPOINT_STARTING",
		41:   "CHECKPOINT_COMPLETE",
		42:   "CHECKPOINT_TOO_FREQUENT",
		43:   "RESTARTPOINT_STARTING",
		44:   "RESTARTPOINT_COMPLETE",
		45:   "RESTARTPOINT_AT",
		50:   "WAL_INVALID_RECORD_LENGTH",
		51:   "WAL_REDO",
		52:   "WAL_ARCHIVE_COMMAND_FAILED",
		53:   "WAL_BASE_BACKUP_COMPLETE",
		60:   "AUTOVACUUM_CANCEL",
		61:   "TXID_WRAPAROUND_WARNING",
		62:   "TXID_WRAPAROUND_ERROR",
		63:   "AUTOVACUUM_LAUNCHER_STARTED",
		64:   "AUTOVACUUM_LAUNCHER_SHUTTING_DOWN",
		65:   "AUTOVACUUM_COMPLETED",
		66:   "AUTOANALYZE_COMPLETED",
		67:   "SKIPPING_VACUUM_LOCK_NOT_AVAILABLE",
		68:   "SKIPPING_ANALYZE_LOCK_NOT_AVAILABLE",
		70:   "LOCK_ACQUIRED",
		71:   "LOCK_WAITING",
		72:   "LOCK_TIMEOUT",
		73:   "LOCK_DEADLOCK_DETECTED",
		74:   "LOCK_DEADLOCK_AVOIDED",
		80:   "STATEMENT_DURATION",
		81:   "STATEMENT_CANCELED_TIMEOUT",
		82:   "STATEMENT_CANCELED_USER",
		83:   "STATEMENT_LOG",
		84:   "STATEMENT_AUTO_EXPLAIN",
		90:   "STANDBY_RESTORED_WAL_FROM_ARCHIVE",
		91:   "STANDBY_STARTED_STREAMING",
		92:   "STANDBY_STREAMING_INTERRUPTED",
		93:   "STANDBY_STOPPED_STREAMING",
		94:   "STANDBY_CONSISTENT_RECOVERY_STATE",
		95:   "STANDBY_STATEMENT_CANCELED",
		96:   "STANDBY_INVALID_TIMELINE",
		100:  "UNIQUE_CONSTRAINT_VIOLATION",
		101:  "FOREIGN_KEY_CONSTRAINT_VIOLATION",
		102:  "NOT_NULL_CONSTRAINT_VIOLATION",
		103:  "CHECK_CONSTRAINT_VIOLATION",
		104:  "EXCLUSION_CONSTRAINT_VIOLATION",
		110:  "SYNTAX_ERROR",
		111:  "INVALID_INPUT_SYNTAX",
		112:  "VALUE_TOO_LONG_FOR_TYPE",
		113:  "INVALID_VALUE",
		114:  "MALFORMED_ARRAY_LITERAL",
		115:  "SUBQUERY_MISSING_ALIAS",
		116:  "INSERT_TARGET_COLUMN_MISMATCH",
		117:  "ANY_ALL_REQUIRES_ARRAY",
		118:  "COLUMN_MISSING_FROM_GROUP_BY",
		119:  "RELATION_DOES_NOT_EXIST",
		120:  "COLUMN_DOES_NOT_EXIST",
		121:  "OPERATOR_DOES_NOT_EXIST",
		122:  "COLUMN_REFERENCE_AMBIGUOUS",
		123:  "PERMISSION_DENIED",
		124:  "TRANSACTION_IS_ABORTED",
		125:  "ON_CONFLICT_NO_CONSTRAINT_MATCH",
		126:  "ON_CONFLICT_ROW_AFFECTED_TWICE",
		127:  "COLUMN_CANNOT_BE_CAST",
		128:  "DIVISION_BY_ZERO",
		129:  "CANNOT_DROP",
		130:  "INTEGER_OUT_OF_RANGE",
		131:  "INVALID_REGEXP",
		132:  "PARAM_MISSING",
		133:  "FUNCTION_DOES_NOT_EXIST",
		134:  "NO_SUCH_SAVEPOINT",
		135:  "UNTERMINATED_QUOTED_STRING",
		136:  "UNTERMINATED_QUOTED_IDENTIFIER",
		137:  "INVALID_BYTE_SEQUENCE",
		138:  "COULD_NOT_SERIALIZE_REPEATABLE_READ",
		139:  "COULD_NOT_SERIALIZE_SERIALIZABLE",
		140:  "INCONSISTENT_RANGE_BOUNDS",
		1000: "PGA_COLLECTOR_IDENTIFY",
	}
	LogLineInformation_LogClassification_value = map[string]int32{
		"UNKNOWN_LOG_CLASSIFICATION":          0,
		"SERVER_CRASHED":                      1,
		"SERVER_START":                        2,
		"SERVER_START_RECOVERING":             3,
		"SERVER_SHUTDOWN":                     4,
		"SERVER_OUT_OF_MEMORY":                5,
		"SERVER_INVALID_CHECKSUM":             6,
		"SERVER_TEMP_FILE_CREATED":            7,
		"SERVER_MISC":                         8,
		"SERVER_RELOAD":                       9,
		"SERVER_PROCESS_EXITED":               10,
		"SERVER_STATS_COLLECTOR_TIMEOUT":      11,
		"CONNECTION_RECEIVED":                 20,
		"CONNECTION_AUTHORIZED":               21,
		"CONNECTION_REJECTED":                 22,
		"CONNECTION_DISCONNECTED":             23,
		"CONNECTION_CLIENT_FAILED_TO_CONNECT": 24,
		"CONNECTION_LOST":                     25,
		"CONNECTION_LOST_OPEN_TX":             26,
		"CONNECTION_TERMINATED":               27,
		"OUT_OF_CONNECTIONS":                  28,
		"TOO_MANY_CONNECTIONS_ROLE":           29,
		"COULD_NOT_ACCEPT_SSL_CONNECTION":     30,
		"PROTOCOL_ERROR_UNSUPPORTED_VERSION":  31,
		"PROTOCOL_ERROR_INCOMPLETE_MESSAGE":   32,
		"TOO_MANY_CONNECTIONS_DATABASE":       33,
		"CHECKPOINT_STARTING":                 40,
		"CHECKPOINT_COMPLETE":                 41,
		"CHECKPOINT_TOO_FREQUENT":             42,
		"RESTARTPOINT_STARTING":               43,
		"RESTARTPOINT_COMPLETE":               44,
		"RESTARTPOINT_AT":                     45,
		"WAL_INVALID_RECORD_LENGTH":           50,
		"WAL_REDO":                            51,
		"WAL_ARCHIVE_COMMAND_FAILED":          52,
		"WAL_BASE_BACKUP_COMPLETE":            53,
		"AUTOVACUUM_CANCEL":                   60,
		"TXID_WRAPAROUND_WARNING":             61,
		"TXID_WRAPAROUND_ERROR":               62,
		"AUTOVACUUM_LAUNCHER_STARTED":         63,
		"AUTOVACUUM_LAUNCHER_SHUTTING_DOWN":   64,
		"AUTOVACUUM_COMPLETED":                65,
		"AUTOANALYZE_COMPLETED":               66,
		"SKIPPING_VACUUM_LOCK_NOT_AVAILABLE":  67,
		"SKIPPING_ANALYZE_LOCK_NOT_AVAILABLE": 68,
		"LOCK_ACQUIRED":                       70,
		"LOCK_WAITING":                        71,
		"LOCK_TIMEOUT":                        72,
		"LOCK_DEADLOCK_DETECTED":              73,
		"LOCK_DEADLOCK_AVOIDED":               74,
		"STATEMENT_DURATION":                  80,
		"STATEMENT_CANCELED_TIMEOUT":          81,
		"STATEMENT_CANCELED_USER":             82,
		"STATEMENT_LOG":                       83,
		"STATEMENT_AUTO_EXPLAIN":              84,
		"STANDBY_RESTORED_WAL_FROM_ARCHIVE":   90,
		"STANDBY_STARTED_STREAMING":           91,
		"STANDBY_STREAMING_INTERRUPTED":       92,
		"STANDBY_STOPPED_STREAMING":           93,
		"STANDBY_CONSISTENT_RECOVERY_STATE":   94,
		"STANDBY_STATEMENT_CANCELED":          95,
		"STANDBY_INVALID_TIMELINE":            96,
		"UNIQUE_CONSTRAINT_VIOLATION":         100,
		"FOREIGN_KEY_CONSTRAINT_VIOLATION":    101,
		"NOT_NULL_CONSTRAINT_VIOLATION":       102,
		"CHECK_CONSTRAINT_VIOLATION":          103,
		"EXCLUSION_CONSTRAINT_VIOLATION":      104,
		"SYNTAX_ERROR":                        110,
		"INVALID_INPUT_SYNTAX":                111,
		"VALUE_TOO_LONG_FOR_TYPE":             112,
		"INVALID_VALUE":                       113,
		"MALFORMED_ARRAY_LITERAL":             114,
		"SUBQUERY_MISSING_ALIAS":              115,
		"INSERT_TARGET_COLUMN_MISMATCH":       116,
		"ANY_ALL_REQUIRES_ARRAY":              117,
		"COLUMN_MISSING_FROM_GROUP_BY":        118,
		"RELATION_DOES_NOT_EXIST":             119,
		"COLUMN_DOES_NOT_EXIST":               120,
		"OPERATOR_DOES_NOT_EXIST":             121,
		"COLUMN_REFERENCE_AMBIGUOUS":          122,
		"PERMISSION_DENIED":                   123,
		"TRANSACTION_IS_ABORTED":              124,
		"ON_CONFLICT_NO_CONSTRAINT_MATCH":     125,
		"ON_CONFLICT_ROW_AFFECTED_TWICE":      126,
		"COLUMN_CANNOT_BE_CAST":               127,
		"DIVISION_BY_ZERO":                    128,
		"CANNOT_DROP":                         129,
		"INTEGER_OUT_OF_RANGE":                130,
		"INVALID_REGEXP":                      131,
		"PARAM_MISSING":                       132,
		"FUNCTION_DOES_NOT_EXIST":             133,
		"NO_SUCH_SAVEPOINT":                   134,
		"UNTERMINATED_QUOTED_STRING":          135,
		"UNTERMINATED_QUOTED_IDENTIFIER":      136,
		"INVALID_BYTE_SEQUENCE":               137,
		"COULD_NOT_SERIALIZE_REPEATABLE_READ": 138,
		"COULD_NOT_SERIALIZE_SERIALIZABLE":    139,
		"INCONSISTENT_RANGE_BOUNDS":           140,
		"PGA_COLLECTOR_IDENTIFY":              1000,
	}
)

Enum value maps for LogLineInformation_LogClassification.

View Source
var (
	QuerySample_ExplainFormat_name = map[int32]string{
		0: "TEXT_EXPLAIN_FORMAT",
		1: "JSON_EXPLAIN_FORMAT",
	}
	QuerySample_ExplainFormat_value = map[string]int32{
		"TEXT_EXPLAIN_FORMAT": 0,
		"JSON_EXPLAIN_FORMAT": 1,
	}
)

Enum value maps for QuerySample_ExplainFormat.

View Source
var (
	QuerySample_ExplainSource_name = map[int32]string{
		0: "STATEMENT_LOG_EXPLAIN_SOURCE",
		1: "AUTO_EXPLAIN_EXPLAIN_SOURCE",
		2: "EXTERNAL_EXPLAIN_SOURCE",
		3: "GENERIC_EXPLAIN_SOURCE",
	}
	QuerySample_ExplainSource_value = map[string]int32{
		"STATEMENT_LOG_EXPLAIN_SOURCE": 0,
		"AUTO_EXPLAIN_EXPLAIN_SOURCE":  1,
		"EXTERNAL_EXPLAIN_SOURCE":      2,
		"GENERIC_EXPLAIN_SOURCE":       3,
	}
)

Enum value maps for QuerySample_ExplainSource.

View Source
var (
	BackendCountStatistic_BackendState_name = map[int32]string{
		0: "UNKNOWN_STATE",
		1: "ACTIVE",
		2: "IDLE",
		3: "IDLE_IN_TRANSACTION",
		4: "IDLE_IN_TRANSACTION_ABORTED",
		5: "FASTPATH_FUNCTION_CALL",
		6: "DISABLED",
	}
	BackendCountStatistic_BackendState_value = map[string]int32{
		"UNKNOWN_STATE":               0,
		"ACTIVE":                      1,
		"IDLE":                        2,
		"IDLE_IN_TRANSACTION":         3,
		"IDLE_IN_TRANSACTION_ABORTED": 4,
		"FASTPATH_FUNCTION_CALL":      5,
		"DISABLED":                    6,
	}
)

Enum value maps for BackendCountStatistic_BackendState.

View Source
var (
	BackendCountStatistic_BackendType_name = map[int32]string{
		0:  "UNKNOWN_TYPE",
		1:  "AUTOVACUUM_LAUNCHER",
		2:  "AUTOVACUUM_WORKER",
		3:  "BACKGROUND_WORKER",
		4:  "BACKGROUND_WRITER",
		5:  "CLIENT_BACKEND",
		6:  "CHECKPOINTER",
		7:  "STARTUP",
		8:  "WALRECEIVER",
		9:  "WALSENDER",
		10: "WALWRITER",
	}
	BackendCountStatistic_BackendType_value = map[string]int32{
		"UNKNOWN_TYPE":        0,
		"AUTOVACUUM_LAUNCHER": 1,
		"AUTOVACUUM_WORKER":   2,
		"BACKGROUND_WORKER":   3,
		"BACKGROUND_WRITER":   4,
		"CLIENT_BACKEND":      5,
		"CHECKPOINTER":        6,
		"STARTUP":             7,
		"WALRECEIVER":         8,
		"WALSENDER":           9,
		"WALWRITER":           10,
	}
)

Enum value maps for BackendCountStatistic_BackendType.

View Source
var (
	RelationInformation_PartitionStrategy_name = map[int32]string{
		0: "UNKNOWN",
		1: "RANGE",
		2: "LIST",
		3: "HASH",
	}
	RelationInformation_PartitionStrategy_value = map[string]int32{
		"UNKNOWN": 0,
		"RANGE":   1,
		"LIST":    2,
		"HASH":    3,
	}
)

Enum value maps for RelationInformation_PartitionStrategy.

View Source
var (
	RelationEvent_EventType_name = map[int32]string{
		0: "MANUAL_VACUUM",
		1: "AUTO_VACUUM",
		2: "MANUAL_ANALYZE",
		3: "AUTO_ANALYZE",
	}
	RelationEvent_EventType_value = map[string]int32{
		"MANUAL_VACUUM":  0,
		"AUTO_VACUUM":    1,
		"MANUAL_ANALYZE": 2,
		"AUTO_ANALYZE":   3,
	}
)

Enum value maps for RelationEvent_EventType.

View Source
var (
	FunctionInformation_FunctionKind_name = map[int32]string{
		0: "UNKNOWN",
		1: "FUNCTION",
		2: "AGGREGATE",
		3: "WINDOW",
		4: "PROCEDURE",
	}
	FunctionInformation_FunctionKind_value = map[string]int32{
		"UNKNOWN":   0,
		"FUNCTION":  1,
		"AGGREGATE": 2,
		"WINDOW":    3,
		"PROCEDURE": 4,
	}
)

Enum value maps for FunctionInformation_FunctionKind.

View Source
var (
	CustomTypeInformation_Type_name = map[int32]string{
		0: "ENUM",
		1: "DOMAIN",
		2: "COMPOSITE",
		3: "BASE",
		4: "PSEUDO",
		5: "RANGE",
		6: "MULTIRANGE",
	}
	CustomTypeInformation_Type_value = map[string]int32{
		"ENUM":       0,
		"DOMAIN":     1,
		"COMPOSITE":  2,
		"BASE":       3,
		"PSEUDO":     4,
		"RANGE":      5,
		"MULTIRANGE": 6,
	}
)

Enum value maps for CustomTypeInformation_Type.

View Source
var (
	QueryPlanInformation_PlanType_name = map[int32]string{
		0: "NO_PLAN",
		1: "ESTIMATE",
		2: "ACTUAL",
	}
	QueryPlanInformation_PlanType_value = map[string]int32{
		"NO_PLAN":  0,
		"ESTIMATE": 1,
		"ACTUAL":   2,
	}
)

Enum value maps for QueryPlanInformation_PlanType.

View Source
var (
	QueryRunType_name = map[int32]string{
		0: "EXPLAIN",
	}
	QueryRunType_value = map[string]int32{
		"EXPLAIN": 0,
	}
)

Enum value maps for QueryRunType.

View Source
var (
	QueryExplainInformation_ExplainFormat_name = map[int32]string{
		0: "TEXT_EXPLAIN_FORMAT",
		1: "JSON_EXPLAIN_FORMAT",
	}
	QueryExplainInformation_ExplainFormat_value = map[string]int32{
		"TEXT_EXPLAIN_FORMAT": 0,
		"JSON_EXPLAIN_FORMAT": 1,
	}
)

Enum value maps for QueryExplainInformation_ExplainFormat.

View Source
var (
	QueryExplainInformation_ExplainSource_name = map[int32]string{
		0: "STATEMENT_LOG_EXPLAIN_SOURCE",
		1: "AUTO_EXPLAIN_EXPLAIN_SOURCE",
		2: "EXTERNAL_EXPLAIN_SOURCE",
		3: "GENERIC_EXPLAIN_SOURCE",
	}
	QueryExplainInformation_ExplainSource_value = map[string]int32{
		"STATEMENT_LOG_EXPLAIN_SOURCE": 0,
		"AUTO_EXPLAIN_EXPLAIN_SOURCE":  1,
		"EXTERNAL_EXPLAIN_SOURCE":      2,
		"GENERIC_EXPLAIN_SOURCE":       3,
	}
)

Enum value maps for QueryExplainInformation_ExplainSource.

View Source
var (
	SystemInformation_SystemType_name = map[int32]string{
		0: "SELF_HOSTED_SYSTEM",
		1: "AMAZON_RDS_SYSTEM",
		2: "HEROKU_SYSTEM",
		3: "GOOGLE_CLOUD_SQL_SYSTEM",
		4: "AZURE_DATABASE_SYSTEM",
		5: "CRUNCHY_BRIDGE_SYSTEM",
		6: "AIVEN_SYSTEM",
		7: "TEMBO_SYSTEM",
	}
	SystemInformation_SystemType_value = map[string]int32{
		"SELF_HOSTED_SYSTEM":      0,
		"AMAZON_RDS_SYSTEM":       1,
		"HEROKU_SYSTEM":           2,
		"GOOGLE_CLOUD_SQL_SYSTEM": 3,
		"AZURE_DATABASE_SYSTEM":   4,
		"CRUNCHY_BRIDGE_SYSTEM":   5,
		"AIVEN_SYSTEM":            6,
		"TEMBO_SYSTEM":            7,
	}
)

Enum value maps for SystemInformation_SystemType.

View Source
var File_compact_activity_snapshot_proto protoreflect.FileDescriptor
View Source
var File_compact_log_snapshot_proto protoreflect.FileDescriptor
View Source
var File_compact_snapshot_proto protoreflect.FileDescriptor
View Source
var File_compact_system_snapshot_proto protoreflect.FileDescriptor
View Source
var File_full_snapshot_proto protoreflect.FileDescriptor
View Source
var File_query_run_snapshot_proto protoreflect.FileDescriptor
View Source
var File_server_message_proto protoreflect.FileDescriptor
View Source
var File_shared_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Backend

type Backend struct {
	Identity        uint64                 `protobuf:"varint,1,opt,name=identity,proto3" json:"identity,omitempty"` // Server-wide unique identifier (backend_start + PID)
	Pid             int32                  `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"`
	HasRoleIdx      bool                   `protobuf:"varint,3,opt,name=has_role_idx,json=hasRoleIdx,proto3" json:"has_role_idx,omitempty"`
	RoleIdx         int32                  `protobuf:"varint,4,opt,name=role_idx,json=roleIdx,proto3" json:"role_idx,omitempty"`
	HasDatabaseIdx  bool                   `protobuf:"varint,5,opt,name=has_database_idx,json=hasDatabaseIdx,proto3" json:"has_database_idx,omitempty"`
	DatabaseIdx     int32                  `protobuf:"varint,6,opt,name=database_idx,json=databaseIdx,proto3" json:"database_idx,omitempty"`
	HasQueryIdx     bool                   `protobuf:"varint,7,opt,name=has_query_idx,json=hasQueryIdx,proto3" json:"has_query_idx,omitempty"`
	QueryIdx        int32                  `protobuf:"varint,8,opt,name=query_idx,json=queryIdx,proto3" json:"query_idx,omitempty"`
	QueryText       string                 `protobuf:"bytes,9,opt,name=query_text,json=queryText,proto3" json:"query_text,omitempty"`
	ApplicationName string                 `protobuf:"bytes,10,opt,name=application_name,json=applicationName,proto3" json:"application_name,omitempty"`
	ClientAddr      string                 `protobuf:"bytes,11,opt,name=client_addr,json=clientAddr,proto3" json:"client_addr,omitempty"`
	ClientPort      int32                  `protobuf:"varint,12,opt,name=client_port,json=clientPort,proto3" json:"client_port,omitempty"`
	BackendStart    *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=backend_start,json=backendStart,proto3" json:"backend_start,omitempty"`
	XactStart       *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=xact_start,json=xactStart,proto3" json:"xact_start,omitempty"`
	QueryStart      *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=query_start,json=queryStart,proto3" json:"query_start,omitempty"`
	StateChange     *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=state_change,json=stateChange,proto3" json:"state_change,omitempty"`
	Waiting         bool                   `protobuf:"varint,17,opt,name=waiting,proto3" json:"waiting,omitempty"`
	State           string                 `protobuf:"bytes,18,opt,name=state,proto3" json:"state,omitempty"`
	WaitEventType   string                 `protobuf:"bytes,19,opt,name=wait_event_type,json=waitEventType,proto3" json:"wait_event_type,omitempty"`
	WaitEvent       string                 `protobuf:"bytes,20,opt,name=wait_event,json=waitEvent,proto3" json:"wait_event,omitempty"`
	BackendType     string                 `protobuf:"bytes,21,opt,name=backend_type,json=backendType,proto3" json:"backend_type,omitempty"`
	BlockedByPids   []int32                `protobuf:"varint,22,rep,packed,name=blocked_by_pids,json=blockedByPids,proto3" json:"blocked_by_pids,omitempty"`
	// contains filtered or unexported fields
}

func (*Backend) Descriptor deprecated

func (*Backend) Descriptor() ([]byte, []int)

Deprecated: Use Backend.ProtoReflect.Descriptor instead.

func (*Backend) GetApplicationName

func (x *Backend) GetApplicationName() string

func (*Backend) GetBackendStart

func (x *Backend) GetBackendStart() *timestamppb.Timestamp

func (*Backend) GetBackendType

func (x *Backend) GetBackendType() string

func (*Backend) GetBlockedByPids added in v0.46.0

func (x *Backend) GetBlockedByPids() []int32

func (*Backend) GetClientAddr

func (x *Backend) GetClientAddr() string

func (*Backend) GetClientPort

func (x *Backend) GetClientPort() int32

func (*Backend) GetDatabaseIdx

func (x *Backend) GetDatabaseIdx() int32

func (*Backend) GetHasDatabaseIdx

func (x *Backend) GetHasDatabaseIdx() bool

func (*Backend) GetHasQueryIdx

func (x *Backend) GetHasQueryIdx() bool

func (*Backend) GetHasRoleIdx

func (x *Backend) GetHasRoleIdx() bool

func (*Backend) GetIdentity

func (x *Backend) GetIdentity() uint64

func (*Backend) GetPid

func (x *Backend) GetPid() int32

func (*Backend) GetQueryIdx

func (x *Backend) GetQueryIdx() int32

func (*Backend) GetQueryStart

func (x *Backend) GetQueryStart() *timestamppb.Timestamp

func (*Backend) GetQueryText

func (x *Backend) GetQueryText() string

func (*Backend) GetRoleIdx

func (x *Backend) GetRoleIdx() int32

func (*Backend) GetState

func (x *Backend) GetState() string

func (*Backend) GetStateChange

func (x *Backend) GetStateChange() *timestamppb.Timestamp

func (*Backend) GetWaitEvent

func (x *Backend) GetWaitEvent() string

func (*Backend) GetWaitEventType

func (x *Backend) GetWaitEventType() string

func (*Backend) GetWaiting

func (x *Backend) GetWaiting() bool

func (*Backend) GetXactStart

func (x *Backend) GetXactStart() *timestamppb.Timestamp

func (*Backend) ProtoMessage

func (*Backend) ProtoMessage()

func (*Backend) ProtoReflect

func (x *Backend) ProtoReflect() protoreflect.Message

func (*Backend) Reset

func (x *Backend) Reset()

func (*Backend) String

func (x *Backend) String() string

type BackendCountStatistic

type BackendCountStatistic struct {
	HasRoleIdx     bool                               `protobuf:"varint,1,opt,name=has_role_idx,json=hasRoleIdx,proto3" json:"has_role_idx,omitempty"`
	RoleIdx        int32                              `protobuf:"varint,2,opt,name=role_idx,json=roleIdx,proto3" json:"role_idx,omitempty"`
	HasDatabaseIdx bool                               `protobuf:"varint,3,opt,name=has_database_idx,json=hasDatabaseIdx,proto3" json:"has_database_idx,omitempty"`
	DatabaseIdx    int32                              `protobuf:"varint,4,opt,name=database_idx,json=databaseIdx,proto3" json:"database_idx,omitempty"`
	State          BackendCountStatistic_BackendState `protobuf:"varint,5,opt,name=state,proto3,enum=pganalyze.collector.BackendCountStatistic_BackendState" json:"state,omitempty"`
	BackendType    BackendCountStatistic_BackendType  `` /* 154-byte string literal not displayed */
	WaitingForLock bool                               `protobuf:"varint,7,opt,name=waiting_for_lock,json=waitingForLock,proto3" json:"waiting_for_lock,omitempty"`
	Count          int32                              `protobuf:"varint,8,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*BackendCountStatistic) Descriptor deprecated

func (*BackendCountStatistic) Descriptor() ([]byte, []int)

Deprecated: Use BackendCountStatistic.ProtoReflect.Descriptor instead.

func (*BackendCountStatistic) GetBackendType

func (*BackendCountStatistic) GetCount

func (x *BackendCountStatistic) GetCount() int32

func (*BackendCountStatistic) GetDatabaseIdx

func (x *BackendCountStatistic) GetDatabaseIdx() int32

func (*BackendCountStatistic) GetHasDatabaseIdx

func (x *BackendCountStatistic) GetHasDatabaseIdx() bool

func (*BackendCountStatistic) GetHasRoleIdx

func (x *BackendCountStatistic) GetHasRoleIdx() bool

func (*BackendCountStatistic) GetRoleIdx

func (x *BackendCountStatistic) GetRoleIdx() int32

func (*BackendCountStatistic) GetState

func (*BackendCountStatistic) GetWaitingForLock

func (x *BackendCountStatistic) GetWaitingForLock() bool

func (*BackendCountStatistic) ProtoMessage

func (*BackendCountStatistic) ProtoMessage()

func (*BackendCountStatistic) ProtoReflect

func (x *BackendCountStatistic) ProtoReflect() protoreflect.Message

func (*BackendCountStatistic) Reset

func (x *BackendCountStatistic) Reset()

func (*BackendCountStatistic) String

func (x *BackendCountStatistic) String() string

type BackendCountStatistic_BackendState

type BackendCountStatistic_BackendState int32

! When changing this, also update mappings/backend_state.json

const (
	BackendCountStatistic_UNKNOWN_STATE               BackendCountStatistic_BackendState = 0 // unknown
	BackendCountStatistic_ACTIVE                      BackendCountStatistic_BackendState = 1 // active
	BackendCountStatistic_IDLE                        BackendCountStatistic_BackendState = 2 // idle
	BackendCountStatistic_IDLE_IN_TRANSACTION         BackendCountStatistic_BackendState = 3 // idle in transaction
	BackendCountStatistic_IDLE_IN_TRANSACTION_ABORTED BackendCountStatistic_BackendState = 4 // idle in transaction (aborted)
	BackendCountStatistic_FASTPATH_FUNCTION_CALL      BackendCountStatistic_BackendState = 5 // fastpath function call
	BackendCountStatistic_DISABLED                    BackendCountStatistic_BackendState = 6 // disabled
)

func (BackendCountStatistic_BackendState) Descriptor

func (BackendCountStatistic_BackendState) Enum

func (BackendCountStatistic_BackendState) EnumDescriptor deprecated

func (BackendCountStatistic_BackendState) EnumDescriptor() ([]byte, []int)

Deprecated: Use BackendCountStatistic_BackendState.Descriptor instead.

func (BackendCountStatistic_BackendState) Number

func (BackendCountStatistic_BackendState) String

func (BackendCountStatistic_BackendState) Type

type BackendCountStatistic_BackendType

type BackendCountStatistic_BackendType int32

! When changing this, also update mappings/backend_type.json

const (
	BackendCountStatistic_UNKNOWN_TYPE        BackendCountStatistic_BackendType = 0  // unknown
	BackendCountStatistic_AUTOVACUUM_LAUNCHER BackendCountStatistic_BackendType = 1  // autovacuum launcher
	BackendCountStatistic_AUTOVACUUM_WORKER   BackendCountStatistic_BackendType = 2  // autovacuum worker
	BackendCountStatistic_BACKGROUND_WORKER   BackendCountStatistic_BackendType = 3  // background worker
	BackendCountStatistic_BACKGROUND_WRITER   BackendCountStatistic_BackendType = 4  // background writer
	BackendCountStatistic_CLIENT_BACKEND      BackendCountStatistic_BackendType = 5  // client backend
	BackendCountStatistic_CHECKPOINTER        BackendCountStatistic_BackendType = 6  // checkpointer
	BackendCountStatistic_STARTUP             BackendCountStatistic_BackendType = 7  // startup
	BackendCountStatistic_WALRECEIVER         BackendCountStatistic_BackendType = 8  // walreceiver
	BackendCountStatistic_WALSENDER           BackendCountStatistic_BackendType = 9  // walsender
	BackendCountStatistic_WALWRITER           BackendCountStatistic_BackendType = 10 // walwriter
)

func (BackendCountStatistic_BackendType) Descriptor

func (BackendCountStatistic_BackendType) Enum

func (BackendCountStatistic_BackendType) EnumDescriptor deprecated

func (BackendCountStatistic_BackendType) EnumDescriptor() ([]byte, []int)

Deprecated: Use BackendCountStatistic_BackendType.Descriptor instead.

func (BackendCountStatistic_BackendType) Number

func (BackendCountStatistic_BackendType) String

func (BackendCountStatistic_BackendType) Type

type Backend_WaitEvent

type Backend_WaitEvent int32

! When changing this, also update mappings/wait_event.json

const (
	Backend_WAIT_EVENT_UNKNOWN                                  Backend_WaitEvent = 0
	Backend_WAIT_EVENT_LWLOCK_SHMEM_INDEX_LOCK                  Backend_WaitEvent = 101 // ShmemIndexLock
	Backend_WAIT_EVENT_LWLOCK_OID_GEN_LOCK                      Backend_WaitEvent = 102 // OidGenLock
	Backend_WAIT_EVENT_LWLOCK_XID_GEN_LOCK                      Backend_WaitEvent = 103 // XidGenLock
	Backend_WAIT_EVENT_LWLOCK_PROC_ARRAY_LOCK                   Backend_WaitEvent = 104 // ProcArrayLock
	Backend_WAIT_EVENT_LWLOCK_S_INVAL_READ_LOCK                 Backend_WaitEvent = 105 // SInvalReadLock
	Backend_WAIT_EVENT_LWLOCK_S_INVAL_WRITE_LOCK                Backend_WaitEvent = 106 // SInvalWriteLock
	Backend_WAIT_EVENT_LWLOCK_WAL_BUF_MAPPING_LOCK              Backend_WaitEvent = 107 // WALBufMappingLock
	Backend_WAIT_EVENT_LWLOCK_WAL_WRITE_LOCK                    Backend_WaitEvent = 108 // WALWriteLock
	Backend_WAIT_EVENT_LWLOCK_CONTROL_FILE_LOCK                 Backend_WaitEvent = 109 // ControlFileLock
	Backend_WAIT_EVENT_LWLOCK_CHECKPOINT_LOCK                   Backend_WaitEvent = 110 // CheckpointLock (removed in 14)
	Backend_WAIT_EVENT_LWLOCK_XACT_SLRU_LOCK                    Backend_WaitEvent = 111 // CLogControlLock, XactSLRULock
	Backend_WAIT_EVENT_LWLOCK_SUBTRANS_SLRU_LOCK                Backend_WaitEvent = 112 // SubtransControlLock, SubtransSLRULock
	Backend_WAIT_EVENT_LWLOCK_MULTI_XACT_GEN_LOCK               Backend_WaitEvent = 113 // MultiXactGenLock
	Backend_WAIT_EVENT_LWLOCK_MULTI_XACT_OFFSET_SLRU_LOCK       Backend_WaitEvent = 114 // MultiXactOffsetControlLock, MultiXactOffsetSLRULock
	Backend_WAIT_EVENT_LWLOCK_MULTI_XACT_MEMBER_SLRU_LOCK       Backend_WaitEvent = 115 // MultiXactMemberControlLock, MultiXactMemberSLRULock
	Backend_WAIT_EVENT_LWLOCK_REL_CACHE_INIT_LOCK               Backend_WaitEvent = 116 // RelCacheInitLock
	Backend_WAIT_EVENT_LWLOCK_CHECKPOINTER_COMM_LOCK            Backend_WaitEvent = 117 // CheckpointerCommLock
	Backend_WAIT_EVENT_LWLOCK_TWO_PHASE_STATE_LOCK              Backend_WaitEvent = 118 // TwoPhaseStateLock
	Backend_WAIT_EVENT_LWLOCK_TABLESPACE_CREATE_LOCK            Backend_WaitEvent = 119 // TablespaceCreateLock
	Backend_WAIT_EVENT_LWLOCK_BTREE_VACUUM_LOCK                 Backend_WaitEvent = 120 // BtreeVacuumLock
	Backend_WAIT_EVENT_LWLOCK_ADDIN_SHMEM_INIT_LOCK             Backend_WaitEvent = 121 // AddinShmemInitLock
	Backend_WAIT_EVENT_LWLOCK_AUTOVACUUM_LOCK                   Backend_WaitEvent = 122 // AutovacuumLock
	Backend_WAIT_EVENT_LWLOCK_AUTOVACUUM_SCHEDULE_LOCK          Backend_WaitEvent = 123 // AutovacuumScheduleLock
	Backend_WAIT_EVENT_LWLOCK_SYNC_SCAN_LOCK                    Backend_WaitEvent = 124 // SyncScanLock
	Backend_WAIT_EVENT_LWLOCK_RELATION_MAPPING_LOCK             Backend_WaitEvent = 125 // RelationMappingLock
	Backend_WAIT_EVENT_LWLOCK_NOTIFY_SLRU_LOCK                  Backend_WaitEvent = 126 // AsyncCtlLock, NotifySLRULock
	Backend_WAIT_EVENT_LWLOCK_NOTIFY_QUEUE_LOCK                 Backend_WaitEvent = 127 // AsyncQueueLock, NotifyQueueLock
	Backend_WAIT_EVENT_LWLOCK_SERIALIZABLE_XACT_HASH_LOCK       Backend_WaitEvent = 128 // SerializableXactHashLock
	Backend_WAIT_EVENT_LWLOCK_SERIALIZABLE_FINISHED_LIST_LOCK   Backend_WaitEvent = 129 // SerializableFinishedListLock
	Backend_WAIT_EVENT_LWLOCK_SERIALIZABLE_PREDICATE_LIST_LOCK  Backend_WaitEvent = 130 // SerializablePredicateLockListLock, SerializablePredicateListLock
	Backend_WAIT_EVENT_LWLOCK_SERIAL_SLRU_LOCK                  Backend_WaitEvent = 131 // OldSerXidLock, SerialSLRULock
	Backend_WAIT_EVENT_LWLOCK_SYNC_REP_LOCK                     Backend_WaitEvent = 132 // SyncRepLock
	Backend_WAIT_EVENT_LWLOCK_BACKGROUND_WORKER_LOCK            Backend_WaitEvent = 133 // BackgroundWorkerLock
	Backend_WAIT_EVENT_LWLOCK_DYNAMIC_SHARD_MEMORY_CONTROL_LOCK Backend_WaitEvent = 134 // DynamicSharedMemoryControlLock
	Backend_WAIT_EVENT_LWLOCK_AUTO_FILE_LOCK                    Backend_WaitEvent = 135 // AutoFileLock
	Backend_WAIT_EVENT_LWLOCK_REPLICATION_SLOT_ALLOCATION_LOCK  Backend_WaitEvent = 136 // ReplicationSlotAllocationLock
	Backend_WAIT_EVENT_LWLOCK_REPLICATION_SLOT_CONTROL_LOCK     Backend_WaitEvent = 137 // ReplicationSlotControlLock
	Backend_WAIT_EVENT_LWLOCK_COMMIT_TS_SLRU_LOCK               Backend_WaitEvent = 138 // CommitTsControlLock, CommitTsSLRULock
	Backend_WAIT_EVENT_LWLOCK_COMMIT_TS_LOCK                    Backend_WaitEvent = 139 // CommitTsLock
	Backend_WAIT_EVENT_LWLOCK_REPLICATION_ORIGIN_LOCK           Backend_WaitEvent = 140 // ReplicationOriginLock
	Backend_WAIT_EVENT_LWLOCK_MULTI_XACT_TRUNCATION_LOCK        Backend_WaitEvent = 141 // MultiXactTruncationLock
	Backend_WAIT_EVENT_LWLOCK_OLD_SNAPSHOT_TIME_MAP_LOCK        Backend_WaitEvent = 142 // OldSnapshotTimeMapLock
	Backend_WAIT_EVENT_LWLOCK_BACKEND_RANDOM_LOCK               Backend_WaitEvent = 143 // BackendRandomLock (removed in 12)
	Backend_WAIT_EVENT_LWLOCK_LOGICAL_REP_WORKER_LOCK           Backend_WaitEvent = 144 // LogicalRepWorkerLock
	Backend_WAIT_EVENT_LWLOCK_XACT_TRUNCATION_LOCK              Backend_WaitEvent = 145 // CLogTruncationLock, XactTruncationLock
	// (Jumping the number here as 146- is taken by LWTRANCHE)
	Backend_WAIT_EVENT_LWLOCK_WRAP_LIMITS_VACUUM_LOCK Backend_WaitEvent = 180 // WrapLimitsVacuumLock
	Backend_WAIT_EVENT_LWLOCK_NOTIFY_QUEUE_TAIL_LOCK  Backend_WaitEvent = 181 // NotifyQueueTailLock
	// Source: lwlock.h (BuiltinTrancheIds), lwlock.c (BuiltinTrancheNames)
	Backend_WAIT_EVENT_LWTRANCHE_XACT_BUFFER               Backend_WaitEvent = 146 // clog, XactBuffer
	Backend_WAIT_EVENT_LWTRANCHE_COMMITTS_BUFFER           Backend_WaitEvent = 147 // commit_timestamp, CommitTSBuffer
	Backend_WAIT_EVENT_LWTRANCHE_SUBTRANS_BUFFER           Backend_WaitEvent = 148 // subtrans, SubtransBuffer
	Backend_WAIT_EVENT_LWTRANCHE_MULTIXACTOFFSET_BUFFER    Backend_WaitEvent = 149 // multixact_offset, MultiXactOffsetBuffer
	Backend_WAIT_EVENT_LWTRANCHE_MULTIXACTMEMBER_BUFFER    Backend_WaitEvent = 150 // multixact_member, MultiXactMemberBuffer
	Backend_WAIT_EVENT_LWTRANCHE_NOTIFY_BUFFER             Backend_WaitEvent = 151 // async, NotifyBuffer
	Backend_WAIT_EVENT_LWTRANCHE_SERIAL_BUFFER             Backend_WaitEvent = 152 // oldserxid, SerialBuffer
	Backend_WAIT_EVENT_LWTRANCHE_WAL_INSERT                Backend_WaitEvent = 153 // wal_insert, WALInsert
	Backend_WAIT_EVENT_LWTRANCHE_BUFFER_CONTENT            Backend_WaitEvent = 154 // buffer_content, BufferContent
	Backend_WAIT_EVENT_LWTRANCHE_BUFFER_IO                 Backend_WaitEvent = 155 // buffer_io, BufferIO
	Backend_WAIT_EVENT_LWTRANCHE_REPLICATION_ORIGIN_STATE  Backend_WaitEvent = 156 // replication_origin, ReplicationOriginState
	Backend_WAIT_EVENT_LWTRANCHE_REPLICATION_SLOT_IO       Backend_WaitEvent = 157 // replication_slot_io, ReplicationSlotIO
	Backend_WAIT_EVENT_LWTRANCHE_LOCK_FASTPATH             Backend_WaitEvent = 158 // proc, LockFastPath
	Backend_WAIT_EVENT_LWTRANCHE_BUFFER_MAPPING            Backend_WaitEvent = 159 // buffer_mapping, BufferMapping
	Backend_WAIT_EVENT_LWTRANCHE_LOCK_MANAGER              Backend_WaitEvent = 160 // lock_manager, LockManager
	Backend_WAIT_EVENT_LWTRANCHE_PREDICATE_LOCK_MANAGER    Backend_WaitEvent = 161 // predicate_lock_manager, PredicateLockManager
	Backend_WAIT_EVENT_LWTRANCHE_PARALLEL_HASH_JOIN        Backend_WaitEvent = 162 // parallel_hash_join, ParallelHashJoin
	Backend_WAIT_EVENT_LWTRANCHE_PARALLEL_QUERY_DSA        Backend_WaitEvent = 163 // parallel_query_dsa, ParallelQueryDSA
	Backend_WAIT_EVENT_LWTRANCHE_PER_SESSION_DSA           Backend_WaitEvent = 164 // session_dsa, PerSessionDSA
	Backend_WAIT_EVENT_LWTRANCHE_PER_SESSION_RECORD_TYPE   Backend_WaitEvent = 165 // session_record_table, PerSessionRecordType
	Backend_WAIT_EVENT_LWTRANCHE_PER_SESSION_RECORD_TYPMOD Backend_WaitEvent = 166 // session_typmod_table, PerSessionRecordTypmod
	Backend_WAIT_EVENT_LWTRANCHE_SHARED_TUPLESTORE         Backend_WaitEvent = 167 // shared_tuplestore, SharedTupleStore
	Backend_WAIT_EVENT_LWTRANCHE_SHARED_TIDBITMAP          Backend_WaitEvent = 168 // tbm, SharedTidBitmap
	Backend_WAIT_EVENT_LWTRANCHE_PARALLEL_APPEND           Backend_WaitEvent = 169 // parallel_append, ParallelAppend
	Backend_WAIT_EVENT_LWTRANCHE_PER_XACT_PREDICATE_LIST   Backend_WaitEvent = 170 // serializable_xact, PerXactPredicateList
	// Source: lock.h (LockTagType enum), lockfuncs.c (LockTagTypeNames variable)
	Backend_WAIT_EVENT_LOCKTAG_RELATION           Backend_WaitEvent = 200 // relation
	Backend_WAIT_EVENT_LOCKTAG_RELATION_EXTEND    Backend_WaitEvent = 201 // extend
	Backend_WAIT_EVENT_LOCKTAG_PAGE               Backend_WaitEvent = 202 // page
	Backend_WAIT_EVENT_LOCKTAG_TUPLE              Backend_WaitEvent = 203 // tuple
	Backend_WAIT_EVENT_LOCKTAG_TRANSACTION        Backend_WaitEvent = 204 // transactionid
	Backend_WAIT_EVENT_LOCKTAG_VIRTUALTRANSACTION Backend_WaitEvent = 205 // virtualxid
	Backend_WAIT_EVENT_LOCKTAG_SPECULATIVE_TOKEN  Backend_WaitEvent = 206 // speculative token, spectoken
	Backend_WAIT_EVENT_LOCKTAG_OBJECT             Backend_WaitEvent = 207 // object
	Backend_WAIT_EVENT_LOCKTAG_USERLOCK           Backend_WaitEvent = 208 // userlock
	Backend_WAIT_EVENT_LOCKTAG_ADVISORY           Backend_WaitEvent = 209 // advisory
	Backend_WAIT_EVENT_LOCKTAG_DABASE_FROZEN_IDS  Backend_WaitEvent = 210 // frozenid
	// Source: wait_event.c (pgstat_get_wait_event function)
	// Before 14: pgstat.c (pgstat_get_wait_event function)
	Backend_WAIT_EVENT_BUFFER_PIN Backend_WaitEvent = 300 // BufferPin
	// Source: wait_event.c (pgstat_get_wait_event function)
	// Before 14: pgstat.c (pgstat_get_wait_event function)
	Backend_WAIT_EVENT_EXTENSION Backend_WaitEvent = 400 // Extension
	// Wait events from extensions bundled with Postgres as part of contrib
	Backend_WAIT_EVENT_PG_STAT_STATEMENTS Backend_WaitEvent = 401 // pg_stat_statements
	// Source: wait_event.h (WaitEventActivity enum), wait_event.c (pgstat_get_wait_activity function)
	// Before 14: pgstat.h (WaitEventActivity enum), pgstat.c (pgstat_get_wait_activity function)
	Backend_WAIT_EVENT_ARCHIVER_MAIN         Backend_WaitEvent = 500 // ArchiverMain
	Backend_WAIT_EVENT_AUTOVACUUM_MAIN       Backend_WaitEvent = 501 // AutoVacuumMain
	Backend_WAIT_EVENT_BGWRITER_HIBERNATE    Backend_WaitEvent = 502 // BgWriterHibernate
	Backend_WAIT_EVENT_BGWRITER_MAIN         Backend_WaitEvent = 503 // BgWriterMain
	Backend_WAIT_EVENT_CHECKPOINTER_MAIN     Backend_WaitEvent = 504 // CheckpointerMain
	Backend_WAIT_EVENT_LOGICAL_APPLY_MAIN    Backend_WaitEvent = 505 // LogicalApplyMain
	Backend_WAIT_EVENT_LOGICAL_LAUNCHER_MAIN Backend_WaitEvent = 506 // LogicalLauncherMain
	Backend_WAIT_EVENT_PGSTAT_MAIN           Backend_WaitEvent = 507 // PgStatMain
	Backend_WAIT_EVENT_RECOVERY_WAL_ALL      Backend_WaitEvent = 508 // RecoveryWalAll
	Backend_WAIT_EVENT_RECOVERY_WAL_STREAM   Backend_WaitEvent = 509 // RecoveryWalStream
	Backend_WAIT_EVENT_SYSLOGGER_MAIN        Backend_WaitEvent = 510 // SysLoggerMain
	Backend_WAIT_EVENT_WAL_RECEIVER_MAIN     Backend_WaitEvent = 511 // WalReceiverMain
	Backend_WAIT_EVENT_WAL_SENDER_MAIN       Backend_WaitEvent = 512 // WalSenderMain
	Backend_WAIT_EVENT_WAL_WRITER_MAIN       Backend_WaitEvent = 513 // WalWriterMain
	// Source: wait_event.h (WaitEventClient enum), wait_event.c (pgstat_get_wait_client function)
	// Before 14: pgstat.h (WaitEventClient enum), pgstat.c (pgstat_get_wait_client function)
	Backend_WAIT_EVENT_CLIENT_READ              Backend_WaitEvent = 600 // ClientRead
	Backend_WAIT_EVENT_CLIENT_WRITE             Backend_WaitEvent = 601 // ClientWrite
	Backend_WAIT_EVENT_LIBPQWALRECEIVER_CONNECT Backend_WaitEvent = 602 // LibPQWalReceiverConnect
	Backend_WAIT_EVENT_LIBPQWALRECEIVER_RECEIVE Backend_WaitEvent = 603 // LibPQWalReceiverReceive
	Backend_WAIT_EVENT_SSL_OPEN_SERVER          Backend_WaitEvent = 604 // SSLOpenServer
	Backend_WAIT_EVENT_WAL_RECEIVER_WAIT_START  Backend_WaitEvent = 605 // WalReceiverWaitStart
	Backend_WAIT_EVENT_WAL_SENDER_WAIT_WAL      Backend_WaitEvent = 606 // WalSenderWaitForWAL
	Backend_WAIT_EVENT_WAL_SENDER_WRITE_DATA    Backend_WaitEvent = 607 // WalSenderWriteData
	Backend_WAIT_EVENT_GSS_OPEN_SERVER          Backend_WaitEvent = 608 // GSSOpenServer
	// Source: wait_event.h (WaitEventIPC enum), wait_event.c (pgstat_get_wait_ipc function)
	// Before 14: pgstat.h (WaitEventIPC enum), pgstat.c (pgstat_get_wait_ipc function)
	Backend_WAIT_EVENT_BGWORKER_SHUTDOWN             Backend_WaitEvent = 700 // BgWorkerShutdown
	Backend_WAIT_EVENT_BGWORKER_STARTUP              Backend_WaitEvent = 701 // BgWorkerStartup
	Backend_WAIT_EVENT_BTREE_PAGE                    Backend_WaitEvent = 702 // BtreePage
	Backend_WAIT_EVENT_XACT_GROUP_UPDATE             Backend_WaitEvent = 703 // ClogGroupUpdate, XactGroupUpdate
	Backend_WAIT_EVENT_EXECUTE_GATHER                Backend_WaitEvent = 704 // ExecuteGather
	Backend_WAIT_EVENT_HASH_BATCH_ALLOCATE           Backend_WaitEvent = 705 // Hash/Batch/Allocating, HashBatchAllocate
	Backend_WAIT_EVENT_HASH_BATCH_ELECT              Backend_WaitEvent = 706 // Hash/Batch/Electing, HashBatchElect
	Backend_WAIT_EVENT_HASH_BATCH_LOAD               Backend_WaitEvent = 707 // Hash/Batch/Loading, HashBatchLoad
	Backend_WAIT_EVENT_HASH_BUILD_ALLOCATE           Backend_WaitEvent = 708 // Hash/Build/Allocating, HashBuildAllocate
	Backend_WAIT_EVENT_HASH_BUILD_ELECT              Backend_WaitEvent = 709 // Hash/Build/Electing, HashBuildElect
	Backend_WAIT_EVENT_HASH_BUILD_HASH_INNER         Backend_WaitEvent = 710 // Hash/Build/HashingInner, HashBuildHashInner
	Backend_WAIT_EVENT_HASH_BUILD_HASH_OUTER         Backend_WaitEvent = 711 // Hash/Build/HashingOuter, HashBuildHashOuter
	Backend_WAIT_EVENT_HASH_GROW_BATCHES_ALLOCATE    Backend_WaitEvent = 712 // Hash/GrowBatches/Allocating, HashGrowBatchesAllocate
	Backend_WAIT_EVENT_HASH_GROW_BATCHES_DECIDE      Backend_WaitEvent = 713 // Hash/GrowBatches/Deciding, HashGrowBatchesDecide
	Backend_WAIT_EVENT_HASH_GROW_BATCHES_ELECT       Backend_WaitEvent = 714 // Hash/GrowBatches/Electing, HashGrowBatchesElect
	Backend_WAIT_EVENT_HASH_GROW_BATCHES_FINISH      Backend_WaitEvent = 715 // Hash/GrowBatches/Finishing, HashGrowBatchesFinish
	Backend_WAIT_EVENT_HASH_GROW_BATCHES_REPARTITION Backend_WaitEvent = 716 // Hash/GrowBatches/Repartitioning, HashGrowBatchesRepartition
	Backend_WAIT_EVENT_HASH_GROW_BUCKETS_ALLOCATE    Backend_WaitEvent = 717 // Hash/GrowBuckets/Allocating, HashGrowBucketsAllocate
	Backend_WAIT_EVENT_HASH_GROW_BUCKETS_ELECT       Backend_WaitEvent = 718 // Hash/GrowBuckets/Electing, HashGrowBucketsElect
	Backend_WAIT_EVENT_HASH_GROW_BUCKETS_REINSERT    Backend_WaitEvent = 719 // Hash/GrowBuckets/Reinserting, HashGrowBucketsReinsert
	Backend_WAIT_EVENT_LOGICAL_SYNC_DATA             Backend_WaitEvent = 720 // LogicalSyncData
	Backend_WAIT_EVENT_LOGICAL_SYNC_STATE_CHANGE     Backend_WaitEvent = 721 // LogicalSyncStateChange
	Backend_WAIT_EVENT_MQ_INTERNAL                   Backend_WaitEvent = 722 // MessageQueueInternal
	Backend_WAIT_EVENT_MQ_PUT_MESSAGE                Backend_WaitEvent = 723 // MessageQueuePutMessage
	Backend_WAIT_EVENT_MQ_RECEIVE                    Backend_WaitEvent = 724 // MessageQueueReceive
	Backend_WAIT_EVENT_MQ_SEND                       Backend_WaitEvent = 725 // MessageQueueSend
	Backend_WAIT_EVENT_PARALLEL_BITMAP_SCAN          Backend_WaitEvent = 726 // ParallelBitmapScan
	Backend_WAIT_EVENT_PARALLEL_CREATE_INDEX_SCAN    Backend_WaitEvent = 727 // ParallelCreateIndexScan
	Backend_WAIT_EVENT_PARALLEL_FINISH               Backend_WaitEvent = 728 // ParallelFinish
	Backend_WAIT_EVENT_PROCARRAY_GROUP_UPDATE        Backend_WaitEvent = 729 // ProcArrayGroupUpdate
	Backend_WAIT_EVENT_PROMOTE                       Backend_WaitEvent = 730 // Promote
	Backend_WAIT_EVENT_REPLICATION_ORIGIN_DROP       Backend_WaitEvent = 731 // ReplicationOriginDrop
	Backend_WAIT_EVENT_REPLICATION_SLOT_DROP         Backend_WaitEvent = 732 // ReplicationSlotDrop
	Backend_WAIT_EVENT_SAFE_SNAPSHOT                 Backend_WaitEvent = 733 // SafeSnapshot
	Backend_WAIT_EVENT_SYNC_REP                      Backend_WaitEvent = 734 // SyncRep
	Backend_WAIT_EVENT_CHECKPOINT_DONE               Backend_WaitEvent = 735 // CheckpointDone
	Backend_WAIT_EVENT_CHECKPOINT_START              Backend_WaitEvent = 736 // CheckpointStart
	Backend_WAIT_EVENT_APPEND_READY                  Backend_WaitEvent = 737 // AppendReady
	Backend_WAIT_EVENT_BACKEND_TERMINATION           Backend_WaitEvent = 738 // BackendTermination
	Backend_WAIT_EVENT_BACKUP_WAIT_WAL_ARCHIVE       Backend_WaitEvent = 739 // BackupWaitWalArchive
	Backend_WAIT_EVENT_RECOVERY_CONFLICT_SNAPSHOT    Backend_WaitEvent = 740 // RecoveryConflictSnapshot
	Backend_WAIT_EVENT_RECOVERY_CONFLICT_TABLESPACE  Backend_WaitEvent = 741 // RecoveryConflictTablespace
	Backend_WAIT_EVENT_RECOVERY_PAUSE                Backend_WaitEvent = 742 // RecoveryPause
	// Source: wait_event.h (WaitEventTimeout enum), wait_event.c (pgstat_get_wait_timeout function)
	// Before 14: pgstat.h (WaitEventTimeout enum), pgstat.c (pgstat_get_wait_timeout function)
	Backend_WAIT_EVENT_BASE_BACKUP_THROTTLE             Backend_WaitEvent = 800 // BaseBackupThrottle
	Backend_WAIT_EVENT_PG_SLEEP                         Backend_WaitEvent = 801 // PgSleep
	Backend_WAIT_EVENT_RECOVERY_APPLY_DELAY             Backend_WaitEvent = 802 // RecoveryApplyDelay
	Backend_WAIT_EVENT_RECOVERY_RETRIEVE_RETRY_INTERVAL Backend_WaitEvent = 803 // RecoveryRetrieveRetryInterval
	Backend_WAIT_EVENT_REGISTER_SYNC_REQUEST            Backend_WaitEvent = 804 // RegisterSyncRequest
	Backend_WAIT_EVENT_VACUUM_DELAY                     Backend_WaitEvent = 805 // VacuumDelay
	Backend_WAIT_EVENT_CHECKPOINT_WRITE_DELAY           Backend_WaitEvent = 806 // CheckpointWriteDelay
	// Source: wait_event.h (WaitEventIO enum), wait_event.c (pgstat_get_wait_io function)
	// Before 14: pgstat.h (WaitEventIO enum), pgstat.c (pgstat_get_wait_io function)
	Backend_WAIT_EVENT_BUFFILE_READ                    Backend_WaitEvent = 900 // BufFileRead
	Backend_WAIT_EVENT_BUFFILE_WRITE                   Backend_WaitEvent = 901 // BufFileWrite
	Backend_WAIT_EVENT_CONTROL_FILE_READ               Backend_WaitEvent = 902 // ControlFileRead
	Backend_WAIT_EVENT_CONTROL_FILE_SYNC               Backend_WaitEvent = 903 // ControlFileSync
	Backend_WAIT_EVENT_CONTROL_FILE_SYNC_UPDATE        Backend_WaitEvent = 904 // ControlFileSyncUpdate
	Backend_WAIT_EVENT_CONTROL_FILE_WRITE              Backend_WaitEvent = 905 // ControlFileWrite
	Backend_WAIT_EVENT_CONTROL_FILE_WRITE_UPDATE       Backend_WaitEvent = 906 // ControlFileWriteUpdate
	Backend_WAIT_EVENT_COPY_FILE_READ                  Backend_WaitEvent = 907 // CopyFileRead
	Backend_WAIT_EVENT_COPY_FILE_WRITE                 Backend_WaitEvent = 908 // CopyFileWrite
	Backend_WAIT_EVENT_DATA_FILE_EXTEND                Backend_WaitEvent = 909 // DataFileExtend
	Backend_WAIT_EVENT_DATA_FILE_FLUSH                 Backend_WaitEvent = 910 // DataFileFlush
	Backend_WAIT_EVENT_DATA_FILE_IMMEDIATE_SYNC        Backend_WaitEvent = 911 // DataFileImmediateSync
	Backend_WAIT_EVENT_DATA_FILE_PREFETCH              Backend_WaitEvent = 912 // DataFilePrefetch
	Backend_WAIT_EVENT_DATA_FILE_READ                  Backend_WaitEvent = 913 // DataFileRead
	Backend_WAIT_EVENT_DATA_FILE_SYNC                  Backend_WaitEvent = 914 // DataFileSync
	Backend_WAIT_EVENT_DATA_FILE_TRUNCATE              Backend_WaitEvent = 915 // DataFileTruncate
	Backend_WAIT_EVENT_DATA_FILE_WRITE                 Backend_WaitEvent = 916 // DataFileWrite
	Backend_WAIT_EVENT_DSM_FILL_ZERO_WRITE             Backend_WaitEvent = 917 // DSMFillZeroWrite
	Backend_WAIT_EVENT_LOCK_FILE_ADDTODATADIR_READ     Backend_WaitEvent = 918 // LockFileAddToDataDirRead
	Backend_WAIT_EVENT_LOCK_FILE_ADDTODATADIR_SYNC     Backend_WaitEvent = 919 // LockFileAddToDataDirSync
	Backend_WAIT_EVENT_LOCK_FILE_ADDTODATADIR_WRITE    Backend_WaitEvent = 920 // LockFileAddToDataDirWrite
	Backend_WAIT_EVENT_LOCK_FILE_CREATE_READ           Backend_WaitEvent = 921 // LockFileCreateRead
	Backend_WAIT_EVENT_LOCK_FILE_CREATE_SYNC           Backend_WaitEvent = 922 // LockFileCreateSync
	Backend_WAIT_EVENT_LOCK_FILE_CREATE_WRITE          Backend_WaitEvent = 923 // LockFileCreateWrite
	Backend_WAIT_EVENT_LOCK_FILE_RECHECKDATADIR_READ   Backend_WaitEvent = 924 // LockFileReCheckDataDirRead
	Backend_WAIT_EVENT_LOGICAL_REWRITE_CHECKPOINT_SYNC Backend_WaitEvent = 925 // LogicalRewriteCheckpointSync
	Backend_WAIT_EVENT_LOGICAL_REWRITE_MAPPING_SYNC    Backend_WaitEvent = 926 // LogicalRewriteMappingSync
	Backend_WAIT_EVENT_LOGICAL_REWRITE_MAPPING_WRITE   Backend_WaitEvent = 927 // LogicalRewriteMappingWrite
	Backend_WAIT_EVENT_LOGICAL_REWRITE_SYNC            Backend_WaitEvent = 928 // LogicalRewriteSync
	Backend_WAIT_EVENT_LOGICAL_REWRITE_TRUNCATE        Backend_WaitEvent = 929 // LogicalRewriteTruncate
	Backend_WAIT_EVENT_LOGICAL_REWRITE_WRITE           Backend_WaitEvent = 930 // LogicalRewriteWrite
	Backend_WAIT_EVENT_RELATION_MAP_READ               Backend_WaitEvent = 931 // RelationMapRead
	Backend_WAIT_EVENT_RELATION_MAP_SYNC               Backend_WaitEvent = 932 // RelationMapSync
	Backend_WAIT_EVENT_RELATION_MAP_WRITE              Backend_WaitEvent = 933 // RelationMapWrite
	Backend_WAIT_EVENT_REORDER_BUFFER_READ             Backend_WaitEvent = 934 // ReorderBufferRead
	Backend_WAIT_EVENT_REORDER_BUFFER_WRITE            Backend_WaitEvent = 935 // ReorderBufferWrite
	Backend_WAIT_EVENT_REORDER_LOGICAL_MAPPING_READ    Backend_WaitEvent = 936 // ReorderLogicalMappingRead
	Backend_WAIT_EVENT_REPLICATION_SLOT_READ           Backend_WaitEvent = 937 // ReplicationSlotRead
	Backend_WAIT_EVENT_REPLICATION_SLOT_RESTORE_SYNC   Backend_WaitEvent = 938 // ReplicationSlotRestoreSync
	Backend_WAIT_EVENT_REPLICATION_SLOT_SYNC           Backend_WaitEvent = 939 // ReplicationSlotSync
	Backend_WAIT_EVENT_REPLICATION_SLOT_WRITE          Backend_WaitEvent = 940 // ReplicationSlotWrite
	Backend_WAIT_EVENT_SLRU_FLUSH_SYNC                 Backend_WaitEvent = 941 // SLRUFlushSync
	Backend_WAIT_EVENT_SLRU_READ                       Backend_WaitEvent = 942 // SLRURead
	Backend_WAIT_EVENT_SLRU_SYNC                       Backend_WaitEvent = 943 // SLRUSync
	Backend_WAIT_EVENT_SLRU_WRITE                      Backend_WaitEvent = 944 // SLRUWrite
	Backend_WAIT_EVENT_SNAPBUILD_READ                  Backend_WaitEvent = 945 // SnapbuildRead
	Backend_WAIT_EVENT_SNAPBUILD_SYNC                  Backend_WaitEvent = 946 // SnapbuildSync
	Backend_WAIT_EVENT_SNAPBUILD_WRITE                 Backend_WaitEvent = 947 // SnapbuildWrite
	Backend_WAIT_EVENT_TIMELINE_HISTORY_FILE_SYNC      Backend_WaitEvent = 948 // TimelineHistoryFileSync
	Backend_WAIT_EVENT_TIMELINE_HISTORY_FILE_WRITE     Backend_WaitEvent = 949 // TimelineHistoryFileWrite
	Backend_WAIT_EVENT_TIMELINE_HISTORY_READ           Backend_WaitEvent = 950 // TimelineHistoryRead
	Backend_WAIT_EVENT_TIMELINE_HISTORY_SYNC           Backend_WaitEvent = 951 // TimelineHistorySync
	Backend_WAIT_EVENT_TIMELINE_HISTORY_WRITE          Backend_WaitEvent = 952 // TimelineHistoryWrite
	Backend_WAIT_EVENT_TWOPHASE_FILE_READ              Backend_WaitEvent = 953 // TwophaseFileRead
	Backend_WAIT_EVENT_TWOPHASE_FILE_SYNC              Backend_WaitEvent = 954 // TwophaseFileSync
	Backend_WAIT_EVENT_TWOPHASE_FILE_WRITE             Backend_WaitEvent = 955 // TwophaseFileWrite
	Backend_WAIT_EVENT_WALSENDER_TIMELINE_HISTORY_READ Backend_WaitEvent = 956 // WALSenderTimelineHistoryRead
	Backend_WAIT_EVENT_WAL_BOOTSTRAP_SYNC              Backend_WaitEvent = 957 // WALBootstrapSync
	Backend_WAIT_EVENT_WAL_BOOTSTRAP_WRITE             Backend_WaitEvent = 958 // WALBootstrapWrite
	Backend_WAIT_EVENT_WAL_COPY_READ                   Backend_WaitEvent = 959 // WALCopyRead
	Backend_WAIT_EVENT_WAL_COPY_SYNC                   Backend_WaitEvent = 960 // WALCopySync
	Backend_WAIT_EVENT_WAL_COPY_WRITE                  Backend_WaitEvent = 961 // WALCopyWrite
	Backend_WAIT_EVENT_WAL_INIT_SYNC                   Backend_WaitEvent = 962 // WALInitSync
	Backend_WAIT_EVENT_WAL_INIT_WRITE                  Backend_WaitEvent = 963 // WALInitWrite
	Backend_WAIT_EVENT_WAL_READ                        Backend_WaitEvent = 964 // WALRead
	Backend_WAIT_EVENT_WAL_SYNC                        Backend_WaitEvent = 965 // WALSync
	Backend_WAIT_EVENT_WAL_SYNC_METHOD_ASSIGN          Backend_WaitEvent = 966 // WALSyncMethodAssign
	Backend_WAIT_EVENT_WAL_WRITE                       Backend_WaitEvent = 967 // WALWrite
	Backend_WAIT_EVENT_PROC_SIGNAL_BARRIER             Backend_WaitEvent = 968 // ProcSignalBarrier (moved to IPC category in 13)
	// Custom third-party events for extensions and Postgres forks
	Backend_WAIT_EVENT_IO_XACT_SYNC        Backend_WaitEvent = 10000 // XactSync (AWS Aurora)
	Backend_WAIT_EVENT_AURORA_READER_MAIN  Backend_WaitEvent = 10001 // AuroraReaderMain (AWS Aurora)
	Backend_WAIT_EVENT_AURORA_RUNTIME_MAIN Backend_WaitEvent = 10002 // AuroraRuntimeMain (AWS Aurora)
	Backend_WAIT_EVENT_CITUS_QUERY_STATS   Backend_WaitEvent = 10003 // citus_query_stats (Citus Enterprise)
)

func (Backend_WaitEvent) Descriptor

func (Backend_WaitEvent) Enum

func (Backend_WaitEvent) EnumDescriptor deprecated

func (Backend_WaitEvent) EnumDescriptor() ([]byte, []int)

Deprecated: Use Backend_WaitEvent.Descriptor instead.

func (Backend_WaitEvent) Number

func (Backend_WaitEvent) String

func (x Backend_WaitEvent) String() string

func (Backend_WaitEvent) Type

type Backend_WaitEventType

type Backend_WaitEventType int32

! When changing this, also update mappings/wait_event_type.json

const (
	Backend_PG_WAIT_UNDEFINED      Backend_WaitEventType = 0
	Backend_PG_WAIT_LWLOCK_NAMED   Backend_WaitEventType = 1  // LWLockNamed (9.6 only)
	Backend_PG_WAIT_LWLOCK_TRANCHE Backend_WaitEventType = 2  // LWLockTranche (9.6 only)
	Backend_PG_WAIT_LOCK           Backend_WaitEventType = 3  // Lock
	Backend_PG_WAIT_BUFFER_PIN     Backend_WaitEventType = 4  // BufferPin
	Backend_PG_WAIT_LWLOCK         Backend_WaitEventType = 5  // LWLock
	Backend_PG_WAIT_ACTIVITY       Backend_WaitEventType = 6  // Activity
	Backend_PG_WAIT_CLIENT         Backend_WaitEventType = 7  // Client
	Backend_PG_WAIT_EXTENSION      Backend_WaitEventType = 8  // Extension
	Backend_PG_WAIT_IPC            Backend_WaitEventType = 9  // IPC
	Backend_PG_WAIT_TIMEOUT        Backend_WaitEventType = 10 // Timeout
	Backend_PG_WAIT_IO             Backend_WaitEventType = 11 // IO
)

func (Backend_WaitEventType) Descriptor

func (Backend_WaitEventType) Enum

func (Backend_WaitEventType) EnumDescriptor deprecated

func (Backend_WaitEventType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Backend_WaitEventType.Descriptor instead.

func (Backend_WaitEventType) Number

func (Backend_WaitEventType) String

func (x Backend_WaitEventType) String() string

func (Backend_WaitEventType) Type

type CPUInformation

type CPUInformation struct {
	Model             string  `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
	CacheSizeBytes    int32   `protobuf:"varint,2,opt,name=cache_size_bytes,json=cacheSizeBytes,proto3" json:"cache_size_bytes,omitempty"`
	SpeedMhz          float64 `protobuf:"fixed64,3,opt,name=speed_mhz,json=speedMhz,proto3" json:"speed_mhz,omitempty"`
	SocketCount       int32   `protobuf:"varint,4,opt,name=socket_count,json=socketCount,proto3" json:"socket_count,omitempty"`
	PhysicalCoreCount int32   `protobuf:"varint,5,opt,name=physical_core_count,json=physicalCoreCount,proto3" json:"physical_core_count,omitempty"`
	LogicalCoreCount  int32   `protobuf:"varint,6,opt,name=logical_core_count,json=logicalCoreCount,proto3" json:"logical_core_count,omitempty"`
	// contains filtered or unexported fields
}

func (*CPUInformation) Descriptor deprecated

func (*CPUInformation) Descriptor() ([]byte, []int)

Deprecated: Use CPUInformation.ProtoReflect.Descriptor instead.

func (*CPUInformation) GetCacheSizeBytes

func (x *CPUInformation) GetCacheSizeBytes() int32

func (*CPUInformation) GetLogicalCoreCount

func (x *CPUInformation) GetLogicalCoreCount() int32

func (*CPUInformation) GetModel

func (x *CPUInformation) GetModel() string

func (*CPUInformation) GetPhysicalCoreCount

func (x *CPUInformation) GetPhysicalCoreCount() int32

func (*CPUInformation) GetSocketCount

func (x *CPUInformation) GetSocketCount() int32

func (*CPUInformation) GetSpeedMhz

func (x *CPUInformation) GetSpeedMhz() float64

func (*CPUInformation) ProtoMessage

func (*CPUInformation) ProtoMessage()

func (*CPUInformation) ProtoReflect

func (x *CPUInformation) ProtoReflect() protoreflect.Message

func (*CPUInformation) Reset

func (x *CPUInformation) Reset()

func (*CPUInformation) String

func (x *CPUInformation) String() string

type CPUReference

type CPUReference struct {
	CoreId string `protobuf:"bytes,1,opt,name=core_id,json=coreId,proto3" json:"core_id,omitempty"` // Which CPU core these stats refer to (-1 for systems where we only have an aggregate for all cores)
	// contains filtered or unexported fields
}

func (*CPUReference) Descriptor deprecated

func (*CPUReference) Descriptor() ([]byte, []int)

Deprecated: Use CPUReference.ProtoReflect.Descriptor instead.

func (*CPUReference) GetCoreId

func (x *CPUReference) GetCoreId() string

func (*CPUReference) ProtoMessage

func (*CPUReference) ProtoMessage()

func (*CPUReference) ProtoReflect

func (x *CPUReference) ProtoReflect() protoreflect.Message

func (*CPUReference) Reset

func (x *CPUReference) Reset()

func (*CPUReference) String

func (x *CPUReference) String() string

type CPUStatistic

type CPUStatistic struct {
	CpuIdx           int32   `protobuf:"varint,1,opt,name=cpu_idx,json=cpuIdx,proto3" json:"cpu_idx,omitempty"`
	UserPercent      float64 `protobuf:"fixed64,2,opt,name=user_percent,json=userPercent,proto3" json:"user_percent,omitempty"`
	SystemPercent    float64 `protobuf:"fixed64,3,opt,name=system_percent,json=systemPercent,proto3" json:"system_percent,omitempty"`
	IdlePercent      float64 `protobuf:"fixed64,4,opt,name=idle_percent,json=idlePercent,proto3" json:"idle_percent,omitempty"`
	NicePercent      float64 `protobuf:"fixed64,5,opt,name=nice_percent,json=nicePercent,proto3" json:"nice_percent,omitempty"`
	IowaitPercent    float64 `protobuf:"fixed64,6,opt,name=iowait_percent,json=iowaitPercent,proto3" json:"iowait_percent,omitempty"`
	IrqPercent       float64 `protobuf:"fixed64,7,opt,name=irq_percent,json=irqPercent,proto3" json:"irq_percent,omitempty"`
	SoftIrqPercent   float64 `protobuf:"fixed64,8,opt,name=soft_irq_percent,json=softIrqPercent,proto3" json:"soft_irq_percent,omitempty"`
	StealPercent     float64 `protobuf:"fixed64,9,opt,name=steal_percent,json=stealPercent,proto3" json:"steal_percent,omitempty"`
	GuestPercent     float64 `protobuf:"fixed64,10,opt,name=guest_percent,json=guestPercent,proto3" json:"guest_percent,omitempty"`
	GuestNicePercent float64 `protobuf:"fixed64,11,opt,name=guest_nice_percent,json=guestNicePercent,proto3" json:"guest_nice_percent,omitempty"`
	// contains filtered or unexported fields
}

func (*CPUStatistic) Descriptor deprecated

func (*CPUStatistic) Descriptor() ([]byte, []int)

Deprecated: Use CPUStatistic.ProtoReflect.Descriptor instead.

func (*CPUStatistic) GetCpuIdx

func (x *CPUStatistic) GetCpuIdx() int32

func (*CPUStatistic) GetGuestNicePercent

func (x *CPUStatistic) GetGuestNicePercent() float64

func (*CPUStatistic) GetGuestPercent

func (x *CPUStatistic) GetGuestPercent() float64

func (*CPUStatistic) GetIdlePercent

func (x *CPUStatistic) GetIdlePercent() float64

func (*CPUStatistic) GetIowaitPercent

func (x *CPUStatistic) GetIowaitPercent() float64

func (*CPUStatistic) GetIrqPercent

func (x *CPUStatistic) GetIrqPercent() float64

func (*CPUStatistic) GetNicePercent

func (x *CPUStatistic) GetNicePercent() float64

func (*CPUStatistic) GetSoftIrqPercent

func (x *CPUStatistic) GetSoftIrqPercent() float64

func (*CPUStatistic) GetStealPercent

func (x *CPUStatistic) GetStealPercent() float64

func (*CPUStatistic) GetSystemPercent

func (x *CPUStatistic) GetSystemPercent() float64

func (*CPUStatistic) GetUserPercent

func (x *CPUStatistic) GetUserPercent() float64

func (*CPUStatistic) ProtoMessage

func (*CPUStatistic) ProtoMessage()

func (*CPUStatistic) ProtoReflect

func (x *CPUStatistic) ProtoReflect() protoreflect.Message

func (*CPUStatistic) Reset

func (x *CPUStatistic) Reset()

func (*CPUStatistic) String

func (x *CPUStatistic) String() string

type CollectorConfig

type CollectorConfig struct {
	SectionName                string   `protobuf:"bytes,1,opt,name=section_name,json=sectionName,proto3" json:"section_name,omitempty"`
	DisableLogs                bool     `protobuf:"varint,2,opt,name=disable_logs,json=disableLogs,proto3" json:"disable_logs,omitempty"`
	DisableActivity            bool     `protobuf:"varint,3,opt,name=disable_activity,json=disableActivity,proto3" json:"disable_activity,omitempty"`
	EnableLogExplain           bool     `protobuf:"varint,4,opt,name=enable_log_explain,json=enableLogExplain,proto3" json:"enable_log_explain,omitempty"`
	DbName                     string   `protobuf:"bytes,14,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	DbUsername                 string   `protobuf:"bytes,15,opt,name=db_username,json=dbUsername,proto3" json:"db_username,omitempty"`
	DbHost                     string   `protobuf:"bytes,16,opt,name=db_host,json=dbHost,proto3" json:"db_host,omitempty"`
	DbPort                     int32    `protobuf:"varint,17,opt,name=db_port,json=dbPort,proto3" json:"db_port,omitempty"`
	DbSslmode                  string   `protobuf:"bytes,18,opt,name=db_sslmode,json=dbSslmode,proto3" json:"db_sslmode,omitempty"`
	DbHasSslrootcert           bool     `protobuf:"varint,19,opt,name=db_has_sslrootcert,json=dbHasSslrootcert,proto3" json:"db_has_sslrootcert,omitempty"`
	DbHasSslcert               bool     `protobuf:"varint,20,opt,name=db_has_sslcert,json=dbHasSslcert,proto3" json:"db_has_sslcert,omitempty"`
	DbHasSslkey                bool     `protobuf:"varint,21,opt,name=db_has_sslkey,json=dbHasSslkey,proto3" json:"db_has_sslkey,omitempty"`
	DbUrl                      string   `protobuf:"bytes,22,opt,name=db_url,json=dbUrl,proto3" json:"db_url,omitempty"`
	DbExtraNames               []string `protobuf:"bytes,31,rep,name=db_extra_names,json=dbExtraNames,proto3" json:"db_extra_names,omitempty"`
	DbAllNames                 bool     `protobuf:"varint,32,opt,name=db_all_names,json=dbAllNames,proto3" json:"db_all_names,omitempty"`
	AwsRegion                  string   `protobuf:"bytes,42,opt,name=aws_region,json=awsRegion,proto3" json:"aws_region,omitempty"`
	AwsDbInstanceId            string   `protobuf:"bytes,43,opt,name=aws_db_instance_id,json=awsDbInstanceId,proto3" json:"aws_db_instance_id,omitempty"`
	AwsHasAccessKeyId          bool     `protobuf:"varint,44,opt,name=aws_has_access_key_id,json=awsHasAccessKeyId,proto3" json:"aws_has_access_key_id,omitempty"`
	AwsHasAssumeRole           bool     `protobuf:"varint,45,opt,name=aws_has_assume_role,json=awsHasAssumeRole,proto3" json:"aws_has_assume_role,omitempty"`
	AwsHasAccountId            bool     `protobuf:"varint,46,opt,name=aws_has_account_id,json=awsHasAccountId,proto3" json:"aws_has_account_id,omitempty"`
	AwsHasWebIdentityTokenFile bool     `` /* 149-byte string literal not displayed */
	AwsHasRoleArn              bool     `protobuf:"varint,48,opt,name=aws_has_role_arn,json=awsHasRoleArn,proto3" json:"aws_has_role_arn,omitempty"`
	AwsDbClusterId             string   `protobuf:"bytes,49,opt,name=aws_db_cluster_id,json=awsDbClusterId,proto3" json:"aws_db_cluster_id,omitempty"`
	AwsDbClusterReadonly       bool     `` /* 127-byte string literal not displayed */
	AzureDbServerName          string   `protobuf:"bytes,54,opt,name=azure_db_server_name,json=azureDbServerName,proto3" json:"azure_db_server_name,omitempty"`
	AzureEventhubNamespace     string   `` /* 130-byte string literal not displayed */
	AzureEventhubName          string   `protobuf:"bytes,56,opt,name=azure_eventhub_name,json=azureEventhubName,proto3" json:"azure_eventhub_name,omitempty"`
	AzureAdTenantId            string   `protobuf:"bytes,57,opt,name=azure_ad_tenant_id,json=azureAdTenantId,proto3" json:"azure_ad_tenant_id,omitempty"`
	AzureAdClientId            string   `protobuf:"bytes,58,opt,name=azure_ad_client_id,json=azureAdClientId,proto3" json:"azure_ad_client_id,omitempty"`
	AzureHasAdCertificate      bool     `` /* 130-byte string literal not displayed */
	AzureSubscriptionId        string   `protobuf:"bytes,60,opt,name=azure_subscription_id,json=azureSubscriptionId,proto3" json:"azure_subscription_id,omitempty"`
	GcpCloudsqlInstanceId      string   `` /* 129-byte string literal not displayed */
	GcpPubsubSubscription      string   `` /* 127-byte string literal not displayed */
	GcpHasCredentialsFile      bool     `` /* 130-byte string literal not displayed */
	GcpProjectId               string   `protobuf:"bytes,72,opt,name=gcp_project_id,json=gcpProjectId,proto3" json:"gcp_project_id,omitempty"`
	GcpAlloydbClusterId        string   `protobuf:"bytes,73,opt,name=gcp_alloydb_cluster_id,json=gcpAlloydbClusterId,proto3" json:"gcp_alloydb_cluster_id,omitempty"`
	GcpAlloydbInstanceId       string   `` /* 126-byte string literal not displayed */
	CrunchyBridgeClusterId     string   `` /* 132-byte string literal not displayed */
	AivenProjectId             string   `protobuf:"bytes,79,opt,name=aiven_project_id,json=aivenProjectId,proto3" json:"aiven_project_id,omitempty"`
	AivenServiceId             string   `protobuf:"bytes,80,opt,name=aiven_service_id,json=aivenServiceId,proto3" json:"aiven_service_id,omitempty"`
	ApiSystemId                string   `protobuf:"bytes,82,opt,name=api_system_id,json=apiSystemId,proto3" json:"api_system_id,omitempty"`
	ApiSystemType              string   `protobuf:"bytes,83,opt,name=api_system_type,json=apiSystemType,proto3" json:"api_system_type,omitempty"`
	ApiSystemScope             string   `protobuf:"bytes,84,opt,name=api_system_scope,json=apiSystemScope,proto3" json:"api_system_scope,omitempty"`
	ApiSystemScopeFallback     string   `` /* 132-byte string literal not displayed */
	ApiSystemIdFallback        string   `protobuf:"bytes,86,opt,name=api_system_id_fallback,json=apiSystemIdFallback,proto3" json:"api_system_id_fallback,omitempty"`
	ApiSystemTypeFallback      string   `` /* 129-byte string literal not displayed */
	DbLogLocation              string   `protobuf:"bytes,94,opt,name=db_log_location,json=dbLogLocation,proto3" json:"db_log_location,omitempty"`
	DbLogDockerTail            string   `protobuf:"bytes,95,opt,name=db_log_docker_tail,json=dbLogDockerTail,proto3" json:"db_log_docker_tail,omitempty"`
	DbLogSyslogServer          string   `protobuf:"bytes,96,opt,name=db_log_syslog_server,json=dbLogSyslogServer,proto3" json:"db_log_syslog_server,omitempty"`
	DbLogPgReadFile            bool     `protobuf:"varint,97,opt,name=db_log_pg_read_file,json=dbLogPgReadFile,proto3" json:"db_log_pg_read_file,omitempty"`
	IgnoreTablePattern         string   `protobuf:"bytes,105,opt,name=ignore_table_pattern,json=ignoreTablePattern,proto3" json:"ignore_table_pattern,omitempty"`
	IgnoreSchemaRegexp         string   `protobuf:"bytes,106,opt,name=ignore_schema_regexp,json=ignoreSchemaRegexp,proto3" json:"ignore_schema_regexp,omitempty"`
	QueryStatsInterval         int32    `protobuf:"varint,116,opt,name=query_stats_interval,json=queryStatsInterval,proto3" json:"query_stats_interval,omitempty"`
	MaxCollectorConnections    int32    `` /* 135-byte string literal not displayed */
	SkipIfReplica              bool     `protobuf:"varint,118,opt,name=skip_if_replica,json=skipIfReplica,proto3" json:"skip_if_replica,omitempty"`
	MaxBufferCacheMonitoringGb int32    `` /* 148-byte string literal not displayed */
	FilterLogSecret            string   `protobuf:"bytes,127,opt,name=filter_log_secret,json=filterLogSecret,proto3" json:"filter_log_secret,omitempty"`
	FilterQuerySample          string   `protobuf:"bytes,128,opt,name=filter_query_sample,json=filterQuerySample,proto3" json:"filter_query_sample,omitempty"`
	HasProxy                   bool     `protobuf:"varint,129,opt,name=has_proxy,json=hasProxy,proto3" json:"has_proxy,omitempty"`
	ConfigFromEnv              bool     `protobuf:"varint,130,opt,name=config_from_env,json=configFromEnv,proto3" json:"config_from_env,omitempty"`
	FilterQueryText            string   `protobuf:"bytes,131,opt,name=filter_query_text,json=filterQueryText,proto3" json:"filter_query_text,omitempty"`
	OtelExporterOtlpEndpoint   string   `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CollectorConfig) Descriptor deprecated

func (*CollectorConfig) Descriptor() ([]byte, []int)

Deprecated: Use CollectorConfig.ProtoReflect.Descriptor instead.

func (*CollectorConfig) GetAivenProjectId added in v0.45.0

func (x *CollectorConfig) GetAivenProjectId() string

func (*CollectorConfig) GetAivenServiceId added in v0.45.0

func (x *CollectorConfig) GetAivenServiceId() string

func (*CollectorConfig) GetApiSystemId

func (x *CollectorConfig) GetApiSystemId() string

func (*CollectorConfig) GetApiSystemIdFallback added in v0.45.0

func (x *CollectorConfig) GetApiSystemIdFallback() string

func (*CollectorConfig) GetApiSystemScope

func (x *CollectorConfig) GetApiSystemScope() string

func (*CollectorConfig) GetApiSystemScopeFallback

func (x *CollectorConfig) GetApiSystemScopeFallback() string

func (*CollectorConfig) GetApiSystemType

func (x *CollectorConfig) GetApiSystemType() string

func (*CollectorConfig) GetApiSystemTypeFallback added in v0.45.0

func (x *CollectorConfig) GetApiSystemTypeFallback() string

func (*CollectorConfig) GetAwsDbClusterId added in v0.45.1

func (x *CollectorConfig) GetAwsDbClusterId() string

func (*CollectorConfig) GetAwsDbClusterReadonly added in v0.45.1

func (x *CollectorConfig) GetAwsDbClusterReadonly() bool

func (*CollectorConfig) GetAwsDbInstanceId

func (x *CollectorConfig) GetAwsDbInstanceId() string

func (*CollectorConfig) GetAwsHasAccessKeyId

func (x *CollectorConfig) GetAwsHasAccessKeyId() bool

func (*CollectorConfig) GetAwsHasAccountId

func (x *CollectorConfig) GetAwsHasAccountId() bool

func (*CollectorConfig) GetAwsHasAssumeRole

func (x *CollectorConfig) GetAwsHasAssumeRole() bool

func (*CollectorConfig) GetAwsHasRoleArn added in v0.39.0

func (x *CollectorConfig) GetAwsHasRoleArn() bool

func (*CollectorConfig) GetAwsHasWebIdentityTokenFile added in v0.39.0

func (x *CollectorConfig) GetAwsHasWebIdentityTokenFile() bool

func (*CollectorConfig) GetAwsRegion

func (x *CollectorConfig) GetAwsRegion() string

func (*CollectorConfig) GetAzureAdClientId

func (x *CollectorConfig) GetAzureAdClientId() string

func (*CollectorConfig) GetAzureAdTenantId

func (x *CollectorConfig) GetAzureAdTenantId() string

func (*CollectorConfig) GetAzureDbServerName

func (x *CollectorConfig) GetAzureDbServerName() string

func (*CollectorConfig) GetAzureEventhubName

func (x *CollectorConfig) GetAzureEventhubName() string

func (*CollectorConfig) GetAzureEventhubNamespace

func (x *CollectorConfig) GetAzureEventhubNamespace() string

func (*CollectorConfig) GetAzureHasAdCertificate

func (x *CollectorConfig) GetAzureHasAdCertificate() bool

func (*CollectorConfig) GetAzureSubscriptionId added in v0.59.0

func (x *CollectorConfig) GetAzureSubscriptionId() string

func (*CollectorConfig) GetConfigFromEnv

func (x *CollectorConfig) GetConfigFromEnv() bool

func (*CollectorConfig) GetCrunchyBridgeClusterId added in v0.43.0

func (x *CollectorConfig) GetCrunchyBridgeClusterId() string

func (*CollectorConfig) GetDbAllNames

func (x *CollectorConfig) GetDbAllNames() bool

func (*CollectorConfig) GetDbExtraNames

func (x *CollectorConfig) GetDbExtraNames() []string

func (*CollectorConfig) GetDbHasSslcert

func (x *CollectorConfig) GetDbHasSslcert() bool

func (*CollectorConfig) GetDbHasSslkey

func (x *CollectorConfig) GetDbHasSslkey() bool

func (*CollectorConfig) GetDbHasSslrootcert

func (x *CollectorConfig) GetDbHasSslrootcert() bool

func (*CollectorConfig) GetDbHost

func (x *CollectorConfig) GetDbHost() string

func (*CollectorConfig) GetDbLogDockerTail

func (x *CollectorConfig) GetDbLogDockerTail() string

func (*CollectorConfig) GetDbLogLocation

func (x *CollectorConfig) GetDbLogLocation() string

func (*CollectorConfig) GetDbLogPgReadFile added in v0.45.1

func (x *CollectorConfig) GetDbLogPgReadFile() bool

func (*CollectorConfig) GetDbLogSyslogServer added in v0.45.1

func (x *CollectorConfig) GetDbLogSyslogServer() string

func (*CollectorConfig) GetDbName

func (x *CollectorConfig) GetDbName() string

func (*CollectorConfig) GetDbPort

func (x *CollectorConfig) GetDbPort() int32

func (*CollectorConfig) GetDbSslmode

func (x *CollectorConfig) GetDbSslmode() string

func (*CollectorConfig) GetDbUrl

func (x *CollectorConfig) GetDbUrl() string

func (*CollectorConfig) GetDbUsername

func (x *CollectorConfig) GetDbUsername() string

func (*CollectorConfig) GetDisableActivity

func (x *CollectorConfig) GetDisableActivity() bool

func (*CollectorConfig) GetDisableLogs

func (x *CollectorConfig) GetDisableLogs() bool

func (*CollectorConfig) GetEnableLogExplain

func (x *CollectorConfig) GetEnableLogExplain() bool

func (*CollectorConfig) GetFilterLogSecret

func (x *CollectorConfig) GetFilterLogSecret() string

func (*CollectorConfig) GetFilterQuerySample

func (x *CollectorConfig) GetFilterQuerySample() string

func (*CollectorConfig) GetFilterQueryText

func (x *CollectorConfig) GetFilterQueryText() string

func (*CollectorConfig) GetGcpAlloydbClusterId added in v0.45.1

func (x *CollectorConfig) GetGcpAlloydbClusterId() string

func (*CollectorConfig) GetGcpAlloydbInstanceId added in v0.45.1

func (x *CollectorConfig) GetGcpAlloydbInstanceId() string

func (*CollectorConfig) GetGcpCloudsqlInstanceId

func (x *CollectorConfig) GetGcpCloudsqlInstanceId() string

func (*CollectorConfig) GetGcpHasCredentialsFile

func (x *CollectorConfig) GetGcpHasCredentialsFile() bool

func (*CollectorConfig) GetGcpProjectId

func (x *CollectorConfig) GetGcpProjectId() string

func (*CollectorConfig) GetGcpPubsubSubscription

func (x *CollectorConfig) GetGcpPubsubSubscription() string

func (*CollectorConfig) GetHasProxy

func (x *CollectorConfig) GetHasProxy() bool

func (*CollectorConfig) GetIgnoreSchemaRegexp

func (x *CollectorConfig) GetIgnoreSchemaRegexp() string

func (*CollectorConfig) GetIgnoreTablePattern

func (x *CollectorConfig) GetIgnoreTablePattern() string

func (*CollectorConfig) GetMaxBufferCacheMonitoringGb added in v0.63.0

func (x *CollectorConfig) GetMaxBufferCacheMonitoringGb() int32

func (*CollectorConfig) GetMaxCollectorConnections

func (x *CollectorConfig) GetMaxCollectorConnections() int32

func (*CollectorConfig) GetOtelExporterOtlpEndpoint added in v0.52.2

func (x *CollectorConfig) GetOtelExporterOtlpEndpoint() string

func (*CollectorConfig) GetQueryStatsInterval

func (x *CollectorConfig) GetQueryStatsInterval() int32

func (*CollectorConfig) GetSectionName

func (x *CollectorConfig) GetSectionName() string

func (*CollectorConfig) GetSkipIfReplica

func (x *CollectorConfig) GetSkipIfReplica() bool

func (*CollectorConfig) ProtoMessage

func (*CollectorConfig) ProtoMessage()

func (*CollectorConfig) ProtoReflect

func (x *CollectorConfig) ProtoReflect() protoreflect.Message

func (*CollectorConfig) Reset

func (x *CollectorConfig) Reset()

func (*CollectorConfig) String

func (x *CollectorConfig) String() string

type CollectorStatistic

type CollectorStatistic struct {
	GoVersion string `protobuf:"bytes,10,opt,name=go_version,json=goVersion,proto3" json:"go_version,omitempty"`
	// Statistics from after the collection input step
	MemoryHeapAllocatedBytes uint64 `` // Bytes allocated and not yet freed
	/* 139-byte string literal not displayed */
	MemoryHeapObjects uint64 `protobuf:"varint,14,opt,name=memory_heap_objects,json=memoryHeapObjects,proto3" json:"memory_heap_objects,omitempty"` // Total number of allocated objects
	MemorySystemBytes uint64 `protobuf:"varint,15,opt,name=memory_system_bytes,json=memorySystemBytes,proto3" json:"memory_system_bytes,omitempty"` // Bytes obtained from system (sum of heap and fixed-size structures)
	MemoryRssBytes    uint64 `protobuf:"varint,16,opt,name=memory_rss_bytes,json=memoryRssBytes,proto3" json:"memory_rss_bytes,omitempty"`          // Memory allocated in bytes as seen by the OS
	ActiveGoroutines  int32  `protobuf:"varint,20,opt,name=active_goroutines,json=activeGoroutines,proto3" json:"active_goroutines,omitempty"`      // Number of active Go routines
	// Diff-ed statistics between two runs
	CgoCalls int64 `protobuf:"varint,30,opt,name=cgo_calls,json=cgoCalls,proto3" json:"cgo_calls,omitempty"`
	// contains filtered or unexported fields
}

func (*CollectorStatistic) Descriptor deprecated

func (*CollectorStatistic) Descriptor() ([]byte, []int)

Deprecated: Use CollectorStatistic.ProtoReflect.Descriptor instead.

func (*CollectorStatistic) GetActiveGoroutines

func (x *CollectorStatistic) GetActiveGoroutines() int32

func (*CollectorStatistic) GetCgoCalls

func (x *CollectorStatistic) GetCgoCalls() int64

func (*CollectorStatistic) GetGoVersion

func (x *CollectorStatistic) GetGoVersion() string

func (*CollectorStatistic) GetMemoryHeapAllocatedBytes

func (x *CollectorStatistic) GetMemoryHeapAllocatedBytes() uint64

func (*CollectorStatistic) GetMemoryHeapObjects

func (x *CollectorStatistic) GetMemoryHeapObjects() uint64

func (*CollectorStatistic) GetMemoryRssBytes

func (x *CollectorStatistic) GetMemoryRssBytes() uint64

func (*CollectorStatistic) GetMemorySystemBytes

func (x *CollectorStatistic) GetMemorySystemBytes() uint64

func (*CollectorStatistic) ProtoMessage

func (*CollectorStatistic) ProtoMessage()

func (*CollectorStatistic) ProtoReflect

func (x *CollectorStatistic) ProtoReflect() protoreflect.Message

func (*CollectorStatistic) Reset

func (x *CollectorStatistic) Reset()

func (*CollectorStatistic) String

func (x *CollectorStatistic) String() string

type CompactActivitySnapshot

type CompactActivitySnapshot struct {
	PostgresVersion *PostgresVersion `protobuf:"bytes,1,opt,name=postgres_version,json=postgresVersion,proto3" json:"postgres_version,omitempty"`
	Backends        []*Backend       `protobuf:"bytes,2,rep,name=backends,proto3" json:"backends,omitempty"`
	// Timestamp of the previous activity snapshot (collected_at) to support the
	// receiver marking values as having been last visible with the prior snapshot
	PrevActivitySnapshotAt     *timestamppb.Timestamp       `` /* 131-byte string literal not displayed */
	VacuumProgressInformations []*VacuumProgressInformation `` /* 142-byte string literal not displayed */
	VacuumProgressStatistics   []*VacuumProgressStatistic   `` /* 136-byte string literal not displayed */
	QueryRuns                  []*QueryRun                  `protobuf:"bytes,12,rep,name=query_runs,json=queryRuns,proto3" json:"query_runs,omitempty"`
	// contains filtered or unexported fields
}

func (*CompactActivitySnapshot) Descriptor deprecated

func (*CompactActivitySnapshot) Descriptor() ([]byte, []int)

Deprecated: Use CompactActivitySnapshot.ProtoReflect.Descriptor instead.

func (*CompactActivitySnapshot) GetBackends

func (x *CompactActivitySnapshot) GetBackends() []*Backend

func (*CompactActivitySnapshot) GetPostgresVersion

func (x *CompactActivitySnapshot) GetPostgresVersion() *PostgresVersion

func (*CompactActivitySnapshot) GetPrevActivitySnapshotAt

func (x *CompactActivitySnapshot) GetPrevActivitySnapshotAt() *timestamppb.Timestamp

func (*CompactActivitySnapshot) GetQueryRuns added in v0.63.0

func (x *CompactActivitySnapshot) GetQueryRuns() []*QueryRun

func (*CompactActivitySnapshot) GetVacuumProgressInformations

func (x *CompactActivitySnapshot) GetVacuumProgressInformations() []*VacuumProgressInformation

func (*CompactActivitySnapshot) GetVacuumProgressStatistics

func (x *CompactActivitySnapshot) GetVacuumProgressStatistics() []*VacuumProgressStatistic

func (*CompactActivitySnapshot) ProtoMessage

func (*CompactActivitySnapshot) ProtoMessage()

func (*CompactActivitySnapshot) ProtoReflect

func (x *CompactActivitySnapshot) ProtoReflect() protoreflect.Message

func (*CompactActivitySnapshot) Reset

func (x *CompactActivitySnapshot) Reset()

func (*CompactActivitySnapshot) String

func (x *CompactActivitySnapshot) String() string

type CompactLogSnapshot

type CompactLogSnapshot struct {
	LogFileReferences   []*LogFileReference   `protobuf:"bytes,1,rep,name=log_file_references,json=logFileReferences,proto3" json:"log_file_references,omitempty"`
	LogLineInformations []*LogLineInformation `protobuf:"bytes,2,rep,name=log_line_informations,json=logLineInformations,proto3" json:"log_line_informations,omitempty"`
	QuerySamples        []*QuerySample        `protobuf:"bytes,3,rep,name=query_samples,json=querySamples,proto3" json:"query_samples,omitempty"`
	// contains filtered or unexported fields
}

func (*CompactLogSnapshot) Descriptor deprecated

func (*CompactLogSnapshot) Descriptor() ([]byte, []int)

Deprecated: Use CompactLogSnapshot.ProtoReflect.Descriptor instead.

func (*CompactLogSnapshot) GetLogFileReferences

func (x *CompactLogSnapshot) GetLogFileReferences() []*LogFileReference

func (*CompactLogSnapshot) GetLogLineInformations

func (x *CompactLogSnapshot) GetLogLineInformations() []*LogLineInformation

func (*CompactLogSnapshot) GetQuerySamples

func (x *CompactLogSnapshot) GetQuerySamples() []*QuerySample

func (*CompactLogSnapshot) ProtoMessage

func (*CompactLogSnapshot) ProtoMessage()

func (*CompactLogSnapshot) ProtoReflect

func (x *CompactLogSnapshot) ProtoReflect() protoreflect.Message

func (*CompactLogSnapshot) Reset

func (x *CompactLogSnapshot) Reset()

func (*CompactLogSnapshot) String

func (x *CompactLogSnapshot) String() string

type CompactSnapshot

type CompactSnapshot struct {

	// Basic information about this snapshot
	SnapshotVersionMajor int32                     `protobuf:"varint,1,opt,name=snapshot_version_major,json=snapshotVersionMajor,proto3" json:"snapshot_version_major,omitempty"`
	SnapshotVersionMinor int32                     `protobuf:"varint,2,opt,name=snapshot_version_minor,json=snapshotVersionMinor,proto3" json:"snapshot_version_minor,omitempty"`
	CollectorVersion     string                    `protobuf:"bytes,3,opt,name=collector_version,json=collectorVersion,proto3" json:"collector_version,omitempty"`
	SnapshotUuid         string                    `protobuf:"bytes,4,opt,name=snapshot_uuid,json=snapshotUuid,proto3" json:"snapshot_uuid,omitempty"`
	CollectedAt          *timestamppb.Timestamp    `protobuf:"bytes,5,opt,name=collected_at,json=collectedAt,proto3" json:"collected_at,omitempty"`
	BaseRefs             *CompactSnapshot_BaseRefs `protobuf:"bytes,6,opt,name=base_refs,json=baseRefs,proto3" json:"base_refs,omitempty"`
	// Types that are assignable to Data:
	//
	//	*CompactSnapshot_LogSnapshot
	//	*CompactSnapshot_SystemSnapshot
	//	*CompactSnapshot_ActivitySnapshot
	//	*CompactSnapshot_QueryRunSnapshot
	Data isCompactSnapshot_Data `protobuf_oneof:"data"`
	// contains filtered or unexported fields
}

func (*CompactSnapshot) Descriptor deprecated

func (*CompactSnapshot) Descriptor() ([]byte, []int)

Deprecated: Use CompactSnapshot.ProtoReflect.Descriptor instead.

func (*CompactSnapshot) GetActivitySnapshot

func (x *CompactSnapshot) GetActivitySnapshot() *CompactActivitySnapshot

func (*CompactSnapshot) GetBaseRefs

func (x *CompactSnapshot) GetBaseRefs() *CompactSnapshot_BaseRefs

func (*CompactSnapshot) GetCollectedAt

func (x *CompactSnapshot) GetCollectedAt() *timestamppb.Timestamp

func (*CompactSnapshot) GetCollectorVersion

func (x *CompactSnapshot) GetCollectorVersion() string

func (*CompactSnapshot) GetData

func (m *CompactSnapshot) GetData() isCompactSnapshot_Data

func (*CompactSnapshot) GetLogSnapshot

func (x *CompactSnapshot) GetLogSnapshot() *CompactLogSnapshot

func (*CompactSnapshot) GetQueryRunSnapshot added in v0.64.0

func (x *CompactSnapshot) GetQueryRunSnapshot() *QueryRunSnapshot

func (*CompactSnapshot) GetSnapshotUuid

func (x *CompactSnapshot) GetSnapshotUuid() string

func (*CompactSnapshot) GetSnapshotVersionMajor

func (x *CompactSnapshot) GetSnapshotVersionMajor() int32

func (*CompactSnapshot) GetSnapshotVersionMinor

func (x *CompactSnapshot) GetSnapshotVersionMinor() int32

func (*CompactSnapshot) GetSystemSnapshot

func (x *CompactSnapshot) GetSystemSnapshot() *CompactSystemSnapshot

func (*CompactSnapshot) ProtoMessage

func (*CompactSnapshot) ProtoMessage()

func (*CompactSnapshot) ProtoReflect

func (x *CompactSnapshot) ProtoReflect() protoreflect.Message

func (*CompactSnapshot) Reset

func (x *CompactSnapshot) Reset()

func (*CompactSnapshot) String

func (x *CompactSnapshot) String() string

type CompactSnapshot_ActivitySnapshot

type CompactSnapshot_ActivitySnapshot struct {
	ActivitySnapshot *CompactActivitySnapshot `protobuf:"bytes,12,opt,name=activity_snapshot,json=activitySnapshot,proto3,oneof"`
}

type CompactSnapshot_BaseRefs

type CompactSnapshot_BaseRefs struct {
	RoleReferences     []*RoleReference     `protobuf:"bytes,1,rep,name=role_references,json=roleReferences,proto3" json:"role_references,omitempty"`
	DatabaseReferences []*DatabaseReference `protobuf:"bytes,2,rep,name=database_references,json=databaseReferences,proto3" json:"database_references,omitempty"`
	QueryReferences    []*QueryReference    `protobuf:"bytes,3,rep,name=query_references,json=queryReferences,proto3" json:"query_references,omitempty"`
	QueryInformations  []*QueryInformation  `protobuf:"bytes,4,rep,name=query_informations,json=queryInformations,proto3" json:"query_informations,omitempty"`
	RelationReferences []*RelationReference `protobuf:"bytes,5,rep,name=relation_references,json=relationReferences,proto3" json:"relation_references,omitempty"`
	// contains filtered or unexported fields
}

func (*CompactSnapshot_BaseRefs) Descriptor deprecated

func (*CompactSnapshot_BaseRefs) Descriptor() ([]byte, []int)

Deprecated: Use CompactSnapshot_BaseRefs.ProtoReflect.Descriptor instead.

func (*CompactSnapshot_BaseRefs) GetDatabaseReferences

func (x *CompactSnapshot_BaseRefs) GetDatabaseReferences() []*DatabaseReference

func (*CompactSnapshot_BaseRefs) GetQueryInformations

func (x *CompactSnapshot_BaseRefs) GetQueryInformations() []*QueryInformation

func (*CompactSnapshot_BaseRefs) GetQueryReferences

func (x *CompactSnapshot_BaseRefs) GetQueryReferences() []*QueryReference

func (*CompactSnapshot_BaseRefs) GetRelationReferences

func (x *CompactSnapshot_BaseRefs) GetRelationReferences() []*RelationReference

func (*CompactSnapshot_BaseRefs) GetRoleReferences

func (x *CompactSnapshot_BaseRefs) GetRoleReferences() []*RoleReference

func (*CompactSnapshot_BaseRefs) ProtoMessage

func (*CompactSnapshot_BaseRefs) ProtoMessage()

func (*CompactSnapshot_BaseRefs) ProtoReflect

func (x *CompactSnapshot_BaseRefs) ProtoReflect() protoreflect.Message

func (*CompactSnapshot_BaseRefs) Reset

func (x *CompactSnapshot_BaseRefs) Reset()

func (*CompactSnapshot_BaseRefs) String

func (x *CompactSnapshot_BaseRefs) String() string

type CompactSnapshot_LogSnapshot

type CompactSnapshot_LogSnapshot struct {
	LogSnapshot *CompactLogSnapshot `protobuf:"bytes,10,opt,name=log_snapshot,json=logSnapshot,proto3,oneof"`
}

type CompactSnapshot_QueryRunSnapshot added in v0.64.0

type CompactSnapshot_QueryRunSnapshot struct {
	QueryRunSnapshot *QueryRunSnapshot `protobuf:"bytes,13,opt,name=query_run_snapshot,json=queryRunSnapshot,proto3,oneof"`
}

type CompactSnapshot_SystemSnapshot

type CompactSnapshot_SystemSnapshot struct {
	SystemSnapshot *CompactSystemSnapshot `protobuf:"bytes,11,opt,name=system_snapshot,json=systemSnapshot,proto3,oneof"`
}

type CompactSystemSnapshot

type CompactSystemSnapshot struct {
	System *System `protobuf:"bytes,1,opt,name=system,proto3" json:"system,omitempty"`
	// contains filtered or unexported fields
}

func (*CompactSystemSnapshot) Descriptor deprecated

func (*CompactSystemSnapshot) Descriptor() ([]byte, []int)

Deprecated: Use CompactSystemSnapshot.ProtoReflect.Descriptor instead.

func (*CompactSystemSnapshot) GetSystem

func (x *CompactSystemSnapshot) GetSystem() *System

func (*CompactSystemSnapshot) ProtoMessage

func (*CompactSystemSnapshot) ProtoMessage()

func (*CompactSystemSnapshot) ProtoReflect

func (x *CompactSystemSnapshot) ProtoReflect() protoreflect.Message

func (*CompactSystemSnapshot) Reset

func (x *CompactSystemSnapshot) Reset()

func (*CompactSystemSnapshot) String

func (x *CompactSystemSnapshot) String() string

type CustomTypeInformation added in v0.41.0

type CustomTypeInformation struct {
	DatabaseIdx       int32                                  `protobuf:"varint,1,opt,name=database_idx,json=databaseIdx,proto3" json:"database_idx,omitempty"`
	SchemaName        string                                 `protobuf:"bytes,2,opt,name=schema_name,json=schemaName,proto3" json:"schema_name,omitempty"`
	Name              string                                 `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Type              CustomTypeInformation_Type             `protobuf:"varint,4,opt,name=type,proto3,enum=pganalyze.collector.CustomTypeInformation_Type" json:"type,omitempty"`
	DomainType        string                                 `protobuf:"bytes,5,opt,name=domain_type,json=domainType,proto3" json:"domain_type,omitempty"`
	DomainNotNull     bool                                   `protobuf:"varint,6,opt,name=domain_not_null,json=domainNotNull,proto3" json:"domain_not_null,omitempty"`
	DomainDefault     string                                 `protobuf:"bytes,7,opt,name=domain_default,json=domainDefault,proto3" json:"domain_default,omitempty"`
	EnumValues        []string                               `protobuf:"bytes,9,rep,name=enum_values,json=enumValues,proto3" json:"enum_values,omitempty"`
	CompositeAttrs    []*CustomTypeInformation_CompositeAttr `protobuf:"bytes,10,rep,name=composite_attrs,json=compositeAttrs,proto3" json:"composite_attrs,omitempty"`
	DomainConstraints []string                               `protobuf:"bytes,11,rep,name=domain_constraints,json=domainConstraints,proto3" json:"domain_constraints,omitempty"`
	// contains filtered or unexported fields
}

func (*CustomTypeInformation) Descriptor deprecated added in v0.41.0

func (*CustomTypeInformation) Descriptor() ([]byte, []int)

Deprecated: Use CustomTypeInformation.ProtoReflect.Descriptor instead.

func (*CustomTypeInformation) GetCompositeAttrs added in v0.41.0

func (*CustomTypeInformation) GetDatabaseIdx added in v0.41.0

func (x *CustomTypeInformation) GetDatabaseIdx() int32

func (*CustomTypeInformation) GetDomainConstraints added in v0.41.2

func (x *CustomTypeInformation) GetDomainConstraints() []string

func (*CustomTypeInformation) GetDomainDefault added in v0.41.0

func (x *CustomTypeInformation) GetDomainDefault() string

func (*CustomTypeInformation) GetDomainNotNull added in v0.41.0

func (x *CustomTypeInformation) GetDomainNotNull() bool

func (*CustomTypeInformation) GetDomainType added in v0.41.0

func (x *CustomTypeInformation) GetDomainType() string

func (*CustomTypeInformation) GetEnumValues added in v0.41.0

func (x *CustomTypeInformation) GetEnumValues() []string

func (*CustomTypeInformation) GetName added in v0.41.0

func (x *CustomTypeInformation) GetName() string

func (*CustomTypeInformation) GetSchemaName added in v0.41.0

func (x *CustomTypeInformation) GetSchemaName() string

func (*CustomTypeInformation) GetType added in v0.41.0

func (*CustomTypeInformation) ProtoMessage added in v0.41.0

func (*CustomTypeInformation) ProtoMessage()

func (*CustomTypeInformation) ProtoReflect added in v0.41.0

func (x *CustomTypeInformation) ProtoReflect() protoreflect.Message

func (*CustomTypeInformation) Reset added in v0.41.0

func (x *CustomTypeInformation) Reset()

func (*CustomTypeInformation) String added in v0.41.0

func (x *CustomTypeInformation) String() string

type CustomTypeInformation_CompositeAttr added in v0.41.0

type CustomTypeInformation_CompositeAttr struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*CustomTypeInformation_CompositeAttr) Descriptor deprecated added in v0.41.0

func (*CustomTypeInformation_CompositeAttr) Descriptor() ([]byte, []int)

Deprecated: Use CustomTypeInformation_CompositeAttr.ProtoReflect.Descriptor instead.

func (*CustomTypeInformation_CompositeAttr) GetName added in v0.41.0

func (*CustomTypeInformation_CompositeAttr) GetType added in v0.41.0

func (*CustomTypeInformation_CompositeAttr) ProtoMessage added in v0.41.0

func (*CustomTypeInformation_CompositeAttr) ProtoMessage()

func (*CustomTypeInformation_CompositeAttr) ProtoReflect added in v0.41.0

func (*CustomTypeInformation_CompositeAttr) Reset added in v0.41.0

func (*CustomTypeInformation_CompositeAttr) String added in v0.41.0

type CustomTypeInformation_Type added in v0.41.0

type CustomTypeInformation_Type int32
const (
	CustomTypeInformation_ENUM       CustomTypeInformation_Type = 0
	CustomTypeInformation_DOMAIN     CustomTypeInformation_Type = 1
	CustomTypeInformation_COMPOSITE  CustomTypeInformation_Type = 2
	CustomTypeInformation_BASE       CustomTypeInformation_Type = 3
	CustomTypeInformation_PSEUDO     CustomTypeInformation_Type = 4
	CustomTypeInformation_RANGE      CustomTypeInformation_Type = 5
	CustomTypeInformation_MULTIRANGE CustomTypeInformation_Type = 6
)

func (CustomTypeInformation_Type) Descriptor added in v0.41.0

func (CustomTypeInformation_Type) Enum added in v0.41.0

func (CustomTypeInformation_Type) EnumDescriptor deprecated added in v0.41.0

func (CustomTypeInformation_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use CustomTypeInformation_Type.Descriptor instead.

func (CustomTypeInformation_Type) Number added in v0.41.0

func (CustomTypeInformation_Type) String added in v0.41.0

func (CustomTypeInformation_Type) Type added in v0.41.0

type DatabaseInformation

type DatabaseInformation struct {
	DatabaseIdx      int32  `protobuf:"varint,1,opt,name=database_idx,json=databaseIdx,proto3" json:"database_idx,omitempty"`
	OwnerRoleIdx     int32  `protobuf:"varint,2,opt,name=owner_role_idx,json=ownerRoleIdx,proto3" json:"owner_role_idx,omitempty"`           // Owner of the database, usually the user who created it
	Encoding         string `protobuf:"bytes,3,opt,name=encoding,proto3" json:"encoding,omitempty"`                                          // Character encoding for this database
	Collate          string `protobuf:"bytes,4,opt,name=collate,proto3" json:"collate,omitempty"`                                            // LC_COLLATE for this database
	CType            string `protobuf:"bytes,5,opt,name=c_type,json=cType,proto3" json:"c_type,omitempty"`                                   // LC_CTYPE for this database
	IsTemplate       bool   `protobuf:"varint,6,opt,name=is_template,json=isTemplate,proto3" json:"is_template,omitempty"`                   // If true, then this database can be cloned by any user with CREATEDB privileges; if false, then only superusers or the owner of the database can clone it.
	AllowConnections bool   `protobuf:"varint,7,opt,name=allow_connections,json=allowConnections,proto3" json:"allow_connections,omitempty"` // If false then no one can connect to this database. This is used to protect the template0 database from being altered.
	ConnectionLimit  int32  `protobuf:"varint,8,opt,name=connection_limit,json=connectionLimit,proto3" json:"connection_limit,omitempty"`    // Sets maximum number of concurrent connections that can be made to this database. -1 means no limit.
	// All transaction IDs before this one have been replaced with a permanent ("frozen") transaction ID in this database.
	// This is used to track whether the database needs to be vacuumed in order to prevent transaction ID wraparound or to
	// allow pg_clog to be shrunk. It is the minimum of the per-table pg_class.relfrozenxid values.
	FrozenXid uint32 `protobuf:"varint,9,opt,name=frozen_xid,json=frozenXid,proto3" json:"frozen_xid,omitempty"`
	// All multixact IDs before this one have been replaced with a transaction ID in this database.
	// This is used to track whether the database needs to be vacuumed in order to prevent multixact ID wraparound or to
	// allow pg_multixact to be shrunk. It is the minimum of the per-table pg_class.relminmxid values.
	MinimumMultixactXid uint32 `protobuf:"varint,10,opt,name=minimum_multixact_xid,json=minimumMultixactXid,proto3" json:"minimum_multixact_xid,omitempty"`
	// Whether the collector was able to connect to this database and fetch local catalog data (e.g. schema)
	CollectedLocalCatalogData bool `` /* 142-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DatabaseInformation) Descriptor deprecated

func (*DatabaseInformation) Descriptor() ([]byte, []int)

Deprecated: Use DatabaseInformation.ProtoReflect.Descriptor instead.

func (*DatabaseInformation) GetAllowConnections

func (x *DatabaseInformation) GetAllowConnections() bool

func (*DatabaseInformation) GetCType

func (x *DatabaseInformation) GetCType() string

func (*DatabaseInformation) GetCollate

func (x *DatabaseInformation) GetCollate() string

func (*DatabaseInformation) GetCollectedLocalCatalogData

func (x *DatabaseInformation) GetCollectedLocalCatalogData() bool

func (*DatabaseInformation) GetConnectionLimit

func (x *DatabaseInformation) GetConnectionLimit() int32

func (*DatabaseInformation) GetDatabaseIdx

func (x *DatabaseInformation) GetDatabaseIdx() int32

func (*DatabaseInformation) GetEncoding

func (x *DatabaseInformation) GetEncoding() string

func (*DatabaseInformation) GetFrozenXid

func (x *DatabaseInformation) GetFrozenXid() uint32

func (*DatabaseInformation) GetIsTemplate

func (x *DatabaseInformation) GetIsTemplate() bool

func (*DatabaseInformation) GetMinimumMultixactXid

func (x *DatabaseInformation) GetMinimumMultixactXid() uint32

func (*DatabaseInformation) GetOwnerRoleIdx

func (x *DatabaseInformation) GetOwnerRoleIdx() int32

func (*DatabaseInformation) ProtoMessage

func (*DatabaseInformation) ProtoMessage()

func (*DatabaseInformation) ProtoReflect

func (x *DatabaseInformation) ProtoReflect() protoreflect.Message

func (*DatabaseInformation) Reset

func (x *DatabaseInformation) Reset()

func (*DatabaseInformation) String

func (x *DatabaseInformation) String() string

type DatabaseReference

type DatabaseReference struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Database name
	// contains filtered or unexported fields
}

func (*DatabaseReference) Descriptor deprecated

func (*DatabaseReference) Descriptor() ([]byte, []int)

Deprecated: Use DatabaseReference.ProtoReflect.Descriptor instead.

func (*DatabaseReference) GetName

func (x *DatabaseReference) GetName() string

func (*DatabaseReference) ProtoMessage

func (*DatabaseReference) ProtoMessage()

func (*DatabaseReference) ProtoReflect

func (x *DatabaseReference) ProtoReflect() protoreflect.Message

func (*DatabaseReference) Reset

func (x *DatabaseReference) Reset()

func (*DatabaseReference) String

func (x *DatabaseReference) String() string

type DatabaseStatistic added in v0.47.0

type DatabaseStatistic struct {
	DatabaseIdx         int32 `protobuf:"varint,1,opt,name=database_idx,json=databaseIdx,proto3" json:"database_idx,omitempty"`
	FrozenxidAge        int32 `protobuf:"varint,2,opt,name=frozenxid_age,json=frozenxidAge,proto3" json:"frozenxid_age,omitempty"`                        // The age of frozen xact ID for this database (relative to latest stable xid)
	MinmxidAge          int32 `protobuf:"varint,3,opt,name=minmxid_age,json=minmxidAge,proto3" json:"minmxid_age,omitempty"`                              // The age of minimum multixact ID for this database (relative to latest stable mxid)
	XactCommit          int32 `protobuf:"varint,4,opt,name=xact_commit,json=xactCommit,proto3" json:"xact_commit,omitempty"`                              // Number of transactions in this database that have been committed
	XactRollback        int32 `protobuf:"varint,5,opt,name=xact_rollback,json=xactRollback,proto3" json:"xact_rollback,omitempty"`                        // Number of transactions in this database that have been rolled back
	UntrackedCacheBytes int64 `protobuf:"varint,6,opt,name=untracked_cache_bytes,json=untrackedCacheBytes,proto3" json:"untracked_cache_bytes,omitempty"` // Size of Postgres buffer cache not associated with tables tracked by the collector
	// contains filtered or unexported fields
}

func (*DatabaseStatistic) Descriptor deprecated added in v0.47.0

func (*DatabaseStatistic) Descriptor() ([]byte, []int)

Deprecated: Use DatabaseStatistic.ProtoReflect.Descriptor instead.

func (*DatabaseStatistic) GetDatabaseIdx added in v0.47.0

func (x *DatabaseStatistic) GetDatabaseIdx() int32

func (*DatabaseStatistic) GetFrozenxidAge added in v0.47.0

func (x *DatabaseStatistic) GetFrozenxidAge() int32

func (*DatabaseStatistic) GetMinmxidAge added in v0.47.0

func (x *DatabaseStatistic) GetMinmxidAge() int32

func (*DatabaseStatistic) GetUntrackedCacheBytes added in v0.63.0

func (x *DatabaseStatistic) GetUntrackedCacheBytes() int64

func (*DatabaseStatistic) GetXactCommit added in v0.47.0

func (x *DatabaseStatistic) GetXactCommit() int32

func (*DatabaseStatistic) GetXactRollback added in v0.47.0

func (x *DatabaseStatistic) GetXactRollback() int32

func (*DatabaseStatistic) ProtoMessage added in v0.47.0

func (*DatabaseStatistic) ProtoMessage()

func (*DatabaseStatistic) ProtoReflect added in v0.47.0

func (x *DatabaseStatistic) ProtoReflect() protoreflect.Message

func (*DatabaseStatistic) Reset added in v0.47.0

func (x *DatabaseStatistic) Reset()

func (*DatabaseStatistic) String added in v0.47.0

func (x *DatabaseStatistic) String() string

type DiskInformation

type DiskInformation struct {
	DiskIdx         int32  `protobuf:"varint,1,opt,name=disk_idx,json=diskIdx,proto3" json:"disk_idx,omitempty"`
	DiskType        string `protobuf:"bytes,2,opt,name=disk_type,json=diskType,proto3" json:"disk_type,omitempty"`                       // Disk type (hdd/sdd/io1/gp2)
	Scheduler       string `protobuf:"bytes,3,opt,name=scheduler,proto3" json:"scheduler,omitempty"`                                     // Linux Scheduler (noop/anticipatory/deadline/cfq)
	ProvisionedIops uint32 `protobuf:"varint,4,opt,name=provisioned_iops,json=provisionedIops,proto3" json:"provisioned_iops,omitempty"` // If applicable, how many IOPS are provisioned for this device
	Encrypted       bool   `protobuf:"varint,5,opt,name=encrypted,proto3" json:"encrypted,omitempty"`                                    // If applicable, is this device encrypted? (default false)
	// contains filtered or unexported fields
}

func (*DiskInformation) Descriptor deprecated

func (*DiskInformation) Descriptor() ([]byte, []int)

Deprecated: Use DiskInformation.ProtoReflect.Descriptor instead.

func (*DiskInformation) GetDiskIdx

func (x *DiskInformation) GetDiskIdx() int32

func (*DiskInformation) GetDiskType

func (x *DiskInformation) GetDiskType() string

func (*DiskInformation) GetEncrypted

func (x *DiskInformation) GetEncrypted() bool

func (*DiskInformation) GetProvisionedIops

func (x *DiskInformation) GetProvisionedIops() uint32

func (*DiskInformation) GetScheduler

func (x *DiskInformation) GetScheduler() string

func (*DiskInformation) ProtoMessage

func (*DiskInformation) ProtoMessage()

func (*DiskInformation) ProtoReflect

func (x *DiskInformation) ProtoReflect() protoreflect.Message

func (*DiskInformation) Reset

func (x *DiskInformation) Reset()

func (*DiskInformation) String

func (x *DiskInformation) String() string

type DiskPartitionInformation

type DiskPartitionInformation struct {
	DiskPartitionIdx int32  `protobuf:"varint,1,opt,name=disk_partition_idx,json=diskPartitionIdx,proto3" json:"disk_partition_idx,omitempty"`
	DiskIdx          int32  `protobuf:"varint,2,opt,name=disk_idx,json=diskIdx,proto3" json:"disk_idx,omitempty"`
	FilesystemType   string `protobuf:"bytes,3,opt,name=filesystem_type,json=filesystemType,proto3" json:"filesystem_type,omitempty"` // ext4/zfs/etc.
	FilesystemOpts   string `protobuf:"bytes,4,opt,name=filesystem_opts,json=filesystemOpts,proto3" json:"filesystem_opts,omitempty"` // filesystem options (noatime, etc)
	PartitionName    string `protobuf:"bytes,5,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"`    // Platform-specific name for the partition (e.g. /dev/sda9)
	// contains filtered or unexported fields
}

func (*DiskPartitionInformation) Descriptor deprecated

func (*DiskPartitionInformation) Descriptor() ([]byte, []int)

Deprecated: Use DiskPartitionInformation.ProtoReflect.Descriptor instead.

func (*DiskPartitionInformation) GetDiskIdx

func (x *DiskPartitionInformation) GetDiskIdx() int32

func (*DiskPartitionInformation) GetDiskPartitionIdx

func (x *DiskPartitionInformation) GetDiskPartitionIdx() int32

func (*DiskPartitionInformation) GetFilesystemOpts

func (x *DiskPartitionInformation) GetFilesystemOpts() string

func (*DiskPartitionInformation) GetFilesystemType

func (x *DiskPartitionInformation) GetFilesystemType() string

func (*DiskPartitionInformation) GetPartitionName

func (x *DiskPartitionInformation) GetPartitionName() string

func (*DiskPartitionInformation) ProtoMessage

func (*DiskPartitionInformation) ProtoMessage()

func (*DiskPartitionInformation) ProtoReflect

func (x *DiskPartitionInformation) ProtoReflect() protoreflect.Message

func (*DiskPartitionInformation) Reset

func (x *DiskPartitionInformation) Reset()

func (*DiskPartitionInformation) String

func (x *DiskPartitionInformation) String() string

type DiskPartitionReference

type DiskPartitionReference struct {
	Mountpoint string `protobuf:"bytes,1,opt,name=mountpoint,proto3" json:"mountpoint,omitempty"`
	// contains filtered or unexported fields
}

func (*DiskPartitionReference) Descriptor deprecated

func (*DiskPartitionReference) Descriptor() ([]byte, []int)

Deprecated: Use DiskPartitionReference.ProtoReflect.Descriptor instead.

func (*DiskPartitionReference) GetMountpoint

func (x *DiskPartitionReference) GetMountpoint() string

func (*DiskPartitionReference) ProtoMessage

func (*DiskPartitionReference) ProtoMessage()

func (*DiskPartitionReference) ProtoReflect

func (x *DiskPartitionReference) ProtoReflect() protoreflect.Message

func (*DiskPartitionReference) Reset

func (x *DiskPartitionReference) Reset()

func (*DiskPartitionReference) String

func (x *DiskPartitionReference) String() string

type DiskPartitionStatistic

type DiskPartitionStatistic struct {
	DiskPartitionIdx int32  `protobuf:"varint,1,opt,name=disk_partition_idx,json=diskPartitionIdx,proto3" json:"disk_partition_idx,omitempty"`
	UsedBytes        uint64 `protobuf:"varint,2,opt,name=used_bytes,json=usedBytes,proto3" json:"used_bytes,omitempty"`
	TotalBytes       uint64 `protobuf:"varint,3,opt,name=total_bytes,json=totalBytes,proto3" json:"total_bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*DiskPartitionStatistic) Descriptor deprecated

func (*DiskPartitionStatistic) Descriptor() ([]byte, []int)

Deprecated: Use DiskPartitionStatistic.ProtoReflect.Descriptor instead.

func (*DiskPartitionStatistic) GetDiskPartitionIdx

func (x *DiskPartitionStatistic) GetDiskPartitionIdx() int32

func (*DiskPartitionStatistic) GetTotalBytes

func (x *DiskPartitionStatistic) GetTotalBytes() uint64

func (*DiskPartitionStatistic) GetUsedBytes

func (x *DiskPartitionStatistic) GetUsedBytes() uint64

func (*DiskPartitionStatistic) ProtoMessage

func (*DiskPartitionStatistic) ProtoMessage()

func (*DiskPartitionStatistic) ProtoReflect

func (x *DiskPartitionStatistic) ProtoReflect() protoreflect.Message

func (*DiskPartitionStatistic) Reset

func (x *DiskPartitionStatistic) Reset()

func (*DiskPartitionStatistic) String

func (x *DiskPartitionStatistic) String() string

type DiskReference

type DiskReference struct {
	DeviceName string `protobuf:"bytes,1,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"`
	// contains filtered or unexported fields
}

func (*DiskReference) Descriptor deprecated

func (*DiskReference) Descriptor() ([]byte, []int)

Deprecated: Use DiskReference.ProtoReflect.Descriptor instead.

func (*DiskReference) GetDeviceName

func (x *DiskReference) GetDeviceName() string

func (*DiskReference) ProtoMessage

func (*DiskReference) ProtoMessage()

func (*DiskReference) ProtoReflect

func (x *DiskReference) ProtoReflect() protoreflect.Message

func (*DiskReference) Reset

func (x *DiskReference) Reset()

func (*DiskReference) String

func (x *DiskReference) String() string

type DiskStatistic

type DiskStatistic struct {
	DiskIdx                 int32   `protobuf:"varint,1,opt,name=disk_idx,json=diskIdx,proto3" json:"disk_idx,omitempty"`
	ReadOperationsPerSecond float64 `` // The average number of read requests that were issued to the device per second
	/* 136-byte string literal not displayed */
	ReadsMergedPerSecond float64 `` // The average number of read requests merged per second that were queued to the device
	/* 127-byte string literal not displayed */
	BytesReadPerSecond       float64 `protobuf:"fixed64,4,opt,name=bytes_read_per_second,json=bytesReadPerSecond,proto3" json:"bytes_read_per_second,omitempty"` // The average number of bytes read from the device per second
	AvgReadLatency           float64 `protobuf:"fixed64,5,opt,name=avg_read_latency,json=avgReadLatency,proto3" json:"avg_read_latency,omitempty"`               // The average time (in milliseconds) for read requests issued to the device to be served
	WriteOperationsPerSecond float64 ``                                                                                                                          // The average number of write requests that were issued to the device per second
	/* 139-byte string literal not displayed */
	WritesMergedPerSecond float64 `` // The average number of write requests merged per second that were queued to the device
	/* 130-byte string literal not displayed */
	BytesWrittenPerSecond float64 `` // The average number of bytes written to the device per second
	/* 130-byte string literal not displayed */
	AvgWriteLatency    float64 `protobuf:"fixed64,9,opt,name=avg_write_latency,json=avgWriteLatency,proto3" json:"avg_write_latency,omitempty"`         // The average time (in milliseconds) for write requests issued to the device to be served
	AvgQueueSize       int32   `protobuf:"varint,10,opt,name=avg_queue_size,json=avgQueueSize,proto3" json:"avg_queue_size,omitempty"`                  // Average I/O operations in flight at the same time (waiting or worked on by the device)
	UtilizationPercent float64 `protobuf:"fixed64,12,opt,name=utilization_percent,json=utilizationPercent,proto3" json:"utilization_percent,omitempty"` // Percentage of CPU time during which I/O requests were issued to the device (bandwidth utilization for the device)
	// contains filtered or unexported fields
}

func (*DiskStatistic) Descriptor deprecated

func (*DiskStatistic) Descriptor() ([]byte, []int)

Deprecated: Use DiskStatistic.ProtoReflect.Descriptor instead.

func (*DiskStatistic) GetAvgQueueSize

func (x *DiskStatistic) GetAvgQueueSize() int32

func (*DiskStatistic) GetAvgReadLatency

func (x *DiskStatistic) GetAvgReadLatency() float64

func (*DiskStatistic) GetAvgWriteLatency

func (x *DiskStatistic) GetAvgWriteLatency() float64

func (*DiskStatistic) GetBytesReadPerSecond

func (x *DiskStatistic) GetBytesReadPerSecond() float64

func (*DiskStatistic) GetBytesWrittenPerSecond

func (x *DiskStatistic) GetBytesWrittenPerSecond() float64

func (*DiskStatistic) GetDiskIdx

func (x *DiskStatistic) GetDiskIdx() int32

func (*DiskStatistic) GetReadOperationsPerSecond

func (x *DiskStatistic) GetReadOperationsPerSecond() float64

func (*DiskStatistic) GetReadsMergedPerSecond

func (x *DiskStatistic) GetReadsMergedPerSecond() float64

func (*DiskStatistic) GetUtilizationPercent

func (x *DiskStatistic) GetUtilizationPercent() float64

func (*DiskStatistic) GetWriteOperationsPerSecond

func (x *DiskStatistic) GetWriteOperationsPerSecond() float64

func (*DiskStatistic) GetWritesMergedPerSecond

func (x *DiskStatistic) GetWritesMergedPerSecond() float64

func (*DiskStatistic) ProtoMessage

func (*DiskStatistic) ProtoMessage()

func (*DiskStatistic) ProtoReflect

func (x *DiskStatistic) ProtoReflect() protoreflect.Message

func (*DiskStatistic) Reset

func (x *DiskStatistic) Reset()

func (*DiskStatistic) String

func (x *DiskStatistic) String() string

type Extension added in v0.45.0

type Extension struct {
	DatabaseIdx   int32  `protobuf:"varint,1,opt,name=database_idx,json=databaseIdx,proto3" json:"database_idx,omitempty"`
	ExtensionName string `protobuf:"bytes,2,opt,name=extension_name,json=extensionName,proto3" json:"extension_name,omitempty"`
	SchemaName    string `protobuf:"bytes,3,opt,name=schema_name,json=schemaName,proto3" json:"schema_name,omitempty"`
	Version       string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*Extension) Descriptor deprecated added in v0.45.0

func (*Extension) Descriptor() ([]byte, []int)

Deprecated: Use Extension.ProtoReflect.Descriptor instead.

func (*Extension) GetDatabaseIdx added in v0.45.0

func (x *Extension) GetDatabaseIdx() int32

func (*Extension) GetExtensionName added in v0.45.0

func (x *Extension) GetExtensionName() string

func (*Extension) GetSchemaName added in v0.45.0

func (x *Extension) GetSchemaName() string

func (*Extension) GetVersion added in v0.45.0

func (x *Extension) GetVersion() string

func (*Extension) ProtoMessage added in v0.45.0

func (*Extension) ProtoMessage()

func (*Extension) ProtoReflect added in v0.45.0

func (x *Extension) ProtoReflect() protoreflect.Message

func (*Extension) Reset added in v0.45.0

func (x *Extension) Reset()

func (*Extension) String added in v0.45.0

func (x *Extension) String() string

type FullSnapshot

type FullSnapshot struct {

	// Basic information about this snapshot
	SnapshotVersionMajor          int32                  `protobuf:"varint,1,opt,name=snapshot_version_major,json=snapshotVersionMajor,proto3" json:"snapshot_version_major,omitempty"`
	SnapshotVersionMinor          int32                  `protobuf:"varint,2,opt,name=snapshot_version_minor,json=snapshotVersionMinor,proto3" json:"snapshot_version_minor,omitempty"`
	CollectorVersion              string                 `protobuf:"bytes,3,opt,name=collector_version,json=collectorVersion,proto3" json:"collector_version,omitempty"`
	FailedRun                     bool                   `protobuf:"varint,4,opt,name=failed_run,json=failedRun,proto3" json:"failed_run,omitempty"` // failed runs are submitted so we can provide more context in the UI
	SnapshotUuid                  string                 `protobuf:"bytes,10,opt,name=snapshot_uuid,json=snapshotUuid,proto3" json:"snapshot_uuid,omitempty"`
	CollectedAt                   *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=collected_at,json=collectedAt,proto3" json:"collected_at,omitempty"`
	CollectedIntervalSecs         uint32                 `` /* 128-byte string literal not displayed */
	Config                        *CollectorConfig       `protobuf:"bytes,13,opt,name=config,proto3" json:"config,omitempty"`
	CollectorStatistic            *CollectorStatistic    `protobuf:"bytes,20,opt,name=collector_statistic,json=collectorStatistic,proto3" json:"collector_statistic,omitempty"`
	CollectorErrors               []string               `protobuf:"bytes,21,rep,name=collector_errors,json=collectorErrors,proto3" json:"collector_errors,omitempty"` // log error messages that happened during the collector run
	CollectorStartedAt            *timestamppb.Timestamp `protobuf:"bytes,22,opt,name=collector_started_at,json=collectorStartedAt,proto3" json:"collector_started_at,omitempty"`
	CollectorHostname             string                 `protobuf:"bytes,23,opt,name=collector_hostname,json=collectorHostname,proto3" json:"collector_hostname,omitempty"`
	CollectorArchitecture         string                 `protobuf:"bytes,24,opt,name=collector_architecture,json=collectorArchitecture,proto3" json:"collector_architecture,omitempty"`
	CollectorOperatingSystem      string                 `` /* 136-byte string literal not displayed */
	CollectorPlatform             string                 `protobuf:"bytes,26,opt,name=collector_platform,json=collectorPlatform,proto3" json:"collector_platform,omitempty"`
	CollectorPlatformFamily       string                 `` /* 133-byte string literal not displayed */
	CollectorPlatformVersion      string                 `` /* 136-byte string literal not displayed */
	CollectorVirtualizationSystem string                 `` // Name of the virtualization system (only if we're a guest)
	/* 151-byte string literal not displayed */
	CollectorKernelVersion             string `` /* 130-byte string literal not displayed */
	CollectorLogSnapshotDisabled       bool   `` /* 151-byte string literal not displayed */
	CollectorLogSnapshotDisabledReason string `` /* 170-byte string literal not displayed */
	// Per server (and hence snapshot)
	System                 *System                  `protobuf:"bytes,100,opt,name=system,proto3" json:"system,omitempty"`
	PostgresVersion        *PostgresVersion         `protobuf:"bytes,101,opt,name=postgres_version,json=postgresVersion,proto3" json:"postgres_version,omitempty"`
	RoleReferences         []*RoleReference         `protobuf:"bytes,102,rep,name=role_references,json=roleReferences,proto3" json:"role_references,omitempty"`
	DatabaseReferences     []*DatabaseReference     `protobuf:"bytes,103,rep,name=database_references,json=databaseReferences,proto3" json:"database_references,omitempty"`
	RoleInformations       []*RoleInformation       `protobuf:"bytes,110,rep,name=role_informations,json=roleInformations,proto3" json:"role_informations,omitempty"`
	DatabaseInformations   []*DatabaseInformation   `protobuf:"bytes,111,rep,name=database_informations,json=databaseInformations,proto3" json:"database_informations,omitempty"`
	DatabaseStatictics     []*DatabaseStatistic     `protobuf:"bytes,112,rep,name=database_statictics,json=databaseStatictics,proto3" json:"database_statictics,omitempty"`
	ServerStatistic        *ServerStatistic         `protobuf:"bytes,113,opt,name=server_statistic,json=serverStatistic,proto3" json:"server_statistic,omitempty"`
	Settings               []*Setting               `protobuf:"bytes,122,rep,name=settings,proto3" json:"settings,omitempty"`
	Replication            *Replication             `protobuf:"bytes,123,opt,name=replication,proto3" json:"replication,omitempty"`
	BackendCountStatistics []*BackendCountStatistic `` /* 131-byte string literal not displayed */
	TablespaceReferences   []*TablespaceReference   `protobuf:"bytes,130,rep,name=tablespace_references,json=tablespaceReferences,proto3" json:"tablespace_references,omitempty"`
	TablespaceInformations []*TablespaceInformation `` /* 129-byte string literal not displayed */
	// Per database
	QueryReferences             []*QueryReference              `protobuf:"bytes,200,rep,name=query_references,json=queryReferences,proto3" json:"query_references,omitempty"`
	RelationReferences          []*RelationReference           `protobuf:"bytes,201,rep,name=relation_references,json=relationReferences,proto3" json:"relation_references,omitempty"`
	IndexReferences             []*IndexReference              `protobuf:"bytes,202,rep,name=index_references,json=indexReferences,proto3" json:"index_references,omitempty"`
	FunctionReferences          []*FunctionReference           `protobuf:"bytes,203,rep,name=function_references,json=functionReferences,proto3" json:"function_references,omitempty"`
	QueryPlanReferences         []*QueryPlanReference          `protobuf:"bytes,204,rep,name=query_plan_references,json=queryPlanReferences,proto3" json:"query_plan_references,omitempty"`
	QueryInformations           []*QueryInformation            `protobuf:"bytes,210,rep,name=query_informations,json=queryInformations,proto3" json:"query_informations,omitempty"`
	QueryStatistics             []*QueryStatistic              `protobuf:"bytes,211,rep,name=query_statistics,json=queryStatistics,proto3" json:"query_statistics,omitempty"`
	HistoricQueryStatistics     []*HistoricQueryStatistics     `` /* 134-byte string literal not displayed */
	QueryExplains               []*QueryExplainInformation     `protobuf:"bytes,214,rep,name=query_explains,json=queryExplains,proto3" json:"query_explains,omitempty"`
	RelationInformations        []*RelationInformation         `protobuf:"bytes,220,rep,name=relation_informations,json=relationInformations,proto3" json:"relation_informations,omitempty"`
	RelationStatistics          []*RelationStatistic           `protobuf:"bytes,221,rep,name=relation_statistics,json=relationStatistics,proto3" json:"relation_statistics,omitempty"`
	RelationEvents              []*RelationEvent               `protobuf:"bytes,223,rep,name=relation_events,json=relationEvents,proto3" json:"relation_events,omitempty"`
	IndexInformations           []*IndexInformation            `protobuf:"bytes,224,rep,name=index_informations,json=indexInformations,proto3" json:"index_informations,omitempty"`
	IndexStatistics             []*IndexStatistic              `protobuf:"bytes,225,rep,name=index_statistics,json=indexStatistics,proto3" json:"index_statistics,omitempty"`
	FunctionInformations        []*FunctionInformation         `protobuf:"bytes,227,rep,name=function_informations,json=functionInformations,proto3" json:"function_informations,omitempty"`
	FunctionStatistics          []*FunctionStatistic           `protobuf:"bytes,228,rep,name=function_statistics,json=functionStatistics,proto3" json:"function_statistics,omitempty"`
	CustomTypeInformations      []*CustomTypeInformation       `` /* 131-byte string literal not displayed */
	Extensions                  []*Extension                   `protobuf:"bytes,230,rep,name=extensions,proto3" json:"extensions,omitempty"`
	QueryPlanInformations       []*QueryPlanInformation        `` /* 128-byte string literal not displayed */
	QueryPlanStatistics         []*QueryPlanStatistic          `protobuf:"bytes,241,rep,name=query_plan_statistics,json=queryPlanStatistics,proto3" json:"query_plan_statistics,omitempty"`
	HistoricQueryPlanStatistics []*HistoricQueryPlanStatistics `` /* 148-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*FullSnapshot) Descriptor deprecated

func (*FullSnapshot) Descriptor() ([]byte, []int)

Deprecated: Use FullSnapshot.ProtoReflect.Descriptor instead.

func (*FullSnapshot) GetBackendCountStatistics

func (x *FullSnapshot) GetBackendCountStatistics() []*BackendCountStatistic

func (*FullSnapshot) GetCollectedAt

func (x *FullSnapshot) GetCollectedAt() *timestamppb.Timestamp

func (*FullSnapshot) GetCollectedIntervalSecs

func (x *FullSnapshot) GetCollectedIntervalSecs() uint32

func (*FullSnapshot) GetCollectorArchitecture

func (x *FullSnapshot) GetCollectorArchitecture() string

func (*FullSnapshot) GetCollectorErrors

func (x *FullSnapshot) GetCollectorErrors() []string

func (*FullSnapshot) GetCollectorHostname

func (x *FullSnapshot) GetCollectorHostname() string

func (*FullSnapshot) GetCollectorKernelVersion

func (x *FullSnapshot) GetCollectorKernelVersion() string

func (*FullSnapshot) GetCollectorLogSnapshotDisabled

func (x *FullSnapshot) GetCollectorLogSnapshotDisabled() bool

func (*FullSnapshot) GetCollectorLogSnapshotDisabledReason

func (x *FullSnapshot) GetCollectorLogSnapshotDisabledReason() string

func (*FullSnapshot) GetCollectorOperatingSystem

func (x *FullSnapshot) GetCollectorOperatingSystem() string

func (*FullSnapshot) GetCollectorPlatform

func (x *FullSnapshot) GetCollectorPlatform() string

func (*FullSnapshot) GetCollectorPlatformFamily

func (x *FullSnapshot) GetCollectorPlatformFamily() string

func (*FullSnapshot) GetCollectorPlatformVersion

func (x *FullSnapshot) GetCollectorPlatformVersion() string

func (*FullSnapshot) GetCollectorStartedAt

func (x *FullSnapshot) GetCollectorStartedAt() *timestamppb.Timestamp

func (*FullSnapshot) GetCollectorStatistic

func (x *FullSnapshot) GetCollectorStatistic() *CollectorStatistic

func (*FullSnapshot) GetCollectorVersion

func (x *FullSnapshot) GetCollectorVersion() string

func (*FullSnapshot) GetCollectorVirtualizationSystem

func (x *FullSnapshot) GetCollectorVirtualizationSystem() string

func (*FullSnapshot) GetConfig

func (x *FullSnapshot) GetConfig() *CollectorConfig

func (*FullSnapshot) GetCustomTypeInformations added in v0.41.0

func (x *FullSnapshot) GetCustomTypeInformations() []*CustomTypeInformation

func (*FullSnapshot) GetDatabaseInformations

func (x *FullSnapshot) GetDatabaseInformations() []*DatabaseInformation

func (*FullSnapshot) GetDatabaseReferences

func (x *FullSnapshot) GetDatabaseReferences() []*DatabaseReference

func (*FullSnapshot) GetDatabaseStatictics added in v0.47.0

func (x *FullSnapshot) GetDatabaseStatictics() []*DatabaseStatistic

func (*FullSnapshot) GetExtensions added in v0.45.0

func (x *FullSnapshot) GetExtensions() []*Extension

func (*FullSnapshot) GetFailedRun

func (x *FullSnapshot) GetFailedRun() bool

func (*FullSnapshot) GetFunctionInformations

func (x *FullSnapshot) GetFunctionInformations() []*FunctionInformation

func (*FullSnapshot) GetFunctionReferences

func (x *FullSnapshot) GetFunctionReferences() []*FunctionReference

func (*FullSnapshot) GetFunctionStatistics

func (x *FullSnapshot) GetFunctionStatistics() []*FunctionStatistic

func (*FullSnapshot) GetHistoricQueryPlanStatistics added in v0.62.0

func (x *FullSnapshot) GetHistoricQueryPlanStatistics() []*HistoricQueryPlanStatistics

func (*FullSnapshot) GetHistoricQueryStatistics

func (x *FullSnapshot) GetHistoricQueryStatistics() []*HistoricQueryStatistics

func (*FullSnapshot) GetIndexInformations

func (x *FullSnapshot) GetIndexInformations() []*IndexInformation

func (*FullSnapshot) GetIndexReferences

func (x *FullSnapshot) GetIndexReferences() []*IndexReference

func (*FullSnapshot) GetIndexStatistics

func (x *FullSnapshot) GetIndexStatistics() []*IndexStatistic

func (*FullSnapshot) GetPostgresVersion

func (x *FullSnapshot) GetPostgresVersion() *PostgresVersion

func (*FullSnapshot) GetQueryExplains

func (x *FullSnapshot) GetQueryExplains() []*QueryExplainInformation

func (*FullSnapshot) GetQueryInformations

func (x *FullSnapshot) GetQueryInformations() []*QueryInformation

func (*FullSnapshot) GetQueryPlanInformations added in v0.62.0

func (x *FullSnapshot) GetQueryPlanInformations() []*QueryPlanInformation

func (*FullSnapshot) GetQueryPlanReferences added in v0.62.0

func (x *FullSnapshot) GetQueryPlanReferences() []*QueryPlanReference

func (*FullSnapshot) GetQueryPlanStatistics added in v0.62.0

func (x *FullSnapshot) GetQueryPlanStatistics() []*QueryPlanStatistic

func (*FullSnapshot) GetQueryReferences

func (x *FullSnapshot) GetQueryReferences() []*QueryReference

func (*FullSnapshot) GetQueryStatistics

func (x *FullSnapshot) GetQueryStatistics() []*QueryStatistic

func (*FullSnapshot) GetRelationEvents

func (x *FullSnapshot) GetRelationEvents() []*RelationEvent

func (*FullSnapshot) GetRelationInformations

func (x *FullSnapshot) GetRelationInformations() []*RelationInformation

func (*FullSnapshot) GetRelationReferences

func (x *FullSnapshot) GetRelationReferences() []*RelationReference

func (*FullSnapshot) GetRelationStatistics

func (x *FullSnapshot) GetRelationStatistics() []*RelationStatistic

func (*FullSnapshot) GetReplication

func (x *FullSnapshot) GetReplication() *Replication

func (*FullSnapshot) GetRoleInformations

func (x *FullSnapshot) GetRoleInformations() []*RoleInformation

func (*FullSnapshot) GetRoleReferences

func (x *FullSnapshot) GetRoleReferences() []*RoleReference

func (*FullSnapshot) GetServerStatistic added in v0.47.0

func (x *FullSnapshot) GetServerStatistic() *ServerStatistic

func (*FullSnapshot) GetSettings

func (x *FullSnapshot) GetSettings() []*Setting

func (*FullSnapshot) GetSnapshotUuid

func (x *FullSnapshot) GetSnapshotUuid() string

func (*FullSnapshot) GetSnapshotVersionMajor

func (x *FullSnapshot) GetSnapshotVersionMajor() int32

func (*FullSnapshot) GetSnapshotVersionMinor

func (x *FullSnapshot) GetSnapshotVersionMinor() int32

func (*FullSnapshot) GetSystem

func (x *FullSnapshot) GetSystem() *System

func (*FullSnapshot) GetTablespaceInformations

func (x *FullSnapshot) GetTablespaceInformations() []*TablespaceInformation

func (*FullSnapshot) GetTablespaceReferences

func (x *FullSnapshot) GetTablespaceReferences() []*TablespaceReference

func (*FullSnapshot) ProtoMessage

func (*FullSnapshot) ProtoMessage()

func (*FullSnapshot) ProtoReflect

func (x *FullSnapshot) ProtoReflect() protoreflect.Message

func (*FullSnapshot) Reset

func (x *FullSnapshot) Reset()

func (*FullSnapshot) String

func (x *FullSnapshot) String() string

type FunctionInformation

type FunctionInformation struct {
	FunctionIdx     int32                            `protobuf:"varint,1,opt,name=function_idx,json=functionIdx,proto3" json:"function_idx,omitempty"`
	Language        string                           `protobuf:"bytes,3,opt,name=language,proto3" json:"language,omitempty"`
	Source          string                           `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"`
	SourceBin       string                           `protobuf:"bytes,5,opt,name=source_bin,json=sourceBin,proto3" json:"source_bin,omitempty"`
	Config          []string                         `protobuf:"bytes,6,rep,name=config,proto3" json:"config,omitempty"`
	Result          string                           `protobuf:"bytes,8,opt,name=result,proto3" json:"result,omitempty"`
	Aggregate       bool                             `protobuf:"varint,9,opt,name=aggregate,proto3" json:"aggregate,omitempty"`
	Window          bool                             `protobuf:"varint,10,opt,name=window,proto3" json:"window,omitempty"`
	SecurityDefiner bool                             `protobuf:"varint,11,opt,name=security_definer,json=securityDefiner,proto3" json:"security_definer,omitempty"`
	Leakproof       bool                             `protobuf:"varint,12,opt,name=leakproof,proto3" json:"leakproof,omitempty"`
	Strict          bool                             `protobuf:"varint,13,opt,name=strict,proto3" json:"strict,omitempty"`
	ReturnsSet      bool                             `protobuf:"varint,14,opt,name=returns_set,json=returnsSet,proto3" json:"returns_set,omitempty"`
	Volatile        string                           `protobuf:"bytes,15,opt,name=volatile,proto3" json:"volatile,omitempty"`
	Kind            FunctionInformation_FunctionKind `protobuf:"varint,16,opt,name=kind,proto3,enum=pganalyze.collector.FunctionInformation_FunctionKind" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

func (*FunctionInformation) Descriptor deprecated

func (*FunctionInformation) Descriptor() ([]byte, []int)

Deprecated: Use FunctionInformation.ProtoReflect.Descriptor instead.

func (*FunctionInformation) GetAggregate

func (x *FunctionInformation) GetAggregate() bool

func (*FunctionInformation) GetConfig

func (x *FunctionInformation) GetConfig() []string

func (*FunctionInformation) GetFunctionIdx

func (x *FunctionInformation) GetFunctionIdx() int32

func (*FunctionInformation) GetKind

func (*FunctionInformation) GetLanguage

func (x *FunctionInformation) GetLanguage() string

func (*FunctionInformation) GetLeakproof

func (x *FunctionInformation) GetLeakproof() bool

func (*FunctionInformation) GetResult

func (x *FunctionInformation) GetResult() string

func (*FunctionInformation) GetReturnsSet

func (x *FunctionInformation) GetReturnsSet() bool

func (*FunctionInformation) GetSecurityDefiner

func (x *FunctionInformation) GetSecurityDefiner() bool

func (*FunctionInformation) GetSource

func (x *FunctionInformation) GetSource() string

func (*FunctionInformation) GetSourceBin

func (x *FunctionInformation) GetSourceBin() string

func (*FunctionInformation) GetStrict

func (x *FunctionInformation) GetStrict() bool

func (*FunctionInformation) GetVolatile

func (x *FunctionInformation) GetVolatile() string

func (*FunctionInformation) GetWindow

func (x *FunctionInformation) GetWindow() bool

func (*FunctionInformation) ProtoMessage

func (*FunctionInformation) ProtoMessage()

func (*FunctionInformation) ProtoReflect

func (x *FunctionInformation) ProtoReflect() protoreflect.Message

func (*FunctionInformation) Reset

func (x *FunctionInformation) Reset()

func (*FunctionInformation) String

func (x *FunctionInformation) String() string

type FunctionInformation_FunctionKind

type FunctionInformation_FunctionKind int32
const (
	FunctionInformation_UNKNOWN   FunctionInformation_FunctionKind = 0
	FunctionInformation_FUNCTION  FunctionInformation_FunctionKind = 1
	FunctionInformation_AGGREGATE FunctionInformation_FunctionKind = 2
	FunctionInformation_WINDOW    FunctionInformation_FunctionKind = 3
	FunctionInformation_PROCEDURE FunctionInformation_FunctionKind = 4
)

func (FunctionInformation_FunctionKind) Descriptor

func (FunctionInformation_FunctionKind) Enum

func (FunctionInformation_FunctionKind) EnumDescriptor deprecated

func (FunctionInformation_FunctionKind) EnumDescriptor() ([]byte, []int)

Deprecated: Use FunctionInformation_FunctionKind.Descriptor instead.

func (FunctionInformation_FunctionKind) Number

func (FunctionInformation_FunctionKind) String

func (FunctionInformation_FunctionKind) Type

type FunctionReference

type FunctionReference struct {
	DatabaseIdx  int32  `protobuf:"varint,1,opt,name=database_idx,json=databaseIdx,proto3" json:"database_idx,omitempty"`
	SchemaName   string `protobuf:"bytes,2,opt,name=schema_name,json=schemaName,proto3" json:"schema_name,omitempty"`
	FunctionName string `protobuf:"bytes,3,opt,name=function_name,json=functionName,proto3" json:"function_name,omitempty"`
	Arguments    string `protobuf:"bytes,4,opt,name=arguments,proto3" json:"arguments,omitempty"`
	// contains filtered or unexported fields
}

func (*FunctionReference) Descriptor deprecated

func (*FunctionReference) Descriptor() ([]byte, []int)

Deprecated: Use FunctionReference.ProtoReflect.Descriptor instead.

func (*FunctionReference) GetArguments

func (x *FunctionReference) GetArguments() string

func (*FunctionReference) GetDatabaseIdx

func (x *FunctionReference) GetDatabaseIdx() int32

func (*FunctionReference) GetFunctionName

func (x *FunctionReference) GetFunctionName() string

func (*FunctionReference) GetSchemaName

func (x *FunctionReference) GetSchemaName() string

func (*FunctionReference) ProtoMessage

func (*FunctionReference) ProtoMessage()

func (*FunctionReference) ProtoReflect

func (x *FunctionReference) ProtoReflect() protoreflect.Message

func (*FunctionReference) Reset

func (x *FunctionReference) Reset()

func (*FunctionReference) String

func (x *FunctionReference) String() string

type FunctionStatistic

type FunctionStatistic struct {
	FunctionIdx int32   `protobuf:"varint,1,opt,name=function_idx,json=functionIdx,proto3" json:"function_idx,omitempty"`
	Calls       int64   `protobuf:"varint,2,opt,name=calls,proto3" json:"calls,omitempty"`
	TotalTime   float64 `protobuf:"fixed64,3,opt,name=total_time,json=totalTime,proto3" json:"total_time,omitempty"`
	SelfTime    float64 `protobuf:"fixed64,4,opt,name=self_time,json=selfTime,proto3" json:"self_time,omitempty"`
	// contains filtered or unexported fields
}

func (*FunctionStatistic) Descriptor deprecated

func (*FunctionStatistic) Descriptor() ([]byte, []int)

Deprecated: Use FunctionStatistic.ProtoReflect.Descriptor instead.

func (*FunctionStatistic) GetCalls

func (x *FunctionStatistic) GetCalls() int64

func (*FunctionStatistic) GetFunctionIdx

func (x *FunctionStatistic) GetFunctionIdx() int32

func (*FunctionStatistic) GetSelfTime

func (x *FunctionStatistic) GetSelfTime() float64

func (*FunctionStatistic) GetTotalTime

func (x *FunctionStatistic) GetTotalTime() float64

func (*FunctionStatistic) ProtoMessage

func (*FunctionStatistic) ProtoMessage()

func (*FunctionStatistic) ProtoReflect

func (x *FunctionStatistic) ProtoReflect() protoreflect.Message

func (*FunctionStatistic) Reset

func (x *FunctionStatistic) Reset()

func (*FunctionStatistic) String

func (x *FunctionStatistic) String() string

type HistoricQueryPlanStatistics added in v0.62.0

type HistoricQueryPlanStatistics struct {
	CollectedAt           *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=collected_at,json=collectedAt,proto3" json:"collected_at,omitempty"`
	CollectedIntervalSecs uint32                 `` /* 127-byte string literal not displayed */
	Statistics            []*QueryPlanStatistic  `protobuf:"bytes,3,rep,name=statistics,proto3" json:"statistics,omitempty"`
	// contains filtered or unexported fields
}

func (*HistoricQueryPlanStatistics) Descriptor deprecated added in v0.62.0

func (*HistoricQueryPlanStatistics) Descriptor() ([]byte, []int)

Deprecated: Use HistoricQueryPlanStatistics.ProtoReflect.Descriptor instead.

func (*HistoricQueryPlanStatistics) GetCollectedAt added in v0.62.0

func (x *HistoricQueryPlanStatistics) GetCollectedAt() *timestamppb.Timestamp

func (*HistoricQueryPlanStatistics) GetCollectedIntervalSecs added in v0.62.0

func (x *HistoricQueryPlanStatistics) GetCollectedIntervalSecs() uint32

func (*HistoricQueryPlanStatistics) GetStatistics added in v0.62.0

func (x *HistoricQueryPlanStatistics) GetStatistics() []*QueryPlanStatistic

func (*HistoricQueryPlanStatistics) ProtoMessage added in v0.62.0

func (*HistoricQueryPlanStatistics) ProtoMessage()

func (*HistoricQueryPlanStatistics) ProtoReflect added in v0.62.0

func (*HistoricQueryPlanStatistics) Reset added in v0.62.0

func (x *HistoricQueryPlanStatistics) Reset()

func (*HistoricQueryPlanStatistics) String added in v0.62.0

func (x *HistoricQueryPlanStatistics) String() string

type HistoricQueryStatistics

type HistoricQueryStatistics struct {
	CollectedAt           *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=collected_at,json=collectedAt,proto3" json:"collected_at,omitempty"`
	CollectedIntervalSecs uint32                 `` /* 127-byte string literal not displayed */
	Statistics            []*QueryStatistic      `protobuf:"bytes,3,rep,name=statistics,proto3" json:"statistics,omitempty"`
	// contains filtered or unexported fields
}

func (*HistoricQueryStatistics) Descriptor deprecated

func (*HistoricQueryStatistics) Descriptor() ([]byte, []int)

Deprecated: Use HistoricQueryStatistics.ProtoReflect.Descriptor instead.

func (*HistoricQueryStatistics) GetCollectedAt

func (x *HistoricQueryStatistics) GetCollectedAt() *timestamppb.Timestamp

func (*HistoricQueryStatistics) GetCollectedIntervalSecs

func (x *HistoricQueryStatistics) GetCollectedIntervalSecs() uint32

func (*HistoricQueryStatistics) GetStatistics

func (x *HistoricQueryStatistics) GetStatistics() []*QueryStatistic

func (*HistoricQueryStatistics) ProtoMessage

func (*HistoricQueryStatistics) ProtoMessage()

func (*HistoricQueryStatistics) ProtoReflect

func (x *HistoricQueryStatistics) ProtoReflect() protoreflect.Message

func (*HistoricQueryStatistics) Reset

func (x *HistoricQueryStatistics) Reset()

func (*HistoricQueryStatistics) String

func (x *HistoricQueryStatistics) String() string

type IndexInformation

type IndexInformation struct {
	IndexIdx      int32       `protobuf:"varint,1,opt,name=index_idx,json=indexIdx,proto3" json:"index_idx,omitempty"`
	RelationIdx   int32       `protobuf:"varint,2,opt,name=relation_idx,json=relationIdx,proto3" json:"relation_idx,omitempty"`
	Columns       []int32     `protobuf:"varint,3,rep,packed,name=columns,proto3" json:"columns,omitempty"`
	IndexDef      string      `protobuf:"bytes,4,opt,name=index_def,json=indexDef,proto3" json:"index_def,omitempty"`
	ConstraintDef *NullString `protobuf:"bytes,5,opt,name=constraint_def,json=constraintDef,proto3" json:"constraint_def,omitempty"`
	IsPrimary     bool        `protobuf:"varint,6,opt,name=is_primary,json=isPrimary,proto3" json:"is_primary,omitempty"`
	IsUnique      bool        `protobuf:"varint,7,opt,name=is_unique,json=isUnique,proto3" json:"is_unique,omitempty"`
	IsValid       bool        `protobuf:"varint,8,opt,name=is_valid,json=isValid,proto3" json:"is_valid,omitempty"`
	Fillfactor    int32       `protobuf:"varint,9,opt,name=fillfactor,proto3" json:"fillfactor,omitempty"`
	IndexType     string      `protobuf:"bytes,10,opt,name=index_type,json=indexType,proto3" json:"index_type,omitempty"`
	// contains filtered or unexported fields
}

func (*IndexInformation) Descriptor deprecated

func (*IndexInformation) Descriptor() ([]byte, []int)

Deprecated: Use IndexInformation.ProtoReflect.Descriptor instead.

func (*IndexInformation) GetColumns

func (x *IndexInformation) GetColumns() []int32

func (*IndexInformation) GetConstraintDef

func (x *IndexInformation) GetConstraintDef() *NullString

func (*IndexInformation) GetFillfactor

func (x *IndexInformation) GetFillfactor() int32

func (*IndexInformation) GetIndexDef

func (x *IndexInformation) GetIndexDef() string

func (*IndexInformation) GetIndexIdx

func (x *IndexInformation) GetIndexIdx() int32

func (*IndexInformation) GetIndexType

func (x *IndexInformation) GetIndexType() string

func (*IndexInformation) GetIsPrimary

func (x *IndexInformation) GetIsPrimary() bool

func (*IndexInformation) GetIsUnique

func (x *IndexInformation) GetIsUnique() bool

func (*IndexInformation) GetIsValid

func (x *IndexInformation) GetIsValid() bool

func (*IndexInformation) GetRelationIdx

func (x *IndexInformation) GetRelationIdx() int32

func (*IndexInformation) ProtoMessage

func (*IndexInformation) ProtoMessage()

func (*IndexInformation) ProtoReflect

func (x *IndexInformation) ProtoReflect() protoreflect.Message

func (*IndexInformation) Reset

func (x *IndexInformation) Reset()

func (*IndexInformation) String

func (x *IndexInformation) String() string

type IndexReference

type IndexReference struct {
	DatabaseIdx int32  `protobuf:"varint,1,opt,name=database_idx,json=databaseIdx,proto3" json:"database_idx,omitempty"`
	SchemaName  string `protobuf:"bytes,2,opt,name=schema_name,json=schemaName,proto3" json:"schema_name,omitempty"`
	IndexName   string `protobuf:"bytes,3,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"`
	// contains filtered or unexported fields
}

func (*IndexReference) Descriptor deprecated

func (*IndexReference) Descriptor() ([]byte, []int)

Deprecated: Use IndexReference.ProtoReflect.Descriptor instead.

func (*IndexReference) GetDatabaseIdx

func (x *IndexReference) GetDatabaseIdx() int32

func (*IndexReference) GetIndexName

func (x *IndexReference) GetIndexName() string

func (*IndexReference) GetSchemaName

func (x *IndexReference) GetSchemaName() string

func (*IndexReference) ProtoMessage

func (*IndexReference) ProtoMessage()

func (*IndexReference) ProtoReflect

func (x *IndexReference) ProtoReflect() protoreflect.Message

func (*IndexReference) Reset

func (x *IndexReference) Reset()

func (*IndexReference) String

func (x *IndexReference) String() string

type IndexStatistic

type IndexStatistic struct {
	IndexIdx    int32 `protobuf:"varint,1,opt,name=index_idx,json=indexIdx,proto3" json:"index_idx,omitempty"`
	SizeBytes   int64 `protobuf:"varint,2,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
	IdxScan     int64 `protobuf:"varint,3,opt,name=idx_scan,json=idxScan,proto3" json:"idx_scan,omitempty"`
	IdxTupRead  int64 `protobuf:"varint,4,opt,name=idx_tup_read,json=idxTupRead,proto3" json:"idx_tup_read,omitempty"`
	IdxTupFetch int64 `protobuf:"varint,6,opt,name=idx_tup_fetch,json=idxTupFetch,proto3" json:"idx_tup_fetch,omitempty"`
	IdxBlksRead int64 `protobuf:"varint,7,opt,name=idx_blks_read,json=idxBlksRead,proto3" json:"idx_blks_read,omitempty"`
	IdxBlksHit  int64 `protobuf:"varint,8,opt,name=idx_blks_hit,json=idxBlksHit,proto3" json:"idx_blks_hit,omitempty"`
	CachedBytes int64 `protobuf:"varint,9,opt,name=cached_bytes,json=cachedBytes,proto3" json:"cached_bytes,omitempty"` // Size of index in the Postgres buffer cache
	// contains filtered or unexported fields
}

func (*IndexStatistic) Descriptor deprecated

func (*IndexStatistic) Descriptor() ([]byte, []int)

Deprecated: Use IndexStatistic.ProtoReflect.Descriptor instead.

func (*IndexStatistic) GetCachedBytes added in v0.63.0

func (x *IndexStatistic) GetCachedBytes() int64

func (*IndexStatistic) GetIdxBlksHit

func (x *IndexStatistic) GetIdxBlksHit() int64

func (*IndexStatistic) GetIdxBlksRead

func (x *IndexStatistic) GetIdxBlksRead() int64

func (*IndexStatistic) GetIdxScan

func (x *IndexStatistic) GetIdxScan() int64

func (*IndexStatistic) GetIdxTupFetch

func (x *IndexStatistic) GetIdxTupFetch() int64

func (*IndexStatistic) GetIdxTupRead

func (x *IndexStatistic) GetIdxTupRead() int64

func (*IndexStatistic) GetIndexIdx

func (x *IndexStatistic) GetIndexIdx() int32

func (*IndexStatistic) GetSizeBytes

func (x *IndexStatistic) GetSizeBytes() int64

func (*IndexStatistic) ProtoMessage

func (*IndexStatistic) ProtoMessage()

func (*IndexStatistic) ProtoReflect

func (x *IndexStatistic) ProtoReflect() protoreflect.Message

func (*IndexStatistic) Reset

func (x *IndexStatistic) Reset()

func (*IndexStatistic) String

func (x *IndexStatistic) String() string

type LogFileReference

type LogFileReference struct {
	Uuid            string                           `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	S3Location      string                           `protobuf:"bytes,2,opt,name=s3_location,json=s3Location,proto3" json:"s3_location,omitempty"`
	S3CekAlgo       string                           `protobuf:"bytes,3,opt,name=s3_cek_algo,json=s3CekAlgo,proto3" json:"s3_cek_algo,omitempty"`
	S3CmkKeyId      string                           `protobuf:"bytes,4,opt,name=s3_cmk_key_id,json=s3CmkKeyId,proto3" json:"s3_cmk_key_id,omitempty"`
	ByteSize        int64                            `protobuf:"varint,5,opt,name=byte_size,json=byteSize,proto3" json:"byte_size,omitempty"`
	OriginalName    string                           `protobuf:"bytes,6,opt,name=original_name,json=originalName,proto3" json:"original_name,omitempty"`
	FilterLogSecret []LogFileReference_LogSecretKind `` /* 173-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*LogFileReference) Descriptor deprecated

func (*LogFileReference) Descriptor() ([]byte, []int)

Deprecated: Use LogFileReference.ProtoReflect.Descriptor instead.

func (*LogFileReference) GetByteSize

func (x *LogFileReference) GetByteSize() int64

func (*LogFileReference) GetFilterLogSecret

func (x *LogFileReference) GetFilterLogSecret() []LogFileReference_LogSecretKind

func (*LogFileReference) GetOriginalName

func (x *LogFileReference) GetOriginalName() string

func (*LogFileReference) GetS3CekAlgo

func (x *LogFileReference) GetS3CekAlgo() string

func (*LogFileReference) GetS3CmkKeyId

func (x *LogFileReference) GetS3CmkKeyId() string

func (*LogFileReference) GetS3Location

func (x *LogFileReference) GetS3Location() string

func (*LogFileReference) GetUuid

func (x *LogFileReference) GetUuid() string

func (*LogFileReference) ProtoMessage

func (*LogFileReference) ProtoMessage()

func (*LogFileReference) ProtoReflect

func (x *LogFileReference) ProtoReflect() protoreflect.Message

func (*LogFileReference) Reset

func (x *LogFileReference) Reset()

func (*LogFileReference) String

func (x *LogFileReference) String() string

type LogFileReference_LogSecretKind

type LogFileReference_LogSecretKind int32
const (
	LogFileReference_CREDENTIAL_LOG_SECRET          LogFileReference_LogSecretKind = 0
	LogFileReference_PARSING_ERROR_LOG_SECRET       LogFileReference_LogSecretKind = 1
	LogFileReference_STATEMENT_TEXT_LOG_SECRET      LogFileReference_LogSecretKind = 2
	LogFileReference_STATEMENT_PARAMETER_LOG_SECRET LogFileReference_LogSecretKind = 3
	LogFileReference_TABLE_DATA_LOG_SECRET          LogFileReference_LogSecretKind = 4
	LogFileReference_OPS_LOG_SECRET                 LogFileReference_LogSecretKind = 5
	LogFileReference_UNIDENTIFIED_LOG_SECRET        LogFileReference_LogSecretKind = 6
)

func (LogFileReference_LogSecretKind) Descriptor

func (LogFileReference_LogSecretKind) Enum

func (LogFileReference_LogSecretKind) EnumDescriptor deprecated

func (LogFileReference_LogSecretKind) EnumDescriptor() ([]byte, []int)

Deprecated: Use LogFileReference_LogSecretKind.Descriptor instead.

func (LogFileReference_LogSecretKind) Number

func (LogFileReference_LogSecretKind) String

func (LogFileReference_LogSecretKind) Type

type LogLineInformation

type LogLineInformation struct {
	LogFileIdx       int32                                `protobuf:"varint,1,opt,name=log_file_idx,json=logFileIdx,proto3" json:"log_file_idx,omitempty"`
	Uuid             string                               `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
	ParentUuid       string                               `protobuf:"bytes,3,opt,name=parent_uuid,json=parentUuid,proto3" json:"parent_uuid,omitempty"` // optional
	ByteStart        int64                                `protobuf:"varint,4,opt,name=byte_start,json=byteStart,proto3" json:"byte_start,omitempty"`
	ByteContentStart int64                                `protobuf:"varint,5,opt,name=byte_content_start,json=byteContentStart,proto3" json:"byte_content_start,omitempty"`
	ByteEnd          int64                                `protobuf:"varint,6,opt,name=byte_end,json=byteEnd,proto3" json:"byte_end,omitempty"`
	HasRoleIdx       bool                                 `protobuf:"varint,7,opt,name=has_role_idx,json=hasRoleIdx,proto3" json:"has_role_idx,omitempty"`
	RoleIdx          int32                                `protobuf:"varint,8,opt,name=role_idx,json=roleIdx,proto3" json:"role_idx,omitempty"`
	HasDatabaseIdx   bool                                 `protobuf:"varint,9,opt,name=has_database_idx,json=hasDatabaseIdx,proto3" json:"has_database_idx,omitempty"`
	DatabaseIdx      int32                                `protobuf:"varint,10,opt,name=database_idx,json=databaseIdx,proto3" json:"database_idx,omitempty"`
	HasQueryIdx      bool                                 `protobuf:"varint,11,opt,name=has_query_idx,json=hasQueryIdx,proto3" json:"has_query_idx,omitempty"`
	QueryIdx         int32                                `protobuf:"varint,12,opt,name=query_idx,json=queryIdx,proto3" json:"query_idx,omitempty"`
	OccurredAt       *timestamppb.Timestamp               `protobuf:"bytes,13,opt,name=occurred_at,json=occurredAt,proto3" json:"occurred_at,omitempty"`
	BackendPid       int32                                `protobuf:"varint,14,opt,name=backend_pid,json=backendPid,proto3" json:"backend_pid,omitempty"`
	Level            LogLineInformation_LogLevel          `protobuf:"varint,15,opt,name=level,proto3,enum=pganalyze.collector.LogLineInformation_LogLevel" json:"level,omitempty"`
	Classification   LogLineInformation_LogClassification ``                                                                                                /* 145-byte string literal not displayed */
	DetailsJson      string                               `protobuf:"bytes,17,opt,name=details_json,json=detailsJson,proto3" json:"details_json,omitempty"` // JSON-encoded additional details about this log line
	HasRelationIdx   bool                                 `protobuf:"varint,18,opt,name=has_relation_idx,json=hasRelationIdx,proto3" json:"has_relation_idx,omitempty"`
	RelationIdx      int32                                `protobuf:"varint,19,opt,name=relation_idx,json=relationIdx,proto3" json:"relation_idx,omitempty"`
	RelatedPids      []int32                              `protobuf:"varint,20,rep,packed,name=related_pids,json=relatedPids,proto3" json:"related_pids,omitempty"` // Other PIDs that are related to this log line (mentioned in some way)
	Content          string                               `protobuf:"bytes,21,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*LogLineInformation) Descriptor deprecated

func (*LogLineInformation) Descriptor() ([]byte, []int)

Deprecated: Use LogLineInformation.ProtoReflect.Descriptor instead.

func (*LogLineInformation) GetBackendPid

func (x *LogLineInformation) GetBackendPid() int32

func (*LogLineInformation) GetByteContentStart

func (x *LogLineInformation) GetByteContentStart() int64

func (*LogLineInformation) GetByteEnd

func (x *LogLineInformation) GetByteEnd() int64

func (*LogLineInformation) GetByteStart

func (x *LogLineInformation) GetByteStart() int64

func (*LogLineInformation) GetClassification

func (*LogLineInformation) GetContent added in v0.60.0

func (x *LogLineInformation) GetContent() string

func (*LogLineInformation) GetDatabaseIdx

func (x *LogLineInformation) GetDatabaseIdx() int32

func (*LogLineInformation) GetDetailsJson

func (x *LogLineInformation) GetDetailsJson() string

func (*LogLineInformation) GetHasDatabaseIdx

func (x *LogLineInformation) GetHasDatabaseIdx() bool

func (*LogLineInformation) GetHasQueryIdx

func (x *LogLineInformation) GetHasQueryIdx() bool

func (*LogLineInformation) GetHasRelationIdx

func (x *LogLineInformation) GetHasRelationIdx() bool

func (*LogLineInformation) GetHasRoleIdx

func (x *LogLineInformation) GetHasRoleIdx() bool

func (*LogLineInformation) GetLevel

func (*LogLineInformation) GetLogFileIdx

func (x *LogLineInformation) GetLogFileIdx() int32

func (*LogLineInformation) GetOccurredAt

func (x *LogLineInformation) GetOccurredAt() *timestamppb.Timestamp

func (*LogLineInformation) GetParentUuid

func (x *LogLineInformation) GetParentUuid() string

func (*LogLineInformation) GetQueryIdx

func (x *LogLineInformation) GetQueryIdx() int32

func (*LogLineInformation) GetRelatedPids

func (x *LogLineInformation) GetRelatedPids() []int32

func (*LogLineInformation) GetRelationIdx

func (x *LogLineInformation) GetRelationIdx() int32

func (*LogLineInformation) GetRoleIdx

func (x *LogLineInformation) GetRoleIdx() int32

func (*LogLineInformation) GetUuid

func (x *LogLineInformation) GetUuid() string

func (*LogLineInformation) ProtoMessage

func (*LogLineInformation) ProtoMessage()

func (*LogLineInformation) ProtoReflect

func (x *LogLineInformation) ProtoReflect() protoreflect.Message

func (*LogLineInformation) Reset

func (x *LogLineInformation) Reset()

func (*LogLineInformation) String

func (x *LogLineInformation) String() string

type LogLineInformation_LogClassification

type LogLineInformation_LogClassification int32
const (
	LogLineInformation_UNKNOWN_LOG_CLASSIFICATION LogLineInformation_LogClassification = 0
	// Server events
	LogLineInformation_SERVER_CRASHED                 LogLineInformation_LogClassification = 1  // "Segmentation fault", "was terminated by signal 6", "was terminated by signal 11"
	LogLineInformation_SERVER_START                   LogLineInformation_LogClassification = 2  // "database system is ready", "entering standby mode", "database system was shut down"
	LogLineInformation_SERVER_START_RECOVERING        LogLineInformation_LogClassification = 3  // "database system was interrupted", "database system was not properly shut down"
	LogLineInformation_SERVER_SHUTDOWN                LogLineInformation_LogClassification = 4  // "received ... shutdown request", "aborting any active transactions"
	LogLineInformation_SERVER_OUT_OF_MEMORY           LogLineInformation_LogClassification = 5  // "out of memory"
	LogLineInformation_SERVER_INVALID_CHECKSUM        LogLineInformation_LogClassification = 6  // "page verification failed", "invalid page in block"
	LogLineInformation_SERVER_TEMP_FILE_CREATED       LogLineInformation_LogClassification = 7  // "temporary file: "
	LogLineInformation_SERVER_MISC                    LogLineInformation_LogClassification = 8  // "could not open usermap file", "could not link file", "unexpected pageaddr"
	LogLineInformation_SERVER_RELOAD                  LogLineInformation_LogClassification = 9  // "received SIGHUP, reloading configuration files", config change related messages
	LogLineInformation_SERVER_PROCESS_EXITED          LogLineInformation_LogClassification = 10 // "worker process: parallel worker for PID ... (PID ...) exited with exit code ..."
	LogLineInformation_SERVER_STATS_COLLECTOR_TIMEOUT LogLineInformation_LogClassification = 11 // "using stale statistics instead of current ones because stats collector is not responding", "pgstat wait timeout"
	// Connection-related
	LogLineInformation_CONNECTION_RECEIVED                 LogLineInformation_LogClassification = 20 // "connection received: "
	LogLineInformation_CONNECTION_AUTHORIZED               LogLineInformation_LogClassification = 21 // "connection authorized: "
	LogLineInformation_CONNECTION_REJECTED                 LogLineInformation_LogClassification = 22 // "pg_hba.conf rejects connection", "is not currently accepting connections", "password authentication failed", "role ... is not permitted to log in"
	LogLineInformation_CONNECTION_DISCONNECTED             LogLineInformation_LogClassification = 23 // "disconnection: "
	LogLineInformation_CONNECTION_CLIENT_FAILED_TO_CONNECT LogLineInformation_LogClassification = 24 // "incomplete startup packet"
	LogLineInformation_CONNECTION_LOST                     LogLineInformation_LogClassification = 25 // "connection to client lost", "could not receive data from client", "terminating connection because protocol synchronization was lost", "could not send data to client"
	LogLineInformation_CONNECTION_LOST_OPEN_TX             LogLineInformation_LogClassification = 26 // "unexpected EOF on client connection with an open transaction"
	LogLineInformation_CONNECTION_TERMINATED               LogLineInformation_LogClassification = 27 // "terminating connection due to administrator command"
	LogLineInformation_OUT_OF_CONNECTIONS                  LogLineInformation_LogClassification = 28 // "remaining connection slots are reserved for non-replication superuser connections"
	LogLineInformation_TOO_MANY_CONNECTIONS_ROLE           LogLineInformation_LogClassification = 29 // "too many connections for role"
	LogLineInformation_COULD_NOT_ACCEPT_SSL_CONNECTION     LogLineInformation_LogClassification = 30 // "could not accept SSL connection: ..."
	LogLineInformation_PROTOCOL_ERROR_UNSUPPORTED_VERSION  LogLineInformation_LogClassification = 31 // "unsupported frontend protocol ...: server supports ... to ..."
	LogLineInformation_PROTOCOL_ERROR_INCOMPLETE_MESSAGE   LogLineInformation_LogClassification = 32 // "incomplete message from client"
	LogLineInformation_TOO_MANY_CONNECTIONS_DATABASE       LogLineInformation_LogClassification = 33 // "too many connections for database"
	// Checkpointer related
	LogLineInformation_CHECKPOINT_STARTING     LogLineInformation_LogClassification = 40 // "checkpoint starting: "
	LogLineInformation_CHECKPOINT_COMPLETE     LogLineInformation_LogClassification = 41 // "checkpoint complete: "
	LogLineInformation_CHECKPOINT_TOO_FREQUENT LogLineInformation_LogClassification = 42 // "checkpoints are occurring too frequently"
	LogLineInformation_RESTARTPOINT_STARTING   LogLineInformation_LogClassification = 43 // "restartpoint starting: "
	LogLineInformation_RESTARTPOINT_COMPLETE   LogLineInformation_LogClassification = 44 // "restartpoint complete: "
	LogLineInformation_RESTARTPOINT_AT         LogLineInformation_LogClassification = 45 // "recovery restart point at"
	// WAL/Archiving
	LogLineInformation_WAL_INVALID_RECORD_LENGTH  LogLineInformation_LogClassification = 50 // "invalid record length"
	LogLineInformation_WAL_REDO                   LogLineInformation_LogClassification = 51 // "redo "
	LogLineInformation_WAL_ARCHIVE_COMMAND_FAILED LogLineInformation_LogClassification = 52 // "archive command failed"
	LogLineInformation_WAL_BASE_BACKUP_COMPLETE   LogLineInformation_LogClassification = 53 // "pg_stop_backup complete, all required WAL segments have been archived"
	// Autovacuum
	LogLineInformation_AUTOVACUUM_CANCEL                   LogLineInformation_LogClassification = 60 // "canceling autovacuum task"
	LogLineInformation_TXID_WRAPAROUND_WARNING             LogLineInformation_LogClassification = 61 // "database * must be vacuumed within"
	LogLineInformation_TXID_WRAPAROUND_ERROR               LogLineInformation_LogClassification = 62 // "database is not accepting commands to avoid wraparound data loss"
	LogLineInformation_AUTOVACUUM_LAUNCHER_STARTED         LogLineInformation_LogClassification = 63 // "autovacuum launcher started"
	LogLineInformation_AUTOVACUUM_LAUNCHER_SHUTTING_DOWN   LogLineInformation_LogClassification = 64 // "autovacuum launcher shutting down", "terminating autovacuum process due to administrator command"
	LogLineInformation_AUTOVACUUM_COMPLETED                LogLineInformation_LogClassification = 65 // "automatic vacuum of table"
	LogLineInformation_AUTOANALYZE_COMPLETED               LogLineInformation_LogClassification = 66 // "automatic analyze of table"
	LogLineInformation_SKIPPING_VACUUM_LOCK_NOT_AVAILABLE  LogLineInformation_LogClassification = 67 // "skipping vacuum of ... --- lock not available"
	LogLineInformation_SKIPPING_ANALYZE_LOCK_NOT_AVAILABLE LogLineInformation_LogClassification = 68 // "skipping analyze of ... --- lock not available"
	// Locks
	LogLineInformation_LOCK_ACQUIRED          LogLineInformation_LogClassification = 70 // "acquired *Lock"
	LogLineInformation_LOCK_WAITING           LogLineInformation_LogClassification = 71 // "still waiting for *Lock"
	LogLineInformation_LOCK_TIMEOUT           LogLineInformation_LogClassification = 72 // "canceling statement due to lock timeout"
	LogLineInformation_LOCK_DEADLOCK_DETECTED LogLineInformation_LogClassification = 73 // "process * detected deadlock while waiting"
	LogLineInformation_LOCK_DEADLOCK_AVOIDED  LogLineInformation_LogClassification = 74 // "process * avoided deadlock for *Lock"
	// Notices about statement execution
	LogLineInformation_STATEMENT_DURATION         LogLineInformation_LogClassification = 80 // "duration: "
	LogLineInformation_STATEMENT_CANCELED_TIMEOUT LogLineInformation_LogClassification = 81 // "canceling statement due to statement timeout"
	LogLineInformation_STATEMENT_CANCELED_USER    LogLineInformation_LogClassification = 82 // "canceling statement due to user request"
	LogLineInformation_STATEMENT_LOG              LogLineInformation_LogClassification = 83 // "statement: ", "execute ...:"
	LogLineInformation_STATEMENT_AUTO_EXPLAIN     LogLineInformation_LogClassification = 84 // "duration: ... plan: ..."
	// Standby
	LogLineInformation_STANDBY_RESTORED_WAL_FROM_ARCHIVE LogLineInformation_LogClassification = 90 // "restored log file * from archive"
	LogLineInformation_STANDBY_STARTED_STREAMING         LogLineInformation_LogClassification = 91 // "started streaming WAL"
	LogLineInformation_STANDBY_STREAMING_INTERRUPTED     LogLineInformation_LogClassification = 92 // "could not receive data from WAL stream"
	LogLineInformation_STANDBY_STOPPED_STREAMING         LogLineInformation_LogClassification = 93 // "terminating walreceiver process"
	LogLineInformation_STANDBY_CONSISTENT_RECOVERY_STATE LogLineInformation_LogClassification = 94 // "consistent recovery state reached at"
	LogLineInformation_STANDBY_STATEMENT_CANCELED        LogLineInformation_LogClassification = 95 // "canceling statement due to conflict with recovery"
	LogLineInformation_STANDBY_INVALID_TIMELINE          LogLineInformation_LogClassification = 96 // "according to history file, WAL location ... belongs to timeline X, but previous recovered WAL file came from timeline Y"
	// Constraint violations
	LogLineInformation_UNIQUE_CONSTRAINT_VIOLATION      LogLineInformation_LogClassification = 100 // "duplicate key value violates unique constraint"
	LogLineInformation_FOREIGN_KEY_CONSTRAINT_VIOLATION LogLineInformation_LogClassification = 101 // "update or delete on table ... violates foreign key constraint"
	LogLineInformation_NOT_NULL_CONSTRAINT_VIOLATION    LogLineInformation_LogClassification = 102 // "null value in column ... violates not-null constraint"
	LogLineInformation_CHECK_CONSTRAINT_VIOLATION       LogLineInformation_LogClassification = 103 // "new row for relation ... violates check constraint"
	LogLineInformation_EXCLUSION_CONSTRAINT_VIOLATION   LogLineInformation_LogClassification = 104 // "conflicting key value violates exclusion constraint"
	// Application errors
	LogLineInformation_SYNTAX_ERROR                        LogLineInformation_LogClassification = 110 // "syntax error at or near"
	LogLineInformation_INVALID_INPUT_SYNTAX                LogLineInformation_LogClassification = 111 // "invalid input syntax"
	LogLineInformation_VALUE_TOO_LONG_FOR_TYPE             LogLineInformation_LogClassification = 112 // "value too long for type"
	LogLineInformation_INVALID_VALUE                       LogLineInformation_LogClassification = 113 // "invalid value ... for ..."
	LogLineInformation_MALFORMED_ARRAY_LITERAL             LogLineInformation_LogClassification = 114 // "malformed array literal"
	LogLineInformation_SUBQUERY_MISSING_ALIAS              LogLineInformation_LogClassification = 115 // "subquery in FROM must have an alias"
	LogLineInformation_INSERT_TARGET_COLUMN_MISMATCH       LogLineInformation_LogClassification = 116 // "INSERT has more expressions than target columns"
	LogLineInformation_ANY_ALL_REQUIRES_ARRAY              LogLineInformation_LogClassification = 117 // "op ANY/ALL (array) requires array on right side"
	LogLineInformation_COLUMN_MISSING_FROM_GROUP_BY        LogLineInformation_LogClassification = 118 // "column ... must appear in the GROUP BY clause or be used in an aggregate function"
	LogLineInformation_RELATION_DOES_NOT_EXIST             LogLineInformation_LogClassification = 119 // "relation ... does not exist"
	LogLineInformation_COLUMN_DOES_NOT_EXIST               LogLineInformation_LogClassification = 120 // "column ... does not exist"
	LogLineInformation_OPERATOR_DOES_NOT_EXIST             LogLineInformation_LogClassification = 121 // "operator does not exist"
	LogLineInformation_COLUMN_REFERENCE_AMBIGUOUS          LogLineInformation_LogClassification = 122 // "column reference ... is ambiguous"
	LogLineInformation_PERMISSION_DENIED                   LogLineInformation_LogClassification = 123 // "permission denied for ..."
	LogLineInformation_TRANSACTION_IS_ABORTED              LogLineInformation_LogClassification = 124 // "current transaction is aborted, commands ignored until end of transaction block"
	LogLineInformation_ON_CONFLICT_NO_CONSTRAINT_MATCH     LogLineInformation_LogClassification = 125 // "there is no unique or exclusion constraint matching the ON CONFLICT specification"
	LogLineInformation_ON_CONFLICT_ROW_AFFECTED_TWICE      LogLineInformation_LogClassification = 126 // "ON CONFLICT DO UPDATE command cannot affect row a second time"
	LogLineInformation_COLUMN_CANNOT_BE_CAST               LogLineInformation_LogClassification = 127 // "column ... cannot be cast to type ..."
	LogLineInformation_DIVISION_BY_ZERO                    LogLineInformation_LogClassification = 128 // "division by zero"
	LogLineInformation_CANNOT_DROP                         LogLineInformation_LogClassification = 129 // "cannot drop ... because other objects depend on it"
	LogLineInformation_INTEGER_OUT_OF_RANGE                LogLineInformation_LogClassification = 130 // "integer out of range"
	LogLineInformation_INVALID_REGEXP                      LogLineInformation_LogClassification = 131 // "invalid regular expression: ..."
	LogLineInformation_PARAM_MISSING                       LogLineInformation_LogClassification = 132 // "there is no parameter $.. at character ..."
	LogLineInformation_FUNCTION_DOES_NOT_EXIST             LogLineInformation_LogClassification = 133 // "function ... does not exist"
	LogLineInformation_NO_SUCH_SAVEPOINT                   LogLineInformation_LogClassification = 134 // "no such savepoint"
	LogLineInformation_UNTERMINATED_QUOTED_STRING          LogLineInformation_LogClassification = 135 // "unterminated quoted string at or near ..."
	LogLineInformation_UNTERMINATED_QUOTED_IDENTIFIER      LogLineInformation_LogClassification = 136 // "unterminated quoted identifier at or near ..."
	LogLineInformation_INVALID_BYTE_SEQUENCE               LogLineInformation_LogClassification = 137 // "invalid byte sequence for encoding"
	LogLineInformation_COULD_NOT_SERIALIZE_REPEATABLE_READ LogLineInformation_LogClassification = 138 // "could not serialize access due to concurrent update"
	LogLineInformation_COULD_NOT_SERIALIZE_SERIALIZABLE    LogLineInformation_LogClassification = 139 // "could not serialize access due to read/write dependencies among transactions"
	LogLineInformation_INCONSISTENT_RANGE_BOUNDS           LogLineInformation_LogClassification = 140 // "range lower bound must be less than or equal to range upper bound"
	// Collector internal events
	LogLineInformation_PGA_COLLECTOR_IDENTIFY LogLineInformation_LogClassification = 1000 // "pganalyze-collector-identify: server1"
)

func (LogLineInformation_LogClassification) Descriptor

func (LogLineInformation_LogClassification) Enum

func (LogLineInformation_LogClassification) EnumDescriptor deprecated

func (LogLineInformation_LogClassification) EnumDescriptor() ([]byte, []int)

Deprecated: Use LogLineInformation_LogClassification.Descriptor instead.

func (LogLineInformation_LogClassification) Number

func (LogLineInformation_LogClassification) String

func (LogLineInformation_LogClassification) Type

type LogLineInformation_LogLevel

type LogLineInformation_LogLevel int32
const (
	LogLineInformation_UNKNOWN LogLineInformation_LogLevel = 0
	// Postgres log levels https://www.postgresql.org/docs/9.6/static/runtime-config-logging.html#RUNTIME-CONFIG-SEVERITY-LEVELS
	LogLineInformation_DEBUG   LogLineInformation_LogLevel = 1 // Provides successively-more-detailed information for use by developers.
	LogLineInformation_INFO    LogLineInformation_LogLevel = 2 // Provides information implicitly requested by the user, e.g., output from VACUUM VERBOSE.
	LogLineInformation_NOTICE  LogLineInformation_LogLevel = 3 // Provides information that might be helpful to users, e.g., notice of truncation of long identifiers.
	LogLineInformation_WARNING LogLineInformation_LogLevel = 4 // Provides warnings of likely problems, e.g., COMMIT outside a transaction block.
	LogLineInformation_ERROR   LogLineInformation_LogLevel = 5 // Reports an error that caused the current command to abort.
	LogLineInformation_LOG     LogLineInformation_LogLevel = 6 // Reports information of interest to administrators, e.g., checkpoint activity.
	LogLineInformation_FATAL   LogLineInformation_LogLevel = 7 // Reports an error that caused the current session to abort.
	LogLineInformation_PANIC   LogLineInformation_LogLevel = 8 // Reports an error that caused all database sessions to abort.
	// These levels are typically only used in additional lines for context
	LogLineInformation_DETAIL    LogLineInformation_LogLevel = 9
	LogLineInformation_HINT      LogLineInformation_LogLevel = 10
	LogLineInformation_CONTEXT   LogLineInformation_LogLevel = 11
	LogLineInformation_STATEMENT LogLineInformation_LogLevel = 12
	LogLineInformation_QUERY     LogLineInformation_LogLevel = 13 // This is specific to PL/pgSQL
)

func (LogLineInformation_LogLevel) Descriptor

func (LogLineInformation_LogLevel) Enum

func (LogLineInformation_LogLevel) EnumDescriptor deprecated

func (LogLineInformation_LogLevel) EnumDescriptor() ([]byte, []int)

Deprecated: Use LogLineInformation_LogLevel.Descriptor instead.

func (LogLineInformation_LogLevel) Number

func (LogLineInformation_LogLevel) String

func (LogLineInformation_LogLevel) Type

type MemoryStatistic

type MemoryStatistic struct {
	TotalBytes         uint64 `protobuf:"varint,1,opt,name=total_bytes,json=totalBytes,proto3" json:"total_bytes,omitempty"`
	CachedBytes        uint64 `protobuf:"varint,2,opt,name=cached_bytes,json=cachedBytes,proto3" json:"cached_bytes,omitempty"`
	BuffersBytes       uint64 `protobuf:"varint,3,opt,name=buffers_bytes,json=buffersBytes,proto3" json:"buffers_bytes,omitempty"`
	FreeBytes          uint64 `protobuf:"varint,4,opt,name=free_bytes,json=freeBytes,proto3" json:"free_bytes,omitempty"`
	WritebackBytes     uint64 `protobuf:"varint,5,opt,name=writeback_bytes,json=writebackBytes,proto3" json:"writeback_bytes,omitempty"`
	DirtyBytes         uint64 `protobuf:"varint,6,opt,name=dirty_bytes,json=dirtyBytes,proto3" json:"dirty_bytes,omitempty"`
	SlabBytes          uint64 `protobuf:"varint,7,opt,name=slab_bytes,json=slabBytes,proto3" json:"slab_bytes,omitempty"`
	MappedBytes        uint64 `protobuf:"varint,8,opt,name=mapped_bytes,json=mappedBytes,proto3" json:"mapped_bytes,omitempty"`
	PageTablesBytes    uint64 `protobuf:"varint,9,opt,name=page_tables_bytes,json=pageTablesBytes,proto3" json:"page_tables_bytes,omitempty"`
	ActiveBytes        uint64 `protobuf:"varint,10,opt,name=active_bytes,json=activeBytes,proto3" json:"active_bytes,omitempty"`
	InactiveBytes      uint64 `protobuf:"varint,11,opt,name=inactive_bytes,json=inactiveBytes,proto3" json:"inactive_bytes,omitempty"`
	AvailableBytes     uint64 `protobuf:"varint,12,opt,name=available_bytes,json=availableBytes,proto3" json:"available_bytes,omitempty"`
	SwapUsedBytes      uint64 `protobuf:"varint,13,opt,name=swap_used_bytes,json=swapUsedBytes,proto3" json:"swap_used_bytes,omitempty"`
	SwapTotalBytes     uint64 `protobuf:"varint,14,opt,name=swap_total_bytes,json=swapTotalBytes,proto3" json:"swap_total_bytes,omitempty"`
	HugePagesSizeBytes uint64 `protobuf:"varint,20,opt,name=huge_pages_size_bytes,json=hugePagesSizeBytes,proto3" json:"huge_pages_size_bytes,omitempty"`
	HugePagesFree      uint64 `protobuf:"varint,21,opt,name=huge_pages_free,json=hugePagesFree,proto3" json:"huge_pages_free,omitempty"`
	HugePagesTotal     uint64 `protobuf:"varint,22,opt,name=huge_pages_total,json=hugePagesTotal,proto3" json:"huge_pages_total,omitempty"`
	HugePagesReserved  uint64 `protobuf:"varint,23,opt,name=huge_pages_reserved,json=hugePagesReserved,proto3" json:"huge_pages_reserved,omitempty"`
	HugePagesSurplus   uint64 `protobuf:"varint,24,opt,name=huge_pages_surplus,json=hugePagesSurplus,proto3" json:"huge_pages_surplus,omitempty"`
	ApplicationBytes   uint64 `protobuf:"varint,30,opt,name=application_bytes,json=applicationBytes,proto3" json:"application_bytes,omitempty"` // Some systems only tell us how much memory PostgreSQL is using (and nothing else)
	// contains filtered or unexported fields
}

func (*MemoryStatistic) Descriptor deprecated

func (*MemoryStatistic) Descriptor() ([]byte, []int)

Deprecated: Use MemoryStatistic.ProtoReflect.Descriptor instead.

func (*MemoryStatistic) GetActiveBytes

func (x *MemoryStatistic) GetActiveBytes() uint64

func (*MemoryStatistic) GetApplicationBytes

func (x *MemoryStatistic) GetApplicationBytes() uint64

func (*MemoryStatistic) GetAvailableBytes

func (x *MemoryStatistic) GetAvailableBytes() uint64

func (*MemoryStatistic) GetBuffersBytes

func (x *MemoryStatistic) GetBuffersBytes() uint64

func (*MemoryStatistic) GetCachedBytes

func (x *MemoryStatistic) GetCachedBytes() uint64

func (*MemoryStatistic) GetDirtyBytes

func (x *MemoryStatistic) GetDirtyBytes() uint64

func (*MemoryStatistic) GetFreeBytes

func (x *MemoryStatistic) GetFreeBytes() uint64

func (*MemoryStatistic) GetHugePagesFree

func (x *MemoryStatistic) GetHugePagesFree() uint64

func (*MemoryStatistic) GetHugePagesReserved

func (x *MemoryStatistic) GetHugePagesReserved() uint64

func (*MemoryStatistic) GetHugePagesSizeBytes

func (x *MemoryStatistic) GetHugePagesSizeBytes() uint64

func (*MemoryStatistic) GetHugePagesSurplus

func (x *MemoryStatistic) GetHugePagesSurplus() uint64

func (*MemoryStatistic) GetHugePagesTotal

func (x *MemoryStatistic) GetHugePagesTotal() uint64

func (*MemoryStatistic) GetInactiveBytes

func (x *MemoryStatistic) GetInactiveBytes() uint64

func (*MemoryStatistic) GetMappedBytes

func (x *MemoryStatistic) GetMappedBytes() uint64

func (*MemoryStatistic) GetPageTablesBytes

func (x *MemoryStatistic) GetPageTablesBytes() uint64

func (*MemoryStatistic) GetSlabBytes

func (x *MemoryStatistic) GetSlabBytes() uint64

func (*MemoryStatistic) GetSwapTotalBytes

func (x *MemoryStatistic) GetSwapTotalBytes() uint64

func (*MemoryStatistic) GetSwapUsedBytes

func (x *MemoryStatistic) GetSwapUsedBytes() uint64

func (*MemoryStatistic) GetTotalBytes

func (x *MemoryStatistic) GetTotalBytes() uint64

func (*MemoryStatistic) GetWritebackBytes

func (x *MemoryStatistic) GetWritebackBytes() uint64

func (*MemoryStatistic) ProtoMessage

func (*MemoryStatistic) ProtoMessage()

func (*MemoryStatistic) ProtoReflect

func (x *MemoryStatistic) ProtoReflect() protoreflect.Message

func (*MemoryStatistic) Reset

func (x *MemoryStatistic) Reset()

func (*MemoryStatistic) String

func (x *MemoryStatistic) String() string

type NetworkReference

type NetworkReference struct {
	InterfaceName string `protobuf:"bytes,1,opt,name=interface_name,json=interfaceName,proto3" json:"interface_name,omitempty"`
	// contains filtered or unexported fields
}

func (*NetworkReference) Descriptor deprecated

func (*NetworkReference) Descriptor() ([]byte, []int)

Deprecated: Use NetworkReference.ProtoReflect.Descriptor instead.

func (*NetworkReference) GetInterfaceName

func (x *NetworkReference) GetInterfaceName() string

func (*NetworkReference) ProtoMessage

func (*NetworkReference) ProtoMessage()

func (*NetworkReference) ProtoReflect

func (x *NetworkReference) ProtoReflect() protoreflect.Message

func (*NetworkReference) Reset

func (x *NetworkReference) Reset()

func (*NetworkReference) String

func (x *NetworkReference) String() string

type NetworkStatistic

type NetworkStatistic struct {
	NetworkIdx                       int32  `protobuf:"varint,1,opt,name=network_idx,json=networkIdx,proto3" json:"network_idx,omitempty"`
	TransmitThroughputBytesPerSecond uint64 `` /* 164-byte string literal not displayed */
	ReceiveThroughputBytesPerSecond  uint64 `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*NetworkStatistic) Descriptor deprecated

func (*NetworkStatistic) Descriptor() ([]byte, []int)

Deprecated: Use NetworkStatistic.ProtoReflect.Descriptor instead.

func (*NetworkStatistic) GetNetworkIdx

func (x *NetworkStatistic) GetNetworkIdx() int32

func (*NetworkStatistic) GetReceiveThroughputBytesPerSecond

func (x *NetworkStatistic) GetReceiveThroughputBytesPerSecond() uint64

func (*NetworkStatistic) GetTransmitThroughputBytesPerSecond

func (x *NetworkStatistic) GetTransmitThroughputBytesPerSecond() uint64

func (*NetworkStatistic) ProtoMessage

func (*NetworkStatistic) ProtoMessage()

func (*NetworkStatistic) ProtoReflect

func (x *NetworkStatistic) ProtoReflect() protoreflect.Message

func (*NetworkStatistic) Reset

func (x *NetworkStatistic) Reset()

func (*NetworkStatistic) String

func (x *NetworkStatistic) String() string

type NullDouble added in v0.41.0

type NullDouble struct {
	Valid bool    `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"`
	Value float64 `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*NullDouble) Descriptor deprecated added in v0.41.0

func (*NullDouble) Descriptor() ([]byte, []int)

Deprecated: Use NullDouble.ProtoReflect.Descriptor instead.

func (*NullDouble) GetValid added in v0.41.0

func (x *NullDouble) GetValid() bool

func (*NullDouble) GetValue added in v0.41.0

func (x *NullDouble) GetValue() float64

func (*NullDouble) ProtoMessage added in v0.41.0

func (*NullDouble) ProtoMessage()

func (*NullDouble) ProtoReflect added in v0.41.0

func (x *NullDouble) ProtoReflect() protoreflect.Message

func (*NullDouble) Reset added in v0.41.0

func (x *NullDouble) Reset()

func (*NullDouble) String added in v0.41.0

func (x *NullDouble) String() string

type NullInt32 added in v0.41.0

type NullInt32 struct {
	Valid bool  `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"`
	Value int32 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*NullInt32) Descriptor deprecated added in v0.41.0

func (*NullInt32) Descriptor() ([]byte, []int)

Deprecated: Use NullInt32.ProtoReflect.Descriptor instead.

func (*NullInt32) GetValid added in v0.41.0

func (x *NullInt32) GetValid() bool

func (*NullInt32) GetValue added in v0.41.0

func (x *NullInt32) GetValue() int32

func (*NullInt32) ProtoMessage added in v0.41.0

func (*NullInt32) ProtoMessage()

func (*NullInt32) ProtoReflect added in v0.41.0

func (x *NullInt32) ProtoReflect() protoreflect.Message

func (*NullInt32) Reset added in v0.41.0

func (x *NullInt32) Reset()

func (*NullInt32) String added in v0.41.0

func (x *NullInt32) String() string

type NullString

type NullString struct {
	Valid bool   `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*NullString) Descriptor deprecated

func (*NullString) Descriptor() ([]byte, []int)

Deprecated: Use NullString.ProtoReflect.Descriptor instead.

func (*NullString) GetValid

func (x *NullString) GetValid() bool

func (*NullString) GetValue

func (x *NullString) GetValue() string

func (*NullString) ProtoMessage

func (*NullString) ProtoMessage()

func (*NullString) ProtoReflect

func (x *NullString) ProtoReflect() protoreflect.Message

func (*NullString) Reset

func (x *NullString) Reset()

func (*NullString) String

func (x *NullString) String() string

type NullTimestamp

type NullTimestamp struct {
	Valid bool                   `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"`
	Value *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func NullTimeToNullTimestamp

func NullTimeToNullTimestamp(in null.Time) *NullTimestamp

func (*NullTimestamp) Descriptor deprecated

func (*NullTimestamp) Descriptor() ([]byte, []int)

Deprecated: Use NullTimestamp.ProtoReflect.Descriptor instead.

func (*NullTimestamp) GetValid

func (x *NullTimestamp) GetValid() bool

func (*NullTimestamp) GetValue

func (x *NullTimestamp) GetValue() *timestamppb.Timestamp

func (*NullTimestamp) ProtoMessage

func (*NullTimestamp) ProtoMessage()

func (*NullTimestamp) ProtoReflect

func (x *NullTimestamp) ProtoReflect() protoreflect.Message

func (*NullTimestamp) Reset

func (x *NullTimestamp) Reset()

func (*NullTimestamp) String

func (x *NullTimestamp) String() string

type PostgresVersion

type PostgresVersion struct {
	Full    string `protobuf:"bytes,1,opt,name=full,proto3" json:"full,omitempty"`
	Short   string `protobuf:"bytes,2,opt,name=short,proto3" json:"short,omitempty"`
	Numeric int64  `protobuf:"varint,3,opt,name=numeric,proto3" json:"numeric,omitempty"`
	// contains filtered or unexported fields
}

func (*PostgresVersion) Descriptor deprecated

func (*PostgresVersion) Descriptor() ([]byte, []int)

Deprecated: Use PostgresVersion.ProtoReflect.Descriptor instead.

func (*PostgresVersion) GetFull

func (x *PostgresVersion) GetFull() string

func (*PostgresVersion) GetNumeric

func (x *PostgresVersion) GetNumeric() int64

func (*PostgresVersion) GetShort

func (x *PostgresVersion) GetShort() string

func (*PostgresVersion) ProtoMessage

func (*PostgresVersion) ProtoMessage()

func (*PostgresVersion) ProtoReflect

func (x *PostgresVersion) ProtoReflect() protoreflect.Message

func (*PostgresVersion) Reset

func (x *PostgresVersion) Reset()

func (*PostgresVersion) String

func (x *PostgresVersion) String() string

type QueryExplainInformation

type QueryExplainInformation struct {
	QueryIdx      int32                                 `protobuf:"varint,1,opt,name=query_idx,json=queryIdx,proto3" json:"query_idx,omitempty"`
	ExplainOutput string                                `protobuf:"bytes,2,opt,name=explain_output,json=explainOutput,proto3" json:"explain_output,omitempty"`
	ExplainError  string                                `protobuf:"bytes,3,opt,name=explain_error,json=explainError,proto3" json:"explain_error,omitempty"`
	ExplainFormat QueryExplainInformation_ExplainFormat `` /* 164-byte string literal not displayed */
	ExplainSource QueryExplainInformation_ExplainSource `` /* 164-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*QueryExplainInformation) Descriptor deprecated

func (*QueryExplainInformation) Descriptor() ([]byte, []int)

Deprecated: Use QueryExplainInformation.ProtoReflect.Descriptor instead.

func (*QueryExplainInformation) GetExplainError

func (x *QueryExplainInformation) GetExplainError() string

func (*QueryExplainInformation) GetExplainFormat

func (*QueryExplainInformation) GetExplainOutput

func (x *QueryExplainInformation) GetExplainOutput() string

func (*QueryExplainInformation) GetExplainSource

func (*QueryExplainInformation) GetQueryIdx

func (x *QueryExplainInformation) GetQueryIdx() int32

func (*QueryExplainInformation) ProtoMessage

func (*QueryExplainInformation) ProtoMessage()

func (*QueryExplainInformation) ProtoReflect

func (x *QueryExplainInformation) ProtoReflect() protoreflect.Message

func (*QueryExplainInformation) Reset

func (x *QueryExplainInformation) Reset()

func (*QueryExplainInformation) String

func (x *QueryExplainInformation) String() string

type QueryExplainInformation_ExplainFormat

type QueryExplainInformation_ExplainFormat int32
const (
	QueryExplainInformation_TEXT_EXPLAIN_FORMAT QueryExplainInformation_ExplainFormat = 0
	QueryExplainInformation_JSON_EXPLAIN_FORMAT QueryExplainInformation_ExplainFormat = 1
)

func (QueryExplainInformation_ExplainFormat) Descriptor

func (QueryExplainInformation_ExplainFormat) Enum

func (QueryExplainInformation_ExplainFormat) EnumDescriptor deprecated

func (QueryExplainInformation_ExplainFormat) EnumDescriptor() ([]byte, []int)

Deprecated: Use QueryExplainInformation_ExplainFormat.Descriptor instead.

func (QueryExplainInformation_ExplainFormat) Number

func (QueryExplainInformation_ExplainFormat) String

func (QueryExplainInformation_ExplainFormat) Type

type QueryExplainInformation_ExplainSource

type QueryExplainInformation_ExplainSource int32
const (
	QueryExplainInformation_STATEMENT_LOG_EXPLAIN_SOURCE QueryExplainInformation_ExplainSource = 0 // Generated based on statement log (log_min_duration_statement)
	QueryExplainInformation_AUTO_EXPLAIN_EXPLAIN_SOURCE  QueryExplainInformation_ExplainSource = 1 // Generated by auto_explain
	QueryExplainInformation_EXTERNAL_EXPLAIN_SOURCE      QueryExplainInformation_ExplainSource = 2 // EXPLAIN generated through external process (e.g. operator running EXPLAIN)
	QueryExplainInformation_GENERIC_EXPLAIN_SOURCE       QueryExplainInformation_ExplainSource = 3 // EXPLAIN generated based on unknown constant parameters
)

func (QueryExplainInformation_ExplainSource) Descriptor

func (QueryExplainInformation_ExplainSource) Enum

func (QueryExplainInformation_ExplainSource) EnumDescriptor deprecated

func (QueryExplainInformation_ExplainSource) EnumDescriptor() ([]byte, []int)

Deprecated: Use QueryExplainInformation_ExplainSource.Descriptor instead.

func (QueryExplainInformation_ExplainSource) Number

func (QueryExplainInformation_ExplainSource) String

func (QueryExplainInformation_ExplainSource) Type

type QueryInformation

type QueryInformation struct {
	QueryIdx        int32   `protobuf:"varint,1,opt,name=query_idx,json=queryIdx,proto3" json:"query_idx,omitempty"`
	NormalizedQuery string  `protobuf:"bytes,2,opt,name=normalized_query,json=normalizedQuery,proto3" json:"normalized_query,omitempty"`
	QueryIds        []int64 `protobuf:"varint,3,rep,packed,name=query_ids,json=queryIds,proto3" json:"query_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryInformation) Descriptor deprecated

func (*QueryInformation) Descriptor() ([]byte, []int)

Deprecated: Use QueryInformation.ProtoReflect.Descriptor instead.

func (*QueryInformation) GetNormalizedQuery

func (x *QueryInformation) GetNormalizedQuery() string

func (*QueryInformation) GetQueryIds

func (x *QueryInformation) GetQueryIds() []int64

func (*QueryInformation) GetQueryIdx

func (x *QueryInformation) GetQueryIdx() int32

func (*QueryInformation) ProtoMessage

func (*QueryInformation) ProtoMessage()

func (*QueryInformation) ProtoReflect

func (x *QueryInformation) ProtoReflect() protoreflect.Message

func (*QueryInformation) Reset

func (x *QueryInformation) Reset()

func (*QueryInformation) String

func (x *QueryInformation) String() string

type QueryPlanInformation added in v0.62.0

type QueryPlanInformation struct {
	QueryPlanIdx     int32                         `protobuf:"varint,1,opt,name=query_plan_idx,json=queryPlanIdx,proto3" json:"query_plan_idx,omitempty"`
	ExplainPlan      string                        `protobuf:"bytes,2,opt,name=explain_plan,json=explainPlan,proto3" json:"explain_plan,omitempty"`
	PlanCapturedTime *timestamppb.Timestamp        `protobuf:"bytes,3,opt,name=plan_captured_time,json=planCapturedTime,proto3" json:"plan_captured_time,omitempty"`
	PlanType         QueryPlanInformation_PlanType `` /* 141-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*QueryPlanInformation) Descriptor deprecated added in v0.62.0

func (*QueryPlanInformation) Descriptor() ([]byte, []int)

Deprecated: Use QueryPlanInformation.ProtoReflect.Descriptor instead.

func (*QueryPlanInformation) GetExplainPlan added in v0.62.0

func (x *QueryPlanInformation) GetExplainPlan() string

func (*QueryPlanInformation) GetPlanCapturedTime added in v0.62.0

func (x *QueryPlanInformation) GetPlanCapturedTime() *timestamppb.Timestamp

func (*QueryPlanInformation) GetPlanType added in v0.62.0

func (*QueryPlanInformation) GetQueryPlanIdx added in v0.62.0

func (x *QueryPlanInformation) GetQueryPlanIdx() int32

func (*QueryPlanInformation) ProtoMessage added in v0.62.0

func (*QueryPlanInformation) ProtoMessage()

func (*QueryPlanInformation) ProtoReflect added in v0.62.0

func (x *QueryPlanInformation) ProtoReflect() protoreflect.Message

func (*QueryPlanInformation) Reset added in v0.62.0

func (x *QueryPlanInformation) Reset()

func (*QueryPlanInformation) String added in v0.62.0

func (x *QueryPlanInformation) String() string

type QueryPlanInformation_PlanType added in v0.62.0

type QueryPlanInformation_PlanType int32
const (
	QueryPlanInformation_NO_PLAN  QueryPlanInformation_PlanType = 0
	QueryPlanInformation_ESTIMATE QueryPlanInformation_PlanType = 1
	QueryPlanInformation_ACTUAL   QueryPlanInformation_PlanType = 2
)

func (QueryPlanInformation_PlanType) Descriptor added in v0.62.0

func (QueryPlanInformation_PlanType) Enum added in v0.62.0

func (QueryPlanInformation_PlanType) EnumDescriptor deprecated added in v0.62.0

func (QueryPlanInformation_PlanType) EnumDescriptor() ([]byte, []int)

Deprecated: Use QueryPlanInformation_PlanType.Descriptor instead.

func (QueryPlanInformation_PlanType) Number added in v0.62.0

func (QueryPlanInformation_PlanType) String added in v0.62.0

func (QueryPlanInformation_PlanType) Type added in v0.62.0

type QueryPlanReference added in v0.62.0

type QueryPlanReference struct {
	QueryIdx       int32 `protobuf:"varint,1,opt,name=query_idx,json=queryIdx,proto3" json:"query_idx,omitempty"`
	OriginalPlanId int64 `protobuf:"varint,2,opt,name=original_plan_id,json=originalPlanId,proto3" json:"original_plan_id,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryPlanReference) Descriptor deprecated added in v0.62.0

func (*QueryPlanReference) Descriptor() ([]byte, []int)

Deprecated: Use QueryPlanReference.ProtoReflect.Descriptor instead.

func (*QueryPlanReference) GetOriginalPlanId added in v0.62.0

func (x *QueryPlanReference) GetOriginalPlanId() int64

func (*QueryPlanReference) GetQueryIdx added in v0.62.0

func (x *QueryPlanReference) GetQueryIdx() int32

func (*QueryPlanReference) ProtoMessage added in v0.62.0

func (*QueryPlanReference) ProtoMessage()

func (*QueryPlanReference) ProtoReflect added in v0.62.0

func (x *QueryPlanReference) ProtoReflect() protoreflect.Message

func (*QueryPlanReference) Reset added in v0.62.0

func (x *QueryPlanReference) Reset()

func (*QueryPlanReference) String added in v0.62.0

func (x *QueryPlanReference) String() string

type QueryPlanStatistic added in v0.62.0

type QueryPlanStatistic struct {
	QueryPlanIdx      int32   `protobuf:"varint,1,opt,name=query_plan_idx,json=queryPlanIdx,proto3" json:"query_plan_idx,omitempty"`
	Calls             int64   `protobuf:"varint,2,opt,name=calls,proto3" json:"calls,omitempty"`
	TotalTime         float64 `protobuf:"fixed64,3,opt,name=total_time,json=totalTime,proto3" json:"total_time,omitempty"`
	Rows              int64   `protobuf:"varint,4,opt,name=rows,proto3" json:"rows,omitempty"`
	SharedBlksHit     int64   `protobuf:"varint,5,opt,name=shared_blks_hit,json=sharedBlksHit,proto3" json:"shared_blks_hit,omitempty"`
	SharedBlksRead    int64   `protobuf:"varint,6,opt,name=shared_blks_read,json=sharedBlksRead,proto3" json:"shared_blks_read,omitempty"`
	SharedBlksDirtied int64   `protobuf:"varint,7,opt,name=shared_blks_dirtied,json=sharedBlksDirtied,proto3" json:"shared_blks_dirtied,omitempty"`
	SharedBlksWritten int64   `protobuf:"varint,8,opt,name=shared_blks_written,json=sharedBlksWritten,proto3" json:"shared_blks_written,omitempty"`
	LocalBlksHit      int64   `protobuf:"varint,9,opt,name=local_blks_hit,json=localBlksHit,proto3" json:"local_blks_hit,omitempty"`
	LocalBlksRead     int64   `protobuf:"varint,10,opt,name=local_blks_read,json=localBlksRead,proto3" json:"local_blks_read,omitempty"`
	LocalBlksDirtied  int64   `protobuf:"varint,11,opt,name=local_blks_dirtied,json=localBlksDirtied,proto3" json:"local_blks_dirtied,omitempty"`
	LocalBlksWritten  int64   `protobuf:"varint,12,opt,name=local_blks_written,json=localBlksWritten,proto3" json:"local_blks_written,omitempty"`
	TempBlksRead      int64   `protobuf:"varint,13,opt,name=temp_blks_read,json=tempBlksRead,proto3" json:"temp_blks_read,omitempty"`
	TempBlksWritten   int64   `protobuf:"varint,14,opt,name=temp_blks_written,json=tempBlksWritten,proto3" json:"temp_blks_written,omitempty"`
	BlkReadTime       float64 `protobuf:"fixed64,15,opt,name=blk_read_time,json=blkReadTime,proto3" json:"blk_read_time,omitempty"`
	BlkWriteTime      float64 `protobuf:"fixed64,16,opt,name=blk_write_time,json=blkWriteTime,proto3" json:"blk_write_time,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryPlanStatistic) Descriptor deprecated added in v0.62.0

func (*QueryPlanStatistic) Descriptor() ([]byte, []int)

Deprecated: Use QueryPlanStatistic.ProtoReflect.Descriptor instead.

func (*QueryPlanStatistic) GetBlkReadTime added in v0.62.0

func (x *QueryPlanStatistic) GetBlkReadTime() float64

func (*QueryPlanStatistic) GetBlkWriteTime added in v0.62.0

func (x *QueryPlanStatistic) GetBlkWriteTime() float64

func (*QueryPlanStatistic) GetCalls added in v0.62.0

func (x *QueryPlanStatistic) GetCalls() int64

func (*QueryPlanStatistic) GetLocalBlksDirtied added in v0.62.0

func (x *QueryPlanStatistic) GetLocalBlksDirtied() int64

func (*QueryPlanStatistic) GetLocalBlksHit added in v0.62.0

func (x *QueryPlanStatistic) GetLocalBlksHit() int64

func (*QueryPlanStatistic) GetLocalBlksRead added in v0.62.0

func (x *QueryPlanStatistic) GetLocalBlksRead() int64

func (*QueryPlanStatistic) GetLocalBlksWritten added in v0.62.0

func (x *QueryPlanStatistic) GetLocalBlksWritten() int64

func (*QueryPlanStatistic) GetQueryPlanIdx added in v0.62.0

func (x *QueryPlanStatistic) GetQueryPlanIdx() int32

func (*QueryPlanStatistic) GetRows added in v0.62.0

func (x *QueryPlanStatistic) GetRows() int64

func (*QueryPlanStatistic) GetSharedBlksDirtied added in v0.62.0

func (x *QueryPlanStatistic) GetSharedBlksDirtied() int64

func (*QueryPlanStatistic) GetSharedBlksHit added in v0.62.0

func (x *QueryPlanStatistic) GetSharedBlksHit() int64

func (*QueryPlanStatistic) GetSharedBlksRead added in v0.62.0

func (x *QueryPlanStatistic) GetSharedBlksRead() int64

func (*QueryPlanStatistic) GetSharedBlksWritten added in v0.62.0

func (x *QueryPlanStatistic) GetSharedBlksWritten() int64

func (*QueryPlanStatistic) GetTempBlksRead added in v0.62.0

func (x *QueryPlanStatistic) GetTempBlksRead() int64

func (*QueryPlanStatistic) GetTempBlksWritten added in v0.62.0

func (x *QueryPlanStatistic) GetTempBlksWritten() int64

func (*QueryPlanStatistic) GetTotalTime added in v0.62.0

func (x *QueryPlanStatistic) GetTotalTime() float64

func (*QueryPlanStatistic) ProtoMessage added in v0.62.0

func (*QueryPlanStatistic) ProtoMessage()

func (*QueryPlanStatistic) ProtoReflect added in v0.62.0

func (x *QueryPlanStatistic) ProtoReflect() protoreflect.Message

func (*QueryPlanStatistic) Reset added in v0.62.0

func (x *QueryPlanStatistic) Reset()

func (*QueryPlanStatistic) String added in v0.62.0

func (x *QueryPlanStatistic) String() string

type QueryReference

type QueryReference struct {
	DatabaseIdx int32  `protobuf:"varint,1,opt,name=database_idx,json=databaseIdx,proto3" json:"database_idx,omitempty"`
	RoleIdx     int32  `protobuf:"varint,2,opt,name=role_idx,json=roleIdx,proto3" json:"role_idx,omitempty"`
	Fingerprint []byte `protobuf:"bytes,3,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryReference) Descriptor deprecated

func (*QueryReference) Descriptor() ([]byte, []int)

Deprecated: Use QueryReference.ProtoReflect.Descriptor instead.

func (*QueryReference) GetDatabaseIdx

func (x *QueryReference) GetDatabaseIdx() int32

func (*QueryReference) GetFingerprint

func (x *QueryReference) GetFingerprint() []byte

func (*QueryReference) GetRoleIdx

func (x *QueryReference) GetRoleIdx() int32

func (*QueryReference) ProtoMessage

func (*QueryReference) ProtoMessage()

func (*QueryReference) ProtoReflect

func (x *QueryReference) ProtoReflect() protoreflect.Message

func (*QueryReference) Reset

func (x *QueryReference) Reset()

func (*QueryReference) String

func (x *QueryReference) String() string

type QueryRun added in v0.63.0

type QueryRun struct {
	Id         int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	StartedAt  *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	FinishedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=finished_at,json=finishedAt,proto3" json:"finished_at,omitempty"`
	Result     string                 `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"`
	Error      string                 `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"`
	BackendPid int32                  `protobuf:"varint,6,opt,name=backend_pid,json=backendPid,proto3" json:"backend_pid,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryRun) Descriptor deprecated added in v0.63.0

func (*QueryRun) Descriptor() ([]byte, []int)

Deprecated: Use QueryRun.ProtoReflect.Descriptor instead.

func (*QueryRun) GetBackendPid added in v0.63.0

func (x *QueryRun) GetBackendPid() int32

func (*QueryRun) GetError added in v0.63.0

func (x *QueryRun) GetError() string

func (*QueryRun) GetFinishedAt added in v0.63.0

func (x *QueryRun) GetFinishedAt() *timestamppb.Timestamp

func (*QueryRun) GetId added in v0.63.0

func (x *QueryRun) GetId() int64

func (*QueryRun) GetResult added in v0.63.0

func (x *QueryRun) GetResult() string

func (*QueryRun) GetStartedAt added in v0.63.0

func (x *QueryRun) GetStartedAt() *timestamppb.Timestamp

func (*QueryRun) ProtoMessage added in v0.63.0

func (*QueryRun) ProtoMessage()

func (*QueryRun) ProtoReflect added in v0.63.0

func (x *QueryRun) ProtoReflect() protoreflect.Message

func (*QueryRun) Reset added in v0.63.0

func (x *QueryRun) Reset()

func (*QueryRun) String added in v0.63.0

func (x *QueryRun) String() string

type QueryRunSnapshot added in v0.64.0

type QueryRunSnapshot struct {
	QueryRun *QueryRun `protobuf:"bytes,1,opt,name=query_run,json=queryRun,proto3" json:"query_run,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryRunSnapshot) Descriptor deprecated added in v0.64.0

func (*QueryRunSnapshot) Descriptor() ([]byte, []int)

Deprecated: Use QueryRunSnapshot.ProtoReflect.Descriptor instead.

func (*QueryRunSnapshot) GetQueryRun added in v0.64.0

func (x *QueryRunSnapshot) GetQueryRun() *QueryRun

func (*QueryRunSnapshot) ProtoMessage added in v0.64.0

func (*QueryRunSnapshot) ProtoMessage()

func (*QueryRunSnapshot) ProtoReflect added in v0.64.0

func (x *QueryRunSnapshot) ProtoReflect() protoreflect.Message

func (*QueryRunSnapshot) Reset added in v0.64.0

func (x *QueryRunSnapshot) Reset()

func (*QueryRunSnapshot) String added in v0.64.0

func (x *QueryRunSnapshot) String() string

type QueryRunType added in v0.63.0

type QueryRunType int32
const (
	QueryRunType_EXPLAIN QueryRunType = 0 // Future sources: REINDEX, CREATE INDEX, DROP INDEX
)

func (QueryRunType) Descriptor added in v0.63.0

func (QueryRunType) Enum added in v0.63.0

func (x QueryRunType) Enum() *QueryRunType

func (QueryRunType) EnumDescriptor deprecated added in v0.63.0

func (QueryRunType) EnumDescriptor() ([]byte, []int)

Deprecated: Use QueryRunType.Descriptor instead.

func (QueryRunType) Number added in v0.63.0

func (QueryRunType) String added in v0.63.0

func (x QueryRunType) String() string

func (QueryRunType) Type added in v0.63.0

type QuerySample

type QuerySample struct {
	QueryIdx         int32                  `protobuf:"varint,1,opt,name=query_idx,json=queryIdx,proto3" json:"query_idx,omitempty"`
	OccurredAt       *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=occurred_at,json=occurredAt,proto3" json:"occurred_at,omitempty"`
	RuntimeMs        float64                `protobuf:"fixed64,3,opt,name=runtime_ms,json=runtimeMs,proto3" json:"runtime_ms,omitempty"`
	QueryText        string                 `protobuf:"bytes,4,opt,name=query_text,json=queryText,proto3" json:"query_text,omitempty"`
	ParametersLegacy []string               `protobuf:"bytes,5,rep,name=parameters_legacy,json=parametersLegacy,proto3" json:"parameters_legacy,omitempty"` // Deprecated as of Dec 2020, but may still used by older versions of the app
	Parameters       []*NullString          `protobuf:"bytes,6,rep,name=parameters,proto3" json:"parameters,omitempty"`
	LogLineUuid      string                 `protobuf:"bytes,10,opt,name=log_line_uuid,json=logLineUuid,proto3" json:"log_line_uuid,omitempty"`
	// Note: For historic reasons this contains an inline version of QueryExplainInformation
	HasExplain    bool                      `protobuf:"varint,20,opt,name=has_explain,json=hasExplain,proto3" json:"has_explain,omitempty"`
	ExplainOutput string                    `protobuf:"bytes,21,opt,name=explain_output,json=explainOutput,proto3" json:"explain_output,omitempty"`
	ExplainError  string                    `protobuf:"bytes,22,opt,name=explain_error,json=explainError,proto3" json:"explain_error,omitempty"`
	ExplainFormat QuerySample_ExplainFormat `` /* 153-byte string literal not displayed */
	ExplainSource QuerySample_ExplainSource `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*QuerySample) Descriptor deprecated

func (*QuerySample) Descriptor() ([]byte, []int)

Deprecated: Use QuerySample.ProtoReflect.Descriptor instead.

func (*QuerySample) GetExplainError

func (x *QuerySample) GetExplainError() string

func (*QuerySample) GetExplainFormat

func (x *QuerySample) GetExplainFormat() QuerySample_ExplainFormat

func (*QuerySample) GetExplainOutput

func (x *QuerySample) GetExplainOutput() string

func (*QuerySample) GetExplainSource

func (x *QuerySample) GetExplainSource() QuerySample_ExplainSource

func (*QuerySample) GetHasExplain

func (x *QuerySample) GetHasExplain() bool

func (*QuerySample) GetLogLineUuid

func (x *QuerySample) GetLogLineUuid() string

func (*QuerySample) GetOccurredAt

func (x *QuerySample) GetOccurredAt() *timestamppb.Timestamp

func (*QuerySample) GetParameters

func (x *QuerySample) GetParameters() []*NullString

func (*QuerySample) GetParametersLegacy

func (x *QuerySample) GetParametersLegacy() []string

func (*QuerySample) GetQueryIdx

func (x *QuerySample) GetQueryIdx() int32

func (*QuerySample) GetQueryText

func (x *QuerySample) GetQueryText() string

func (*QuerySample) GetRuntimeMs

func (x *QuerySample) GetRuntimeMs() float64

func (*QuerySample) ProtoMessage

func (*QuerySample) ProtoMessage()

func (*QuerySample) ProtoReflect

func (x *QuerySample) ProtoReflect() protoreflect.Message

func (*QuerySample) Reset

func (x *QuerySample) Reset()

func (*QuerySample) String

func (x *QuerySample) String() string

type QuerySample_ExplainFormat

type QuerySample_ExplainFormat int32
const (
	QuerySample_TEXT_EXPLAIN_FORMAT QuerySample_ExplainFormat = 0
	QuerySample_JSON_EXPLAIN_FORMAT QuerySample_ExplainFormat = 1
)

func (QuerySample_ExplainFormat) Descriptor

func (QuerySample_ExplainFormat) Enum

func (QuerySample_ExplainFormat) EnumDescriptor deprecated

func (QuerySample_ExplainFormat) EnumDescriptor() ([]byte, []int)

Deprecated: Use QuerySample_ExplainFormat.Descriptor instead.

func (QuerySample_ExplainFormat) Number

func (QuerySample_ExplainFormat) String

func (x QuerySample_ExplainFormat) String() string

func (QuerySample_ExplainFormat) Type

type QuerySample_ExplainSource

type QuerySample_ExplainSource int32
const (
	QuerySample_STATEMENT_LOG_EXPLAIN_SOURCE QuerySample_ExplainSource = 0 // Generated based on statement log (log_min_duration_statement)
	QuerySample_AUTO_EXPLAIN_EXPLAIN_SOURCE  QuerySample_ExplainSource = 1 // Generated by auto_explain
	QuerySample_EXTERNAL_EXPLAIN_SOURCE      QuerySample_ExplainSource = 2 // EXPLAIN generated through external process (e.g. operator running EXPLAIN)
	QuerySample_GENERIC_EXPLAIN_SOURCE       QuerySample_ExplainSource = 3 // EXPLAIN generated based on unknown constant parameters
)

func (QuerySample_ExplainSource) Descriptor

func (QuerySample_ExplainSource) Enum

func (QuerySample_ExplainSource) EnumDescriptor deprecated

func (QuerySample_ExplainSource) EnumDescriptor() ([]byte, []int)

Deprecated: Use QuerySample_ExplainSource.Descriptor instead.

func (QuerySample_ExplainSource) Number

func (QuerySample_ExplainSource) String

func (x QuerySample_ExplainSource) String() string

func (QuerySample_ExplainSource) Type

type QueryStatistic

type QueryStatistic struct {
	QueryIdx          int32   `protobuf:"varint,1,opt,name=query_idx,json=queryIdx,proto3" json:"query_idx,omitempty"`
	Calls             int64   `protobuf:"varint,2,opt,name=calls,proto3" json:"calls,omitempty"`
	TotalTime         float64 `protobuf:"fixed64,3,opt,name=total_time,json=totalTime,proto3" json:"total_time,omitempty"`
	Rows              int64   `protobuf:"varint,4,opt,name=rows,proto3" json:"rows,omitempty"`
	SharedBlksHit     int64   `protobuf:"varint,5,opt,name=shared_blks_hit,json=sharedBlksHit,proto3" json:"shared_blks_hit,omitempty"`
	SharedBlksRead    int64   `protobuf:"varint,6,opt,name=shared_blks_read,json=sharedBlksRead,proto3" json:"shared_blks_read,omitempty"`
	SharedBlksDirtied int64   `protobuf:"varint,7,opt,name=shared_blks_dirtied,json=sharedBlksDirtied,proto3" json:"shared_blks_dirtied,omitempty"`
	SharedBlksWritten int64   `protobuf:"varint,8,opt,name=shared_blks_written,json=sharedBlksWritten,proto3" json:"shared_blks_written,omitempty"`
	LocalBlksHit      int64   `protobuf:"varint,9,opt,name=local_blks_hit,json=localBlksHit,proto3" json:"local_blks_hit,omitempty"`
	LocalBlksRead     int64   `protobuf:"varint,10,opt,name=local_blks_read,json=localBlksRead,proto3" json:"local_blks_read,omitempty"`
	LocalBlksDirtied  int64   `protobuf:"varint,11,opt,name=local_blks_dirtied,json=localBlksDirtied,proto3" json:"local_blks_dirtied,omitempty"`
	LocalBlksWritten  int64   `protobuf:"varint,12,opt,name=local_blks_written,json=localBlksWritten,proto3" json:"local_blks_written,omitempty"`
	TempBlksRead      int64   `protobuf:"varint,13,opt,name=temp_blks_read,json=tempBlksRead,proto3" json:"temp_blks_read,omitempty"`
	TempBlksWritten   int64   `protobuf:"varint,14,opt,name=temp_blks_written,json=tempBlksWritten,proto3" json:"temp_blks_written,omitempty"`
	BlkReadTime       float64 `protobuf:"fixed64,15,opt,name=blk_read_time,json=blkReadTime,proto3" json:"blk_read_time,omitempty"`
	BlkWriteTime      float64 `protobuf:"fixed64,16,opt,name=blk_write_time,json=blkWriteTime,proto3" json:"blk_write_time,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryStatistic) Descriptor deprecated

func (*QueryStatistic) Descriptor() ([]byte, []int)

Deprecated: Use QueryStatistic.ProtoReflect.Descriptor instead.

func (*QueryStatistic) GetBlkReadTime

func (x *QueryStatistic) GetBlkReadTime() float64

func (*QueryStatistic) GetBlkWriteTime

func (x *QueryStatistic) GetBlkWriteTime() float64

func (*QueryStatistic) GetCalls

func (x *QueryStatistic) GetCalls() int64

func (*QueryStatistic) GetLocalBlksDirtied

func (x *QueryStatistic) GetLocalBlksDirtied() int64

func (*QueryStatistic) GetLocalBlksHit

func (x *QueryStatistic) GetLocalBlksHit() int64

func (*QueryStatistic) GetLocalBlksRead

func (x *QueryStatistic) GetLocalBlksRead() int64

func (*QueryStatistic) GetLocalBlksWritten

func (x *QueryStatistic) GetLocalBlksWritten() int64

func (*QueryStatistic) GetQueryIdx

func (x *QueryStatistic) GetQueryIdx() int32

func (*QueryStatistic) GetRows

func (x *QueryStatistic) GetRows() int64

func (*QueryStatistic) GetSharedBlksDirtied

func (x *QueryStatistic) GetSharedBlksDirtied() int64

func (*QueryStatistic) GetSharedBlksHit

func (x *QueryStatistic) GetSharedBlksHit() int64

func (*QueryStatistic) GetSharedBlksRead

func (x *QueryStatistic) GetSharedBlksRead() int64

func (*QueryStatistic) GetSharedBlksWritten

func (x *QueryStatistic) GetSharedBlksWritten() int64

func (*QueryStatistic) GetTempBlksRead

func (x *QueryStatistic) GetTempBlksRead() int64

func (*QueryStatistic) GetTempBlksWritten

func (x *QueryStatistic) GetTempBlksWritten() int64

func (*QueryStatistic) GetTotalTime

func (x *QueryStatistic) GetTotalTime() float64

func (*QueryStatistic) ProtoMessage

func (*QueryStatistic) ProtoMessage()

func (*QueryStatistic) ProtoReflect

func (x *QueryStatistic) ProtoReflect() protoreflect.Message

func (*QueryStatistic) Reset

func (x *QueryStatistic) Reset()

func (*QueryStatistic) String

func (x *QueryStatistic) String() string

type RelationEvent

type RelationEvent struct {
	RelationIdx           int32                   `protobuf:"varint,1,opt,name=relation_idx,json=relationIdx,proto3" json:"relation_idx,omitempty"`
	Type                  RelationEvent_EventType `protobuf:"varint,2,opt,name=type,proto3,enum=pganalyze.collector.RelationEvent_EventType" json:"type,omitempty"`
	OccurredAt            *timestamppb.Timestamp  `protobuf:"bytes,3,opt,name=occurred_at,json=occurredAt,proto3" json:"occurred_at,omitempty"`
	ApproximateOccurredAt bool                    `` // In case the "occurred_at" field is approximate, because more than one kind of this event happened during the snapshot
	/* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RelationEvent) Descriptor deprecated

func (*RelationEvent) Descriptor() ([]byte, []int)

Deprecated: Use RelationEvent.ProtoReflect.Descriptor instead.

func (*RelationEvent) GetApproximateOccurredAt

func (x *RelationEvent) GetApproximateOccurredAt() bool

func (*RelationEvent) GetOccurredAt

func (x *RelationEvent) GetOccurredAt() *timestamppb.Timestamp

func (*RelationEvent) GetRelationIdx

func (x *RelationEvent) GetRelationIdx() int32

func (*RelationEvent) GetType

func (*RelationEvent) ProtoMessage

func (*RelationEvent) ProtoMessage()

func (*RelationEvent) ProtoReflect

func (x *RelationEvent) ProtoReflect() protoreflect.Message

func (*RelationEvent) Reset

func (x *RelationEvent) Reset()

func (*RelationEvent) String

func (x *RelationEvent) String() string

type RelationEvent_EventType

type RelationEvent_EventType int32
const (
	RelationEvent_MANUAL_VACUUM  RelationEvent_EventType = 0 // Manually vacuumed (not counting VACUUM FULL)
	RelationEvent_AUTO_VACUUM    RelationEvent_EventType = 1 // Vacuumed by the autovacuum daemon
	RelationEvent_MANUAL_ANALYZE RelationEvent_EventType = 2 // Manually analyzed
	RelationEvent_AUTO_ANALYZE   RelationEvent_EventType = 3 // Analyzed by the autovacuum daemon
)

func (RelationEvent_EventType) Descriptor

func (RelationEvent_EventType) Enum

func (RelationEvent_EventType) EnumDescriptor deprecated

func (RelationEvent_EventType) EnumDescriptor() ([]byte, []int)

Deprecated: Use RelationEvent_EventType.Descriptor instead.

func (RelationEvent_EventType) Number

func (RelationEvent_EventType) String

func (x RelationEvent_EventType) String() string

func (RelationEvent_EventType) Type

type RelationInformation

type RelationInformation struct {
	RelationIdx            int32                             `protobuf:"varint,1,opt,name=relation_idx,json=relationIdx,proto3" json:"relation_idx,omitempty"`
	RelationType           string                            `protobuf:"bytes,2,opt,name=relation_type,json=relationType,proto3" json:"relation_type,omitempty"`
	ViewDefinition         *NullString                       `protobuf:"bytes,3,opt,name=view_definition,json=viewDefinition,proto3" json:"view_definition,omitempty"`
	Columns                []*RelationInformation_Column     `protobuf:"bytes,4,rep,name=columns,proto3" json:"columns,omitempty"`
	Constraints            []*RelationInformation_Constraint `protobuf:"bytes,5,rep,name=constraints,proto3" json:"constraints,omitempty"`
	PersistenceType        string                            `protobuf:"bytes,6,opt,name=persistence_type,json=persistenceType,proto3" json:"persistence_type,omitempty"`
	Fillfactor             int32                             `protobuf:"varint,7,opt,name=fillfactor,proto3" json:"fillfactor,omitempty"`
	HasOids                bool                              `protobuf:"varint,8,opt,name=has_oids,json=hasOids,proto3" json:"has_oids,omitempty"`
	HasInheritanceChildren bool                              `` /* 130-byte string literal not displayed */
	HasToast               bool                              `protobuf:"varint,10,opt,name=has_toast,json=hasToast,proto3" json:"has_toast,omitempty"`
	// True if another process is currently holding an AccessExclusiveLock on this
	// relation, this also means we won't have columns/index/constraints information
	ExclusivelyLocked bool                                     `protobuf:"varint,13,opt,name=exclusively_locked,json=exclusivelyLocked,proto3" json:"exclusively_locked,omitempty"`
	Options           map[string]string                        `` /* 156-byte string literal not displayed */
	ParentRelationIdx int32                                    `protobuf:"varint,15,opt,name=parent_relation_idx,json=parentRelationIdx,proto3" json:"parent_relation_idx,omitempty"`
	HasParentRelation bool                                     `protobuf:"varint,16,opt,name=has_parent_relation,json=hasParentRelation,proto3" json:"has_parent_relation,omitempty"`
	PartitionBoundary string                                   `protobuf:"bytes,17,opt,name=partition_boundary,json=partitionBoundary,proto3" json:"partition_boundary,omitempty"`
	PartitionStrategy RelationInformation_PartitionStrategy    ``                                                                                                                       /* 177-byte string literal not displayed */
	PartitionColumns  []int32                                  `protobuf:"varint,19,rep,packed,name=partition_columns,json=partitionColumns,proto3" json:"partition_columns,omitempty"` // list of either column index (when corresponding partition field is a column) or 0 (when expression)
	PartitionedBy     string                                   `protobuf:"bytes,20,opt,name=partitioned_by,json=partitionedBy,proto3" json:"partitioned_by,omitempty"`
	ToastName         *NullString                              `protobuf:"bytes,21,opt,name=toast_name,json=toastName,proto3" json:"toast_name,omitempty"`
	ExtendedStats     []*RelationInformation_ExtendedStatistic `protobuf:"bytes,22,rep,name=extended_stats,json=extendedStats,proto3" json:"extended_stats,omitempty"`
	// contains filtered or unexported fields
}

func (*RelationInformation) Descriptor deprecated

func (*RelationInformation) Descriptor() ([]byte, []int)

Deprecated: Use RelationInformation.ProtoReflect.Descriptor instead.

func (*RelationInformation) GetColumns

func (*RelationInformation) GetConstraints

func (x *RelationInformation) GetConstraints() []*RelationInformation_Constraint

func (*RelationInformation) GetExclusivelyLocked

func (x *RelationInformation) GetExclusivelyLocked() bool

func (*RelationInformation) GetExtendedStats added in v0.53.0

func (*RelationInformation) GetFillfactor

func (x *RelationInformation) GetFillfactor() int32

func (*RelationInformation) GetHasInheritanceChildren

func (x *RelationInformation) GetHasInheritanceChildren() bool

func (*RelationInformation) GetHasOids

func (x *RelationInformation) GetHasOids() bool

func (*RelationInformation) GetHasParentRelation

func (x *RelationInformation) GetHasParentRelation() bool

func (*RelationInformation) GetHasToast

func (x *RelationInformation) GetHasToast() bool

func (*RelationInformation) GetOptions

func (x *RelationInformation) GetOptions() map[string]string

func (*RelationInformation) GetParentRelationIdx

func (x *RelationInformation) GetParentRelationIdx() int32

func (*RelationInformation) GetPartitionBoundary

func (x *RelationInformation) GetPartitionBoundary() string

func (*RelationInformation) GetPartitionColumns

func (x *RelationInformation) GetPartitionColumns() []int32

func (*RelationInformation) GetPartitionStrategy

func (*RelationInformation) GetPartitionedBy

func (x *RelationInformation) GetPartitionedBy() string

func (*RelationInformation) GetPersistenceType

func (x *RelationInformation) GetPersistenceType() string

func (*RelationInformation) GetRelationIdx

func (x *RelationInformation) GetRelationIdx() int32

func (*RelationInformation) GetRelationType

func (x *RelationInformation) GetRelationType() string

func (*RelationInformation) GetToastName added in v0.50.0

func (x *RelationInformation) GetToastName() *NullString

func (*RelationInformation) GetViewDefinition

func (x *RelationInformation) GetViewDefinition() *NullString

func (*RelationInformation) ProtoMessage

func (*RelationInformation) ProtoMessage()

func (*RelationInformation) ProtoReflect

func (x *RelationInformation) ProtoReflect() protoreflect.Message

func (*RelationInformation) Reset

func (x *RelationInformation) Reset()

func (*RelationInformation) String

func (x *RelationInformation) String() string

type RelationInformation_Column

type RelationInformation_Column struct {
	Name              string                                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	DataType          string                                 `protobuf:"bytes,3,opt,name=data_type,json=dataType,proto3" json:"data_type,omitempty"`
	DefaultValue      *NullString                            `protobuf:"bytes,4,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
	NotNull           bool                                   `protobuf:"varint,5,opt,name=not_null,json=notNull,proto3" json:"not_null,omitempty"`
	Position          int32                                  `protobuf:"varint,6,opt,name=position,proto3" json:"position,omitempty"`
	Statistics        []*RelationInformation_ColumnStatistic `protobuf:"bytes,7,rep,name=statistics,proto3" json:"statistics,omitempty"`
	DataTypeCustomIdx *NullInt32                             `protobuf:"bytes,8,opt,name=data_type_custom_idx,json=dataTypeCustomIdx,proto3" json:"data_type_custom_idx,omitempty"`
	// contains filtered or unexported fields
}

func (*RelationInformation_Column) Descriptor deprecated

func (*RelationInformation_Column) Descriptor() ([]byte, []int)

Deprecated: Use RelationInformation_Column.ProtoReflect.Descriptor instead.

func (*RelationInformation_Column) GetDataType

func (x *RelationInformation_Column) GetDataType() string

func (*RelationInformation_Column) GetDataTypeCustomIdx added in v0.41.0

func (x *RelationInformation_Column) GetDataTypeCustomIdx() *NullInt32

func (*RelationInformation_Column) GetDefaultValue

func (x *RelationInformation_Column) GetDefaultValue() *NullString

func (*RelationInformation_Column) GetName

func (x *RelationInformation_Column) GetName() string

func (*RelationInformation_Column) GetNotNull

func (x *RelationInformation_Column) GetNotNull() bool

func (*RelationInformation_Column) GetPosition

func (x *RelationInformation_Column) GetPosition() int32

func (*RelationInformation_Column) GetStatistics added in v0.41.0

func (*RelationInformation_Column) ProtoMessage

func (*RelationInformation_Column) ProtoMessage()

func (*RelationInformation_Column) ProtoReflect

func (*RelationInformation_Column) Reset

func (x *RelationInformation_Column) Reset()

func (*RelationInformation_Column) String

func (x *RelationInformation_Column) String() string

type RelationInformation_ColumnStatistic added in v0.41.0

type RelationInformation_ColumnStatistic struct {
	Inherited   bool        `protobuf:"varint,1,opt,name=inherited,proto3" json:"inherited,omitempty"`
	NullFrac    float64     `protobuf:"fixed64,2,opt,name=null_frac,json=nullFrac,proto3" json:"null_frac,omitempty"`
	AvgWidth    int32       `protobuf:"varint,3,opt,name=avg_width,json=avgWidth,proto3" json:"avg_width,omitempty"`
	NDistinct   float64     `protobuf:"fixed64,4,opt,name=n_distinct,json=nDistinct,proto3" json:"n_distinct,omitempty"`
	Correlation *NullDouble `protobuf:"bytes,5,opt,name=correlation,proto3" json:"correlation,omitempty"`
	// contains filtered or unexported fields
}

func (*RelationInformation_ColumnStatistic) Descriptor deprecated added in v0.41.0

func (*RelationInformation_ColumnStatistic) Descriptor() ([]byte, []int)

Deprecated: Use RelationInformation_ColumnStatistic.ProtoReflect.Descriptor instead.

func (*RelationInformation_ColumnStatistic) GetAvgWidth added in v0.41.0

func (x *RelationInformation_ColumnStatistic) GetAvgWidth() int32

func (*RelationInformation_ColumnStatistic) GetCorrelation added in v0.41.0

func (x *RelationInformation_ColumnStatistic) GetCorrelation() *NullDouble

func (*RelationInformation_ColumnStatistic) GetInherited added in v0.41.0

func (x *RelationInformation_ColumnStatistic) GetInherited() bool

func (*RelationInformation_ColumnStatistic) GetNDistinct added in v0.41.0

func (x *RelationInformation_ColumnStatistic) GetNDistinct() float64

func (*RelationInformation_ColumnStatistic) GetNullFrac added in v0.41.0

func (*RelationInformation_ColumnStatistic) ProtoMessage added in v0.41.0

func (*RelationInformation_ColumnStatistic) ProtoMessage()

func (*RelationInformation_ColumnStatistic) ProtoReflect added in v0.41.0

func (*RelationInformation_ColumnStatistic) Reset added in v0.41.0

func (*RelationInformation_ColumnStatistic) String added in v0.41.0

type RelationInformation_Constraint

type RelationInformation_Constraint struct {
	ForeignRelationIdx int32   `protobuf:"varint,1,opt,name=foreign_relation_idx,json=foreignRelationIdx,proto3" json:"foreign_relation_idx,omitempty"` // If a foreign key, the referenced table
	Name               string  `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`                                                          // Constraint name (not necessarily unique!)
	Type               string  `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`                                                          // c = check constraint, f = foreign key constraint, p = primary key constraint, u = unique constraint, t = constraint trigger, x = exclusion constraint
	ConstraintDef      string  `protobuf:"bytes,4,opt,name=constraint_def,json=constraintDef,proto3" json:"constraint_def,omitempty"`                   // Human-readable representation of the expression
	Columns            []int32 `protobuf:"varint,5,rep,packed,name=columns,proto3" json:"columns,omitempty"`                                            // If a table constraint (including foreign keys, but not constraint triggers), list of the constrained columns
	ForeignColumns     []int32 `protobuf:"varint,6,rep,packed,name=foreign_columns,json=foreignColumns,proto3" json:"foreign_columns,omitempty"`        // If a foreign key, list of the referenced columns
	ForeignUpdateType  string  `protobuf:"bytes,7,opt,name=foreign_update_type,json=foreignUpdateType,proto3" json:"foreign_update_type,omitempty"`     // Foreign key update action code: a = no action, r = restrict, c = cascade, n = set null, d = set default
	ForeignDeleteType  string  `protobuf:"bytes,8,opt,name=foreign_delete_type,json=foreignDeleteType,proto3" json:"foreign_delete_type,omitempty"`     // Foreign key deletion action code: a = no action, r = restrict, c = cascade, n = set null, d = set default
	ForeignMatchType   string  `protobuf:"bytes,9,opt,name=foreign_match_type,json=foreignMatchType,proto3" json:"foreign_match_type,omitempty"`        // Foreign key match type: f = full, p = partial, s = simple
	// contains filtered or unexported fields
}

func (*RelationInformation_Constraint) Descriptor deprecated

func (*RelationInformation_Constraint) Descriptor() ([]byte, []int)

Deprecated: Use RelationInformation_Constraint.ProtoReflect.Descriptor instead.

func (*RelationInformation_Constraint) GetColumns

func (x *RelationInformation_Constraint) GetColumns() []int32

func (*RelationInformation_Constraint) GetConstraintDef

func (x *RelationInformation_Constraint) GetConstraintDef() string

func (*RelationInformation_Constraint) GetForeignColumns

func (x *RelationInformation_Constraint) GetForeignColumns() []int32

func (*RelationInformation_Constraint) GetForeignDeleteType

func (x *RelationInformation_Constraint) GetForeignDeleteType() string

func (*RelationInformation_Constraint) GetForeignMatchType

func (x *RelationInformation_Constraint) GetForeignMatchType() string

func (*RelationInformation_Constraint) GetForeignRelationIdx

func (x *RelationInformation_Constraint) GetForeignRelationIdx() int32

func (*RelationInformation_Constraint) GetForeignUpdateType

func (x *RelationInformation_Constraint) GetForeignUpdateType() string

func (*RelationInformation_Constraint) GetName

func (*RelationInformation_Constraint) GetType

func (*RelationInformation_Constraint) ProtoMessage

func (*RelationInformation_Constraint) ProtoMessage()

func (*RelationInformation_Constraint) ProtoReflect

func (*RelationInformation_Constraint) Reset

func (x *RelationInformation_Constraint) Reset()

func (*RelationInformation_Constraint) String

type RelationInformation_ExtendedStatistic added in v0.53.0

type RelationInformation_ExtendedStatistic struct {
	StatisticsSchema string   `protobuf:"bytes,1,opt,name=statistics_schema,json=statisticsSchema,proto3" json:"statistics_schema,omitempty"` // Schema this statistics object is located in (may be different than the table's schema)
	StatisticsName   string   `protobuf:"bytes,2,opt,name=statistics_name,json=statisticsName,proto3" json:"statistics_name,omitempty"`       // Name of the statistics object (must be unique within the schema)
	Columns          []int32  `protobuf:"varint,3,rep,packed,name=columns,proto3" json:"columns,omitempty"`                                   // Columns that are analyzed for this statistics object
	Expressions      []string `protobuf:"bytes,4,rep,name=expressions,proto3" json:"expressions,omitempty"`                                   // Expressions (represented as SQL) that are analyzed for this statistics object
	Kind             []string `protobuf:"bytes,5,rep,name=kind,proto3" json:"kind,omitempty"`                                                 // Enabled statistics kinds: d = n-distinct statistics, f = functional dependency statistics, m = most common values (MCV) list statistics, e = expression statistics
	HasData          bool     `protobuf:"varint,6,opt,name=has_data,json=hasData,proto3" json:"has_data,omitempty"`                           // Whether data was retrieved successfully - ANALYZE must have been run, and we must have had enough permissions to read data
	// Fields only set when data was retrieved successfully
	Inherited    bool        `protobuf:"varint,10,opt,name=inherited,proto3" json:"inherited,omitempty"`
	NDistinct    *NullString `protobuf:"bytes,11,opt,name=n_distinct,json=nDistinct,proto3" json:"n_distinct,omitempty"`
	Dependencies *NullString `protobuf:"bytes,12,opt,name=dependencies,proto3" json:"dependencies,omitempty"`
	// contains filtered or unexported fields
}

func (*RelationInformation_ExtendedStatistic) Descriptor deprecated added in v0.53.0

func (*RelationInformation_ExtendedStatistic) Descriptor() ([]byte, []int)

Deprecated: Use RelationInformation_ExtendedStatistic.ProtoReflect.Descriptor instead.

func (*RelationInformation_ExtendedStatistic) GetColumns added in v0.53.0

func (x *RelationInformation_ExtendedStatistic) GetColumns() []int32

func (*RelationInformation_ExtendedStatistic) GetDependencies added in v0.53.0

func (x *RelationInformation_ExtendedStatistic) GetDependencies() *NullString

func (*RelationInformation_ExtendedStatistic) GetExpressions added in v0.53.0

func (x *RelationInformation_ExtendedStatistic) GetExpressions() []string

func (*RelationInformation_ExtendedStatistic) GetHasData added in v0.53.0

func (*RelationInformation_ExtendedStatistic) GetInherited added in v0.53.0

func (x *RelationInformation_ExtendedStatistic) GetInherited() bool

func (*RelationInformation_ExtendedStatistic) GetKind added in v0.53.0

func (*RelationInformation_ExtendedStatistic) GetNDistinct added in v0.53.0

func (*RelationInformation_ExtendedStatistic) GetStatisticsName added in v0.53.0

func (x *RelationInformation_ExtendedStatistic) GetStatisticsName() string

func (*RelationInformation_ExtendedStatistic) GetStatisticsSchema added in v0.53.0

func (x *RelationInformation_ExtendedStatistic) GetStatisticsSchema() string

func (*RelationInformation_ExtendedStatistic) ProtoMessage added in v0.53.0

func (*RelationInformation_ExtendedStatistic) ProtoMessage()

func (*RelationInformation_ExtendedStatistic) ProtoReflect added in v0.53.0

func (*RelationInformation_ExtendedStatistic) Reset added in v0.53.0

func (*RelationInformation_ExtendedStatistic) String added in v0.53.0

type RelationInformation_PartitionStrategy

type RelationInformation_PartitionStrategy int32
const (
	RelationInformation_UNKNOWN RelationInformation_PartitionStrategy = 0
	RelationInformation_RANGE   RelationInformation_PartitionStrategy = 1
	RelationInformation_LIST    RelationInformation_PartitionStrategy = 2
	RelationInformation_HASH    RelationInformation_PartitionStrategy = 3
)

func (RelationInformation_PartitionStrategy) Descriptor

func (RelationInformation_PartitionStrategy) Enum

func (RelationInformation_PartitionStrategy) EnumDescriptor deprecated

func (RelationInformation_PartitionStrategy) EnumDescriptor() ([]byte, []int)

Deprecated: Use RelationInformation_PartitionStrategy.Descriptor instead.

func (RelationInformation_PartitionStrategy) Number

func (RelationInformation_PartitionStrategy) String

func (RelationInformation_PartitionStrategy) Type

type RelationReference

type RelationReference struct {
	DatabaseIdx  int32  `protobuf:"varint,1,opt,name=database_idx,json=databaseIdx,proto3" json:"database_idx,omitempty"`
	SchemaName   string `protobuf:"bytes,2,opt,name=schema_name,json=schemaName,proto3" json:"schema_name,omitempty"`
	RelationName string `protobuf:"bytes,3,opt,name=relation_name,json=relationName,proto3" json:"relation_name,omitempty"`
	// contains filtered or unexported fields
}

func (*RelationReference) Descriptor deprecated

func (*RelationReference) Descriptor() ([]byte, []int)

Deprecated: Use RelationReference.ProtoReflect.Descriptor instead.

func (*RelationReference) GetDatabaseIdx

func (x *RelationReference) GetDatabaseIdx() int32

func (*RelationReference) GetRelationName

func (x *RelationReference) GetRelationName() string

func (*RelationReference) GetSchemaName

func (x *RelationReference) GetSchemaName() string

func (*RelationReference) ProtoMessage

func (*RelationReference) ProtoMessage()

func (*RelationReference) ProtoReflect

func (x *RelationReference) ProtoReflect() protoreflect.Message

func (*RelationReference) Reset

func (x *RelationReference) Reset()

func (*RelationReference) String

func (x *RelationReference) String() string

type RelationStatistic

type RelationStatistic struct {
	RelationIdx      int32          `protobuf:"varint,1,opt,name=relation_idx,json=relationIdx,proto3" json:"relation_idx,omitempty"`
	SizeBytes        int64          `protobuf:"varint,2,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`                           // On-disk size including FSM and VM, plus TOAST table if any, excluding indices
	SeqScan          int64          `protobuf:"varint,3,opt,name=seq_scan,json=seqScan,proto3" json:"seq_scan,omitempty"`                                 // Number of sequential scans initiated on this table
	SeqTupRead       int64          `protobuf:"varint,4,opt,name=seq_tup_read,json=seqTupRead,proto3" json:"seq_tup_read,omitempty"`                      // Number of live rows fetched by sequential scans
	IdxScan          int64          `protobuf:"varint,5,opt,name=idx_scan,json=idxScan,proto3" json:"idx_scan,omitempty"`                                 // Number of index scans initiated on this table
	IdxTupFetch      int64          `protobuf:"varint,6,opt,name=idx_tup_fetch,json=idxTupFetch,proto3" json:"idx_tup_fetch,omitempty"`                   // Number of live rows fetched by index scans
	NTupIns          int64          `protobuf:"varint,7,opt,name=n_tup_ins,json=nTupIns,proto3" json:"n_tup_ins,omitempty"`                               // Number of rows inserted
	NTupUpd          int64          `protobuf:"varint,8,opt,name=n_tup_upd,json=nTupUpd,proto3" json:"n_tup_upd,omitempty"`                               // Number of rows updated
	NTupDel          int64          `protobuf:"varint,9,opt,name=n_tup_del,json=nTupDel,proto3" json:"n_tup_del,omitempty"`                               // Number of rows deleted
	NTupHotUpd       int64          `protobuf:"varint,10,opt,name=n_tup_hot_upd,json=nTupHotUpd,proto3" json:"n_tup_hot_upd,omitempty"`                   // Number of rows HOT updated (i.e., with no separate index update required)
	NLiveTup         int64          `protobuf:"varint,11,opt,name=n_live_tup,json=nLiveTup,proto3" json:"n_live_tup,omitempty"`                           // Estimated number of live rows
	NDeadTup         int64          `protobuf:"varint,12,opt,name=n_dead_tup,json=nDeadTup,proto3" json:"n_dead_tup,omitempty"`                           // Estimated number of dead rows
	NModSinceAnalyze int64          `protobuf:"varint,13,opt,name=n_mod_since_analyze,json=nModSinceAnalyze,proto3" json:"n_mod_since_analyze,omitempty"` // Estimated number of rows modified since this table was last analyzed
	NInsSinceVacuum  int64          `protobuf:"varint,14,opt,name=n_ins_since_vacuum,json=nInsSinceVacuum,proto3" json:"n_ins_since_vacuum,omitempty"`    // Estimated number of rows inserted since this table was last vacuumed
	HeapBlksRead     int64          `protobuf:"varint,18,opt,name=heap_blks_read,json=heapBlksRead,proto3" json:"heap_blks_read,omitempty"`               // Number of disk blocks read from this table
	HeapBlksHit      int64          `protobuf:"varint,19,opt,name=heap_blks_hit,json=heapBlksHit,proto3" json:"heap_blks_hit,omitempty"`                  // Number of buffer hits in this table
	IdxBlksRead      int64          `protobuf:"varint,20,opt,name=idx_blks_read,json=idxBlksRead,proto3" json:"idx_blks_read,omitempty"`                  // Number of disk blocks read from all indexes on this table
	IdxBlksHit       int64          `protobuf:"varint,21,opt,name=idx_blks_hit,json=idxBlksHit,proto3" json:"idx_blks_hit,omitempty"`                     // Number of buffer hits in all indexes on this table
	ToastBlksRead    int64          `protobuf:"varint,22,opt,name=toast_blks_read,json=toastBlksRead,proto3" json:"toast_blks_read,omitempty"`            // Number of disk blocks read from this table's TOAST table (if any)
	ToastBlksHit     int64          `protobuf:"varint,23,opt,name=toast_blks_hit,json=toastBlksHit,proto3" json:"toast_blks_hit,omitempty"`               // Number of buffer hits in this table's TOAST table (if any)
	TidxBlksRead     int64          `protobuf:"varint,24,opt,name=tidx_blks_read,json=tidxBlksRead,proto3" json:"tidx_blks_read,omitempty"`               // Number of disk blocks read from this table's TOAST table indexes (if any)
	TidxBlksHit      int64          `protobuf:"varint,25,opt,name=tidx_blks_hit,json=tidxBlksHit,proto3" json:"tidx_blks_hit,omitempty"`                  // Number of buffer hits in this table's TOAST table indexes (if any)
	ToastSizeBytes   int64          `protobuf:"varint,26,opt,name=toast_size_bytes,json=toastSizeBytes,proto3" json:"toast_size_bytes,omitempty"`         // TOAST table and TOAST index size (included in size_bytes as well)
	AnalyzedAt       *NullTimestamp `protobuf:"bytes,27,opt,name=analyzed_at,json=analyzedAt,proto3" json:"analyzed_at,omitempty"`
	FrozenxidAge     int32          `protobuf:"varint,30,opt,name=frozenxid_age,json=frozenxidAge,proto3" json:"frozenxid_age,omitempty"` // The age of frozen xact ID for this relation (relative to latest stable xid)
	MinmxidAge       int32          `protobuf:"varint,31,opt,name=minmxid_age,json=minmxidAge,proto3" json:"minmxid_age,omitempty"`       // The age of minimum multixact ID for this relation (relative to latest stable mxid)
	// Statistics that are infrequently updated (e.g. by VACUUM, ANALYZE, and a few DDL commands)
	Relpages         int32          `protobuf:"varint,40,opt,name=relpages,proto3" json:"relpages,omitempty"`                                           // Size of the on-disk representation of this table in pages (of size BLCKSZ)
	Reltuples        float32        `protobuf:"fixed32,41,opt,name=reltuples,proto3" json:"reltuples,omitempty"`                                        // Number of live rows in the table. -1 indicating that the row count is unknown
	Relallvisible    int32          `protobuf:"varint,42,opt,name=relallvisible,proto3" json:"relallvisible,omitempty"`                                 // Number of pages that are marked all-visible in the table's visibility map
	Relfrozenxid     int64          `protobuf:"varint,43,opt,name=relfrozenxid,proto3" json:"relfrozenxid,omitempty"`                                   // All transaction IDs before this one have been replaced with a permanent (“frozen”) transaction ID in this table, in xid8 (64-bit FullTransactionId)
	Relminmxid       int64          `protobuf:"varint,44,opt,name=relminmxid,proto3" json:"relminmxid,omitempty"`                                       // All multixact IDs before this one have been replaced by a transaction ID in this table
	LastVacuum       *NullTimestamp `protobuf:"bytes,45,opt,name=last_vacuum,json=lastVacuum,proto3" json:"last_vacuum,omitempty"`                      // Last time at which this table was manually vacuumed (not counting VACUUM FULL)
	LastAutovacuum   *NullTimestamp `protobuf:"bytes,46,opt,name=last_autovacuum,json=lastAutovacuum,proto3" json:"last_autovacuum,omitempty"`          // Last time at which this table was vacuumed by the autovacuum daemon
	LastAnalyze      *NullTimestamp `protobuf:"bytes,47,opt,name=last_analyze,json=lastAnalyze,proto3" json:"last_analyze,omitempty"`                   // Last time at which this table was manually analyzed
	LastAutoanalyze  *NullTimestamp `protobuf:"bytes,48,opt,name=last_autoanalyze,json=lastAutoanalyze,proto3" json:"last_autoanalyze,omitempty"`       // Last time at which this table was analyzed by the autovacuum daemon
	ToastReltuples   float32        `protobuf:"fixed32,49,opt,name=toast_reltuples,json=toastReltuples,proto3" json:"toast_reltuples,omitempty"`        // Number of live rows in the TOAST table. -1 indicating that the row count is unknown
	ToastRelpages    int32          `protobuf:"varint,50,opt,name=toast_relpages,json=toastRelpages,proto3" json:"toast_relpages,omitempty"`            // Size of the on-disk representation of the TOAST table in pages (of size BLCKSZ)
	CachedDataBytes  int64          `protobuf:"varint,51,opt,name=cached_data_bytes,json=cachedDataBytes,proto3" json:"cached_data_bytes,omitempty"`    // Size of table data in the Postgres buffer cache
	CachedToastBytes int64          `protobuf:"varint,52,opt,name=cached_toast_bytes,json=cachedToastBytes,proto3" json:"cached_toast_bytes,omitempty"` // Size of TOAST in the Postgres buffer cache
	// contains filtered or unexported fields
}

func (*RelationStatistic) Descriptor deprecated

func (*RelationStatistic) Descriptor() ([]byte, []int)

Deprecated: Use RelationStatistic.ProtoReflect.Descriptor instead.

func (*RelationStatistic) GetAnalyzedAt added in v0.41.0

func (x *RelationStatistic) GetAnalyzedAt() *NullTimestamp

func (*RelationStatistic) GetCachedDataBytes added in v0.63.0

func (x *RelationStatistic) GetCachedDataBytes() int64

func (*RelationStatistic) GetCachedToastBytes added in v0.63.0

func (x *RelationStatistic) GetCachedToastBytes() int64

func (*RelationStatistic) GetFrozenxidAge added in v0.47.0

func (x *RelationStatistic) GetFrozenxidAge() int32

func (*RelationStatistic) GetHeapBlksHit

func (x *RelationStatistic) GetHeapBlksHit() int64

func (*RelationStatistic) GetHeapBlksRead

func (x *RelationStatistic) GetHeapBlksRead() int64

func (*RelationStatistic) GetIdxBlksHit

func (x *RelationStatistic) GetIdxBlksHit() int64

func (*RelationStatistic) GetIdxBlksRead

func (x *RelationStatistic) GetIdxBlksRead() int64

func (*RelationStatistic) GetIdxScan

func (x *RelationStatistic) GetIdxScan() int64

func (*RelationStatistic) GetIdxTupFetch

func (x *RelationStatistic) GetIdxTupFetch() int64

func (*RelationStatistic) GetLastAnalyze added in v0.47.0

func (x *RelationStatistic) GetLastAnalyze() *NullTimestamp

func (*RelationStatistic) GetLastAutoanalyze added in v0.47.0

func (x *RelationStatistic) GetLastAutoanalyze() *NullTimestamp

func (*RelationStatistic) GetLastAutovacuum added in v0.47.0

func (x *RelationStatistic) GetLastAutovacuum() *NullTimestamp

func (*RelationStatistic) GetLastVacuum added in v0.47.0

func (x *RelationStatistic) GetLastVacuum() *NullTimestamp

func (*RelationStatistic) GetMinmxidAge added in v0.47.0

func (x *RelationStatistic) GetMinmxidAge() int32

func (*RelationStatistic) GetNDeadTup

func (x *RelationStatistic) GetNDeadTup() int64

func (*RelationStatistic) GetNInsSinceVacuum added in v0.51.0

func (x *RelationStatistic) GetNInsSinceVacuum() int64

func (*RelationStatistic) GetNLiveTup

func (x *RelationStatistic) GetNLiveTup() int64

func (*RelationStatistic) GetNModSinceAnalyze

func (x *RelationStatistic) GetNModSinceAnalyze() int64

func (*RelationStatistic) GetNTupDel

func (x *RelationStatistic) GetNTupDel() int64

func (*RelationStatistic) GetNTupHotUpd

func (x *RelationStatistic) GetNTupHotUpd() int64

func (*RelationStatistic) GetNTupIns

func (x *RelationStatistic) GetNTupIns() int64

func (*RelationStatistic) GetNTupUpd

func (x *RelationStatistic) GetNTupUpd() int64

func (*RelationStatistic) GetRelallvisible added in v0.47.0

func (x *RelationStatistic) GetRelallvisible() int32

func (*RelationStatistic) GetRelationIdx

func (x *RelationStatistic) GetRelationIdx() int32

func (*RelationStatistic) GetRelfrozenxid added in v0.47.0

func (x *RelationStatistic) GetRelfrozenxid() int64

func (*RelationStatistic) GetRelminmxid added in v0.47.0

func (x *RelationStatistic) GetRelminmxid() int64

func (*RelationStatistic) GetRelpages added in v0.47.0

func (x *RelationStatistic) GetRelpages() int32

func (*RelationStatistic) GetReltuples added in v0.47.0

func (x *RelationStatistic) GetReltuples() float32

func (*RelationStatistic) GetSeqScan

func (x *RelationStatistic) GetSeqScan() int64

func (*RelationStatistic) GetSeqTupRead

func (x *RelationStatistic) GetSeqTupRead() int64

func (*RelationStatistic) GetSizeBytes

func (x *RelationStatistic) GetSizeBytes() int64

func (*RelationStatistic) GetTidxBlksHit

func (x *RelationStatistic) GetTidxBlksHit() int64

func (*RelationStatistic) GetTidxBlksRead

func (x *RelationStatistic) GetTidxBlksRead() int64

func (*RelationStatistic) GetToastBlksHit

func (x *RelationStatistic) GetToastBlksHit() int64

func (*RelationStatistic) GetToastBlksRead

func (x *RelationStatistic) GetToastBlksRead() int64

func (*RelationStatistic) GetToastRelpages added in v0.50.0

func (x *RelationStatistic) GetToastRelpages() int32

func (*RelationStatistic) GetToastReltuples added in v0.50.0

func (x *RelationStatistic) GetToastReltuples() float32

func (*RelationStatistic) GetToastSizeBytes

func (x *RelationStatistic) GetToastSizeBytes() int64

func (*RelationStatistic) ProtoMessage

func (*RelationStatistic) ProtoMessage()

func (*RelationStatistic) ProtoReflect

func (x *RelationStatistic) ProtoReflect() protoreflect.Message

func (*RelationStatistic) Reset

func (x *RelationStatistic) Reset()

func (*RelationStatistic) String

func (x *RelationStatistic) String() string

type Replication

type Replication struct {

	// Are we the primary, or a standby?
	InRecovery bool `protobuf:"varint,1,opt,name=in_recovery,json=inRecovery,proto3" json:"in_recovery,omitempty"`
	// Primary information
	CurrentXlogLocation string                `protobuf:"bytes,10,opt,name=current_xlog_location,json=currentXlogLocation,proto3" json:"current_xlog_location,omitempty"`
	StandbyReferences   []*StandbyReference   `protobuf:"bytes,11,rep,name=standby_references,json=standbyReferences,proto3" json:"standby_references,omitempty"`
	StandbyInformations []*StandbyInformation `protobuf:"bytes,12,rep,name=standby_informations,json=standbyInformations,proto3" json:"standby_informations,omitempty"`
	StandbyStatistics   []*StandbyStatistic   `protobuf:"bytes,13,rep,name=standby_statistics,json=standbyStatistics,proto3" json:"standby_statistics,omitempty"`
	// Standby information
	IsStreaming        bool                   `protobuf:"varint,20,opt,name=is_streaming,json=isStreaming,proto3" json:"is_streaming,omitempty"`
	ReceiveLocation    string                 `protobuf:"bytes,21,opt,name=receive_location,json=receiveLocation,proto3" json:"receive_location,omitempty"`
	ReplayLocation     string                 `protobuf:"bytes,22,opt,name=replay_location,json=replayLocation,proto3" json:"replay_location,omitempty"`
	ApplyByteLag       int64                  `protobuf:"varint,23,opt,name=apply_byte_lag,json=applyByteLag,proto3" json:"apply_byte_lag,omitempty"`
	ReplayTimestamp    *timestamppb.Timestamp `protobuf:"bytes,24,opt,name=replay_timestamp,json=replayTimestamp,proto3" json:"replay_timestamp,omitempty"`
	ReplayTimestampAge int64                  `protobuf:"varint,25,opt,name=replay_timestamp_age,json=replayTimestampAge,proto3" json:"replay_timestamp_age,omitempty"` // in seconds
	// contains filtered or unexported fields
}

func (*Replication) Descriptor deprecated

func (*Replication) Descriptor() ([]byte, []int)

Deprecated: Use Replication.ProtoReflect.Descriptor instead.

func (*Replication) GetApplyByteLag

func (x *Replication) GetApplyByteLag() int64

func (*Replication) GetCurrentXlogLocation

func (x *Replication) GetCurrentXlogLocation() string

func (*Replication) GetInRecovery

func (x *Replication) GetInRecovery() bool

func (*Replication) GetIsStreaming

func (x *Replication) GetIsStreaming() bool

func (*Replication) GetReceiveLocation

func (x *Replication) GetReceiveLocation() string

func (*Replication) GetReplayLocation

func (x *Replication) GetReplayLocation() string

func (*Replication) GetReplayTimestamp

func (x *Replication) GetReplayTimestamp() *timestamppb.Timestamp

func (*Replication) GetReplayTimestampAge

func (x *Replication) GetReplayTimestampAge() int64

func (*Replication) GetStandbyInformations

func (x *Replication) GetStandbyInformations() []*StandbyInformation

func (*Replication) GetStandbyReferences

func (x *Replication) GetStandbyReferences() []*StandbyReference

func (*Replication) GetStandbyStatistics

func (x *Replication) GetStandbyStatistics() []*StandbyStatistic

func (*Replication) ProtoMessage

func (*Replication) ProtoMessage()

func (*Replication) ProtoReflect

func (x *Replication) ProtoReflect() protoreflect.Message

func (*Replication) Reset

func (x *Replication) Reset()

func (*Replication) String

func (x *Replication) String() string

type RoleInformation

type RoleInformation struct {
	RoleIdx            int32          `protobuf:"varint,1,opt,name=role_idx,json=roleIdx,proto3" json:"role_idx,omitempty"`
	Inherit            bool           `protobuf:"varint,2,opt,name=inherit,proto3" json:"inherit,omitempty"`                                                   // Role automatically inherits privileges of roles it is a member of
	Login              bool           `protobuf:"varint,3,opt,name=login,proto3" json:"login,omitempty"`                                                       // Role can log in. That is, this role can be given as the initial session authorization identifier
	CreateDb           bool           `protobuf:"varint,4,opt,name=create_db,json=createDb,proto3" json:"create_db,omitempty"`                                 // Role can create databases
	CreateRole         bool           `protobuf:"varint,5,opt,name=create_role,json=createRole,proto3" json:"create_role,omitempty"`                           // Role can create more roles
	SuperUser          bool           `protobuf:"varint,6,opt,name=super_user,json=superUser,proto3" json:"super_user,omitempty"`                              // Role has superuser privileges
	Replication        bool           `protobuf:"varint,7,opt,name=replication,proto3" json:"replication,omitempty"`                                           // Role can initiate streaming replication and put the system in and out of backup mode.
	BypassRls          bool           `protobuf:"varint,8,opt,name=bypass_rls,json=bypassRls,proto3" json:"bypass_rls,omitempty"`                              // Role bypasses every row level security policy, see https://www.postgresql.org/docs/9.5/static/ddl-rowsecurity.html
	ConnectionLimit    int32          `protobuf:"varint,9,opt,name=connection_limit,json=connectionLimit,proto3" json:"connection_limit,omitempty"`            // For roles that can log in, this sets maximum number of concurrent connections this role can make. -1 means no limit.
	PasswordValidUntil *NullTimestamp `protobuf:"bytes,10,opt,name=password_valid_until,json=passwordValidUntil,proto3" json:"password_valid_until,omitempty"` // Password expiry time (only used for password authentication); null if no expiration
	Config             []string       `protobuf:"bytes,11,rep,name=config,proto3" json:"config,omitempty"`                                                     // Role-specific defaults for run-time configuration variables
	MemberOf           []int32        `protobuf:"varint,12,rep,packed,name=member_of,json=memberOf,proto3" json:"member_of,omitempty"`                         // List of roles that this role is a member of (i.e. whose permissions it inherits)
	// contains filtered or unexported fields
}

func (*RoleInformation) Descriptor deprecated

func (*RoleInformation) Descriptor() ([]byte, []int)

Deprecated: Use RoleInformation.ProtoReflect.Descriptor instead.

func (*RoleInformation) GetBypassRls

func (x *RoleInformation) GetBypassRls() bool

func (*RoleInformation) GetConfig

func (x *RoleInformation) GetConfig() []string

func (*RoleInformation) GetConnectionLimit

func (x *RoleInformation) GetConnectionLimit() int32

func (*RoleInformation) GetCreateDb

func (x *RoleInformation) GetCreateDb() bool

func (*RoleInformation) GetCreateRole

func (x *RoleInformation) GetCreateRole() bool

func (*RoleInformation) GetInherit

func (x *RoleInformation) GetInherit() bool

func (*RoleInformation) GetLogin

func (x *RoleInformation) GetLogin() bool

func (*RoleInformation) GetMemberOf

func (x *RoleInformation) GetMemberOf() []int32

func (*RoleInformation) GetPasswordValidUntil

func (x *RoleInformation) GetPasswordValidUntil() *NullTimestamp

func (*RoleInformation) GetReplication

func (x *RoleInformation) GetReplication() bool

func (*RoleInformation) GetRoleIdx

func (x *RoleInformation) GetRoleIdx() int32

func (*RoleInformation) GetSuperUser

func (x *RoleInformation) GetSuperUser() bool

func (*RoleInformation) ProtoMessage

func (*RoleInformation) ProtoMessage()

func (*RoleInformation) ProtoReflect

func (x *RoleInformation) ProtoReflect() protoreflect.Message

func (*RoleInformation) Reset

func (x *RoleInformation) Reset()

func (*RoleInformation) String

func (x *RoleInformation) String() string

type RoleReference

type RoleReference struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Role name
	// contains filtered or unexported fields
}

func (*RoleReference) Descriptor deprecated

func (*RoleReference) Descriptor() ([]byte, []int)

Deprecated: Use RoleReference.ProtoReflect.Descriptor instead.

func (*RoleReference) GetName

func (x *RoleReference) GetName() string

func (*RoleReference) ProtoMessage

func (*RoleReference) ProtoMessage()

func (*RoleReference) ProtoReflect

func (x *RoleReference) ProtoReflect() protoreflect.Message

func (*RoleReference) Reset

func (x *RoleReference) Reset()

func (*RoleReference) String

func (x *RoleReference) String() string

type SchedulerStatistic

type SchedulerStatistic struct {
	LoadAverage_1Min  float64 `protobuf:"fixed64,1,opt,name=load_average_1min,json=loadAverage1min,proto3" json:"load_average_1min,omitempty"`
	LoadAverage_5Min  float64 `protobuf:"fixed64,2,opt,name=load_average_5min,json=loadAverage5min,proto3" json:"load_average_5min,omitempty"`
	LoadAverage_15Min float64 `protobuf:"fixed64,3,opt,name=load_average_15min,json=loadAverage15min,proto3" json:"load_average_15min,omitempty"`
	// contains filtered or unexported fields
}

func (*SchedulerStatistic) Descriptor deprecated

func (*SchedulerStatistic) Descriptor() ([]byte, []int)

Deprecated: Use SchedulerStatistic.ProtoReflect.Descriptor instead.

func (*SchedulerStatistic) GetLoadAverage_15Min

func (x *SchedulerStatistic) GetLoadAverage_15Min() float64

func (*SchedulerStatistic) GetLoadAverage_1Min

func (x *SchedulerStatistic) GetLoadAverage_1Min() float64

func (*SchedulerStatistic) GetLoadAverage_5Min

func (x *SchedulerStatistic) GetLoadAverage_5Min() float64

func (*SchedulerStatistic) ProtoMessage

func (*SchedulerStatistic) ProtoMessage()

func (*SchedulerStatistic) ProtoReflect

func (x *SchedulerStatistic) ProtoReflect() protoreflect.Message

func (*SchedulerStatistic) Reset

func (x *SchedulerStatistic) Reset()

func (*SchedulerStatistic) String

func (x *SchedulerStatistic) String() string

type ServerMessage added in v0.59.0

type ServerMessage struct {

	// Types that are assignable to Message:
	//
	//	*ServerMessage_Config_
	//	*ServerMessage_Pause_
	//	*ServerMessage_QueryRun_
	Message isServerMessage_Message `protobuf_oneof:"message"`
	// contains filtered or unexported fields
}

func (*ServerMessage) Descriptor deprecated added in v0.59.0

func (*ServerMessage) Descriptor() ([]byte, []int)

Deprecated: Use ServerMessage.ProtoReflect.Descriptor instead.

func (*ServerMessage) GetConfig added in v0.59.0

func (x *ServerMessage) GetConfig() *ServerMessage_Config

func (*ServerMessage) GetMessage added in v0.59.0

func (m *ServerMessage) GetMessage() isServerMessage_Message

func (*ServerMessage) GetPause added in v0.59.0

func (x *ServerMessage) GetPause() *ServerMessage_Pause

func (*ServerMessage) GetQueryRun added in v0.63.0

func (x *ServerMessage) GetQueryRun() *ServerMessage_QueryRun

func (*ServerMessage) ProtoMessage added in v0.59.0

func (*ServerMessage) ProtoMessage()

func (*ServerMessage) ProtoReflect added in v0.59.0

func (x *ServerMessage) ProtoReflect() protoreflect.Message

func (*ServerMessage) Reset added in v0.59.0

func (x *ServerMessage) Reset()

func (*ServerMessage) String added in v0.59.0

func (x *ServerMessage) String() string

type ServerMessage_Config added in v0.59.0

type ServerMessage_Config struct {
	ServerId       string                  `protobuf:"bytes,1,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
	ServerUrl      string                  `protobuf:"bytes,2,opt,name=server_url,json=serverUrl,proto3" json:"server_url,omitempty"`
	SentryDsn      string                  `protobuf:"bytes,3,opt,name=sentry_dsn,json=sentryDsn,proto3" json:"sentry_dsn,omitempty"`
	Features       *ServerMessage_Features `protobuf:"bytes,4,opt,name=features,proto3" json:"features,omitempty"`
	EnableActivity bool                    `protobuf:"varint,5,opt,name=enable_activity,json=enableActivity,proto3" json:"enable_activity,omitempty"`
	EnableLogs     bool                    `protobuf:"varint,6,opt,name=enable_logs,json=enableLogs,proto3" json:"enable_logs,omitempty"`
	// Maximum number of tables that can be monitored per server
	SchemaTableLimit int32 `protobuf:"varint,7,opt,name=schema_table_limit,json=schemaTableLimit,proto3" json:"schema_table_limit,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerMessage_Config) Descriptor deprecated added in v0.59.0

func (*ServerMessage_Config) Descriptor() ([]byte, []int)

Deprecated: Use ServerMessage_Config.ProtoReflect.Descriptor instead.

func (*ServerMessage_Config) GetEnableActivity added in v0.59.0

func (x *ServerMessage_Config) GetEnableActivity() bool

func (*ServerMessage_Config) GetEnableLogs added in v0.59.0

func (x *ServerMessage_Config) GetEnableLogs() bool

func (*ServerMessage_Config) GetFeatures added in v0.59.0

func (x *ServerMessage_Config) GetFeatures() *ServerMessage_Features

func (*ServerMessage_Config) GetSchemaTableLimit added in v0.59.0

func (x *ServerMessage_Config) GetSchemaTableLimit() int32

func (*ServerMessage_Config) GetSentryDsn added in v0.59.0

func (x *ServerMessage_Config) GetSentryDsn() string

func (*ServerMessage_Config) GetServerId added in v0.59.0

func (x *ServerMessage_Config) GetServerId() string

func (*ServerMessage_Config) GetServerUrl added in v0.59.0

func (x *ServerMessage_Config) GetServerUrl() string

func (*ServerMessage_Config) ProtoMessage added in v0.59.0

func (*ServerMessage_Config) ProtoMessage()

func (*ServerMessage_Config) ProtoReflect added in v0.59.0

func (x *ServerMessage_Config) ProtoReflect() protoreflect.Message

func (*ServerMessage_Config) Reset added in v0.59.0

func (x *ServerMessage_Config) Reset()

func (*ServerMessage_Config) String added in v0.59.0

func (x *ServerMessage_Config) String() string

type ServerMessage_Config_ added in v0.59.0

type ServerMessage_Config_ struct {
	// Collector configuration
	Config *ServerMessage_Config `protobuf:"bytes,1,opt,name=config,proto3,oneof"`
}

type ServerMessage_Features added in v0.59.0

type ServerMessage_Features struct {

	// How often the collector should run pg_stat_statements_reset()
	StatementResetFrequency int32 `` /* 133-byte string literal not displayed */
	// Statement timeout for all SQL statements sent to the database (defaults to 30s)
	StatementTimeoutMs int32 `protobuf:"varint,2,opt,name=statement_timeout_ms,json=statementTimeoutMs,proto3" json:"statement_timeout_ms,omitempty"`
	// Statement timeout for pg_stat_statements query text requests (defaults to 120s)
	StatementTimeoutMsQueryText int32 `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ServerMessage_Features) Descriptor deprecated added in v0.59.0

func (*ServerMessage_Features) Descriptor() ([]byte, []int)

Deprecated: Use ServerMessage_Features.ProtoReflect.Descriptor instead.

func (*ServerMessage_Features) GetStatementResetFrequency added in v0.59.0

func (x *ServerMessage_Features) GetStatementResetFrequency() int32

func (*ServerMessage_Features) GetStatementTimeoutMs added in v0.59.0

func (x *ServerMessage_Features) GetStatementTimeoutMs() int32

func (*ServerMessage_Features) GetStatementTimeoutMsQueryText added in v0.59.0

func (x *ServerMessage_Features) GetStatementTimeoutMsQueryText() int32

func (*ServerMessage_Features) ProtoMessage added in v0.59.0

func (*ServerMessage_Features) ProtoMessage()

func (*ServerMessage_Features) ProtoReflect added in v0.59.0

func (x *ServerMessage_Features) ProtoReflect() protoreflect.Message

func (*ServerMessage_Features) Reset added in v0.59.0

func (x *ServerMessage_Features) Reset()

func (*ServerMessage_Features) String added in v0.59.0

func (x *ServerMessage_Features) String() string

type ServerMessage_Pause added in v0.59.0

type ServerMessage_Pause struct {
	Pause bool `protobuf:"varint,1,opt,name=pause,proto3" json:"pause,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerMessage_Pause) Descriptor deprecated added in v0.59.0

func (*ServerMessage_Pause) Descriptor() ([]byte, []int)

Deprecated: Use ServerMessage_Pause.ProtoReflect.Descriptor instead.

func (*ServerMessage_Pause) GetPause added in v0.59.0

func (x *ServerMessage_Pause) GetPause() bool

func (*ServerMessage_Pause) ProtoMessage added in v0.59.0

func (*ServerMessage_Pause) ProtoMessage()

func (*ServerMessage_Pause) ProtoReflect added in v0.59.0

func (x *ServerMessage_Pause) ProtoReflect() protoreflect.Message

func (*ServerMessage_Pause) Reset added in v0.59.0

func (x *ServerMessage_Pause) Reset()

func (*ServerMessage_Pause) String added in v0.59.0

func (x *ServerMessage_Pause) String() string

type ServerMessage_Pause_ added in v0.59.0

type ServerMessage_Pause_ struct {
	// Server request to pause collection of data (e.g. in case of duplicate collectors)
	Pause *ServerMessage_Pause `protobuf:"bytes,2,opt,name=pause,proto3,oneof"`
}

type ServerMessage_QueryRun added in v0.63.0

type ServerMessage_QueryRun struct {
	Id                  int64             `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Type                QueryRunType      `protobuf:"varint,2,opt,name=type,proto3,enum=pganalyze.collector.QueryRunType" json:"type,omitempty"`
	DatabaseName        string            `protobuf:"bytes,3,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
	QueryText           string            `protobuf:"bytes,4,opt,name=query_text,json=queryText,proto3" json:"query_text,omitempty"`
	QueryParameters     []*NullString     `protobuf:"bytes,5,rep,name=query_parameters,json=queryParameters,proto3" json:"query_parameters,omitempty"`
	QueryParameterTypes []string          `protobuf:"bytes,6,rep,name=query_parameter_types,json=queryParameterTypes,proto3" json:"query_parameter_types,omitempty"`
	PostgresSettings    map[string]string `` /* 197-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ServerMessage_QueryRun) Descriptor deprecated added in v0.63.0

func (*ServerMessage_QueryRun) Descriptor() ([]byte, []int)

Deprecated: Use ServerMessage_QueryRun.ProtoReflect.Descriptor instead.

func (*ServerMessage_QueryRun) GetDatabaseName added in v0.63.0

func (x *ServerMessage_QueryRun) GetDatabaseName() string

func (*ServerMessage_QueryRun) GetId added in v0.63.0

func (x *ServerMessage_QueryRun) GetId() int64

func (*ServerMessage_QueryRun) GetPostgresSettings added in v0.64.0

func (x *ServerMessage_QueryRun) GetPostgresSettings() map[string]string

func (*ServerMessage_QueryRun) GetQueryParameterTypes added in v0.64.0

func (x *ServerMessage_QueryRun) GetQueryParameterTypes() []string

func (*ServerMessage_QueryRun) GetQueryParameters added in v0.64.0

func (x *ServerMessage_QueryRun) GetQueryParameters() []*NullString

func (*ServerMessage_QueryRun) GetQueryText added in v0.63.0

func (x *ServerMessage_QueryRun) GetQueryText() string

func (*ServerMessage_QueryRun) GetType added in v0.63.0

func (x *ServerMessage_QueryRun) GetType() QueryRunType

func (*ServerMessage_QueryRun) ProtoMessage added in v0.63.0

func (*ServerMessage_QueryRun) ProtoMessage()

func (*ServerMessage_QueryRun) ProtoReflect added in v0.63.0

func (x *ServerMessage_QueryRun) ProtoReflect() protoreflect.Message

func (*ServerMessage_QueryRun) Reset added in v0.63.0

func (x *ServerMessage_QueryRun) Reset()

func (*ServerMessage_QueryRun) String added in v0.63.0

func (x *ServerMessage_QueryRun) String() string

type ServerMessage_QueryRun_ added in v0.63.0

type ServerMessage_QueryRun_ struct {
	// Request for the collector to run a query on behalf of a user
	QueryRun *ServerMessage_QueryRun `protobuf:"bytes,3,opt,name=query_run,json=queryRun,proto3,oneof"`
}

type ServerStatistic added in v0.47.0

type ServerStatistic struct {
	CurrentXactId              int64 `protobuf:"varint,1,opt,name=current_xact_id,json=currentXactId,proto3" json:"current_xact_id,omitempty"`                // Current transaction ID in xid8 (64-bit FullTransactionId) for this server
	NextMultiXactId            int64 `protobuf:"varint,2,opt,name=next_multi_xact_id,json=nextMultiXactId,proto3" json:"next_multi_xact_id,omitempty"`        // Next multixact ID in xid8 (64-bit FullTransactionId) for this server
	XminHorizonBackend         int64 `protobuf:"varint,3,opt,name=xmin_horizon_backend,json=xminHorizonBackend,proto3" json:"xmin_horizon_backend,omitempty"` // The oldest xmin for backends in xid8 (64-bit FullTransactionId)
	XminHorizonReplicationSlot int64 ``                                                                                                                       // The oldest xmin for replication slots in xid8 (64-bit FullTransactionId)
	/* 144-byte string literal not displayed */
	XminHorizonReplicationSlotCatalog int64 `` // The oldest catalog_xmin for replication slots in xid8 (64-bit FullTransactionId)
	/* 167-byte string literal not displayed */
	XminHorizonPreparedXact int64 `` // The oldest xmin for prepared transactions in xid8 (64-bit FullTransactionId)
	/* 135-byte string literal not displayed */
	XminHorizonStandby int64 `protobuf:"varint,7,opt,name=xmin_horizon_standby,json=xminHorizonStandby,proto3" json:"xmin_horizon_standby,omitempty"` // The oldest xmin for standbys in xid8 (64-bit FullTransactionId)
	// contains filtered or unexported fields
}

Postgres server statistic See System for server system statistic

func (*ServerStatistic) Descriptor deprecated added in v0.47.0

func (*ServerStatistic) Descriptor() ([]byte, []int)

Deprecated: Use ServerStatistic.ProtoReflect.Descriptor instead.

func (*ServerStatistic) GetCurrentXactId added in v0.47.0

func (x *ServerStatistic) GetCurrentXactId() int64

func (*ServerStatistic) GetNextMultiXactId added in v0.47.0

func (x *ServerStatistic) GetNextMultiXactId() int64

func (*ServerStatistic) GetXminHorizonBackend added in v0.49.0

func (x *ServerStatistic) GetXminHorizonBackend() int64

func (*ServerStatistic) GetXminHorizonPreparedXact added in v0.49.0

func (x *ServerStatistic) GetXminHorizonPreparedXact() int64

func (*ServerStatistic) GetXminHorizonReplicationSlot added in v0.49.0

func (x *ServerStatistic) GetXminHorizonReplicationSlot() int64

func (*ServerStatistic) GetXminHorizonReplicationSlotCatalog added in v0.49.0

func (x *ServerStatistic) GetXminHorizonReplicationSlotCatalog() int64

func (*ServerStatistic) GetXminHorizonStandby added in v0.49.0

func (x *ServerStatistic) GetXminHorizonStandby() int64

func (*ServerStatistic) ProtoMessage added in v0.47.0

func (*ServerStatistic) ProtoMessage()

func (*ServerStatistic) ProtoReflect added in v0.47.0

func (x *ServerStatistic) ProtoReflect() protoreflect.Message

func (*ServerStatistic) Reset added in v0.47.0

func (x *ServerStatistic) Reset()

func (*ServerStatistic) String added in v0.47.0

func (x *ServerStatistic) String() string

type Setting

type Setting struct {
	Name         string      `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	CurrentValue string      `protobuf:"bytes,2,opt,name=current_value,json=currentValue,proto3" json:"current_value,omitempty"`
	Unit         *NullString `protobuf:"bytes,3,opt,name=unit,proto3" json:"unit,omitempty"`
	BootValue    *NullString `protobuf:"bytes,4,opt,name=boot_value,json=bootValue,proto3" json:"boot_value,omitempty"`
	ResetValue   *NullString `protobuf:"bytes,5,opt,name=reset_value,json=resetValue,proto3" json:"reset_value,omitempty"`
	Source       *NullString `protobuf:"bytes,6,opt,name=source,proto3" json:"source,omitempty"`
	SourceFile   *NullString `protobuf:"bytes,7,opt,name=source_file,json=sourceFile,proto3" json:"source_file,omitempty"`
	SourceLine   *NullString `protobuf:"bytes,8,opt,name=source_line,json=sourceLine,proto3" json:"source_line,omitempty"`
	// contains filtered or unexported fields
}

func (*Setting) Descriptor deprecated

func (*Setting) Descriptor() ([]byte, []int)

Deprecated: Use Setting.ProtoReflect.Descriptor instead.

func (*Setting) GetBootValue

func (x *Setting) GetBootValue() *NullString

func (*Setting) GetCurrentValue

func (x *Setting) GetCurrentValue() string

func (*Setting) GetName

func (x *Setting) GetName() string

func (*Setting) GetResetValue

func (x *Setting) GetResetValue() *NullString

func (*Setting) GetSource

func (x *Setting) GetSource() *NullString

func (*Setting) GetSourceFile

func (x *Setting) GetSourceFile() *NullString

func (*Setting) GetSourceLine

func (x *Setting) GetSourceLine() *NullString

func (*Setting) GetUnit

func (x *Setting) GetUnit() *NullString

func (*Setting) ProtoMessage

func (*Setting) ProtoMessage()

func (*Setting) ProtoReflect

func (x *Setting) ProtoReflect() protoreflect.Message

func (*Setting) Reset

func (x *Setting) Reset()

func (*Setting) String

func (x *Setting) String() string

type StandbyInformation

type StandbyInformation struct {
	StandbyIdx      int32                  `protobuf:"varint,1,opt,name=standby_idx,json=standbyIdx,proto3" json:"standby_idx,omitempty"`
	RoleIdx         int32                  `protobuf:"varint,2,opt,name=role_idx,json=roleIdx,proto3" json:"role_idx,omitempty"`
	Pid             int64                  `protobuf:"varint,3,opt,name=pid,proto3" json:"pid,omitempty"`
	ApplicationName string                 `protobuf:"bytes,4,opt,name=application_name,json=applicationName,proto3" json:"application_name,omitempty"`
	ClientHostname  string                 `protobuf:"bytes,5,opt,name=client_hostname,json=clientHostname,proto3" json:"client_hostname,omitempty"`
	ClientPort      int32                  `protobuf:"varint,6,opt,name=client_port,json=clientPort,proto3" json:"client_port,omitempty"`
	BackendStart    *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=backend_start,json=backendStart,proto3" json:"backend_start,omitempty"`
	SyncPriority    int32                  `protobuf:"varint,8,opt,name=sync_priority,json=syncPriority,proto3" json:"sync_priority,omitempty"`
	SyncState       string                 `protobuf:"bytes,9,opt,name=sync_state,json=syncState,proto3" json:"sync_state,omitempty"`
	// contains filtered or unexported fields
}

func (*StandbyInformation) Descriptor deprecated

func (*StandbyInformation) Descriptor() ([]byte, []int)

Deprecated: Use StandbyInformation.ProtoReflect.Descriptor instead.

func (*StandbyInformation) GetApplicationName

func (x *StandbyInformation) GetApplicationName() string

func (*StandbyInformation) GetBackendStart

func (x *StandbyInformation) GetBackendStart() *timestamppb.Timestamp

func (*StandbyInformation) GetClientHostname

func (x *StandbyInformation) GetClientHostname() string

func (*StandbyInformation) GetClientPort

func (x *StandbyInformation) GetClientPort() int32

func (*StandbyInformation) GetPid

func (x *StandbyInformation) GetPid() int64

func (*StandbyInformation) GetRoleIdx

func (x *StandbyInformation) GetRoleIdx() int32

func (*StandbyInformation) GetStandbyIdx

func (x *StandbyInformation) GetStandbyIdx() int32

func (*StandbyInformation) GetSyncPriority

func (x *StandbyInformation) GetSyncPriority() int32

func (*StandbyInformation) GetSyncState

func (x *StandbyInformation) GetSyncState() string

func (*StandbyInformation) ProtoMessage

func (*StandbyInformation) ProtoMessage()

func (*StandbyInformation) ProtoReflect

func (x *StandbyInformation) ProtoReflect() protoreflect.Message

func (*StandbyInformation) Reset

func (x *StandbyInformation) Reset()

func (*StandbyInformation) String

func (x *StandbyInformation) String() string

type StandbyReference

type StandbyReference struct {
	ClientAddr string `protobuf:"bytes,1,opt,name=client_addr,json=clientAddr,proto3" json:"client_addr,omitempty"`
	// contains filtered or unexported fields
}

func (*StandbyReference) Descriptor deprecated

func (*StandbyReference) Descriptor() ([]byte, []int)

Deprecated: Use StandbyReference.ProtoReflect.Descriptor instead.

func (*StandbyReference) GetClientAddr

func (x *StandbyReference) GetClientAddr() string

func (*StandbyReference) ProtoMessage

func (*StandbyReference) ProtoMessage()

func (*StandbyReference) ProtoReflect

func (x *StandbyReference) ProtoReflect() protoreflect.Message

func (*StandbyReference) Reset

func (x *StandbyReference) Reset()

func (*StandbyReference) String

func (x *StandbyReference) String() string

type StandbyStatistic

type StandbyStatistic struct {
	StandbyIdx     int32  `protobuf:"varint,1,opt,name=standby_idx,json=standbyIdx,proto3" json:"standby_idx,omitempty"`
	State          string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	SentLocation   string `protobuf:"bytes,3,opt,name=sent_location,json=sentLocation,proto3" json:"sent_location,omitempty"`
	WriteLocation  string `protobuf:"bytes,4,opt,name=write_location,json=writeLocation,proto3" json:"write_location,omitempty"`
	FlushLocation  string `protobuf:"bytes,5,opt,name=flush_location,json=flushLocation,proto3" json:"flush_location,omitempty"`
	ReplayLocation string `protobuf:"bytes,6,opt,name=replay_location,json=replayLocation,proto3" json:"replay_location,omitempty"`
	RemoteByteLag  int64  `protobuf:"varint,7,opt,name=remote_byte_lag,json=remoteByteLag,proto3" json:"remote_byte_lag,omitempty"`
	LocalByteLag   int64  `protobuf:"varint,8,opt,name=local_byte_lag,json=localByteLag,proto3" json:"local_byte_lag,omitempty"`
	// contains filtered or unexported fields
}

func (*StandbyStatistic) Descriptor deprecated

func (*StandbyStatistic) Descriptor() ([]byte, []int)

Deprecated: Use StandbyStatistic.ProtoReflect.Descriptor instead.

func (*StandbyStatistic) GetFlushLocation

func (x *StandbyStatistic) GetFlushLocation() string

func (*StandbyStatistic) GetLocalByteLag

func (x *StandbyStatistic) GetLocalByteLag() int64

func (*StandbyStatistic) GetRemoteByteLag

func (x *StandbyStatistic) GetRemoteByteLag() int64

func (*StandbyStatistic) GetReplayLocation

func (x *StandbyStatistic) GetReplayLocation() string

func (*StandbyStatistic) GetSentLocation

func (x *StandbyStatistic) GetSentLocation() string

func (*StandbyStatistic) GetStandbyIdx

func (x *StandbyStatistic) GetStandbyIdx() int32

func (*StandbyStatistic) GetState

func (x *StandbyStatistic) GetState() string

func (*StandbyStatistic) GetWriteLocation

func (x *StandbyStatistic) GetWriteLocation() string

func (*StandbyStatistic) ProtoMessage

func (*StandbyStatistic) ProtoMessage()

func (*StandbyStatistic) ProtoReflect

func (x *StandbyStatistic) ProtoReflect() protoreflect.Message

func (*StandbyStatistic) Reset

func (x *StandbyStatistic) Reset()

func (*StandbyStatistic) String

func (x *StandbyStatistic) String() string

type System

type System struct {
	SystemInformation             *SystemInformation          `protobuf:"bytes,1,opt,name=system_information,json=systemInformation,proto3" json:"system_information,omitempty"`
	SystemId                      string                      `protobuf:"bytes,2,opt,name=system_id,json=systemId,proto3" json:"system_id,omitempty"`          // Unique identifier for this system
	SystemScope                   string                      `protobuf:"bytes,3,opt,name=system_scope,json=systemScope,proto3" json:"system_scope,omitempty"` // Name the system ID is scoped by (optional)
	ClusterId                     string                      `protobuf:"bytes,4,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`       // Unique identifier for the (physical replication) cluster
	SchedulerStatistic            *SchedulerStatistic         `protobuf:"bytes,10,opt,name=scheduler_statistic,json=schedulerStatistic,proto3" json:"scheduler_statistic,omitempty"`
	MemoryStatistic               *MemoryStatistic            `protobuf:"bytes,11,opt,name=memory_statistic,json=memoryStatistic,proto3" json:"memory_statistic,omitempty"`
	CpuInformation                *CPUInformation             `protobuf:"bytes,12,opt,name=cpu_information,json=cpuInformation,proto3" json:"cpu_information,omitempty"`
	CpuReferences                 []*CPUReference             `protobuf:"bytes,13,rep,name=cpu_references,json=cpuReferences,proto3" json:"cpu_references,omitempty"`
	CpuStatistics                 []*CPUStatistic             `protobuf:"bytes,14,rep,name=cpu_statistics,json=cpuStatistics,proto3" json:"cpu_statistics,omitempty"`
	NetworkReferences             []*NetworkReference         `protobuf:"bytes,15,rep,name=network_references,json=networkReferences,proto3" json:"network_references,omitempty"`
	NetworkStatistics             []*NetworkStatistic         `protobuf:"bytes,16,rep,name=network_statistics,json=networkStatistics,proto3" json:"network_statistics,omitempty"`
	DiskReferences                []*DiskReference            `protobuf:"bytes,17,rep,name=disk_references,json=diskReferences,proto3" json:"disk_references,omitempty"`
	DiskInformations              []*DiskInformation          `protobuf:"bytes,18,rep,name=disk_informations,json=diskInformations,proto3" json:"disk_informations,omitempty"`
	DiskStatistics                []*DiskStatistic            `protobuf:"bytes,19,rep,name=disk_statistics,json=diskStatistics,proto3" json:"disk_statistics,omitempty"`
	DiskPartitionReferences       []*DiskPartitionReference   `` /* 133-byte string literal not displayed */
	DiskPartitionInformations     []*DiskPartitionInformation `` /* 139-byte string literal not displayed */
	DiskPartitionStatistics       []*DiskPartitionStatistic   `` /* 133-byte string literal not displayed */
	DataDirectoryDiskPartitionIdx int32                       `` // Disk partition that the PostgreSQL data directory lives on
	/* 156-byte string literal not displayed */
	XlogDiskPartitionIdx int32 `` // Disk partition that the PostgreSQL WAL lives on
	/* 127-byte string literal not displayed */
	XlogUsedBytes uint64 `protobuf:"varint,32,opt,name=xlog_used_bytes,json=xlogUsedBytes,proto3" json:"xlog_used_bytes,omitempty"` // Size of the WAL directory, in bytes (not necessarily the same as used bytes on the WAL partition!)
	// contains filtered or unexported fields
}

func (*System) Descriptor deprecated

func (*System) Descriptor() ([]byte, []int)

Deprecated: Use System.ProtoReflect.Descriptor instead.

func (*System) GetClusterId added in v0.61.0

func (x *System) GetClusterId() string

func (*System) GetCpuInformation

func (x *System) GetCpuInformation() *CPUInformation

func (*System) GetCpuReferences

func (x *System) GetCpuReferences() []*CPUReference

func (*System) GetCpuStatistics

func (x *System) GetCpuStatistics() []*CPUStatistic

func (*System) GetDataDirectoryDiskPartitionIdx

func (x *System) GetDataDirectoryDiskPartitionIdx() int32

func (*System) GetDiskInformations

func (x *System) GetDiskInformations() []*DiskInformation

func (*System) GetDiskPartitionInformations

func (x *System) GetDiskPartitionInformations() []*DiskPartitionInformation

func (*System) GetDiskPartitionReferences

func (x *System) GetDiskPartitionReferences() []*DiskPartitionReference

func (*System) GetDiskPartitionStatistics

func (x *System) GetDiskPartitionStatistics() []*DiskPartitionStatistic

func (*System) GetDiskReferences

func (x *System) GetDiskReferences() []*DiskReference

func (*System) GetDiskStatistics

func (x *System) GetDiskStatistics() []*DiskStatistic

func (*System) GetMemoryStatistic

func (x *System) GetMemoryStatistic() *MemoryStatistic

func (*System) GetNetworkReferences

func (x *System) GetNetworkReferences() []*NetworkReference

func (*System) GetNetworkStatistics

func (x *System) GetNetworkStatistics() []*NetworkStatistic

func (*System) GetSchedulerStatistic

func (x *System) GetSchedulerStatistic() *SchedulerStatistic

func (*System) GetSystemId

func (x *System) GetSystemId() string

func (*System) GetSystemInformation

func (x *System) GetSystemInformation() *SystemInformation

func (*System) GetSystemScope

func (x *System) GetSystemScope() string

func (*System) GetXlogDiskPartitionIdx

func (x *System) GetXlogDiskPartitionIdx() int32

func (*System) GetXlogUsedBytes

func (x *System) GetXlogUsedBytes() uint64

func (*System) ProtoMessage

func (*System) ProtoMessage()

func (*System) ProtoReflect

func (x *System) ProtoReflect() protoreflect.Message

func (*System) Reset

func (x *System) Reset()

func (*System) String

func (x *System) String() string

type SystemInformation

type SystemInformation struct {
	Type SystemInformation_SystemType `protobuf:"varint,1,opt,name=type,proto3,enum=pganalyze.collector.SystemInformation_SystemType" json:"type,omitempty"`
	// Types that are assignable to Info:
	//
	//	*SystemInformation_SelfHosted
	//	*SystemInformation_AmazonRds
	//	*SystemInformation_CrunchyBridge
	//	*SystemInformation_Azure
	Info         isSystemInformation_Info `protobuf_oneof:"info"`
	ResourceTags map[string]string        ``                                                                                       /* 185-byte string literal not displayed */
	BootTime     *timestamppb.Timestamp   `protobuf:"bytes,10,opt,name=boot_time,json=bootTime,proto3" json:"boot_time,omitempty"` // Timestamp for when the system was started (aka uptime)
	// contains filtered or unexported fields
}

func (*SystemInformation) Descriptor deprecated

func (*SystemInformation) Descriptor() ([]byte, []int)

Deprecated: Use SystemInformation.ProtoReflect.Descriptor instead.

func (*SystemInformation) GetAmazonRds

func (x *SystemInformation) GetAmazonRds() *SystemInformationAmazonRDS

func (*SystemInformation) GetAzure added in v0.59.0

func (*SystemInformation) GetBootTime

func (x *SystemInformation) GetBootTime() *timestamppb.Timestamp

func (*SystemInformation) GetCrunchyBridge added in v0.52.3

func (x *SystemInformation) GetCrunchyBridge() *SystemInformationCrunchyBridge

func (*SystemInformation) GetInfo

func (m *SystemInformation) GetInfo() isSystemInformation_Info

func (*SystemInformation) GetResourceTags added in v0.45.2

func (x *SystemInformation) GetResourceTags() map[string]string

func (*SystemInformation) GetSelfHosted

func (x *SystemInformation) GetSelfHosted() *SystemInformationSelfHosted

func (*SystemInformation) GetType

func (*SystemInformation) ProtoMessage

func (*SystemInformation) ProtoMessage()

func (*SystemInformation) ProtoReflect

func (x *SystemInformation) ProtoReflect() protoreflect.Message

func (*SystemInformation) Reset

func (x *SystemInformation) Reset()

func (*SystemInformation) String

func (x *SystemInformation) String() string

type SystemInformationAmazonRDS

type SystemInformationAmazonRDS struct {
	Region                      string                 `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"`
	InstanceClass               string                 `protobuf:"bytes,2,opt,name=instance_class,json=instanceClass,proto3" json:"instance_class,omitempty"`
	InstanceId                  string                 `protobuf:"bytes,3,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	Status                      string                 `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
	AvailabilityZone            string                 `protobuf:"bytes,5,opt,name=availability_zone,json=availabilityZone,proto3" json:"availability_zone,omitempty"`
	PubliclyAccessible          bool                   `protobuf:"varint,6,opt,name=publicly_accessible,json=publiclyAccessible,proto3" json:"publicly_accessible,omitempty"`
	MultiAz                     bool                   `protobuf:"varint,7,opt,name=multi_az,json=multiAz,proto3" json:"multi_az,omitempty"`
	SecondaryAvailabilityZone   string                 `` /* 138-byte string literal not displayed */
	CaCertificate               string                 `protobuf:"bytes,9,opt,name=ca_certificate,json=caCertificate,proto3" json:"ca_certificate,omitempty"`
	AutoMinorVersionUpgrade     bool                   `` /* 136-byte string literal not displayed */
	PreferredMaintenanceWindow  string                 `` /* 142-byte string literal not displayed */
	PreferredBackupWindow       string                 `` /* 127-byte string literal not displayed */
	LatestRestorableTime        *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=latest_restorable_time,json=latestRestorableTime,proto3" json:"latest_restorable_time,omitempty"`
	BackupRetentionPeriodDays   int32                  `` /* 142-byte string literal not displayed */
	MasterUsername              string                 `protobuf:"bytes,16,opt,name=master_username,json=masterUsername,proto3" json:"master_username,omitempty"`
	InitialDbName               string                 `protobuf:"bytes,17,opt,name=initial_db_name,json=initialDbName,proto3" json:"initial_db_name,omitempty"`
	CreatedAt                   *timestamppb.Timestamp `protobuf:"bytes,18,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	EnhancedMonitoring          bool                   `protobuf:"varint,19,opt,name=enhanced_monitoring,json=enhancedMonitoring,proto3" json:"enhanced_monitoring,omitempty"`
	PerformanceInsights         bool                   `protobuf:"varint,20,opt,name=performance_insights,json=performanceInsights,proto3" json:"performance_insights,omitempty"`
	PostgresLogExport           bool                   `protobuf:"varint,21,opt,name=postgres_log_export,json=postgresLogExport,proto3" json:"postgres_log_export,omitempty"`
	IamAuthentication           bool                   `protobuf:"varint,22,opt,name=iam_authentication,json=iamAuthentication,proto3" json:"iam_authentication,omitempty"`
	DeletionProtection          bool                   `protobuf:"varint,23,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"`
	ParameterApplyStatus        string                 `protobuf:"bytes,40,opt,name=parameter_apply_status,json=parameterApplyStatus,proto3" json:"parameter_apply_status,omitempty"`
	ParameterPgssEnabled        bool                   `protobuf:"varint,41,opt,name=parameter_pgss_enabled,json=parameterPgssEnabled,proto3" json:"parameter_pgss_enabled,omitempty"`
	ParameterAutoExplainEnabled bool                   `` /* 148-byte string literal not displayed */
	IsAuroraPostgres            bool                   `protobuf:"varint,50,opt,name=is_aurora_postgres,json=isAuroraPostgres,proto3" json:"is_aurora_postgres,omitempty"`
	// contains filtered or unexported fields
}

func (*SystemInformationAmazonRDS) Descriptor deprecated

func (*SystemInformationAmazonRDS) Descriptor() ([]byte, []int)

Deprecated: Use SystemInformationAmazonRDS.ProtoReflect.Descriptor instead.

func (*SystemInformationAmazonRDS) GetAutoMinorVersionUpgrade

func (x *SystemInformationAmazonRDS) GetAutoMinorVersionUpgrade() bool

func (*SystemInformationAmazonRDS) GetAvailabilityZone

func (x *SystemInformationAmazonRDS) GetAvailabilityZone() string

func (*SystemInformationAmazonRDS) GetBackupRetentionPeriodDays

func (x *SystemInformationAmazonRDS) GetBackupRetentionPeriodDays() int32

func (*SystemInformationAmazonRDS) GetCaCertificate

func (x *SystemInformationAmazonRDS) GetCaCertificate() string

func (*SystemInformationAmazonRDS) GetCreatedAt

func (*SystemInformationAmazonRDS) GetDeletionProtection

func (x *SystemInformationAmazonRDS) GetDeletionProtection() bool

func (*SystemInformationAmazonRDS) GetEnhancedMonitoring

func (x *SystemInformationAmazonRDS) GetEnhancedMonitoring() bool

func (*SystemInformationAmazonRDS) GetIamAuthentication

func (x *SystemInformationAmazonRDS) GetIamAuthentication() bool

func (*SystemInformationAmazonRDS) GetInitialDbName

func (x *SystemInformationAmazonRDS) GetInitialDbName() string

func (*SystemInformationAmazonRDS) GetInstanceClass

func (x *SystemInformationAmazonRDS) GetInstanceClass() string

func (*SystemInformationAmazonRDS) GetInstanceId

func (x *SystemInformationAmazonRDS) GetInstanceId() string

func (*SystemInformationAmazonRDS) GetIsAuroraPostgres

func (x *SystemInformationAmazonRDS) GetIsAuroraPostgres() bool

func (*SystemInformationAmazonRDS) GetLatestRestorableTime

func (x *SystemInformationAmazonRDS) GetLatestRestorableTime() *timestamppb.Timestamp

func (*SystemInformationAmazonRDS) GetMasterUsername

func (x *SystemInformationAmazonRDS) GetMasterUsername() string

func (*SystemInformationAmazonRDS) GetMultiAz

func (x *SystemInformationAmazonRDS) GetMultiAz() bool

func (*SystemInformationAmazonRDS) GetParameterApplyStatus

func (x *SystemInformationAmazonRDS) GetParameterApplyStatus() string

func (*SystemInformationAmazonRDS) GetParameterAutoExplainEnabled

func (x *SystemInformationAmazonRDS) GetParameterAutoExplainEnabled() bool

func (*SystemInformationAmazonRDS) GetParameterPgssEnabled

func (x *SystemInformationAmazonRDS) GetParameterPgssEnabled() bool

func (*SystemInformationAmazonRDS) GetPerformanceInsights

func (x *SystemInformationAmazonRDS) GetPerformanceInsights() bool

func (*SystemInformationAmazonRDS) GetPostgresLogExport

func (x *SystemInformationAmazonRDS) GetPostgresLogExport() bool

func (*SystemInformationAmazonRDS) GetPreferredBackupWindow

func (x *SystemInformationAmazonRDS) GetPreferredBackupWindow() string

func (*SystemInformationAmazonRDS) GetPreferredMaintenanceWindow

func (x *SystemInformationAmazonRDS) GetPreferredMaintenanceWindow() string

func (*SystemInformationAmazonRDS) GetPubliclyAccessible

func (x *SystemInformationAmazonRDS) GetPubliclyAccessible() bool

func (*SystemInformationAmazonRDS) GetRegion

func (x *SystemInformationAmazonRDS) GetRegion() string

func (*SystemInformationAmazonRDS) GetSecondaryAvailabilityZone

func (x *SystemInformationAmazonRDS) GetSecondaryAvailabilityZone() string

func (*SystemInformationAmazonRDS) GetStatus

func (x *SystemInformationAmazonRDS) GetStatus() string

func (*SystemInformationAmazonRDS) ProtoMessage

func (*SystemInformationAmazonRDS) ProtoMessage()

func (*SystemInformationAmazonRDS) ProtoReflect

func (*SystemInformationAmazonRDS) Reset

func (x *SystemInformationAmazonRDS) Reset()

func (*SystemInformationAmazonRDS) String

func (x *SystemInformationAmazonRDS) String() string

type SystemInformationAzure added in v0.59.0

type SystemInformationAzure struct {
	Location                 string                 `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
	CreatedAt                *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	State                    string                 `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"`
	SubscriptionId           string                 `protobuf:"bytes,4,opt,name=subscription_id,json=subscriptionId,proto3" json:"subscription_id,omitempty"`
	ResourceGroup            string                 `protobuf:"bytes,5,opt,name=resource_group,json=resourceGroup,proto3" json:"resource_group,omitempty"`
	ResourceType             string                 `protobuf:"bytes,6,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
	ResourceName             string                 `protobuf:"bytes,7,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
	AvailabilityZone         string                 `protobuf:"bytes,8,opt,name=availability_zone,json=availabilityZone,proto3" json:"availability_zone,omitempty"`
	StorageGb                int32                  `protobuf:"varint,9,opt,name=storage_gb,json=storageGb,proto3" json:"storage_gb,omitempty"`
	HighAvailabilityMode     string                 `protobuf:"bytes,10,opt,name=high_availability_mode,json=highAvailabilityMode,proto3" json:"high_availability_mode,omitempty"`
	HighAvailabilityState    string                 `` /* 127-byte string literal not displayed */
	ReplicationRole          string                 `protobuf:"bytes,12,opt,name=replication_role,json=replicationRole,proto3" json:"replication_role,omitempty"`
	CitusVersion             string                 `protobuf:"bytes,13,opt,name=citus_version,json=citusVersion,proto3" json:"citus_version,omitempty"`
	HighAvailabilityEnabled  bool                   `` /* 134-byte string literal not displayed */
	CoordinatorStorageMb     int32                  `protobuf:"varint,15,opt,name=coordinator_storage_mb,json=coordinatorStorageMb,proto3" json:"coordinator_storage_mb,omitempty"`
	NodeStorageMb            int32                  `protobuf:"varint,16,opt,name=node_storage_mb,json=nodeStorageMb,proto3" json:"node_storage_mb,omitempty"`
	CoordinatorVcores        int32                  `protobuf:"varint,17,opt,name=coordinator_vcores,json=coordinatorVcores,proto3" json:"coordinator_vcores,omitempty"`
	NodeVcores               int32                  `protobuf:"varint,18,opt,name=node_vcores,json=nodeVcores,proto3" json:"node_vcores,omitempty"`
	NodeCount                int32                  `protobuf:"varint,19,opt,name=node_count,json=nodeCount,proto3" json:"node_count,omitempty"`
	SkuName                  string                 `protobuf:"bytes,20,opt,name=sku_name,json=skuName,proto3" json:"sku_name,omitempty"`
	CoordinatorServerEdition string                 `` /* 136-byte string literal not displayed */
	NodeServerEdition        string                 `protobuf:"bytes,22,opt,name=node_server_edition,json=nodeServerEdition,proto3" json:"node_server_edition,omitempty"`
	MaintenanceCustomWindow  bool                   `` /* 134-byte string literal not displayed */
	MaintenanceDayOfWeek     int32                  `` /* 127-byte string literal not displayed */
	MaintenanceStartHour     int32                  `protobuf:"varint,25,opt,name=maintenance_start_hour,json=maintenanceStartHour,proto3" json:"maintenance_start_hour,omitempty"`
	MaintenanceStartMinute   int32                  `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SystemInformationAzure) Descriptor deprecated added in v0.59.0

func (*SystemInformationAzure) Descriptor() ([]byte, []int)

Deprecated: Use SystemInformationAzure.ProtoReflect.Descriptor instead.

func (*SystemInformationAzure) GetAvailabilityZone added in v0.59.0

func (x *SystemInformationAzure) GetAvailabilityZone() string

func (*SystemInformationAzure) GetCitusVersion added in v0.59.0

func (x *SystemInformationAzure) GetCitusVersion() string

func (*SystemInformationAzure) GetCoordinatorServerEdition added in v0.59.0

func (x *SystemInformationAzure) GetCoordinatorServerEdition() string

func (*SystemInformationAzure) GetCoordinatorStorageMb added in v0.59.0

func (x *SystemInformationAzure) GetCoordinatorStorageMb() int32

func (*SystemInformationAzure) GetCoordinatorVcores added in v0.59.0

func (x *SystemInformationAzure) GetCoordinatorVcores() int32

func (*SystemInformationAzure) GetCreatedAt added in v0.59.0

func (x *SystemInformationAzure) GetCreatedAt() *timestamppb.Timestamp

func (*SystemInformationAzure) GetHighAvailabilityEnabled added in v0.59.0

func (x *SystemInformationAzure) GetHighAvailabilityEnabled() bool

func (*SystemInformationAzure) GetHighAvailabilityMode added in v0.59.0

func (x *SystemInformationAzure) GetHighAvailabilityMode() string

func (*SystemInformationAzure) GetHighAvailabilityState added in v0.59.0

func (x *SystemInformationAzure) GetHighAvailabilityState() string

func (*SystemInformationAzure) GetLocation added in v0.59.0

func (x *SystemInformationAzure) GetLocation() string

func (*SystemInformationAzure) GetMaintenanceCustomWindow added in v0.59.0

func (x *SystemInformationAzure) GetMaintenanceCustomWindow() bool

func (*SystemInformationAzure) GetMaintenanceDayOfWeek added in v0.59.0

func (x *SystemInformationAzure) GetMaintenanceDayOfWeek() int32

func (*SystemInformationAzure) GetMaintenanceStartHour added in v0.59.0

func (x *SystemInformationAzure) GetMaintenanceStartHour() int32

func (*SystemInformationAzure) GetMaintenanceStartMinute added in v0.59.0

func (x *SystemInformationAzure) GetMaintenanceStartMinute() int32

func (*SystemInformationAzure) GetNodeCount added in v0.59.0

func (x *SystemInformationAzure) GetNodeCount() int32

func (*SystemInformationAzure) GetNodeServerEdition added in v0.59.0

func (x *SystemInformationAzure) GetNodeServerEdition() string

func (*SystemInformationAzure) GetNodeStorageMb added in v0.59.0

func (x *SystemInformationAzure) GetNodeStorageMb() int32

func (*SystemInformationAzure) GetNodeVcores added in v0.59.0

func (x *SystemInformationAzure) GetNodeVcores() int32

func (*SystemInformationAzure) GetReplicationRole added in v0.59.0

func (x *SystemInformationAzure) GetReplicationRole() string

func (*SystemInformationAzure) GetResourceGroup added in v0.59.0

func (x *SystemInformationAzure) GetResourceGroup() string

func (*SystemInformationAzure) GetResourceName added in v0.59.0

func (x *SystemInformationAzure) GetResourceName() string

func (*SystemInformationAzure) GetResourceType added in v0.59.0

func (x *SystemInformationAzure) GetResourceType() string

func (*SystemInformationAzure) GetSkuName added in v0.59.0

func (x *SystemInformationAzure) GetSkuName() string

func (*SystemInformationAzure) GetState added in v0.59.0

func (x *SystemInformationAzure) GetState() string

func (*SystemInformationAzure) GetStorageGb added in v0.59.0

func (x *SystemInformationAzure) GetStorageGb() int32

func (*SystemInformationAzure) GetSubscriptionId added in v0.59.0

func (x *SystemInformationAzure) GetSubscriptionId() string

func (*SystemInformationAzure) ProtoMessage added in v0.59.0

func (*SystemInformationAzure) ProtoMessage()

func (*SystemInformationAzure) ProtoReflect added in v0.59.0

func (x *SystemInformationAzure) ProtoReflect() protoreflect.Message

func (*SystemInformationAzure) Reset added in v0.59.0

func (x *SystemInformationAzure) Reset()

func (*SystemInformationAzure) String added in v0.59.0

func (x *SystemInformationAzure) String() string

type SystemInformationCrunchyBridge added in v0.52.3

type SystemInformationCrunchyBridge struct {
	ClusterName string                 `protobuf:"bytes,1,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
	CreatedAt   *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	PlanId      string                 `protobuf:"bytes,3,opt,name=plan_id,json=planId,proto3" json:"plan_id,omitempty"`
	ProviderId  string                 `protobuf:"bytes,4,opt,name=provider_id,json=providerId,proto3" json:"provider_id,omitempty"`
	RegionId    string                 `protobuf:"bytes,5,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
	CpuUnits    int32                  `protobuf:"varint,6,opt,name=cpu_units,json=cpuUnits,proto3" json:"cpu_units,omitempty"`
	StorageGb   int32                  `protobuf:"varint,7,opt,name=storage_gb,json=storageGb,proto3" json:"storage_gb,omitempty"`
	MemoryGb    float64                `protobuf:"fixed64,8,opt,name=memory_gb,json=memoryGb,proto3" json:"memory_gb,omitempty"`
	// contains filtered or unexported fields
}

func (*SystemInformationCrunchyBridge) Descriptor deprecated added in v0.52.3

func (*SystemInformationCrunchyBridge) Descriptor() ([]byte, []int)

Deprecated: Use SystemInformationCrunchyBridge.ProtoReflect.Descriptor instead.

func (*SystemInformationCrunchyBridge) GetClusterName added in v0.52.3

func (x *SystemInformationCrunchyBridge) GetClusterName() string

func (*SystemInformationCrunchyBridge) GetCpuUnits added in v0.52.3

func (x *SystemInformationCrunchyBridge) GetCpuUnits() int32

func (*SystemInformationCrunchyBridge) GetCreatedAt added in v0.52.3

func (*SystemInformationCrunchyBridge) GetMemoryGb added in v0.52.3

func (x *SystemInformationCrunchyBridge) GetMemoryGb() float64

func (*SystemInformationCrunchyBridge) GetPlanId added in v0.52.3

func (x *SystemInformationCrunchyBridge) GetPlanId() string

func (*SystemInformationCrunchyBridge) GetProviderId added in v0.52.3

func (x *SystemInformationCrunchyBridge) GetProviderId() string

func (*SystemInformationCrunchyBridge) GetRegionId added in v0.52.3

func (x *SystemInformationCrunchyBridge) GetRegionId() string

func (*SystemInformationCrunchyBridge) GetStorageGb added in v0.52.3

func (x *SystemInformationCrunchyBridge) GetStorageGb() int32

func (*SystemInformationCrunchyBridge) ProtoMessage added in v0.52.3

func (*SystemInformationCrunchyBridge) ProtoMessage()

func (*SystemInformationCrunchyBridge) ProtoReflect added in v0.52.3

func (*SystemInformationCrunchyBridge) Reset added in v0.52.3

func (x *SystemInformationCrunchyBridge) Reset()

func (*SystemInformationCrunchyBridge) String added in v0.52.3

type SystemInformationSelfHosted

type SystemInformationSelfHosted struct {
	Hostname                 string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"`
	Architecture             string `protobuf:"bytes,2,opt,name=architecture,proto3" json:"architecture,omitempty"`
	OperatingSystem          string `protobuf:"bytes,3,opt,name=operating_system,json=operatingSystem,proto3" json:"operating_system,omitempty"`
	Platform                 string `protobuf:"bytes,4,opt,name=platform,proto3" json:"platform,omitempty"`
	PlatformFamily           string `protobuf:"bytes,5,opt,name=platform_family,json=platformFamily,proto3" json:"platform_family,omitempty"`
	PlatformVersion          string `protobuf:"bytes,6,opt,name=platform_version,json=platformVersion,proto3" json:"platform_version,omitempty"`
	VirtualizationSystem     string `protobuf:"bytes,7,opt,name=virtualization_system,json=virtualizationSystem,proto3" json:"virtualization_system,omitempty"` // Name of the virtualization system (only if we're a guest)
	KernelVersion            string `protobuf:"bytes,8,opt,name=kernel_version,json=kernelVersion,proto3" json:"kernel_version,omitempty"`
	DatabaseSystemIdentifier string `` // Postgres internal system identifier from pg_controldata
	/* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SystemInformationSelfHosted) Descriptor deprecated

func (*SystemInformationSelfHosted) Descriptor() ([]byte, []int)

Deprecated: Use SystemInformationSelfHosted.ProtoReflect.Descriptor instead.

func (*SystemInformationSelfHosted) GetArchitecture

func (x *SystemInformationSelfHosted) GetArchitecture() string

func (*SystemInformationSelfHosted) GetDatabaseSystemIdentifier

func (x *SystemInformationSelfHosted) GetDatabaseSystemIdentifier() string

func (*SystemInformationSelfHosted) GetHostname

func (x *SystemInformationSelfHosted) GetHostname() string

func (*SystemInformationSelfHosted) GetKernelVersion

func (x *SystemInformationSelfHosted) GetKernelVersion() string

func (*SystemInformationSelfHosted) GetOperatingSystem

func (x *SystemInformationSelfHosted) GetOperatingSystem() string

func (*SystemInformationSelfHosted) GetPlatform

func (x *SystemInformationSelfHosted) GetPlatform() string

func (*SystemInformationSelfHosted) GetPlatformFamily

func (x *SystemInformationSelfHosted) GetPlatformFamily() string

func (*SystemInformationSelfHosted) GetPlatformVersion

func (x *SystemInformationSelfHosted) GetPlatformVersion() string

func (*SystemInformationSelfHosted) GetVirtualizationSystem

func (x *SystemInformationSelfHosted) GetVirtualizationSystem() string

func (*SystemInformationSelfHosted) ProtoMessage

func (*SystemInformationSelfHosted) ProtoMessage()

func (*SystemInformationSelfHosted) ProtoReflect

func (*SystemInformationSelfHosted) Reset

func (x *SystemInformationSelfHosted) Reset()

func (*SystemInformationSelfHosted) String

func (x *SystemInformationSelfHosted) String() string

type SystemInformation_AmazonRds

type SystemInformation_AmazonRds struct {
	AmazonRds *SystemInformationAmazonRDS `protobuf:"bytes,3,opt,name=amazon_rds,json=amazonRds,proto3,oneof"`
}

type SystemInformation_Azure added in v0.59.0

type SystemInformation_Azure struct {
	Azure *SystemInformationAzure `protobuf:"bytes,6,opt,name=azure,proto3,oneof"`
}

type SystemInformation_CrunchyBridge added in v0.52.3

type SystemInformation_CrunchyBridge struct {
	CrunchyBridge *SystemInformationCrunchyBridge `protobuf:"bytes,5,opt,name=crunchy_bridge,json=crunchyBridge,proto3,oneof"`
}

type SystemInformation_SelfHosted

type SystemInformation_SelfHosted struct {
	SelfHosted *SystemInformationSelfHosted `protobuf:"bytes,2,opt,name=self_hosted,json=selfHosted,proto3,oneof"`
}

type SystemInformation_SystemType

type SystemInformation_SystemType int32
const (
	SystemInformation_SELF_HOSTED_SYSTEM      SystemInformation_SystemType = 0
	SystemInformation_AMAZON_RDS_SYSTEM       SystemInformation_SystemType = 1
	SystemInformation_HEROKU_SYSTEM           SystemInformation_SystemType = 2
	SystemInformation_GOOGLE_CLOUD_SQL_SYSTEM SystemInformation_SystemType = 3
	SystemInformation_AZURE_DATABASE_SYSTEM   SystemInformation_SystemType = 4
	SystemInformation_CRUNCHY_BRIDGE_SYSTEM   SystemInformation_SystemType = 5
	SystemInformation_AIVEN_SYSTEM            SystemInformation_SystemType = 6
	SystemInformation_TEMBO_SYSTEM            SystemInformation_SystemType = 7
)

func (SystemInformation_SystemType) Descriptor

func (SystemInformation_SystemType) Enum

func (SystemInformation_SystemType) EnumDescriptor deprecated

func (SystemInformation_SystemType) EnumDescriptor() ([]byte, []int)

Deprecated: Use SystemInformation_SystemType.Descriptor instead.

func (SystemInformation_SystemType) Number

func (SystemInformation_SystemType) String

func (SystemInformation_SystemType) Type

type TablespaceInformation

type TablespaceInformation struct {
	TablespaceIdx    int32    `protobuf:"varint,1,opt,name=tablespace_idx,json=tablespaceIdx,proto3" json:"tablespace_idx,omitempty"`
	DiskPartitionIdx int32    `protobuf:"varint,2,opt,name=disk_partition_idx,json=diskPartitionIdx,proto3" json:"disk_partition_idx,omitempty"` // Disk partition that this tablespace resides on (-1 if unknown)
	RoleIdx          int32    `protobuf:"varint,3,opt,name=role_idx,json=roleIdx,proto3" json:"role_idx,omitempty"`                              // Owner of the tablespace, usually the user who created it
	Config           []string `protobuf:"bytes,4,rep,name=config,proto3" json:"config,omitempty"`                                                // Tablespace-level options, as "keyword=value" strings
	// contains filtered or unexported fields
}

func (*TablespaceInformation) Descriptor deprecated

func (*TablespaceInformation) Descriptor() ([]byte, []int)

Deprecated: Use TablespaceInformation.ProtoReflect.Descriptor instead.

func (*TablespaceInformation) GetConfig

func (x *TablespaceInformation) GetConfig() []string

func (*TablespaceInformation) GetDiskPartitionIdx

func (x *TablespaceInformation) GetDiskPartitionIdx() int32

func (*TablespaceInformation) GetRoleIdx

func (x *TablespaceInformation) GetRoleIdx() int32

func (*TablespaceInformation) GetTablespaceIdx

func (x *TablespaceInformation) GetTablespaceIdx() int32

func (*TablespaceInformation) ProtoMessage

func (*TablespaceInformation) ProtoMessage()

func (*TablespaceInformation) ProtoReflect

func (x *TablespaceInformation) ProtoReflect() protoreflect.Message

func (*TablespaceInformation) Reset

func (x *TablespaceInformation) Reset()

func (*TablespaceInformation) String

func (x *TablespaceInformation) String() string

type TablespaceReference

type TablespaceReference struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Tablespace name
	// contains filtered or unexported fields
}

func (*TablespaceReference) Descriptor deprecated

func (*TablespaceReference) Descriptor() ([]byte, []int)

Deprecated: Use TablespaceReference.ProtoReflect.Descriptor instead.

func (*TablespaceReference) GetName

func (x *TablespaceReference) GetName() string

func (*TablespaceReference) ProtoMessage

func (*TablespaceReference) ProtoMessage()

func (*TablespaceReference) ProtoReflect

func (x *TablespaceReference) ProtoReflect() protoreflect.Message

func (*TablespaceReference) Reset

func (x *TablespaceReference) Reset()

func (*TablespaceReference) String

func (x *TablespaceReference) String() string

type VacuumProgressInformation

type VacuumProgressInformation struct {
	VacuumIdentity  uint64                 `protobuf:"varint,1,opt,name=vacuum_identity,json=vacuumIdentity,proto3" json:"vacuum_identity,omitempty"` // Server-wide unique identifier for this vacuum run (query_start + PID)
	RoleIdx         int32                  `protobuf:"varint,2,opt,name=role_idx,json=roleIdx,proto3" json:"role_idx,omitempty"`
	DatabaseIdx     int32                  `protobuf:"varint,3,opt,name=database_idx,json=databaseIdx,proto3" json:"database_idx,omitempty"`
	RelationIdx     int32                  `protobuf:"varint,4,opt,name=relation_idx,json=relationIdx,proto3" json:"relation_idx,omitempty"`
	BackendIdentity uint64                 `protobuf:"varint,5,opt,name=backend_identity,json=backendIdentity,proto3" json:"backend_identity,omitempty"`
	StartedAt       *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	Autovacuum      bool                   `protobuf:"varint,7,opt,name=autovacuum,proto3" json:"autovacuum,omitempty"`
	Toast           bool                   `protobuf:"varint,8,opt,name=toast,proto3" json:"toast,omitempty"`
	// contains filtered or unexported fields
}

func (*VacuumProgressInformation) Descriptor deprecated

func (*VacuumProgressInformation) Descriptor() ([]byte, []int)

Deprecated: Use VacuumProgressInformation.ProtoReflect.Descriptor instead.

func (*VacuumProgressInformation) GetAutovacuum

func (x *VacuumProgressInformation) GetAutovacuum() bool

func (*VacuumProgressInformation) GetBackendIdentity

func (x *VacuumProgressInformation) GetBackendIdentity() uint64

func (*VacuumProgressInformation) GetDatabaseIdx

func (x *VacuumProgressInformation) GetDatabaseIdx() int32

func (*VacuumProgressInformation) GetRelationIdx

func (x *VacuumProgressInformation) GetRelationIdx() int32

func (*VacuumProgressInformation) GetRoleIdx

func (x *VacuumProgressInformation) GetRoleIdx() int32

func (*VacuumProgressInformation) GetStartedAt

func (x *VacuumProgressInformation) GetStartedAt() *timestamppb.Timestamp

func (*VacuumProgressInformation) GetToast

func (x *VacuumProgressInformation) GetToast() bool

func (*VacuumProgressInformation) GetVacuumIdentity

func (x *VacuumProgressInformation) GetVacuumIdentity() uint64

func (*VacuumProgressInformation) ProtoMessage

func (*VacuumProgressInformation) ProtoMessage()

func (*VacuumProgressInformation) ProtoReflect

func (*VacuumProgressInformation) Reset

func (x *VacuumProgressInformation) Reset()

func (*VacuumProgressInformation) String

func (x *VacuumProgressInformation) String() string

type VacuumProgressStatistic

type VacuumProgressStatistic struct {
	VacuumIdentity    uint64                              `protobuf:"varint,1,opt,name=vacuum_identity,json=vacuumIdentity,proto3" json:"vacuum_identity,omitempty"` // Server-wide unique identifier for this vacuum run (query_start + PID)
	Phase             VacuumProgressStatistic_VacuumPhase `protobuf:"varint,2,opt,name=phase,proto3,enum=pganalyze.collector.VacuumProgressStatistic_VacuumPhase" json:"phase,omitempty"`
	HeapBlksTotal     int64                               `protobuf:"varint,3,opt,name=heap_blks_total,json=heapBlksTotal,proto3" json:"heap_blks_total,omitempty"`
	HeapBlksScanned   int64                               `protobuf:"varint,4,opt,name=heap_blks_scanned,json=heapBlksScanned,proto3" json:"heap_blks_scanned,omitempty"`
	HeapBlksVacuumed  int64                               `protobuf:"varint,5,opt,name=heap_blks_vacuumed,json=heapBlksVacuumed,proto3" json:"heap_blks_vacuumed,omitempty"`
	IndexVacuumCount  int64                               `protobuf:"varint,6,opt,name=index_vacuum_count,json=indexVacuumCount,proto3" json:"index_vacuum_count,omitempty"`
	MaxDeadItemIds    int64                               `protobuf:"varint,7,opt,name=max_dead_item_ids,json=maxDeadItemIds,proto3" json:"max_dead_item_ids,omitempty"` // Postgres 16 and older
	NumDeadItemIds    int64                               `protobuf:"varint,8,opt,name=num_dead_item_ids,json=numDeadItemIds,proto3" json:"num_dead_item_ids,omitempty"`
	DeadTupleBytes    int64                               `protobuf:"varint,9,opt,name=dead_tuple_bytes,json=deadTupleBytes,proto3" json:"dead_tuple_bytes,omitempty"`             // Postgres 17+
	MaxDeadTupleBytes int64                               `protobuf:"varint,10,opt,name=max_dead_tuple_bytes,json=maxDeadTupleBytes,proto3" json:"max_dead_tuple_bytes,omitempty"` // Postgres 17+
	IndexesTotal      int64                               `protobuf:"varint,11,opt,name=indexes_total,json=indexesTotal,proto3" json:"indexes_total,omitempty"`                    // Postgres 17+
	IndexesProcessed  int64                               `protobuf:"varint,12,opt,name=indexes_processed,json=indexesProcessed,proto3" json:"indexes_processed,omitempty"`        // Postgres 17+
	// contains filtered or unexported fields
}

func (*VacuumProgressStatistic) Descriptor deprecated

func (*VacuumProgressStatistic) Descriptor() ([]byte, []int)

Deprecated: Use VacuumProgressStatistic.ProtoReflect.Descriptor instead.

func (*VacuumProgressStatistic) GetDeadTupleBytes added in v0.59.0

func (x *VacuumProgressStatistic) GetDeadTupleBytes() int64

func (*VacuumProgressStatistic) GetHeapBlksScanned

func (x *VacuumProgressStatistic) GetHeapBlksScanned() int64

func (*VacuumProgressStatistic) GetHeapBlksTotal

func (x *VacuumProgressStatistic) GetHeapBlksTotal() int64

func (*VacuumProgressStatistic) GetHeapBlksVacuumed

func (x *VacuumProgressStatistic) GetHeapBlksVacuumed() int64

func (*VacuumProgressStatistic) GetIndexVacuumCount

func (x *VacuumProgressStatistic) GetIndexVacuumCount() int64

func (*VacuumProgressStatistic) GetIndexesProcessed added in v0.59.0

func (x *VacuumProgressStatistic) GetIndexesProcessed() int64

func (*VacuumProgressStatistic) GetIndexesTotal added in v0.59.0

func (x *VacuumProgressStatistic) GetIndexesTotal() int64

func (*VacuumProgressStatistic) GetMaxDeadItemIds added in v0.59.0

func (x *VacuumProgressStatistic) GetMaxDeadItemIds() int64

func (*VacuumProgressStatistic) GetMaxDeadTupleBytes added in v0.59.0

func (x *VacuumProgressStatistic) GetMaxDeadTupleBytes() int64

func (*VacuumProgressStatistic) GetNumDeadItemIds added in v0.59.0

func (x *VacuumProgressStatistic) GetNumDeadItemIds() int64

func (*VacuumProgressStatistic) GetPhase

func (*VacuumProgressStatistic) GetVacuumIdentity

func (x *VacuumProgressStatistic) GetVacuumIdentity() uint64

func (*VacuumProgressStatistic) ProtoMessage

func (*VacuumProgressStatistic) ProtoMessage()

func (*VacuumProgressStatistic) ProtoReflect

func (x *VacuumProgressStatistic) ProtoReflect() protoreflect.Message

func (*VacuumProgressStatistic) Reset

func (x *VacuumProgressStatistic) Reset()

func (*VacuumProgressStatistic) String

func (x *VacuumProgressStatistic) String() string

type VacuumProgressStatistic_VacuumPhase

type VacuumProgressStatistic_VacuumPhase int32
const (
	VacuumProgressStatistic_INITIALIZING  VacuumProgressStatistic_VacuumPhase = 0 // "initializing"
	VacuumProgressStatistic_SCAN_HEAP     VacuumProgressStatistic_VacuumPhase = 1 // "scanning heap"
	VacuumProgressStatistic_VACUUM_INDEX  VacuumProgressStatistic_VacuumPhase = 2 // "vacuuming indexes"
	VacuumProgressStatistic_VACUUM_HEAP   VacuumProgressStatistic_VacuumPhase = 3 // "vacuuming heap"
	VacuumProgressStatistic_INDEX_CLEANUP VacuumProgressStatistic_VacuumPhase = 4 // "cleaning up indexes"
	VacuumProgressStatistic_TRUNCATE      VacuumProgressStatistic_VacuumPhase = 5 // "truncating heap"
	VacuumProgressStatistic_FINAL_CLEANUP VacuumProgressStatistic_VacuumPhase = 6 // "performing final cleanup"
)

func (VacuumProgressStatistic_VacuumPhase) Descriptor

func (VacuumProgressStatistic_VacuumPhase) Enum

func (VacuumProgressStatistic_VacuumPhase) EnumDescriptor deprecated

func (VacuumProgressStatistic_VacuumPhase) EnumDescriptor() ([]byte, []int)

Deprecated: Use VacuumProgressStatistic_VacuumPhase.Descriptor instead.

func (VacuumProgressStatistic_VacuumPhase) Number

func (VacuumProgressStatistic_VacuumPhase) String

func (VacuumProgressStatistic_VacuumPhase) Type

Jump to

Keyboard shortcuts

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