Module: FlowChat::Instrumentation::Events
- Defined in:
- lib/flow_chat/instrumentation.rb
Overview
Predefined event names for consistency
Constant Summary collapse
- FLOW_EXECUTION_START =
Core framework events
"flow.execution.start"- FLOW_EXECUTION_END =
"flow.execution.end"- FLOW_EXECUTION_ERROR =
"flow.execution.error"- CONTEXT_CREATED =
Context events
"context.created"- SESSION_CREATED =
Session events
"session.created"- SESSION_DESTROYED =
"session.destroyed"- SESSION_DATA_GET =
"session.data.get"- SESSION_DATA_SET =
"session.data.set"- SESSION_CACHE_HIT =
"session.cache.hit"- SESSION_CACHE_MISS =
"session.cache.miss"- MESSAGE_RECEIVED =
Platform-agnostic messaging events Gateway/platform information is included in the payload
"message.received"- MESSAGE_SENT =
"message.sent"- WEBHOOK_VERIFIED =
"webhook.verified"- WEBHOOK_FAILED =
"webhook.failed"- API_REQUEST =
"api.request"- MEDIA_UPLOAD =
"media.upload"- PAGINATION_TRIGGERED =
"pagination.triggered"- MIDDLEWARE_BEFORE =
Middleware events
"middleware.before"- MIDDLEWARE_AFTER =
"middleware.after"