Logging your application execution to HoneyHive without using the tracers
POST /session/start
uuidv4
representation as your app’s session ID, feel free to use it as the session ID to make data engineering simpler later.POST /events/model
POST /events/model/batch
POST /session/start
session_id
that’s returned to link the future events to the same session.
POST /events
POST /events
instead of POST /events/model
.
You can either send each session’s data right after it completes or collect a larger batch (100-1000) of sessions and flush them regularly.
POST /events/batch
is_single_session
.
true
, the events in the batch will be grouped into a single session.false
, HoneyHive only refers to the session_id
on the event to decide which session the event belongs to.false
so each event becomes its own session (or grouped into the session according to its session_id
).