Documentation

Developers

API References
Data Subject Request API

Data Subject Request API Version 1 and 2

Data Subject Request API Version 3

Platform API

Platform API Overview

Accounts

Apps

Audiences

Calculated Attributes

Data Points

Feeds

Field Transformations

Services

Users

Workspaces

Warehouse Sync API

Warehouse Sync API Overview

Warehouse Sync API Tutorial

Warehouse Sync API Reference

Data Mapping

Warehouse Sync SQL Reference

Warehouse Sync Troubleshooting Guide

ComposeID

Warehouse Sync API v2 Migration

Calculated Attributes Seeding API

Bulk Profile Deletion API Reference

Group Identity API Reference

Custom Access Roles API

Data Planning API

Pixel Service

Profile API

Events API

mParticle JSON Schema Reference

IDSync

Media SDKs

Android

iOS

Web

Client SDKs
AMP

AMP SDK

Android

Initialization

Configuration

Network Security Configuration

Event Tracking

User Attributes

IDSync

Screen Events

Commerce Events

Location Tracking

Media

Kits

Application State and Session Management

Data Privacy Controls

Error Tracking

Opt Out

Push Notifications

WebView Integration

Logger

Preventing Blocked HTTP Traffic with CNAME

Linting Data Plans

Troubleshooting the Android SDK

API Reference

Upgrade to Version 5

Cordova

Cordova Plugin

Identity

Flutter

Getting Started

Usage

API Reference

Direct Url Routing

Direct URL Routing FAQ

Web

Android

iOS

iOS

Initialization

Configuration

Event Tracking

User Attributes

IDSync

Screen Tracking

Commerce Events

Location Tracking

Media

Kits

Application State and Session Management

Data Privacy Controls

Error Tracking

Opt Out

Push Notifications

Webview Integration

Upload Frequency

App Extensions

Preventing Blocked HTTP Traffic with CNAME

Linting Data Plans

Troubleshooting iOS SDK

Social Networks

iOS 14 Guide

iOS 15 FAQ

iOS 16 FAQ

iOS 17 FAQ

iOS 18 FAQ

API Reference

Upgrade to Version 7

React Native

Getting Started

Identity

Roku

Getting Started

Identity

Media

Unity

Upload Frequency

Getting Started

Opt Out

Initialize the SDK

Event Tracking

Commerce Tracking

Error Tracking

Screen Tracking

Identity

Location Tracking

Session Management

Xbox

Getting Started

Identity

Web

Initialization

Configuration

Content Security Policy

Event Tracking

User Attributes

IDSync

Page View Tracking

Commerce Events

Location Tracking

Media

Kits

Application State and Session Management

Data Privacy Controls

Error Tracking

Opt Out

Custom Logger

Persistence

Native Web Views

Self-Hosting

Multiple Instances

Web SDK via Google Tag Manager

Preventing Blocked HTTP Traffic with CNAME

Facebook Instant Articles

Troubleshooting the Web SDK

Browser Compatibility

Linting Data Plans

API Reference

Upgrade to Version 2 of the SDK

Xamarin

Getting Started

Identity

Web

Alexa

Server SDKs

Node SDK

Go SDK

Python SDK

Ruby SDK

Java SDK

Quickstart
Android

Overview

Step 1. Create an input

Step 2. Verify your input

Step 3. Set up your output

Step 4. Create a connection

Step 5. Verify your connection

Step 6. Track events

Step 7. Track user data

Step 8. Create a data plan

Step 9. Test your local app

HTTP Quick Start

Step 1. Create an input

Step 2. Create an output

Step 3. Verify output

iOS Quick Start

Overview

Step 1. Create an input

Step 2. Verify your input

Step 3. Set up your output

Step 4. Create a connection

Step 5. Verify your connection

Step 6. Track events

Step 7. Track user data

Step 8. Create a data plan

Java Quick Start

Step 1. Create an input

Step 2. Create an output

Step 3. Verify output

Node Quick Start

Step 1. Create an input

Step 2. Create an output

Step 3. Verify output

Python Quick Start

Step 1. Create an input

Step 2. Create an output

Step 3. Verify output

Web

Overview

Step 1. Create an input

Step 2. Verify your input

Step 3. Set up your output

Step 4. Create a connection

