Skip to main content

A visualiser for available Prometheus metrics

Project description

promls : Explore Prometheus metrics

promls lets you explore prometheus metrics for your services. Target the metrics endpoint of your service and search for relevant metrics.

Usage

CLI

promls has cli modes. Filter for metrics by name, path, any field, or a fuzzy match.

> promls name --filter cpu http://localhost:9402/metrics
process_cpu_seconds_total (counter) Total user and system CPU time spent in seconds.

You can output the metrics in several formats:

  • flat: a compact list, useful for humans
    process_cpu_seconds_total (counter) Total user and system CPU time spent in seconds.
    
  • json: for scripting
    {
    "process_cpu_seconds_total": {
        "name": "process_cpu_seconds_total",
        "help": "Total user and system CPU time spent in seconds.",
        "type": "counter"
      }
    }
    
  • tree: use the words as nodes in a tree
    process
      cpu
        seconds
          total : process_cpu_seconds_total (counter) Total user and system CPU time spent in seconds.
    
  • full: like the prometheus metric format
    # HELP process_cpu_seconds_total Total user and system CPU time spent in seconds.
    # TYPE process_cpu_seconds_total counter
    process_cpu_seconds_total
    

TUI

Interactively filter and explore the metrics. browse.png

Bibliography

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

alpacloud_promls-0.1.0.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

alpacloud.promls-0.1.0-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file alpacloud_promls-0.1.0.tar.gz.

File metadata

  • Download URL: alpacloud_promls-0.1.0.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for alpacloud_promls-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2211763a7028c23d4f0f08d66a32d441a240f717fbbf0c6b3b13086960a7a85a
MD5 61f762056c54b1e76df5314864cb429a
BLAKE2b-256 cdf4efe276e28558980ad20415502c29979ff44cbf1dac041ecde63ff50c98b4

See more details on using hashes here.

File details

Details for the file alpacloud.promls-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for alpacloud.promls-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5206956f29b08a14dd4cf5017048ffec3b46ca60e2dbc37db5eabaeea3c0945c
MD5 101e7f7839c309b93aec48684693ef56
BLAKE2b-256 2cdfb8ae593b194cf6339946cda6adf339e4abac53ab7acf50f8b0cdf980c9cf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page