Skip to main content

Metrist In-Process Agent

Project description

Metrist In-Process Agent for Python

MetristAgent is the agent Python plugin. It intercepts HTTP calls and sends data to the local Metrist Monitoring Agent

Usage

As early in your application's lifecycle as possible, the agent should be initalized and connected:

from metrist import MetristAgent

agent = MetristAgent()
agent.connect()

The MetristAgent constructor can take optional host and port keyword arguments to configure the telemetry destination, otherwise it will attempt to use the METRIST_MONITORING_AGENT_HOST and METRIST_MONITORING_AGENT_PORT environment variables or default to '127.0.0.1' and 51712.

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

metrist_agent_canmonuser-0.0.1.tar.gz (6.2 kB view hashes)

Uploaded Source

Built Distribution

metrist_agent_canmonuser-0.0.1-py3-none-any.whl (6.8 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