LivePerson Functions provides several tools to help you monitor your functions and track account-level changes. This page covers how to use logs, the activity stream, alerting, and the invocation histogram to maintain visibility into your environment.

Logging

You can write logs of different levels within your function code. These logs are accessible later for analysis and troubleshooting. Logs are searchable for 14 days.

Debug invocations are not persisted and only visible for test invocations.

For more details, please refer to the Logging feature page.

Activity Stream

The Activity Stream documents account changes, ranging from function creation and modification to deployments. The reporting data is stored for 2 months.

Based on the type of activity, clicking on it opens the relevant part of the UI. For example, if the activity is linked to a function, clicking on it opens the function table. If it is linked to a secret, it opens the secret table.

Functions: Activity Stream

Alerting

The Alerting feature helps you monitor your functions by allowing you to configure alerts based on specific metrics, such as function errors or response times. When a defined threshold is crossed, the system notifies predefined recipients via email.

The following image displays how an active alert appears in the UI.

Functions: Active Alert

For more details, please refer to the Alerting feature page.

Invocation Histogram

The Invocation Histogram provides a visual overview of your function's performance and execution frequency over time. It allows you to monitor the volume of both successful and unsuccessful invocations, helping you identify patterns or sudden spikes in errors. You can access the histogram from a function's details page.

The histogram data is not real-time. Recent invocations may take a few minutes to appear in the graph as the data is processed and aggregated.

Invocation data is retained for 30 days. You can choose between different time resolutions: 1h, 24h, 7d, or 30d. The following example shows the histogram with a 1h resolution, displaying both successful and failing invocations.

Functions: Invocation Histogram 1h Resolution