Jump to content

Metrics Platform/Contextual attributes/Java

From Wikitech

This page documents the contextual attributes supported by the Metrics Platform Java client. For property descriptions and types, see the app base schema definition.

The Java client supports these contextual attributes:[1]

Included automatically:[2]

  • agent_app_flavor
  • agent_app_install_id
  • agent_app_theme
  • agent_app_version
  • agent_app_version_name
  • agent_client_platform
  • agent_client_platform_family
  • agent_device_family
  • agent_device_language
  • agent_release_status

Optional:

  • mediawiki_database
  • page_id
  • page_title
  • page_namespace_id
  • page_namespace_name
  • page_revision_id
  • page_wikidata_qid
  • page_content_language
  • performer_id
  • performer_name
  • performer_is_logged_in
  • performer_is_temp
  • performer_session_id
  • performer_pageview_id
  • performer_groups
  • performer_language_groups
  • performer_language_primary
  • performer_registration_dt
  1. gitlab:repos/data-engineering/metrics-platform/-/blob/main/java/src/main/java/org/wikimedia/metrics_platform/context/ContextValue.java
  2. gitlab:repos/data-engineering/metrics-platform/-/blob/main/java/src/main/java/org/wikimedia/metrics_platform/ContextController.java?ref_type=heads#L55