Skip to content

Local Demo of Pulsar using data collection sdk and pulsar metrics

Notifications You must be signed in to change notification settings

MBZ-0/pulsar_demo

 
 

Repository files navigation

Pulsar.ML Local demo

Thsi repo containing an example use-case showing how to leverage pulsar-data-collection and pulsar-metrics to implement model monitoring and performance management

Quickstart

  1. install docker and docker-compose

  2. execute the following commands :

        export GRAFANA_USERNAME=admin;
        export GRAFANA_PASSWORD=pass123;
        export DB_USER=admin;
        export DB_PASSWORD=pass123;
        docker-compose up --build
  3. open a browser tab on localhost:3000 and enter the grafana credentials set at the previous step

Pulsar.ML Architecture

Architecture

Demo Components

Demo workflow

here is a description of the steps inside 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 will then be written to another index in influxdb in order to be displayed on grafana.

About Pulsar.ML

Pulsar.ML is an application helping with monitoring your models and gain powerful insights into its performance.

We released two Open Source packages :

  • pulsar-data-collection : lightweight python SDK enabling data collection of features, predictions and metadata from an ML model serving code/micro-service
  • pulsar-metrics : library for evaluating and monitoring data and concept drift with an extensive set of metrics. It also offers the possibility to use custom metrics defined by the user.

We also created pulsar demo to display an example use-case showing how to leverage both packages to implement model monitoring and performance management.

Want to interact with the community? 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

Languages

  • Jupyter Notebook 96.2%
  • Python 3.6%
  • Other 0.2%