mixpanel-celery

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

  • 所有者: winhamwr/mixpanel-celery
  • 平台:
  • 許可證: BSD 3-Clause "New" or "Revised" License
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

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.

主要指標

概覽
名稱與所有者winhamwr/mixpanel-celery
主編程語言Python
編程語言Python (語言數: 2)
平台
許可證BSD 3-Clause "New" or "Revised" License
所有者活动
創建於2010-02-01 18:40:46
推送於2020-01-07 16:16:56
最后一次提交2020-01-07 11:16:21
發布數16
最新版本名稱v0.10.1 (發布於 )
第一版名稱semvar (發布於 )
用户参与
星數94
關注者數9
派生數46
提交數200
已啟用問題?
問題數12
打開的問題數4
拉請求數21
打開的拉請求數0
關閉的拉請求數4
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?