Registers the standard process metrics for Prometheus clients. Not all metrics are supported on all operating systems.
register_default_metrics(registry = global_registry())
| registry | A |
|---|
Called for side effects only.
#> [1] "# HELP meows Heard around the house.\n# TYPE meows counter\nmeows_total{cat=\"Shamus\"} 1\nmeows_created{cat=\"Shamus\"} 1625501542.56245\nmeows_total{cat=\"Unknown\"} 3\nmeows_created{cat=\"Unknown\"} 1625501542.56332\n# HELP thermostat Thermostat display.\n# TYPE thermostat gauge\nthermostat 19.3\n# HELP temperature Ambient room temperature measurements.\n# TYPE temperature histogram\ntemperature_bucket{room=\"bathroom\",le=\"10.0\"} 0\ntemperature_bucket{room=\"bathroom\",le=\"15.0\"} 0\ntemperature_bucket{room=\"bathroom\",le=\"20.0\"} 0\ntemperature_bucket{room=\"bathroom\",le=\"22.0\"} 9\ntemperature_bucket{room=\"bathroom\",le=\"25.0\"} 11\ntemperature_bucket{room=\"bathroom\",le=\"+Inf\"} 11\ntemperature_sum{room=\"bathroom\"} 234.387663039796\ntemperature_count{room=\"bathroom\"} 11\ntemperature_created{room=\"bathroom\"} 1625501542.57906\ntemperature_bucket{room=\"kitchen\",le=\"10.0\"} 0\ntemperature_bucket{room=\"kitchen\",le=\"15.0\"} 0\ntemperature_bucket{room=\"kitchen\",le=\"20.0\"} 1\ntemperature_bucket{room=\"kitchen\",le=\"22.0\"} 4\ntemperature_bucket{room=\"kitchen\",le=\"25.0\"} 9\ntemperature_bucket{room=\"kitchen\",le=\"+Inf\"} 9\ntemperature_sum{room=\"kitchen\"} 198.854388891071\ntemperature_count{room=\"kitchen\"} 9\ntemperature_created{room=\"kitchen\"} 1625501542.5789\n# HELP process_cpu_seconds Total user and system CPU time spent in seconds.\n# TYPE process_cpu_seconds counter\nprocess_cpu_seconds_total 2.23\nprocess_cpu_seconds_created 1625501543.11933\n# EOF"