Skip to main content

Indexing Attributes

Attributes

Attributes define key metadata points to generate indices in the Backtrace database (coroner). These coroner indices are used for filtering, reporting, visualization and snapshot retrieval. They can be used to determine impact and investigate root cause by looking at interesting patterns. For example, you can request a distribution of process uptime or memory usage in real-time for any group of crashes.

We recommend you create an attribute for each metadata point added to your snapshots that you would like to query, group or filter on. For example, if you are adding build_tag to each error submission belonging to this project, you should add "build_tag" as an attribute.

To create an attribute for a given project, select Project Settings from the top right menu and then Attributes from the left menu. Click the + at the top of the Attributes section, and enter name, type, format, and description of the attribute (see section below). Alternatively, if your project is already attaching attributes, click the Recommended tab to see a list of all attributes that have recently been attached to error submission but do not yet have an index created.

Configuration

  • Name: Name of the attribute
  • Description: A short description of the attribute
  • Format: Format of data type, used for rendering the value. The following formats are supported:
CategoryFormatTypeDescription
BytesBytes, Kilobytes, Gigabytes8–128-bitInteger values representing a quantity of data. The specified unit determines how the value is interpreted.
MiscellaneousCallstackStringSerialized JSON array representing a call stack, where each element is a function name in the call sequence.
MiscellaneousLabelsStringCollection of key-value tags or metadata labels associated with an event or object.
MiscellaneousMemory address64-bitRaw memory address as a 64-bit integer.
MiscellaneousSHA-256StringSHA-256 cryptographic hash.
MiscellaneousUUIDUUIDUniversally unique identifier.
NetworkingHostnameStringHostname of the machine or server where an event originated.
NetworkingIPv432-bitIPv4 address.
NetworkingIPv6128-bitIPv6 address.
TimeGPS, JS, UNIX timestamps, Milliseconds, Nanoseconds, Seconds64-bitTimestamp in one of several supported formats. The selected format determines the epoch and precision used when parsing the value.
Version controlCommit hash, Semantic versionStringVersion identifier, either a Git commit hash or a semantic version string, used to correlate errors with a specific code release.
NoneNoneBooleanTrue/false value.
NoneNoneStringLow-cardinality string values suited for bounded attribute sets like environment, release channel, or region.
NoneNoneUnsigned IntegerNon-negative integer using the selected bit width.
NoneNoneUUIDUniversally unique identifier for entities requiring global uniqueness.