Browser Attributes

20 attributes in this category. 20 stable

Stable Attributes

browser.name

string PII: Maybe OTel: False

The name of the browser.

Example Chrome
Aliases sentry.browser.name
Changelog
v0.1.0 #127#139
v0.0.0
Raw JSON
{
  "key": "browser.name",
  "brief": "The name of the browser.",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": "Chrome",
  "alias": [
    "sentry.browser.name"
  ],
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        127,
        139
      ]
    },
    {
      "version": "0.0.0"
    }
  ]
}

browser.report.type

string PII: Maybe OTel: False

A browser report sent via reporting API..

Example network-error
Changelog
v0.1.0 #68#127
Raw JSON
{
  "key": "browser.report.type",
  "brief": "A browser report sent via reporting API..",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": "network-error",
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        68,
        127
      ]
    }
  ]
}

browser.script.invoker

string PII: Maybe OTel: False

How a script was called in the browser.

Example Window.requestAnimationFrame
SDKs browser
Changelog
v0.1.0 #127
v0.0.0
Raw JSON
{
  "key": "browser.script.invoker",
  "brief": "How a script was called in the browser.",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": "Window.requestAnimationFrame",
  "sdks": [
    "browser"
  ],
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        127
      ]
    },
    {
      "version": "0.0.0"
    }
  ]
}

browser.script.invoker_type

string PII: Maybe OTel: False

Browser script entry point type.

Example event-listener
SDKs browser
Changelog
v0.1.0 #127
v0.0.0
Raw JSON
{
  "key": "browser.script.invoker_type",
  "brief": "Browser script entry point type.",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": "event-listener",
  "sdks": [
    "browser"
  ],
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        127
      ]
    },
    {
      "version": "0.0.0"
    }
  ]
}

browser.script.source_char_position

integer PII: Maybe OTel: False

A number representing the script character position of the script.

Example 678
SDKs browser
Changelog
v0.4.0 #228
v0.0.0
Raw JSON
{
  "key": "browser.script.source_char_position",
  "brief": "A number representing the script character position of the script.",
  "type": "integer",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": 678,
  "sdks": [
    "browser"
  ],
  "changelog": [
    {
      "version": "0.4.0",
      "prs": [
        228
      ]
    },
    {
      "version": "0.0.0"
    }
  ]
}

browser.version

string PII: Maybe OTel: False

The version of the browser.

Example 120.0.6099.130
Aliases sentry.browser.version
Changelog
v0.1.0 #59#127#139
Raw JSON
{
  "key": "browser.version",
  "brief": "The version of the browser.",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": "120.0.6099.130",
  "alias": [
    "sentry.browser.version"
  ],
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        59,
        127,
        139
      ]
    }
  ]
}

browser.web_vital.cls.source.<key>

string PII: Maybe OTel: False Dynamic

The HTML elements or components responsible for the layout shift. <key> is a numeric index from 1 to N

Example body > div#app
Aliases cls.source.<key>
SDKs javascript-browser
Dynamic Suffix Yes - the key contains dynamic parts
Changelog
next #234
Raw JSON
{
  "key": "browser.web_vital.cls.source.<key>",
  "brief": "The HTML elements or components responsible for the layout shift. <key> is a numeric index from 1 to N",
  "has_dynamic_suffix": true,
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": "body > div#app",
  "alias": [
    "cls.source.<key>"
  ],
  "sdks": [
    "javascript-browser"
  ],
  "changelog": [
    {
      "version": "next",
      "prs": [
        234
      ]
    }
  ]
}

browser.web_vital.cls.value

double PII: Maybe OTel: False

The value of the recorded Cumulative Layout Shift (CLS) web vital

Example 0.2361
Aliases cls
SDKs javascript-browser
Changelog
next #229 Added browser.web_vital.cls.value attribute
Raw JSON
{
  "key": "browser.web_vital.cls.value",
  "brief": "The value of the recorded Cumulative Layout Shift (CLS) web vital",
  "type": "double",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": 0.2361,
  "alias": [
    "cls"
  ],
  "sdks": [
    "javascript-browser"
  ],
  "changelog": [
    {
      "version": "next",
      "prs": [
        229
      ],
      "description": "Added browser.web_vital.cls.value attribute"
    }
  ]
}

