Metrics

Metric names emitted by Sentry SDKs, with their type, unit and the attributes that describe their values.

browser

3 metrics

browser.bfcache.navigation

counterOTel: False

Counts back/forward navigations and whether the page was restored from the back/forward cache.

Raw JSON
{
  "key": "browser.bfcache.navigation",
  "brief": "Counts back/forward navigations and whether the page was restored from the back/forward cache.",
  "instrument": "counter",
  "unit": "none",
  "is_in_otel": false,
  "requirement_level": "recommended",
  "attributes": [
    "browser.bfcache.outcome",
    "browser.bfcache.not_restored_reason_count",
    "sentry.segment.name"
  ]
}

Counts the reasons a back/forward navigation was not restored from the back/forward cache, emitted once per reason.

Raw JSON
{
  "key": "browser.bfcache.not_restored",
  "brief": "Counts the reasons a back/forward navigation was not restored from the back/forward cache, emitted once per reason.",
  "instrument": "counter",
  "unit": "none",
  "is_in_otel": false,
  "requirement_level": "recommended",
  "attributes": [
    "browser.bfcache.reason",
    "browser.bfcache.frame",
    "sentry.segment.name"
  ]
}

browser.bfcache.reload.duration

distributionOTel: False

The duration of the full page reload when a back/forward navigation missed the back/forward cache.

Unitmillisecond
RequirementRecommended
Raw JSON
{
  "key": "browser.bfcache.reload.duration",
  "brief": "The duration of the full page reload when a back/forward navigation missed the back/forward cache.",
  "instrument": "distribution",
  "unit": "millisecond",
  "is_in_otel": false,
  "requirement_level": "recommended",
  "attributes": [
    "sentry.segment.name"
  ]
}

messaging

8 metrics

The number of BullMQ jobs that completed.

Raw JSON
{
  "key": "messaging.bullmq.jobs.completed",
  "brief": "The number of BullMQ jobs that completed.",
  "instrument": "counter",
  "unit": "none",
  "is_in_otel": false,
  "requirement_level": "recommended",
  "attributes": [
    "messaging.destination.name",
    "messaging.bullmq.job.name",
    "messaging.bullmq.job.state"
  ]
}

The number of BullMQ jobs that moved to the delayed state, for a retry with a backoff delay or through Job.moveToDelayed().

Raw JSON
{
  "key": "messaging.bullmq.jobs.delayed",
  "brief": "The number of BullMQ jobs that moved to the delayed state, for a retry with a backoff delay or through Job.moveToDelayed().",
  "instrument": "counter",
  "unit": "none",
  "is_in_otel": false,
  "requirement_level": "recommended",
  "attributes": [
    "messaging.destination.name",
    "messaging.bullmq.job.name",
    "messaging.bullmq.job.state"
  ]
}

The number of BullMQ jobs that failed and are not retried.

Raw JSON
{
  "key": "messaging.bullmq.jobs.failed",
  "brief": "The number of BullMQ jobs that failed and are not retried.",
  "instrument": "counter",
  "unit": "none",
  "is_in_otel": false,
  "requirement_level": "recommended",
  "attributes": [
    "messaging.destination.name",
    "messaging.bullmq.job.name",
    "messaging.bullmq.job.state"
  ]
}

The number of failed BullMQ jobs that are retried without a delay.

Raw JSON
{
  "key": "messaging.bullmq.jobs.retried",
  "brief": "The number of failed BullMQ jobs that are retried without a delay.",
  "instrument": "counter",
  "unit": "none",
  "is_in_otel": false,
  "requirement_level": "recommended",
  "attributes": [
    "messaging.destination.name",
    "messaging.bullmq.job.name",
    "messaging.bullmq.job.state"
  ]
}

The number of BullMQ jobs that Job.moveToWait() moved back to the wait state.

Raw JSON
{
  "key": "messaging.bullmq.jobs.waiting",
  "brief": "The number of BullMQ jobs that Job.moveToWait() moved back to the wait state.",
  "instrument": "counter",
  "unit": "none",
  "is_in_otel": false,
  "requirement_level": "recommended",
  "attributes": [
    "messaging.destination.name",
    "messaging.bullmq.job.name",
    "messaging.bullmq.job.state"
  ]
}

The number of BullMQ jobs that moved to the waiting-children state to wait for their child jobs.

Raw JSON
{
  "key": "messaging.bullmq.jobs.waiting_children",
  "brief": "The number of BullMQ jobs that moved to the waiting-children state to wait for their child jobs.",
  "instrument": "counter",
  "unit": "none",
  "is_in_otel": false,
  "requirement_level": "recommended",
  "attributes": [
    "messaging.destination.name",
    "messaging.bullmq.job.name",
    "messaging.bullmq.job.state"
  ]
}

The number of BullMQ jobs in a queue in one job state, as counted by Queue.recordJobCountsMetric().

Unitnone
RequirementRecommended
Raw JSON
{
  "key": "messaging.bullmq.queue.jobs",
  "brief": "The number of BullMQ jobs in a queue in one job state, as counted by Queue.recordJobCountsMetric().",
  "instrument": "gauge",
  "unit": "none",
  "is_in_otel": false,
  "requirement_level": "recommended",
  "attributes": [
    "messaging.destination.name",
    "messaging.bullmq.queue.jobs.state"
  ]
}

messaging.process.duration

distributionOTel: True

The duration of the operation that processes a message.

Raw JSON
{
  "key": "messaging.process.duration",
  "brief": "The duration of the operation that processes a message.",
  "instrument": "distribution",
  "unit": "second",
  "is_in_otel": true,
  "requirement_level": "recommended",
  "attributes": [
    "messaging.system",
    "messaging.operation.name",
    "messaging.destination.name",
    "messaging.bullmq.job.name",
    "messaging.bullmq.job.state"
  ]
}

ui

2 metrics

ui.element.load_time

distributionOTel: False

The time at which the resource of an element marked with the elementtiming attribute finished loading, relative to the time origin.

Raw JSON
{
  "key": "ui.element.load_time",
  "brief": "The time at which the resource of an element marked with the elementtiming attribute finished loading, relative to the time origin.",
  "instrument": "distribution",
  "unit": "millisecond",
  "is_in_otel": false,
  "requirement_level": "recommended",
  "attributes": [
    "ui.element.identifier",
    "ui.element.paint_type",
    "ui.element.id",
    "ui.element.type",
    "ui.element.url",
    "ui.element.width",
    "ui.element.height"
  ]
}

ui.element.render_time

distributionOTel: False

The time at which an element marked with the elementtiming attribute was rendered, relative to the time origin.

Raw JSON
{
  "key": "ui.element.render_time",
  "brief": "The time at which an element marked with the elementtiming attribute was rendered, relative to the time origin.",
  "instrument": "distribution",
  "unit": "millisecond",
  "is_in_otel": false,
  "requirement_level": "recommended",
  "attributes": [
    "ui.element.identifier",
    "ui.element.paint_type",
    "ui.element.id",
    "ui.element.type",
    "ui.element.url",
    "ui.element.width",
    "ui.element.height"
  ]
}