Dash0 acquires Polar Signals

Manage Attribute Pattern Rules (Private BETA)

Get an Attribute Pattern Rule by origin or ID

get/api/attribute-pattern-rules/{originOrId}

Returns a specific Attribute Pattern Rule, identified either by its server-generated dash0.com/id or its client-chosen dash0.com/origin.

Parameters 2

originOrIdpathrequired

The Attribute Pattern Rule's dash0.com/origin or dash0.com/id.

string
datasetqueryrequired

The dataset the Pattern Rule belongs to.

References Dataset

Optional dataset to query across. Defaults to whatever is configured to be the default dataset for the organization.

stringpattern "^[a-zA-Z0-9_-]{3,26}$"
bash
Sample request
12
curl --request GET 'https://api.eu-west-1.aws.dash0.com/api/attribute-pattern-rules/123e4567-e89b-42d3-a456-426614174000?dataset=default' \
--header "Authorization: Bearer ${DASH0_AUTH_TOKEN}"

Responses

The requested Attribute Pattern Rule

A Pattern Rule abstracts a high-cardinality value of the telemetry attribute named by spec.targetAttribute (e.g. /users/1234) into a templated one (e.g. /users/<userId>), so the collector can collapse matching values together. For dash0.operation.name — the default, and the only target attribute mined today — that is the collector's Operation Processor collapsing span operation names. Rows are either authored by a human through this API (spec.ownership: user_defined) or inferred by the miner (spec.ownership: auto_derived).

Unlike most CRD-enveloped resources in this API, Pattern Rules have no independent, user-editable display name, versioning, folder, or sharing concept -- metadata.name is server-computed (see below). They are addressable either by their server-generated metadata.labels["dash0.com/id"] or by metadata.labels["dash0.com/origin"] (an IaC/Terraform-style stable label) -- see {originOrId} on each path below. metadata.labels["dash0.com/dataset"]/spec.serviceNamespace/spec.serviceName identify the partition (dataset + service) a rule belongs to, and are immutable once the rule is created.

stringrequired
"Dash0AttributePatternRule"