Skip to main content

Conveyor metrics for checkup

Project description

checkup-conveyor

Conveyor metrics plugin for checkup.

Installation

pip install checkup-conveyor

Requirements

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, metrics):
        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
        self.value = ...

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

checkup_conveyor-0.2.1.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

checkup_conveyor-0.2.1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file checkup_conveyor-0.2.1.tar.gz.

File metadata

  • Download URL: checkup_conveyor-0.2.1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","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}

File hashes

Hashes for checkup_conveyor-0.2.1.tar.gz
Algorithm Hash digest
SHA256 0ae4b772612c03fd31ac61f846f10f2a32938dd4589a90caca3646d0f7d080f5
MD5 bd48460b95a4fd412132447aad422c32
BLAKE2b-256 2137757d735e087274c66bee8e56c451b3f43c8c87407fceebf1c8b00f59f609

See more details on using hashes here.

File details

Details for the file checkup_conveyor-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: checkup_conveyor-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","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}

File hashes

Hashes for checkup_conveyor-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0d9b613a85780491280e7bd3f7faf0bbbaa7643903b77a3b169c81d92173558a
MD5 3a7d36c659ff993599477c2e0b6794a0
BLAKE2b-256 dfc357d5016ff64ec43a81f287880601adad70a98bd1038db39722c7ea17cb07

See more details on using hashes here.

Supported by

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