Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Missing events with AWS Lambda

オープン
#57 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
28/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
aws, python
領域
analytics, cloud

調査の方向性

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 の本文から書いたものです。

説明

bug

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

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

amplitude/Amplitude-Python のほかの issue

amplitude/Amplitude-Python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。