All Projects → perdy → Starlette Prometheus

perdy / Starlette Prometheus

Licence: gpl-3.0
Prometheus integration for Starlette.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Starlette Prometheus

Go Http Metrics
Go modular http middleware to measure HTTP requests independent of metrics backend (with Prometheus and OpenCensus as backend implementations) and http framework/library
Stars: ✭ 128 (+0.79%)
Mutual labels:  middleware, metrics, prometheus
Tomcat exporter
A Prometheus exporter for Apache Tomcat
Stars: ✭ 99 (-22.05%)
Mutual labels:  metrics, prometheus
Service Tools
Prepare your Node.js application for production
Stars: ✭ 89 (-29.92%)
Mutual labels:  middleware, prometheus
Prometheus
The Prometheus monitoring system and time series database.
Stars: ✭ 40,114 (+31485.83%)
Mutual labels:  metrics, prometheus
Nginx Prometheus Metrics
A production demo to collect prometheus metrics for nginx with lua embedded.
Stars: ✭ 84 (-33.86%)
Mutual labels:  metrics, prometheus
Homer App
HOMER 7.x Front-End and API Server
Stars: ✭ 88 (-30.71%)
Mutual labels:  metrics, prometheus
Pingprom
Prometheus uptime monitoring quickstart
Stars: ✭ 107 (-15.75%)
Mutual labels:  metrics, prometheus
Graylog Plugin Metrics Reporter
Graylog Metrics Reporter Plugins
Stars: ✭ 71 (-44.09%)
Mutual labels:  metrics, prometheus
Memcached exporter
Exports metrics from memcached servers for consumption by Prometheus.
Stars: ✭ 109 (-14.17%)
Mutual labels:  metrics, prometheus
Heplify Server
HEP Capture Server
Stars: ✭ 110 (-13.39%)
Mutual labels:  metrics, prometheus
Promplot
Create plots from Prometheus metrics and send them to you
Stars: ✭ 125 (-1.57%)
Mutual labels:  metrics, prometheus
Systemd exporter
Exporter for systemd unit metrics
Stars: ✭ 82 (-35.43%)
Mutual labels:  metrics, prometheus
Python Prometheus Demo
Demo of using Prometheus for monitoring Python web applications
Stars: ✭ 83 (-34.65%)
Mutual labels:  metrics, prometheus
Filodb
Distributed Prometheus time series database
Stars: ✭ 1,286 (+912.6%)
Mutual labels:  metrics, prometheus
Beamium
Prometheus to Warp10 metrics forwarder
Stars: ✭ 82 (-35.43%)
Mutual labels:  metrics, prometheus
Prometheus Boshrelease
Prometheus BOSH Release
Stars: ✭ 99 (-22.05%)
Mutual labels:  metrics, prometheus
Rabbitmq Prometheus
A minimalistic Prometheus exporter of core RabbitMQ metrics
Stars: ✭ 124 (-2.36%)
Mutual labels:  metrics, prometheus
Prometheus.cl
Prometheus.io Common Lisp client
Stars: ✭ 67 (-47.24%)
Mutual labels:  metrics, prometheus
Prometheusbeat
send prometheus metrics to elastic
Stars: ✭ 69 (-45.67%)
Mutual labels:  metrics, prometheus
Grafana
The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
Stars: ✭ 45,930 (+36065.35%)
Mutual labels:  metrics, prometheus

Starlette Prometheus

Build Status codecov Package Version PyPI Version

Introduction

Prometheus integration for Starlette.

Requirements

  • Python 3.6+
  • Starlette 0.9+

Installation

$ pip install starlette-prometheus

Usage

A complete example that exposes prometheus metrics endpoint under /metrics/ path.

from starlette.applications import Starlette
from starlette_prometheus import metrics, PrometheusMiddleware

app = Starlette()

app.add_middleware(PrometheusMiddleware)
app.add_route("/metrics/", metrics)

Metrics for paths that do not match any Starlette route can be filtered by passing filter_unhandled_paths=True argument to add_middleware method.

Contributing

This project is absolutely open to contributions so if you have a nice idea, create an issue to let the community discuss it.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].