Skip to content

Local Demo of Pulsar using data collection sdk and pulsar metrics

Notifications You must be signed in to change notification settings

Rocket-Science-Development/pulsar_demo

Repository files navigation

Pulsar.ML Local demo

This repository contains an example use-case demonstrating how to utilize pulsar-data-collection and pulsar-metrics to implement model monitoring and performance management.

Quickstart

  1. Make sure that you have the Docker and Docker compose installed and execute the following commands:

        export GRAFANA_USERNAME=admin;
        export GRAFANA_PASSWORD=pass123;
        export DB_USER=admin;
        export DB_PASSWORD=pass123;
        docker-compose up --build
  2. Open a web browser and go to localhost:3000. Enter the Grafana credentials set in the previous step.

Pulsar.ML Architecture

Architecture

Demo Components

Demo workflow

Here is a description of the steps within the workflow

  1. Data is captured from an inference container or a notebook using pulsar-data-collection
  2. Collected data point, predictions, and other relevant configured metadata are written into an index inside influxdb
  3. compute-metrics service will query the latest entries from the database then leverage pulsar-metrics in order to compute the different metrics.
  4. All computed metrics are then written to another index in InfluxDB for display in Grafana.

About Pulsar.ML

Pulsar.ML is an application designed to assist with monitoring your machine learning models and gaining powerful insights into their performance.

We have released two open-source packages:

  • pulsar-data-collection : A lightweight Python SDK for collecting features, predictions, and metadata from an ML model serving code or microservice.
  • pulsar-metrics : A library for evaluating and monitoring data and concept drift with an extensive set of metrics. It also provides the flexibility to use custom metrics defined by the user.

We also created pulsar demo to showcase an example use-case that demonstrates how to leverage both packages for model monitoring and performance management.

For further interaction with our community, Please join our slack channel

Powered by Rocket Science Development

Contributing

  1. Fork this repository, develop, and test your changes
  2. open an issue
  3. Submit a pull request with a reference to the issue

About

Local Demo of Pulsar using data collection sdk and pulsar metrics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published