browser.web_vital.fcp.value

double PII: Maybe OTel: False

The time it takes for the browser to render the first piece of meaningful content on the screen

Example 547.6951
Aliases fcp
SDKs javascript-browser
Changelog
next #235
Raw JSON
{
  "key": "browser.web_vital.fcp.value",
  "brief": "The time it takes for the browser to render the first piece of meaningful content on the screen",
  "type": "double",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": 547.6951,
  "alias": [
    "fcp"
  ],
  "sdks": [
    "javascript-browser"
  ],
  "changelog": [
    {
      "version": "next",
      "prs": [
        235
      ]
    }
  ]
}

browser.web_vital.fp.value

double PII: Maybe OTel: False

The time in milliseconds it takes for the browser to render the first pixel on the screen

Example 477.1926
Aliases fp
SDKs javascript-browser
Changelog
next #235
Raw JSON
{
  "key": "browser.web_vital.fp.value",
  "brief": "The time in milliseconds it takes for the browser to render the first pixel on the screen",
  "type": "double",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": 477.1926,
  "alias": [
    "fp"
  ],
  "sdks": [
    "javascript-browser"
  ],
  "changelog": [
    {
      "version": "next",
      "prs": [
        235
      ]
    }
  ]
}

browser.web_vital.inp.value

double PII: Maybe OTel: False

The value of the recorded Interaction to Next Paint (INP) web vital

Example 200
Aliases inp
SDKs javascript-browser
Changelog
next #229 Added browser.web_vital.inp.value attribute
Raw JSON
{
  "key": "browser.web_vital.inp.value",
  "brief": "The value of the recorded Interaction to Next Paint (INP) web vital",
  "type": "double",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": 200,
  "alias": [
    "inp"
  ],
  "sdks": [
    "javascript-browser"
  ],
  "changelog": [
    {
      "version": "next",
      "prs": [
        229
      ],
      "description": "Added browser.web_vital.inp.value attribute"
    }
  ]
}

browser.web_vital.lcp.element

string PII: Maybe OTel: False

The HTML element selector or component name for which LCP was reported

Example body > div#app > div#container > div
Aliases lcp.element
SDKs javascript-browser
Changelog
next #233
Raw JSON
{
  "key": "browser.web_vital.lcp.element",
  "brief": "The HTML element selector or component name for which LCP was reported",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": "body > div#app > div#container > div",
  "alias": [
    "lcp.element"
  ],
  "sdks": [
    "javascript-browser"
  ],
  "changelog": [
    {
      "version": "next",
      "prs": [
        233
      ]
    }
  ]
}

browser.web_vital.lcp.id

string PII: Maybe OTel: False

The id of the dom element responsible for the largest contentful paint

Example #gero
Aliases lcp.id
SDKs javascript-browser
Changelog
next #233
Raw JSON
{
  "key": "browser.web_vital.lcp.id",
  "brief": "The id of the dom element responsible for the largest contentful paint",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": "#gero",
  "alias": [
    "lcp.id"
  ],
  "sdks": [
    "javascript-browser"
  ],
  "changelog": [
    {
      "version": "next",
      "prs": [
        233
      ]
    }
  ]
}

browser.web_vital.lcp.load_time

integer PII: Maybe OTel: False

The time it took for the LCP element to be loaded

Example 1402
Aliases lcp.loadTime
SDKs javascript-browser
Changelog
next #233
Raw JSON
{
  "key": "browser.web_vital.lcp.load_time",
  "brief": "The time it took for the LCP element to be loaded",
  "type": "integer",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": 1402,
  "alias": [
    "lcp.loadTime"
  ],
  "sdks": [
    "javascript-browser"
  ],
  "changelog": [
    {
      "version": "next",
      "prs": [
        233
      ]
    }
  ]
}

