opentelemetry_semantic_conventions::attribute

Constant BROWSER_LANGUAGE

source
pub const BROWSER_LANGUAGE: &str = "browser.language";
Expand description

Preferred language of the user using the browser

§Notes

This value is intended to be taken from the Navigator API navigator.language.

§Examples

  • "en"
  • "en-US"
  • "fr"
  • "fr-FR"