UltipaDocs
Products
Solutions
Resources
Company
Start Free Trial
UltipaDocs
Start Free Trial
    • Install Ultipa
    • Install Ultipa Manager
  • Deployment with Kubernetes
  • Standalone Mode
  • License
    • Meta Servers
    • Shard Servers
    • HDC Servers
    • Vector Servers
    • Server Statistics
    • Privilege
    • Role (Policy)
    • User
    • Resource Group
  • Configuration
  • Monitoring
  • Security
  • Backup and Restore
  • Auto-Sharding Rebalancing
  • Change Data Capture (CDC)
  1. Docs
  2. /
  3. Operations & Maintenance

Monitoring

Prometheus Metrics

Ultipa exposes a /metrics HTTP endpoint on each server (default port 9091) in Prometheus text format, enabling integration with Prometheus and Grafana dashboards.

Enabling Metrics

The metrics endpoint is available by default on the HTTP Config API port.

Available Metrics

Metric
Description
ultipa_active_queriesNumber of currently executing queries.
ultipa_active_sessionsNumber of active client sessions.
ultipa_uptime_secondsServer uptime in seconds.
ultipa_memory_usage_bytesCurrent memory usage in bytes.
ultipa_total_queriesTotal number of queries executed since startup.
ultipa_total_errorsTotal number of query errors since startup.
ultipa_shard_countNumber of shard groups in the cluster.
ultipa_plan_cache_hitsPlan cache hit count.
ultipa_plan_cache_missesPlan cache miss count.
ultipa_plan_cache_sizeCurrent plan cache size.
ultipa_cpu_usage_percentCPU utilization percentage.
ultipa_open_file_descriptorsNumber of open file descriptors.
ultipa_disk_usage_bytesDisk usage in bytes.
ultipa_server_readyServer readiness status (1 = ready, 0 = not ready).

Prometheus Configuration

Add the following to your prometheus.yml:

YAML
scrape_configs:
  - job_name: 'ultipa'
    static_configs:
      - targets: ['<name-server-host>:9091', '<shard-server-host>:9091']

Structured JSON Logging

Ultipa supports configurable log format for integration with log aggregation systems like ELK or Splunk.

Configuration

Add the following to any server config file:

Ini
[Log]
log_format = json
Parameter
DefaultHot-UpdatableDescription
log_formattextYesLog output format: text or json.

JSON log entries include ISO 8601 timestamps, log level, and structured message fields.

Audit Logging

Audit logging records security-relevant events such as logins, DDL operations, and privilege changes to separate log files.

Configuration

Add the following section to name-server.config:

Ini
[Audit]
enabled = true
audit_query = false
Parameter
DefaultHot-UpdatableDescription
enabledfalseYesEnables or disables audit logging.
audit_queryfalseYesWhen enabled, also logs individual query executions.

Audit Events

Audit log entries include the user, client IP, timestamp, and operation details. Events include:

  • User login/logout
  • DDL operations (CREATE/DROP GRAPH, ALTER SCHEMA, etc.)
  • Privilege and role changes
  • Backup and restore operations