Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.polystack.tech/llms.txt

Use this file to discover all available pages before exploring further.

Overview

Monitoring scrapes metrics from standardized metric endpoints exposed by services across the infrastructure. Most infrastructure services are auto-detected via agent registration. This page covers configuring additional endpoints for application-specific exporters and managing the namespace organization of collected metrics.
Administrator Access Required — This operation requires the admin role. Contact your Polystack administrator if you do not have sufficient permissions.
Prerequisites
  • Administrator credentials with the admin role
  • Target endpoints must be reachable from the Monitoring collector nodes

Viewing Configured Targets

Navigate to Monitor Center > Monitoring (Scrape Targets, admin view). Each entry shows:
  • URL: The endpoint being scraped
  • Status: UP (healthy) or DOWN (not reachable)
  • Last Scrape: Timestamp of the most recent successful scrape
  • Labels: Metadata tags applied to all metrics from this target

Adding Custom Metric Endpoints

Navigate to Monitor Center > Monitoring (Add Scrape Target, admin view):
FieldDescription
URLFull endpoint URL (e.g., http://10.0.1.71:9399/metrics)
Scrape IntervalHow often to collect (default: 30s)
LabelsKey-value metadata tags for the target (e.g., service=polystack-filefs)
TLS ConfigCA certificate path for HTTPS endpoints
AuthBasic auth credentials or bearer token for secured endpoints

Metric Namespaces

Monitoring organizes metrics by namespace. Use the namespace prefix when writing alert rules and dashboard queries:
NamespaceSourceExample Metrics
polystack_computeCompute node agentscpu_utilization, memory_used_bytes
polystack_storageSoftware-Defined-Storage clusterpool_used_bytes, osd_latency_ms
polystack_networkNetwork agentsinterface_rx_bytes, packet_loss_pct
polystack_vmIroncore Guest Agentvm_cpu_usage, vm_memory_rss
polystack_filefsFile FS servicerequests_total, guestfs_handles_active
disaster-recoveryDisaster recovery agentreplication_lag_seconds, site_health

Firewall Requirements

Metric endpoints must be accessible from the Monitoring collector nodes. Configure security groups or firewall rules to permit:
SourceDestinationPortProtocol
Monitoring collector IPTarget nodeConfigured scrape portTCP
Monitoring collector IP9100 (node exporter default)All nodesTCP
Monitoring collector IP9283 (Software-Defined-Storage metrics)Storage nodesTCP
Monitoring collector IPs are listed under Monitor Center > Monitoring (Collectors, admin view). Update security group rules to include all collector IPs when adding new collectors during scale-out.

Next Steps

Agent Configuration

Configure agents and their default scrape targets on managed nodes

Alert Channels

Configure notification channels using the metric namespaces defined here

Retention Policies

Configure how long metric data from each namespace is retained

Troubleshooting

Diagnose targets in DOWN state and missing metric series