Missing events with AWS Lambda
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 28/100
調査の方向性
Start by reproducing the provided non-batched configuration with Python 3.12 and AWS Lambda, focusing on the amp.track(event) call. Inspect the SDK's event delivery and error handling around that entry point and compare sent events with those received by Amplitude. Done means the cause of missing events is identified and the behavior is fixed or clearly documented.
索引モデルが issue の本文から書いたものです。
説明
Expected Behavior
As an event is being sent, without any batching, I would expect to see it in Amplitude. However, I do not see every event, and some go missing.
Steps to Reproduce
Configuration:
Initialize Amplitude client
api_key = get_amplitude_api_key()
amp = Amplitude(api_key)
amp.use_batch = False
def send_to_tracking_api(user_id, data):
user_id = user_id
event_name = data["action"]
print(f"Sending tracking event {event_name} for user {user_id}")
try:
event = BaseEvent(
user_id=user_id,
event_type=event_name,
event_properties={
"started_at": data['started_at'],
"task_content": data['task_content'],
"timestamp": data["timestamp"]
}
)
amp.track(event)
except Exception as e:
print(f"Error sending tracking event: {e}")
Environment
- SDK Version: 1.1.4
- Python Version: 3.12
- 主要言語
- Python
- スター
- 38
- フォーク
- 11
- 平均マージ
- 10時間 11分
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
amplitude/Amplitude-Python のほかの issue
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 38/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
amplitude/Amplitude-Python#53 · コメント 1 件 ·
amplitude/Amplitude-Python の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
UKGovernmentBEIS/optstop#10 ·
-
maintenance
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
pollen-robotics/reachy_mini#1508 ·
メンテナーはふだん 1 日以内に返信
-
[BUG] `cloud-keys.env` values retain enclosing quotes causing 401 Unauthorized, and missing utf-8 encoding crashes on Windows対応中かも @divyanshu07-code が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
open-jarvis/OpenJarvis#1192 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
sylvainmetayer/homelab#851 ·
メンテナーはふだん 1 日以内に返信