Skip to main content

mlp_tracking

Project description

REQUIREMENTS

pip install ml_platform_client>=0.3.18.5
pip install confluent_kafka==1.7.0

USAGE EXAMPLE

from mlp_tracking import MlpTracker, PipeType, IssueModule
import os


# initialize 
tracker = MlpTracker(
    pipe_type=PipeType.FAQ_PREDIC_PIPE.value,
    issue_module=IssueModule.ML.value,
    # you may get kafka_servers from environments
    kafka_servers=os.environ.get('KAFKA_SERVERS', ''),
    kafka_username=os.environ.get('KAFKA_USERNAME', ''),
    kafka_password=os.environ.get('KAFKA_PASSWORD', ''),
)


# send event
tracker.send(
    message='predict error',
    reason='model not found',
)

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

mlp_tracking-0.0.1.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

mlp_tracking-0.0.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file mlp_tracking-0.0.1.tar.gz.

File metadata

  • Download URL: mlp_tracking-0.0.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.0

File hashes

Hashes for mlp_tracking-0.0.1.tar.gz
Algorithm Hash digest
SHA256 2740dbb485afa6fb9c29a28421f9fb0233f098bf1c2e50b02403a094c6153a46
MD5 0ceb3023105974721cefa91c140c00d7
BLAKE2b-256 1590fbf03a3c2f8c58141c20def5dc28414455810b9eb11082fe19cbdcc0f1e0

See more details on using hashes here.

File details

Details for the file mlp_tracking-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: mlp_tracking-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.0

File hashes

Hashes for mlp_tracking-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c017eca9e483ef76c5c2f91d347da37902af90ec6681db0faf430b62a1f37173
MD5 3b85af10ae388d2a2a9695ac94918c1f
BLAKE2b-256 c5188cc5b438edb7970d46bf83be8b6b6dc1ee0b38a2d9e9dad3e07696f0f19b

See more details on using hashes here.

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