Commit 511c1b76 authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre

Merge branch 'nhxnguyen-geo-usage-ping-replication-events' into 'master'

Add geo_primary_replication_events to usage data

See merge request gitlab-org/gitlab!33424
parents 6840b554 b3582c47
...@@ -456,7 +456,8 @@ On GitLab.com, we have DangerBot setup to monitor Telemetry related files and Da ...@@ -456,7 +456,8 @@ On GitLab.com, we have DangerBot setup to monitor Telemetry related files and Da
| `dependency_list_usages_total` | `counts` | | | | `dependency_list_usages_total` | `counts` | | |
| `epics` | `counts` | | | | `epics` | `counts` | | |
| `feature_flags` | `counts` | | | | `feature_flags` | `counts` | | |
| `geo_nodes` | `counts` | | | | `geo_nodes` | `counts` | `geo` | Number of sites in a Geo deployment |
| `geo_event_log_max_id` | `counts` | `geo` | Number of replication events on a Geo primary |
| `incident_issues` | `counts` | `monitor` | Issues created by the alert bot | | `incident_issues` | `counts` | `monitor` | Issues created by the alert bot |
| `alert_bot_incident_issues` | `counts` | `monitor` | Issues created by the alert bot | | `alert_bot_incident_issues` | `counts` | `monitor` | Issues created by the alert bot |
| `incident_labeled_issues` | `counts` | `monitor` | Issues with the incident label | | `incident_labeled_issues` | `counts` | `monitor` | Issues with the incident label |
......
---
title: Add geo_primary_replication_events to usage data
merge_request: 33424
author:
type: other
...@@ -164,6 +164,7 @@ module EE ...@@ -164,6 +164,7 @@ module EE
epics: count(::Epic), epics: count(::Epic),
feature_flags: count(Operations::FeatureFlag), feature_flags: count(Operations::FeatureFlag),
geo_nodes: count(::GeoNode), geo_nodes: count(::GeoNode),
geo_event_log_max_id: alt_usage_data { Geo::EventLog.maximum(:id) || 0 },
ldap_group_links: count(::LdapGroupLink), ldap_group_links: count(::LdapGroupLink),
issues_with_health_status: count(::Issue.with_health_status), issues_with_health_status: count(::Issue.with_health_status),
ldap_keys: count(::LDAPKey), ldap_keys: count(::LDAPKey),
......
...@@ -91,6 +91,7 @@ RSpec.describe Gitlab::UsageData do ...@@ -91,6 +91,7 @@ RSpec.describe Gitlab::UsageData do
epics_deepest_relationship_level epics_deepest_relationship_level
feature_flags feature_flags
geo_nodes geo_nodes
geo_event_log_max_id
issues_with_health_status issues_with_health_status
ldap_group_links ldap_group_links
ldap_keys ldap_keys
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment