Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Workflow observability

Set observability: true on a Workflow to send execution telemetry to the DNotifier dashboard — agent runs, AI calls, search, documents, and custom steps.

Full guide: How to enable AI workflow observability · Compare with logs and saveHistory in Observability overview · FAQ

Enable observability

const workflow = new DNotifier.Workflow({
  name: "support-router",
  description: "Route support questions",
  observability: true,
  async entry(ctx) {
    // ...
  },
});

Requirements:

  1. observability: true on the workflow

  2. await notifier.connect() before runWorkflow

  3. HTTP transport (recommended)

No extra API keys beyond your app credentials.

What you see in the dashboard

What you call
What appears

Workflow start / finish

Execution with status and duration

ctx.runAgent / ctx.runAgents

Agent steps

ctx.sendAI

AI steps (latency, optional token usage, provider / model when set on the call or agent)

ctx.search / document methods

Search and document steps

ctx.recordStep

Custom labeled steps

Open the Workflows section in the dashboard — see Dashboard overview.

runWorkflow return value

Use executionId to find the same run in the dashboard.

Custom steps

Labels on SDK calls

AI session logging vs workflow observability vs history

Feature
Enable with
Dashboard / API

AI session logging

logs: true on DNotifier

Logs

Workflow observability

observability: true on Workflow

Workflows

AI message history

saveHistory: true on sendAI

fetchAIHistory

You can (and usually should) use all three in production.

→ Observability overview

Next steps

Last updated