POST /analytics/diff appear in a selection vs a baseline cohort'
Honeycomb-style BubbleUp. Give a selection cohort and a baseline cohort (each the same filter shape as the other analytics reads, plus errorsOnly / minDurationMs so the selection can be the slow-or-error slice). For each cataloged attribute key it computes the value distribution in both cohorts and ranks keys by how over-represented a value is in the selection. Restrict the diffed keys with 'keys' (else the top cataloged keys are used, capped).
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
curl -X POST "https://example.com/analytics/diff" \ -H "Content-Type: application/json" \ -d '{ "baseline": {}, "selection": {} }'{ "$schema": "https://example.com/schemas/DiffOutputBody.json", "attributes": [ { "key": "string", "score": 0.1, "values": [ { "baselineCount": 0, "baselineFraction": 0.1, "delta": 0.1, "selectionCount": 0, "selectionFraction": 0.1, "value": "string" } ] } ]}The cohort to compare against (e.g. all traffic in the window)
Attribute keys to diff; defaults to the top cataloged keys (capped)
Max ranked attributes to return (default and max 20)
int64The cohort to compare against (e.g. all traffic in the window)
GET /analytics/breakdown agent, tool, or tag GET
Previous Page
GET /analytics/dimensions GET
Start here for custom-dimension analytics: this lists the business attribute keys your app has stamped on its telemetry (e.g. participant_role, tenant, plan). Feed a key into /analytics/breakdown?dimension=tag&tagKey=<key> to rank it, then into filterTagKey+filterTagValue on /analytics/timeseries and /analytics/latency to trend and get percentiles for one value.