A green dataset build does not guarantee fresh objects. Palantir's Funnel batch pipelines documentation describes object indexing as its own chain of build jobs, separate from the dataset build.

Our builds guide showed how to stop bad data at build time. This piece covers the next step, where a dataset becomes objects in the Ontology. If that step breaks, apps can continue serving previously indexed objects.

Before you start: You will work in Ontology Manager and in the Data Health checks on the backing datasets. The Funnel page says View permissions on the backing datasource let you see pipeline errors. Palantir says live monitoring in Automate requires that the "Object type must use Object Storage v2."

Two layers, two kinds of monitoring

Palantir's health checks overview says: "Health checks enable monitoring and alerting on common issues across datasets and other resource types." They cover dataset status, time, size, content and schema. The overview lists datasets, schedules and tables as the resources you can create them on.

The object layer belongs to Funnel. Palantir's object backend overview describes Funnel as "responsible for orchestrating data writes into the Ontology".

The Funnel page sets out the chain: "A Funnel batch pipeline is comprised of a series of Foundry build jobs: Changelog, Merge changes, Indexing, Hydration". It adds: "Live pipelines run whenever their respective datasources are updated." A dataset update starts indexing, but indexing then has to succeed on its own.

Palantir documents a separate mechanism for each layer. Dataset health checks watch the backing data. The object-level Sync Propagation Delay rule watches the index.

In our view, this split is a strength, because each layer gets checks suited to its job. It also means you set up alerts on both.

Step by step: alerts on the dataset layer

Palantir's recommended health checks page lists the checks for synced datasets: a schema check (exact match), time since last updated (TSLU), sync freshness and sync status.

  1. Add a schedule status check. Palantir says: "Schedule status check: This will catch all failures in a pipeline; it is not necessary to put a Job Status Check on each dataset."
  2. Add a sync status check. Palantir says it "Should be installed on datasets that are being synced".
  3. Add TSLU. "Use this check to ensure your pipeline is updating at the required cadence." Palantir's example pairs a 24-hour pipeline with a 26-hour threshold.
  4. Add sync freshness and data freshness. Palantir says sync freshness is "especially helpful when assessed with Data Freshness and TSLU".
  5. Add a schema check on outputs. Palantir says it will warn you "if columns are added or removed, or column names and types that your pipeline relies on change unexpectedly". It advises the check when outputs feed apps such as Contour, Slate or Object Explorer.
  6. Subscribe rather than duplicate. Palantir notes: "for the time being, only one check of a given type can exist on a particular dataset. If a check you wanted to install already exists, just subscribe to it."

The overview says: "When problems are detected, you will receive in-platform notifications and emails alerting you to the issue."

Step by step: alerts on the object layer

The dataset checks watch the backing dataset's cadence. For the freshness of the object index itself, the Funnel page describes a separate rule.

  1. Open the object type in Ontology Manager and choose "Monitor the health of this object type".
  2. Add a Sync Propagation Delay rule. The Funnel page says: "Users can also add Sync Propagation Delay rules to be notified when the freshness of the indexed data in object databases passes the threshold defined in the rule." See also Palantir's monitoring views rules reference.
  3. Know where errors appear. The Funnel page says: "Users with View permissions on the backing datasource of an object type can check the pipeline errors through the Live pipeline dashboard in the object type's Datasources tab." It also says you can filter the Builds application by object type.
  4. Confirm completion on the graph. Palantir's indexing FAQ says: "A green tick in the Object Storage v2 node in the graph indicates that the indexing is complete and the object type is ready to be queried from OSv2."

The health checks overview also points to monitoring views "if you want coverage that scales when additional resources are added".

How to read an indexing failure

First, sort the error into transient or terminal. The FAQ says that for transient errors, "OSv2 will automatically retry the job after approximately five minutes." For terminal failures, "it will automatically retry only when new data is available."

In our view, that second line is the one to remember. A terminal failure on a slow-cadence dataset can leave objects stale until the next update lands. A Sync Propagation Delay rule, if you have one, notifies you once indexed-data freshness passes the threshold you set.

