Metric Properties

Learn more about searchable application metric properties.

Search application metrics in Explore → Metrics. Pick the metric in the metric selector, then filter with the keys below. Any custom attribute you attach on the metric is searchable too, using the same attribute name you set in the SDK.

The metric selector sets metric.name, metric.type, and metric.unit for you, so the search bar doesn't suggest those keys.

These keys can be used in a metric search:

The metric identifier, such as checkout.failed or queue.depth.

  • Type: string

The metric type. One of counter, gauge, or distribution.

  • Type: string

Unit of measurement, such as millisecond, byte, or ratio. SDKs can also send custom units. Empty or none when the SDK did not set one.

  • Type: string

The numeric value. For a counter, this is the amount added. For a gauge, this is the current value. For a distribution, this is one measured value.

  • Type: number

When the metric was recorded.

  • Type: datetime

The trace ID for the active trace when the metric was recorded. Every metric has a trace ID, but metrics are often sampled at 100% while traces are sampled at a lower rate, so the trace itself may not have been stored.

  • Type: string

The span the metric was recorded on. Empty when no span was active.

  • Type: string

The parent span ID sent by some SDKs for the same association as sentry.span_id.

  • Type: string

The name of the transaction or segment that was active when the metric was recorded, when the SDK set one.

  • Type: string

The metric event's unique ID.

  • Type: string

The project the metric belongs to. You can also scope projects with the page filter.

  • Type: string

The environment set in the SDK, such as development, staging, or production. Learn more.

  • Type: string

The release set in the SDK. Learn more.

  • Type: string

Name of the Sentry SDK that sent the metric.

  • Type: string

Version of the Sentry SDK that sent the metric.

  • Type: string

The ID of the active replay when the metric was recorded.

  • Type: string

Display name of the browser. Relay parses this from the user agent when the SDK does not set it.

  • Type: string

Version of the browser.

  • Type: string

Application-specific identifier for the user. Sent when send default PII is enabled, or when you set it yourself.

  • Type: string

Email address of the user.

  • Type: string

Username of the user.

  • Type: string

Server address. Backend SDKs attach this.

  • Type: string
Was this helpful?
Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").