Skip to main content

A SkyWalking Agent/Middleware for Sanic Framework.

Project description

Sanic Skywalking

This package help you integrate Skywalking APM in Sanic applications easily through Skywalking Python Agent.

If you'd like to explore more about Apache Skywalking and Python agent, you can visit

Apache Skywalking Github

Apache Skywalking Python Agent

Installation

Run the following command:

$ pip install sanic-skywalking-middleware

Usage

Simple initilize a SanicSkywalingMiddleware with a Sanic instance and Skywalking collector address.

from sanic_skywalking_middleware import SanicSkywalingMiddleware

SanicSkywalingMiddleware(app, service='Sanic Skywalking Demo Service', collector='127.0.0.1:11800')

Examples

See Examples to view and run an example of Sanic applications with Skywalking integrated.

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

sanic-skywalking-middleware-1.0.1.tar.gz (2.3 kB view hashes)

Uploaded Source

Built Distribution

sanic_skywalking_middleware-1.0.1-py2.py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 2 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