browser.web_vital.lcp.render_time

integer PII: Maybe OTel: False

The time it took for the LCP element to be rendered

Example 1685
Aliases lcp.renderTime
SDKs javascript-browser
Changelog
next #233
Raw JSON
{
  "key": "browser.web_vital.lcp.render_time",
  "brief": "The time it took for the LCP element to be rendered",
  "type": "integer",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": 1685,
  "alias": [
    "lcp.renderTime"
  ],
  "sdks": [
    "javascript-browser"
  ],
  "changelog": [
    {
      "version": "next",
      "prs": [
        233
      ]
    }
  ]
}

browser.web_vital.lcp.size

integer PII: Maybe OTel: False

The size of the largest contentful paint element

Example 1024
Aliases lcp.size
SDKs javascript-browser
Changelog
next #233
Raw JSON
{
  "key": "browser.web_vital.lcp.size",
  "brief": "The size of the largest contentful paint element",
  "type": "integer",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": 1024,
  "alias": [
    "lcp.size"
  ],
  "sdks": [
    "javascript-browser"
  ],
  "changelog": [
    {
      "version": "next",
      "prs": [
        233
      ]
    }
  ]
}

browser.web_vital.lcp.url

string PII: Maybe OTel: False

The url of the dom element responsible for the largest contentful paint

Example https://example.com/static/img.png
Aliases lcp.url
SDKs javascript-browser
Changelog
next #233
Raw JSON
{
  "key": "browser.web_vital.lcp.url",
  "brief": "The url of the dom element responsible for the largest contentful paint",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": "https://example.com/static/img.png",
  "alias": [
    "lcp.url"
  ],
  "sdks": [
    "javascript-browser"
  ],
  "changelog": [
    {
      "version": "next",
      "prs": [
        233
      ]
    }
  ]
}

browser.web_vital.lcp.value

double PII: Maybe OTel: False

The value of the recorded Largest Contentful Paint (LCP) web vital

Example 2500
Aliases lcp
SDKs javascript-browser
Changelog
next #229 Added browser.web_vital.lcp.value attribute
Raw JSON
{
  "key": "browser.web_vital.lcp.value",
  "brief": "The value of the recorded Largest Contentful Paint (LCP) web vital",
  "type": "double",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": 2500,
  "alias": [
    "lcp"
  ],
  "sdks": [
    "javascript-browser"
  ],
  "changelog": [
    {
      "version": "next",
      "prs": [
        229
      ],
      "description": "Added browser.web_vital.lcp.value attribute"
    }
  ]
}

browser.web_vital.ttfb.request_time

double PII: Maybe OTel: False

The time it takes for the server to process the initial request and send the first byte of a response to the user's browser

Example 1554.5814
Aliases ttfb.requestTime
SDKs javascript-browser
Changelog
next #235
Raw JSON
{
  "key": "browser.web_vital.ttfb.request_time",
  "brief": "The time it takes for the server to process the initial request and send the first byte of a response to the user's browser",
  "type": "double",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": 1554.5814,
  "alias": [
    "ttfb.requestTime"
  ],
  "sdks": [
    "javascript-browser"
  ],
  "changelog": [
    {
      "version": "next",
      "prs": [
        235
      ]
    }
  ]
}

browser.web_vital.ttfb.value

double PII: Maybe OTel: False

The value of the recorded Time To First Byte (TTFB) web vital in Milliseconds

Example 194.3322
Aliases ttfb
SDKs javascript-browser
Changelog
next #235
Raw JSON
{
  "key": "browser.web_vital.ttfb.value",
  "brief": "The value of the recorded Time To First Byte (TTFB) web vital in Milliseconds",
  "type": "double",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": 194.3322,
  "alias": [
    "ttfb"
  ],
  "sdks": [
    "javascript-browser"
  ],
  "changelog": [
    {
      "version": "next",
      "prs": [
        235
      ]
    }
  ]
}