oslo.metrics
Oslo Metrics library
Decision gist · record as of 2026-08-14
Yes, if you are building or deploying OpenStack services or integrating with the Oslo library ecosystem. The package is actively maintained, has no known vulnerabilities, and provides a clean abstraction for metrics collection. Not relevant for non-OpenStack projects.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; designed for OpenStack environments.
- Low install friction with a pure-wheel distribution.
- Active maintenance status and recent release (88 days ago) indicate ongoing support.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in commercial and proprietary projects with minimal restrictions—include a copy of the license and note material changes.
last release 2026-05-18 (88 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 345,121 downloads/mo, #7,368 on PyPI
Alternatives
Verify before relying
pip install oslo-metrics
from oslo_metrics import api
metrics = api.get_metrics()- Whether the package provides direct Prometheus exposition or requires additional setup to expose metrics to a monitoring backend.
- What specific metrics types (counters, gauges, histograms) the API supports.
- How metrics collection integrates with existing Oslo library instrumentation.
What it is and what it does
Oslo Metrics is a library that provides a standardized API for collecting metrics data from other Oslo libraries and exposing that data to monitoring systems. It is part of the OpenStack Oslo project and integrates with prometheus-client to bridge application-level metrics collection with external monitoring infrastructure.
The package is intended for use within OpenStack deployments and services that need to instrument their code and report metrics to centralized monitoring. It abstracts the metrics collection interface so that Oslo libraries can emit metrics without tight coupling to a specific monitoring backend.
Use it for
- Instrument OpenStack services to collect performance and operational metrics for export to Prometheus or other monitoring systems.
- Aggregate metrics from multiple Oslo libraries into a single, unified metrics API for centralized observability.
- Enable real-time monitoring of OpenStack component health, resource usage, and request latencies.
- Build custom dashboards and alerts based on metrics collected from OpenStack infrastructure.
- Track application-level events and state changes in long-running OpenStack services.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building or deploying OpenStack services or integrating with the Oslo library ecosystem.
The package is actively maintained, has no known vulnerabilities, and provides a clean abstraction for metrics collection. Not relevant for non-OpenStack projects.
Install
oslo-metrics on PyPI
Before you install
Low install friction with a pure-wheel distribution. Active maintenance status and recent release (88 days ago) indicate ongoing support. Runtime dependency on prometheus-client and other Oslo libraries is standard for OpenStack ecosystem packages.
Requires Python 3.10 or later; designed for OpenStack environments.
License in practice
Apache-2.0 permissive license allows use in commercial and proprietary projects with minimal restrictions—include a copy of the license and note material changes.
Quickstart
pip install oslo-metrics
from oslo_metrics import api
metrics = api.get_metrics()
Verify before relying
- Whether the package provides direct Prometheus exposition or requires additional setup to expose metrics to a monitoring backend.
- What specific metrics types (counters, gauges, histograms) the API supports.
- How metrics collection integrates with existing Oslo library instrumentation.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packagespbroslo.utilsoslo.logoslo.configprometheus-client |
| Maintenance | Actively maintained 88 days since the last release |
| First released | |
| Downloads | 345,121 / month, #7,368 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Environment :: OpenStackIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: Implementation :: CPythonTyping :: Typed |
Evidence: oslo_metrics-0.16.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “oslo metrics collection”
- oslo.metricsCollects and exposes metrics data from Oslo libraries to monitoring…
- oslo.vmwareoslo.vmware provides a library for common VMware operations and APIs,…
- oslo.middlewareoslo.middleware provides WSGI middleware components for intercepting…
Give your agent the search over MCP, or paste the wish link into any chat.
More Monitoring packages
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
Provides generated Python code for OpenTelemetry semantic conventions, enabling standardized attribute naming and constant definitions for instrumentation and telemetry collection.
Install it if you are using OpenTelemetry and want to follow semantic conventions correctly.
Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.
Provides the abstract API and interfaces for OpenTelemetry instrumentation in Python, defining how to emit traces, metrics, and logs without tying code to a specific SDK implementation.
Exports OpenTelemetry observability data to an OpenTelemetry Collector using Protobuf-encoded messages over HTTP.
Install it if you are using OpenTelemetry in Python and need to send data to a Collector over HTTP.
Provides automatic instrumentation commands and programmatic APIs to inject distributed tracing into Python applications without code changes, detecting and instrumenting packages used by your program.
Install it if you need distributed tracing without code changes and have compatible instrumented packages in your environment.
See also oslo.log · oslo.messaging · oslo.vmware · oslo.limit · starlette-prometheus · oslo.cache · oslo.middleware · oslo.policy · oslo.context · prometheus-api-client