checkup-conveyor
Conveyor metrics plugin for checkup.
Installation
pip install checkup-conveyor
Requirements
- Python >= 3.12
- checkup
- requests
Usage
from checkup import CheckHub
from checkup_conveyor import ConveyorProvider
results = (
CheckHub()
.with_metrics([])
.with_providers([[
ConveyorProvider(
project_name="my-project",
api_key="your-api-key",
environment_name="production",
),
]])
.measure()
)
Provider
ConveyorProvider
Provides Conveyor API context for metrics, including project name, environment name, and an authenticated API client.
Creating Custom Metrics
Extend ConveyorMetric to create custom Conveyor-based metrics:
from checkup_conveyor import ConveyorMetric
class MyConveyorMetric(ConveyorMetric):
name = "my_conveyor_metric"
description = "My custom Conveyor metric"
def calculate(self, context, measurements):
api_client = self.get_api_client(context)
project_name = self.get_project_name(context)
environment_name = self.get_environment_name(context)
# Use api_client to fetch data from Conveyor
value = ...
return self.measure(value=value)
Metadata
Release files for checkup-conveyor 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| checkup_conveyor-0.5.0.tar.gz | 3.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| checkup_conveyor-0.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.5 kB
Release files / checkup_conveyor-0.5.0.tar.gz
| Download URL | checkup_conveyor-0.5.0.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dd4db2c28f8a4468a2b3af8524e9d2837838032f7b428d1c803224e28464c620
|
|
BLAKE2b-256 checksum How to use checksums |
481119843b896bbe66a984bfa231ae6492bb89f93598b173bd6e43e80b566f36
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / checkup_conveyor-0.5.0-py3-none-any.whl
| Download URL | checkup_conveyor-0.5.0-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
248f076d2b87a86d06b154fc53fb98603a391ba27ba236c7c98e53c7ef2ea087
|
|
BLAKE2b-256 checksum How to use checksums |
e1baa08d53d292ffecaf40a9f970ebd5824269fa6d9df202a9dce6c09090f6e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|