Step 5. Verify your connection

Step 6. Track events

Step 7. Track user data

Step 8. Create a data plan

Tools

mParticle Command Line Interface

Linting Tools

Smartype

Guides
Partners

Introduction

Outbound Integrations

Outbound Integrations

Firehose Java SDK

Inbound Integrations

Kit Integrations

Overview

Android Kit Integration

JavaScript Kit Integration

iOS Kit Integration

Compose ID

Data Hosting Locations

Glossary

Migrate from Segment to mParticle

Migrate from Segment to mParticle

Migrate from Segment to Client-side mParticle

Migrate from Segment to Server-side mParticle

Segment-to-mParticle Migration Reference

Rules Developer Guide

API Credential Management

The Developer's Guided Journey to mParticle

Guides

Customer 360

Overview

User Profiles

Overview

User Profiles

Group Identity

Overview

Create and Manage Group Definitions

Calculated Attributes

Calculated Attributes Overview

Using Calculated Attributes

Create with AI Assistance

Calculated Attributes Reference

Predictive Attributes

What are predictive attributes?

Predict Future Behavior

Create Future Prediction

Use Future Predictions in Campaigns

Assess and Troubleshoot Predictions

Next Best Action

Next Best Action Overview

Create a Next Best Action (NBA)

View and Manage NBAs

Activate Next Best Actions in Campaigns

Getting Started

Create an Input

Start capturing data

Connect an Event Output

Create an Audience

Connect an Audience Output

Transform and Enhance Your Data

Platform Guide
Billing

Usage and Billing Report

Observability

Observability Overview

Observability User Guide

Observability Troubleshooting Examples

Observability Span Glossary

The New mParticle Experience

The new mParticle Experience

The Overview Map

Event Forwarding

System Alerts

Trends

Introduction

Data Retention

Data Catalog

Connections

Activity

Data Plans

Live Stream

Filters

Rules

Blocked Data Backfill Guide

Tiered Events

mParticle Users and Roles

Analytics Free Trial

Troubleshooting mParticle

Usage metering for value-based pricing (VBP)

Segmentation
New Audiences Experience

Audiences Overview

Create an Audience

Connect an Audience

Manage Audiences

Classic Audiences Experience

Real-time Audiences (Legacy)

Standard Audiences (Legacy)

Journeys

Journeys Overview

Manage Journeys

Download an audience from a journey

Audience A/B testing from a journey

Predictive Audiences

Predictive Audiences Overview

Using Predictive Audiences

IDSync

IDSync Overview

Use Cases for IDSync

Components of IDSync

Store and Organize User Data

Identify Users

Default IDSync Configuration

Profile Conversion Strategy

Profile Link Strategy

Profile Isolation Strategy

Best Match Strategy

Aliasing

Analytics

Introduction

Core Analytics

Setup

Sync and Activate Analytics User Segments in mParticle

User Segment Activation

Welcome Page Announcements

Settings

Project Settings

Roles and Teammates

Organization Settings

Global Project Filters

Portfolio Analytics

Analytics Data Manager

Analytics Data Manager Overview

Events

Event Properties

User Properties

Revenue Mapping

Export Data

UTM Guide

Analyses

Analyses Introduction

Segmentation: Basics

Getting Started

Visualization Options

For Clauses

Date Range and Time Settings

Calculator

Numerical Settings

Segmentation: Advanced

Assisted Analysis

Properties Explorer

Frequency in Segmentation

Trends in Segmentation

Did [not] Perform Clauses

Cumulative vs. Non-Cumulative Analysis in Segmentation

Total Count of vs. Users Who Performed

Save Your Segmentation Analysis

Export Results in Segmentation

Explore Users from Segmentation

Funnels: Basics

Getting Started with Funnels

Group By Settings

Conversion Window

Tracking Properties

Date Range and Time Settings

Visualization Options

Interpreting a Funnel Analysis

Funnels: Advanced

Group By

Filters

Conversion over Time

Conversion Order

Trends

Funnel Direction

Multi-path Funnels

Analyze as Cohort from Funnel

Save a Funnel Analysis

Explore Users from a Funnel

Export Results from a Funnel

Cohorts

Getting Started with Cohorts

Analysis Modes

Save a Cohort Analysis

Export Results

Explore Users

