Skip to main content

Custom Metrics API Supported Metrics

Global filters and global group bys are available to use on all the metrics.

  • Global filters: app_version, country, model, os_major_version and os_version.
  • Global group bys: app_version, country, os_major_version, os_version and top_n_market_name.

The following metrics are supported as Custom Metrics. Metrics with the suffix "_total" are gauges.

MetricDescriptionFiltersGroup by granularityTime granularity
anrs_totalNumber of anrsmethod, sample_typefive_minute, hourly, daily
crashes_totalNumber of crashesmsg, tag_name, tag_value,five_minute, hourly, daily
flutter_exceptions_totalNumber of flutter exceptionsgroup_id, is_handled, msg, stategroup_id, msgfive_minute, hourly, daily
logs_totalNumber of momentslog_property_key, log_property_value, msg, typelog_property_valuefive_minute, hourly, daily
moments_totalNumber of momentsduration_bucket, moment_property_key, moment_property_value, nameduration_bucket, moment_property_valuefive_minute, hourly, daily
network_requests_successful_duration_totalSum of successful network requests durationsdomain, method, pathtop_n_domain, top_n_pathhourly, daily
network_requests_successful_totalNumber of successful network requestsdomain, duration_bucket (note: currently we do not support duration, only buckets as described in our documentation), method, pathtop_n_domain, top_n_pathhourly, daily
network_requests_totalNumber of network requestsdomain, method, path, status_codestatus_code, top_n_domian, top_n_pathfive_minute, hourly, daily
sessions_totalNumber of sessionshas_anr, session_property_key, sessions_property_valuesession_property_valuefive_minute, hourly, daily
sessions_duration_totalSum of sessions durationshas_anr, session_property_key, sessions_property_valuesession_property_valuefive_minute, hourly, daily
root_spans_totalNumber of root spansroot_span_attribute_key, root_span_attribute_value, root_span_duration_bucket, root_span_name, root_span_outcomeroot_span_attribute_value, root_span_duration_bucket, root_span_name, root_span_outcomefive_minute, hourly, daily
root_spans_duration_totalSum of root spans durationroot_span_attribute_key, root_span_attribute_value, root_span_name, root_span_outcomeroot_span_attribute_value, root_span_name, root_span_outcomefive_minute, hourly, daily
unity_exceptions_totalNumber of unity exceptionsgroup_id, is_handled, msg, stategroup_id, msgfive_minute, hourly, daily
info
  1. Refer to this documentation to understand how top_n dimensions work.
  2. You can also pull the latest set of supported metrics directly from the API.