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.
Installation
The promls cli is available in a Python package. You can install it directly with pipx:
pipx install alpacloud-promls
Usage
CLI
promls has cli modes. Filter for metrics by name, path, or any field.
> 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.
Bibliography
- Prometheus metric format : Old grammar for Prometheus metrics
- Prometheus metric format : the actual grammar
Metadata
Release files for alpacloud-promls 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| alpacloud_promls-0.3.0.tar.gz | 11.6 kB | Without provenance | Details for alpacloud_promls-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| alpacloud_promls-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for alpacloud_promls-0.3.0-py3-none-any.whl |
Total release size: 24.2 kB
Release files / alpacloud_promls-0.3.0.tar.gz
| Download URL | alpacloud_promls-0.3.0.tar.gz |
|---|---|
| Size | 11.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
055c76dfa51cd453c31c1b73ab30a13c8ca3e750747421979efaa68163f71a2c
|
|
BLAKE2b-256 checksum How to use checksums |
15e76b56316ef3bb506da32940a2791c9be6216f7546098930da5e75e82d4ea1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / alpacloud_promls-0.3.0-py3-none-any.whl
| Download URL | alpacloud_promls-0.3.0-py3-none-any.whl |
|---|---|
| Size | 12.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f7da8edb1185efb57cdffbaa3ff16055a0e4a37546131a8412fcd2597b538875
|
|
BLAKE2b-256 checksum How to use checksums |
2c8de406084e600949c62ba75f3e2786323acd4413049c77407eaaedf3db276a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for alpacloud-promls 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.