Metadata-Version: 2.1
Name: flask-satella-metrics
Version: 1.4
Summary: A library to metric your Flask app using Satella
Home-page: https://github.com/piotrmaslanka/flask-satella-metrics
Author: Piotr Maślanka
Author-email: piotrm@smok.co
License: UNKNOWN
Project-URL: Documentation, https://flask-satella-metrics.readthedocs.io/
Description: 
        flask-satella-metrics
        =====================
        
        [![Build Status](https://travis-ci.org/piotrmaslanka/flask-satella-metrics.svg)](https://travis-ci.org/piotrmaslanka/flask-satella-metrics)
        [![Test Coverage](https://api.codeclimate.com/v1/badges/34b392b61482d98ad3f0/test_coverage)](https://codeclimate.com/github/piotrmaslanka/flask-satella-metrics/test_coverage)
        [![Code Climate](https://codeclimate.com/github/piotrmaslanka/flask-satella-metrics/badges/gpa.svg)](https://codeclimate.com/github/piotrmaslanka/flask-satella-metrics)
        [![Issue Count](https://codeclimate.com/github/piotrmaslanka/flask-satella-metrics/badges/issue_count.svg)](https://codeclimate.com/github/piotrmaslanka/flask-satella-metrics)
        [![PyPI](https://img.shields.io/pypi/pyversions/flask-satella-metrics.svg)](https://pypi.python.org/pypi/flask-satella-metrics)
        [![PyPI version](https://badge.fury.io/py/flask-satella-metrics.svg)](https://badge.fury.io/py/flask-satella-metrics)
        [![PyPI](https://img.shields.io/pypi/implementation/flask-satella-metrics.svg)](https://pypi.python.org/pypi/flask-satella-metrics)
        
        flask-satella-metrics is an application to seamlessly measure your Flask
        application using Satella's metrics.
        
        Example use:
        
        ```python
        import flask
        from flask_satella_metrics import SatellaMetricsMiddleware
        app = flask.Flask(__name__)
        SatellaMetricsMiddleware(app)
        ```
        
        And to launch a Prometheus exporter use the following snippet:
        
        ```python
        from satella.instrumentation.metrics.exporters import PrometheusHTTPExporterThread
        phet = PrometheusHTTPExporterThread('0.0.0.0', 8080, {'service_name': 'my_service'})
        phet.start()
        ```
        
        Or, if you desire to export your metrics within Flask, just use:
        
        ```python
        import flask
        from flask_satella_metrics.prometheus_exporter import PrometheusExporter
        app = flask.Flask(__name__)
        app.register_blueprint(PrometheusExporter({'service_name': 'my_service'}))
        ```
        
Keywords: flask,satella,metrics,instrumentation,prometheus
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Operating System :: POSIX
Classifier: Operating System :: OS Independent
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: Software Development :: Libraries
Requires-Python: !=2.7.*,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*
Description-Content-Type: text/markdown; charset=UTF-8
