-
Notifications
You must be signed in to change notification settings - Fork 393
Audience observability and monitoring features #7312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 3 commits
ba72fb1
69c0393
9c894e3
0e90c24
581d4b6
6f3c416
1ea43d4
7452dd0
d2e51b4
d45ed16
65a0ce3
1edf5b9
4a98bec
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -201,6 +201,76 @@ Engage then processes your realtime Audience or Trait edits. While the edit task | |
> warning "" | ||
> You can't edit an audience to include anonymous users. If you need to include anonymous profiles, recreate the audience with the appropriate conditions | ||
|
||
## Monitor the health of your Audience syncs | ||
|
||
Use Segment's [Delivery Overview](#delivery-overview) and [Alerting](#alerting) features to monitor the health of your Audience syncs and get notifications when event volume spikes or drops. | ||
|
||
### Delivery Overview | ||
|
||
Delivery Overview is a visual observability tool designed to help Segment users diagnose event delivery issues for any event-streaming destination receiving events from Engage Audiences. | ||
|
||
Delivery Overview has three core features: | ||
- [Pipeline view](/docs/connections/delivery-overview/#pipeline-view): A visual overview of each step your data takes during the delivery process - from when your source receives audience events to when events are successfully delivered to your connected destination. | ||
|
||
- [Breakdown table](/docs/connections/delivery-overview/#breakdown-table): If you select a step in the pipeline view, you can see more detail about the events that were processed at each pipeline step. | ||
|
||
- [Discard table](/docs/connections/delivery-overview/#discard-table): If you select an event in a breakdown table, you can see more details about the events that failed or were filtered out of your process and allows you to inspect samples of them. | ||
|
||
|
||
For more information about the breakdown and discard tables, see the [Delivery Overview](/docs/connections/delivery-overview/) documentation. | ||
|
||
To view Delivery Overview for an Audience: | ||
1. From your Segment workspace's home page, navigate to **Connections > Destinations**. | ||
2. Select the Destination connected to your Audience and select the Delivery Overview tab. | ||
3. On the Delivery Overview page, select the Audience dropdown to filter by a specific Audience, select the Date range dropdown to filter by a specific time period, or toggle the Show metrics as percentages toggle on to view your metrics as percentages. | ||
|
||
|
||
#### Steps in the pipeline view | ||
|
||
By default, Segment displays Delivery Overview information for all Audiences connected to your destination. You can filter your Delivery Overview pipeline view by an individual Audience for more granular data. | ||
|
||
You can also further refine the data displayed on the pipeline view using the time picker and the metric toggle, located under the destination header. With the time picker, you can specify a time period (last 10 minutes, 1 hour, 24 hours, 7 days, 2 weeks, or a custom date range over the last two weeks) for which you’d like to see data. With the metric toggle, you can switch between seeing metrics represented as percentages (for example, _85% of events_ or _an 133% increase in events_) or as counts (_13 events_ or _an increase of 145 events_.) Delivery Overview shows percentages by default. | ||
forstisabella marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
||
> info "Linked Audiences have additional filtering functionality" | ||
> Linked Audiences users can also filter the Delivery Overview event pipeline by [event emitters](/docs/engage/audiences/linked-audiences/#step-2c-define-how-and-when-to-trigger-an-event-to-your-destination). For more information, see the [Linked Audiences](/docs/engage/audiences/linked-audiences/#delivery-overview-for-linked-audiences) documentation. | ||
|
||
Audiences have the following steps in the pipeline view: | ||
- **Events from audience**: Events that Segment created for your activation. The number of events for each compute depends on the changes detected in your audience membership. | ||
- **Filtered at source**: Events discarded by Protocols: either by the [schema settings](/docs/protocols/enforce/schema-configuration/) or [Tracking Plans](/docs/protocols/tracking-plan/create/). | ||
- **Filtered at destination**: If any events aren’t eligible to be sent (for example, due to destination filters, insert function logic, and so on), Segment displays them at this step. | ||
- **Events pending retry**: A step that reveals the number of events that are awaiting retry. Unlike the other steps, you cannot click into this step to view the breakdown table. | ||
- **Failed delivery**: Events that Segment _attempted_ to deliver to your destination, but that ultimately _failed_ to be delivered. Failed delivery might indicate an issue with the destination, like invalid credentials, rate limits, or other error statuses received during delivery. | ||
- **Successful delivery**: Events that Segment successfully delivered to your destination. You’ll see these events in your downstream integrations. | ||
|
||
### Alerting | ||
|
||
Create alerts related to the performance and throughput of Audience syncs and receive in-app, email, and Slack notifications when event volume fluctuations occur. | ||
|
||
> info "Generate a Slack webhook to receive Slack notifications" | ||
> To receive an alert in a Slack channel, you must first create a Slack webhook. For more information about Slack webhooks, see Slack's [Sending messages using incoming webhooks](https://api.slack.com/messaging/webhooks){:target="_blank”} documentation. | ||
|
||
To access Audience alerting, navigate to **Engage > Audiences**, select an Audience, and click the Alerts tab. | ||
|
||
On the Alerts tab, you can create new alerts and view all active alerts for this connection. You can only edit or delete the alerts that you create, unless you have the [Workspace Owner role](/docs/segment-app/iam/roles/). | ||
|
||
#### Activation event health spikes or drops | ||
maleman842 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
You can create an Activation event health spikes or drops alert that notifies you when events sent from your audience to a downstream destination have failures to a destination above a certain threshold. For example, if you set a change percentage of 4% and your destination received 100 events from your Audience over the first 24 hours, Segment would notify you the following day if your destination ingested fewer than 96 or more than 104 events. | ||
forstisabella marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
To create an Activation event health spikes or drops alert: | ||
1. From your Segment workspace's home page, navigate to **Engage > Audiences**. | ||
2. Select the Audience you want to create an alert for, select the Alerts tab, and click **Create alert**. | ||
3. On the Create alert sidesheet, select the destination for which you'd like to monitor event health. | ||
4. Enter a percentage of activation event health that you'd like to be notified for. | ||
forstisabella marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
5. Select one or more of the following alert channels: | ||
- **Email**: Select this to receive notifications at the provided email address. | ||
- **Slack**: Select this to send alerts to one or more channels in your workspace. | ||
- **In-app**: Select this to receive notifications in the Segment app. To view your notifications, select the bell next to your user icon in the Segment app. | ||
6. Click **Save**. | ||
|
||
To make changes to a Activation event health spikes or drops alert, select the icon in the Actions column for the alert and click **Edit**. | ||
forstisabella marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
||
To delete a Activation event health spikes or drops alert, select the icon in the Actions column for the alert and click **Delete**. | ||
|
||
> info "Deleting alerts created by other users requires Workspace Owner role" | ||
> All users can delete alerts that they created, but only those with [Workspace Owner role](/docs/segment-app/iam/roles/) can delete alerts created by other users. | ||
|
||
## Access your Audiences using the Profiles API | ||
|
||
You can access your Audiences using the Profile API by querying the `/traits` endpoint. For example, you can query for `high_value_user` property with the following `GET` request: | ||
|
Uh oh!
There was an error while loading. Please reload this page.