Saved Analyses

Manage Analyses in Dashboards

Journeys

Getting Started

Event Menu

Visualization

Ending Event

Save a Journey Analysis

Users

Getting Started

User Activity Timelines

Time Settings

Export Results

Save A User Analysis

Query Builder

Data Dictionary

Query Builder Overview

Modify Filters With And/Or Clauses

Query-time Sampling

Query Notes

Filter Where Clauses

Event vs. User Properties

Group By Clauses

Annotations

Cross-tool Compatibility

Apply All for Filter Where Clauses

Date Range and Time Settings Overview

User Attributes at Event Time

Understanding the Screen View Event

User Aliasing

Dashboards

Dashboards––Getting Started

Manage Dashboards

Organize Dashboards

Dashboard Filters

Scheduled Reports

Favorites

Time and Interval Settings in Dashboards

Query Notes in Dashboards

Analytics Resources

The Demo Environment

Keyboard Shortcuts

User Segments

Tutorials

Analytics for Marketers

Analytics for Product Managers

Compare Conversion Across Acquisition Sources

Analyze Product Feature Usage

Identify Points of User Friction

Time-based Subscription Analysis

Dashboard Tips and Tricks

Understand Product Stickiness

Optimize User Flow with A/B Testing

APIs

User Segments Export API

Dashboard Filter API

Warehouse Sync

Data Privacy Controls

Data Subject Requests

Default Service Limits

Feeds

Cross-Account Audience Sharing

Approved Sub-Processors

Import Data with CSV Files

Import Data with CSV Files

CSV File Reference

Glossary

Video Index

Analytics (Deprecated)
Identity Providers

Single Sign-On (SSO)

Setup Examples

Settings

Debug Console

Data Warehouse Delay Alerting

Introduction

Developer Docs

Introduction

Integrations

Introduction

Rudderstack

Google Tag Manager

Segment

Data Warehouses and Data Lakes

Advanced Data Warehouse Settings

AWS Kinesis (Snowplow)

AWS Redshift (Define Your Own Schema)

AWS S3 (Snowplow Schema)

AWS S3 Integration (Define Your Own Schema)

BigQuery (Snowplow Schema)

BigQuery Firebase Schema

BigQuery (Define Your Own Schema)

GCP BigQuery Export

Snowflake (Snowplow Schema)

Snowplow Schema Overview

Snowflake (Define Your Own Schema)

APIs

Dashboard Filter API (Deprecated)

REST API

User Segments Export API (Deprecated)

SDKs

SDKs Introduction

React Native

iOS

Android

Java

JavaScript

Python

Object API

Developer Basics

Aliasing

Observability Overview

Observability is a suite of diagnostic tools that give account administrators granular visibility into how data flows through the mParticle platform: from the sources where your data originates, through mParticle’s various internal systems, and finally to your connected third-party outputs.

Whether you want to monitor the ingestion of batches containing dozens of events or you need to track down a modification to a single user profile, Observability provides the ability to configure and browse detailed traces of all of your data flows so you can troubleshoot issues with confidence.

As an example, consider you have an ecommerce business and you use the mParticle SDK to ingest real-time website traffic into mParticle. Now imagine that you began to notice intermittent dips in traffic volume at certain times of day – you would want to identify the cause. Are the dips in traffic due to changes in user behavior, or are they just the result of a poorly configured filter or another processing anomaly?

By analyzing traces of your data as it flows through mParticle during the impacted timeframes, you can look for any errors or warnings triggered during processing that could explain a bottleneck or anomaly causing your traffic dips.

Observability can be used to help detect and troubleshoot a range of issues, including:

  • Delays in real-time forwarding between mParticle and one of your connected outputs
  • Unexpected discrepancies between the volume of data ingested into, or forwarded from, mParticle
  • Data not accepted by a forwarder
  • Data not being ingested by mParticle
  • A data plan violation that you may want to fix

Tracing

The foundation of Observability is tracing. As data flows through mParticle, it is ingested, processed, and routed to various services or forwarders in discrete steps.

A trace in mParticle’s Observability is a detailed record that connects all of these steps on through a single timeline. Think of a trace as a trip report for your data: it shows where it came from, where it went, and any stops it made along the way.

