postgresql

package
v1.300073.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2026 License: MIT Imports: 6 Imported by: 0

README

PostgreSQL Process Detector

Detects PostgreSQL database server processes running on the system.

Overview

The PostgreSQL detector identifies PostgreSQL server instances by checking for the postgres executable name. It is used by the workload-discovery command to automatically discover PostgreSQL workloads.

Detection Method

The detector examines the executable path of each process and checks if the base name is postgres.

Status Results

  • READY: PostgreSQL process detected with a port (explicit via -p flag or PGPORT, otherwise defaults to 5432).

Sample Metadata Result

{
  "categories": ["POSTGRESQL"],
  "name": "postgresql",
  "status": "READY",
  "telemetryPort": 5432
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDetector

func NewDetector(logger *slog.Logger) detector.ProcessDetector

NewDetector creates a new process detector that identifies PostgreSQL processes.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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