Skip to main content

Microsoft Azure Application Insights integration for Flask.

Project description

# flask_applicationinsights

Flask extension for Microsoft Azure Application Insights.

## Usage

Retrieve package from pypi:


Dependencies

```
pip install flask
pip install applicationinsights
```

Extension install

```
pip install flask_applicationinsights
```

### Basic

Will track all requests (succeeded or failed) to your application insight referenced by its instrumentation key.

```python
from flask import Flask
from flask_applicationinsights import ApplicationInsights

app = Flask(__name__)

insight = ApplicationInsights(instrumentation_key='<yours>')
insight.init_app(app)

@app.route('/')
def index():
return 'HIT'

app.run()
```

## Contribution

Not open yet due to initial WIP.

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

Flask-ApplicationInsights-0.1.2.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

Flask_ApplicationInsights-0.1.2-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

Supported by

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