Next, check whether the object type is batch or streaming. Palantir's data restrictions page says: "For object types backed by batch datasources, violations will cause indexing jobs to fail. For object types backed by streaming datasources, records that violate these restrictions are dropped." The FAQ says invalid streaming records are dropped because there is "no mechanism to throw an error in the user transform".

Common cause 1: primary key duplicates

The data restrictions page says: "if a single transaction contains duplicate primary keys, indexing will fail and throw an error."

Across transactions on incremental datasets, the Funnel page says Object Storage v2 uses a "most recent transaction wins" strategy. The same page says Iceberg tables differ: "Incremental indexing may appear to succeed when duplicates exist, but a full reindex fails if any duplicate primary keys remain."

You can guard against duplicates at build time. Palantir's data expectations reference says primary key expectations "take one or more column names and verify: Each column has no null values. The combination of columns is unique". Our builds guide, citing Palantir's getting started page, notes that these checks "run on full datasets, regardless of the incremental nature of the transform".

We think that makes the build-side check the stricter of the two. In our reading, it flags keys repeated across transactions, which indexing on incremental datasets resolves by taking the latest. In our view, it is the check to use if you need exactly one row per key.

Common cause 2: schema changes

The Funnel page says: "Schema changes can include adding a new property type to an object type, changing an existing property type, or replacing the input datasource of an object type with another datasource." Users keep seeing live data meanwhile: "While the live pipeline continues to run on its usual cadence, Funnel will orchestrate a replacement pipeline in the background without impacting the live data being served to users."

The data restrictions page says: "Schema migrations will not proceed if incompatible values exist". Its example error reads "A property could not be cast to the new type".

The Funnel page says indexing is incremental by default. A full reindex runs in three cases:

  • when a transaction changes more rows than a threshold ("The default threshold is set to 80% of rows changed in the same transaction");
  • when a schema change needs a replacement pipeline;
  • "When a user triggers a full reindex through Ontology Manager".

User edits: a separate persistence path

Edits reach objects by a different route from dataset updates. The Funnel page says: "User edits are applied to indexes in object databases immediately; a regular six-hour job interval allows a built-in control mechanism to persistently store this data in Foundry." It adds that "if user edits on objects are detected, live pipelines will run every six hours regardless of any explicit backing dataset update".

The same page says the "most recent transaction wins" rule "is not related to how user edits and datasource update conflicts are handled". Do not use duplicate-key behavior to reason about edit conflicts.

In our view, Automate gives you one more signal on object change. Palantir's evaluation frequency page says: "Live monitoring runs evaluations within minutes of an object change appearing in the Ontology. Ontology indexing must complete before Automate detects the change." It notes that "patches (user edits) are smaller and process faster, while base versions (backing dataset changes) are larger and take longer to process."

Watch out for

  • A green build is not a green index. Check the Object Storage v2 node.
  • Palantir says terminal indexing failures automatically retry only when new data is available.
  • Palantir says streaming object types drop records that violate the documented indexing restrictions.
  • The Funnel page says Iceberg duplicates can pass incremental indexing, then break a full reindex.
  • After moving an object type from Object Storage v1 to v2, Palantir says to "re-save automations to enable live monitoring".
  • Palantir lists "Too many checks leading to noise in volume of checks" as a pitfall. Subscribe to existing checks.

The two-layer checklist

  1. A primary key expectation on the transform that builds the backing dataset.
  2. Schema, TSLU, sync freshness and sync status checks on the dataset.
  3. A schedule status check on the pipeline.
  4. A Sync Propagation Delay rule on the object type.
  5. A bookmark to the Live pipeline dashboard in the Datasources tab.
  6. Before any property type change, a scan for values that will not cast.

What to watch

We think the payoff comes from pairing step 1 with step 4. One checks keys before indexing; the other tells you when the index falls behind. If you ship Ontology changes on branches, our guide to global branches is the next read.