Documentation

Nomirun Host Prometheus metrics

Nomirun Host exposes Prometheus metrics automatically available on the /metrics endpoint on the port MetricsHttpPort (HTTP) or MetricsHttpsPort (HTTPS) that is exposed automatically.


Table of Contents:


Available Metrics

System Metrics


Metric Type Description
app_system_cpu_usage Gauge Current CPU usage percentage
app_system_memory_used Gauge Memory currently in use (in MB)
app_system_memory_total Gauge Total system memory available (in MB)
app_system_disk_free Gauge Free disk space (in GB)
app_uptime_seconds Counter Total time the application has been running


Request Metrics


Metric Type Description
app_http_requests_total Counter Total number of HTTP requests received
app_http_request_duration_seconds Histogram HTTP request latency distribution
app_http_requests_in_progress Gauge Current number of HTTP requests being processed
app_http_responses_total Counter Total HTTP responses by status code


Application-Specific Metrics


Metric Type Description
app_active_users Gauge Number of currently active users
app_jobs_pending Gauge Number of jobs waiting in queue
app_jobs_processing Gauge Number of jobs currently processing
app_jobs_completed_total Counter Total number of jobs successfully completed
app_jobs_failed_total Counter Total number of jobs that failed
app_database_connections Gauge Current number of open database connections
app_database_query_duration_seconds Hist. Database query execution time distribution


How to Access

To scrape these metrics, configure your Prometheus server to scrape the /metrics endpoint (Replace MetricsHttpPort with your configured metrics port.):

scrape_configs:
  - job_name: 'your-application'
    scrape_interval: 15s
    metrics_path: /metrics
    static_configs:
      - targets: ['your-app-host:MetricsHttpPort']


Custom Prometheus Metrics

Custom Prometheus metrics are currently not implemented. If these are required, please Contact us