mixpanel-celery

使用Celery对Mixpanel进行异步事件跟踪。(Asynchronous event tracking for Mixpanel using Celery)

  • Owner: winhamwr/mixpanel-celery
  • Platform:
  • License:: BSD 3-Clause "New" or "Revised" License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

mixpanel-celery

Asynchronous event tracking for Mixpanel

Build Status

mixpanel-celery helps you use Celery
to asynchronously track your
Mixpanel events.
Waiting on HTTP requests to Mixpanel's api to complete
every time you want to record something slows you down.
Using mixpanel-celery gives you all of the Mixpanel goodness
without any of the potential performance impact.

Works wherever Celery works

mixpanel-celery works great with Django,
but because Celery works with just python,
so does mixpanel-celery.

But how do I do the thing?

I'll tell you how!
Have Celery running and want to asynchronously track an event?
Is your event called my_event?
You're in luck!

from mixpanel.tasks import EventTracker

EventTracker.delay(
    'my_event',
    {'distinct_id': 1},
    token='YOUR_API_TOKEN',
)

Boom.
Once your Celery worker gets hold of that bad boy, it's tracked.

Full-on Docs

Would you like to know more?
Well then you should read the docs,
citizen.

Contributing

We love pull requests!
Send us one, and you'll probably make Wes's day.

For details,
check out the
contribution tips
documentation.

We like Mixpanel and Celery

This project isn't affiliated with the Mixpanel company.
Just a customer's implementation of a client for their service.

Main metrics

Overview
Name With Ownerwinhamwr/mixpanel-celery
Primary LanguagePython
Program languagePython (Language Count: 2)
Platform
License:BSD 3-Clause "New" or "Revised" License
所有者活动
Created At2010-02-01 18:40:46
Pushed At2020-01-07 16:16:56
Last Commit At2020-01-07 11:16:21
Release Count16
Last Release Namev0.10.1 (Posted on )
First Release Namesemvar (Posted on )
用户参与
Stargazers Count94
Watchers Count9
Fork Count46
Commits Count200
Has Issues Enabled
Issues Count12
Issue Open Count4
Pull Requests Count21
Pull Requests Open Count0
Pull Requests Close Count4
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private