Dash0 acquires Polar Signals

Manage Attribute Pattern Rules (Private BETA)

List Attribute Pattern Rules

get/api/attribute-pattern-rules

Returns Attribute Pattern Rules in the given dataset. Omitting serviceNamespace and serviceName returns every rule in the dataset across all services; supplying both scopes the response to that single service.

Parameters 8

datasetqueryrequired

The dataset to list Pattern Rules from.

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}$"
serviceNamespacequery

Filter to rules scoped to this OpenTelemetry service.namespace. Requires serviceName to also be set.

string
serviceNamequery

Filter to rules scoped to this OpenTelemetry service.name.

string
ownershipquery

Filter to rules with this ownership.

  • user_defined: created, or promoted from auto_derived, by a human through this API.
  • auto_derived: inferred by the Operation Miner.
string
Allowed values"user_defined""auto_derived"
statusquery

Filter to rules with this status.

  • active: applied by the collector's Operation Processor.
  • inactive: stored but not applied.
string
Allowed values"active""inactive"
priorityquery

Filter to rules at any of these priorities, comma-separated. Priorities 1-5 are the user-facing priority levels; 0 matches auto-derived rows, which always carry the reserved priority 0 regardless of the ownership filter.

arrayminItems 1maxItems 6
integerminimum 0maximum 5
limitquery

Maximum number of rules to return.

integerdefault 50minimum 1maximum 200
offsetquery

Number of rules to skip.

integerdefault 0minimum 0
bash
Sample request
12
curl --request GET 'https://api.eu-west-1.aws.dash0.com/api/attribute-pattern-rules?dataset=default' \
--header "Authorization: Bearer ${DASH0_AUTH_TOKEN}"

Responses

List of Attribute Pattern Rules

object
AttributePatternRuleDefinition[]required
boolean

Whether there are more rules beyond the current page.