Tracing is provided by default for all data flowing in your development environment. For production data tracing, Observability lets you configure what data is traced through customizable Trace Configurations. When Observability is used in conjunction with tools like System Alerts and Live Stream, it can help you diagnose and troubleshoot issues with your data pipelines.

How does tracing work?

All data sent through your mParticle development environment is traced by default, and can be viewed on the Trace Activity page. If you want to trace production data, you can do so by creating a custom trace configuration to gain specific insights.

If a data flow has an active trace configuration, a call made to one of the supported mParticle services initiates a unique trace. Each trace is identified by a Trace ID, which you can use to find and view specific details about the data’s journey in the Observability tool.

Traces record information such as which input the data originated from, which outputs the data will be sent to after processing, any rules or filters applied to the data, any user MPID’s related to the trace, the types of events included in the data, error codes, and any data plans that will be used to process the data.

In addition to these details, the trace details page presents a graphic display of the following stages, known as “spans”, that your data happen to flow through:

  • Data ingest: the initial step of receiving data from one of the mParticle SDKs, a feed, or a warehouse sync pipeline.
  • Processing: the stage in which event batches are received and routed to the next stage.
  • Transformations: the process of applying rules to your data. This stage is executed both when data is ingested into mParticle and when it is forwarded to an output.
  • Identity Resolution: the process of identifying or creating user profiles to attribute user data with.
  • Payload Delivery: the stage in which outbound data is collected and forwarded to one of your connected outputs.

What data can be traced?

Observability provides end-to-end tracing for all event data, starting from it’s first ingested through via an mParticle platform SDK or server-to-server inputs, to when data is forwarded to any of the real-time event destinations.

Specifically, tracing is available for data processed by the following APIs:

By default, data in your development environment is traced automatically. You don’t need to configure anything, and you can immediately begin reviewing trace details for your development data from Live Stream or the Trace Activity page in Observability. To trace your production data, you must first create a trace configuration that specifies which data you want traced.

Tracing limitations

Observability does not currently does not currently support tracing for data sent to mParticle’s bulk forwarding event outputs or audience pipelines.

Observability fair use limitations

You can trace up to 10% of your annual batch volume sent through your production environment at no extra charge.

If you exceed this limit:

  • Your mParticle account representative may contact you to discuss your needs and options.
  • You will not be able to create new trace configurations.
  • New traces will not be generated for any data sent through your existing trace configurations, but any existing traces will remain available until 14 days after they were created.
  • Your development data will still be traced automatically.

How long are traces available?

Traces for development and production data are accessible for up to 14 days.

How do I configure traces for my production data?

To learn more about the information provided in a trace and how to create a trace configuration for your production data, continue reading the Observability User Guide.

Tracing best practices

Observability provides detailed information about how data is ingested, processed, and forwarded through mParticle’s CDP. To make the best use of Observability while keeping your cost low, we recommend the following strategies:

Prioritize testing with development data

100% of your development data is traced automatically, at no extra cost to you. This makes Observability a powerful testing and troubleshooting tool that you should use when setting up a new mParticle configuration.

By sending test data through your development environment, you can gain insights into how your platform or feed inputs are functioning; whether your data plans, rules, and filters are behaving as expected; and whether the data you expect to see in your output is successfully being forwarded.

Use a high sample rate for short-term monitoring

Even after deploying a well tested mParticle configuration to process your production data, it’s still possible to encounter issues.

mParticle recommends creating a tracing configuration to monitor new configurations with a high sample rate (up to 100%) but for a short period of time (up to one week). This allows you to detect issues quickly.

Remember that you can trace up to 10% of your annual batch volume at no extra charge, but if you reach this limit you will be unable to create new trace configurations. If you do reach this limit, you can contact your mParticle account representative to discuss the unique needs of your business and what additional tracing options may be available.

Use a low sample rate for long-term monitoring

Once a new mParticle configuration has been successfully processing production data for a period of about a week, you can transition to a long-term monitoring approach.

mParticle recommends creating long-term tracing configurations (more than one week) with a low sample rate (under 10%). This allows you to still detect and troubleshoot anomalies that may occur in your existing pipelines without causing you to reach your tracing usage limit. If you do begin to approach your limit, your mParticle account representative will contact you.

Was this page helpful?

    Last Updated: March 21, 2025