Metadata-Version: 2.1
Name: metrist_agent_canmonuser
Version: 0.0.1
Summary: Metrist In-Process Agent
Author-email: "Metrist Software, Inc." <support@metrist.io>
License-File: LICENSE
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.7
Description-Content-Type: text/markdown

# 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:

```python
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`.
