Commit e10d6aef authored by Markus Koller's avatar Markus Koller

Merge branch 'am-add-geo-node-usage-metric-definiton' into 'master'

Add metric definition for geo_node_usage

See merge request gitlab-org/gitlab!70062
parents 75b31127 73bea4a3
--- ---
data_category: optional key_path: usage_activity_by_stage_monthly.enablement.geo_node_usage
key_path: usage_activity_by_stage.enablement.counts.geo_node_usage.git_fetch_event_count_weekly name: geo_node_usage
description: Number of Git fetch events from Prometheus on the Geo secondary description: Usage data for geo nodes
product_section: enablement product_section: enablement
product_stage: enablement product_stage: enablement
product_group: group::geo product_group: group::geo
product_category: geo_replication product_category: geo_replication
value_type: number value_type: object
status: active status: active
milestone: '13.10' milestone: "14.3"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/53888 introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/70062
time_frame: 7d time_frame: all
data_source: prometheus data_source: database
data_category: optional
performance_indicator_type: []
distribution: distribution:
- ee - ee
tier: tier:
- premium - premium
- ultimate - ultimate
performance_indicator_type: [] value_json_schema: "ee/config/metrics/object_schemas/geo_node_usage.json"
--- ---
data_category: optional key_path: usage_activity_by_stage.enablement.geo_node_usage
key_path: usage_activity_by_stage.enablement.counts.geo_node_usage.git_push_event_count_weekly name: geo_node_usage
description: Number of Git push events from Prometheus on the Geo secondary description: Usage data for geo nodes
product_section: enablement product_section: enablement
product_stage: enablement product_stage: enablement
product_group: group::geo product_group: group::geo
product_category: geo_replication product_category: geo_replication
value_type: number value_type: object
status: active status: active
milestone: "14.0" milestone: "14.3"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/63427/ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/70062
time_frame: 7d time_frame: all
data_source: prometheus data_source: database
data_category: optional
performance_indicator_type: []
distribution: distribution:
- ee - ce
tier: tier:
- premium - premium
- ultimate - ultimate
performance_indicator_type: [] value_json_schema: "ee/config/metrics/object_schemas/geo_node_usage.json"
{
"type": "array",
"items": {
"type": "object",
"properties": {
"projects_count": { "type": "number", "description": "Projects count" },
"attachments_count": { "type": "number", "description": "Attachments count" },
"lfs_objects_count": { "type": "number" },
"wikis_failed_count": { "type": "number" },
"wikis_synced_count": { "type": "number" },
"job_artifacts_count": { "type": "number" },
"package_files_count": { "type": "number" },
"wikis_verified_count": { "type": "number" },
"pages_deployments_count": { "type": "number" },
"wikis_checksummed_count": { "type": "number" },
"attachments_failed_count": { "type": "number" },
"attachments_synced_count": { "type": "number" },
"lfs_objects_failed_count": { "type": "number" },
"lfs_objects_synced_count": { "type": "number" },
"pipeline_artifacts_count": { "type": "number" },
"design_repositories_count": { "type": "number" },
"merge_request_diffs_count": { "type": "number" },
"repositories_failed_count": { "type": "number" },
"repositories_synced_count": { "type": "number" },
"job_artifacts_failed_count": { "type": "number" },
"job_artifacts_synced_count": { "type": "number" },
"lfs_objects_registry_count": { "type": "number" },
"lfs_objects_verified_count": { "type": "number" },
"package_files_failed_count": { "type": "number" },
"package_files_synced_count": { "type": "number" },
"snippet_repositories_count": { "type": "number" },
"wikis_checksum_total_count": { "type": "number" },
"git_push_event_count_weekly": { "type": "number" },
"repositories_verified_count": { "type": "number" },
"wikis_checksum_failed_count": { "type": "number" },
"container_repositories_count": { "type": "number" },
"git_fetch_event_count_weekly": { "type": "number" },
"package_files_registry_count": { "type": "number" },
"package_files_verified_count": { "type": "number" },
"group_wiki_repositories_count": { "type": "number" },
"lfs_objects_checksummed_count": { "type": "number" },
"wikis_checksum_mismatch_count": { "type": "number" },
"pages_deployments_failed_count": { "type": "number" },
"pages_deployments_synced_count": { "type": "number" },
"repositories_checksummed_count": { "type": "number" },
"terraform_state_versions_count": { "type": "number" },
"wikis_verification_total_count": { "type": "number" },
"attachments_replication_enabled": { "type": "boolean" },
"package_files_checksummed_count": { "type": "number" },
"pipeline_artifacts_failed_count": { "type": "number" },
"pipeline_artifacts_synced_count": { "type": "number" },
"repository_verification_enabled": { "type": "boolean" },
"wikis_verification_failed_count": { "type": "number" },
"design_repositories_failed_count": { "type": "number" },
"design_repositories_synced_count": { "type": "number" },
"lfs_objects_checksum_total_count": { "type": "number" },
"merge_request_diffs_synced_count": { "type": "number" },
"pages_deployments_registry_count": { "type": "number" },
"pages_deployments_verified_count": { "type": "number" },
"repositories_replication_enabled": { "type": "boolean" },
"job_artifacts_replication_enabled": { "type": "boolean" },
"lfs_objects_checksum_failed_count": { "type": "number" },
"pipeline_artifacts_registry_count": { "type": "number" },
"pipeline_artifacts_verified_count": { "type": "number" },
"repositories_checksum_total_count": { "type": "number" },
"snippet_repositories_failed_count": { "type": "number" },
"snippet_repositories_synced_count": { "type": "number" },
"wikis_retrying_verification_count": { "type": "number" },
"merge_request_diffs_registry_count": { "type": "number" },
"merge_request_diffs_verified_count": { "type": "number" },
"package_files_checksum_total_count": { "type": "number" },
"repositories_checksum_failed_count": { "type": "number" },
"container_repositories_failed_count": { "type": "number" },
"container_repositories_synced_count": { "type": "number" },
"package_files_checksum_failed_count": { "type": "number" },
"pages_deployments_checksummed_count": { "type": "number" },
"snippet_repositories_registry_count": { "type": "number" },
"snippet_repositories_verified_count": { "type": "number" },
"group_wiki_repositories_failed_count": { "type": "number" },
"group_wiki_repositories_synced_count": { "type": "number" },
"lfs_objects_verification_total_count": { "type": "number" },
"pipeline_artifacts_checksummed_count": { "type": "number" },
"repositories_checksum_mismatch_count": { "type": "number" },
"container_repositories_registry_count": { "type": "number" },
"lfs_objects_verification_failed_count": { "type": "number" },
"merge_request_diffs_checksummed_count": { "type": "number" },
"repositories_verification_total_count": { "type": "number" },
"terraform_state_versions_failed_count": { "type": "number" },
"terraform_state_versions_synced_count": { "type": "number" },
"group_wiki_repositories_registry_count": { "type": "number" },
"group_wiki_repositories_verified_count": { "type": "number" },
"package_files_verification_total_count": { "type": "number" },
"pages_deployments_checksum_total_count": { "type": "number" },
"repositories_verification_failed_count": { "type": "number" },
"snippet_repositories_checksummed_count": { "type": "number" },
"design_repositories_replication_enabled": { "type": "boolean" },
"package_files_verification_failed_count": { "type": "number" },
"pages_deployments_checksum_failed_count": { "type": "number" },
"pipeline_artifacts_checksum_total_count": { "type": "number" },
"terraform_state_versions_registry_count": { "type": "number" },
"terraform_state_versions_verified_count": { "type": "number" },
"merge_request_diffs_checksum_total_count": { "type": "number" },
"pipeline_artifacts_checksum_failed_count": { "type": "number" },
"repositories_retrying_verification_count": { "type": "number" },
"group_wiki_repositories_checksummed_count": { "type": "number" },
"merge_request_diffs_checksum_failed_count": { "type": "number" },
"snippet_repositories_checksum_total_count": { "type": "number" },
"container_repositories_replication_enabled": { "type": "boolean" },
"pages_deployments_verification_total_count": { "type": "number" },
"snippet_repositories_checksum_failed_count": { "type": "number" },
"terraform_state_versions_checksummed_count": { "type": "number" },
"attachments_synced_missing_on_primary_count": { "type": "number" },
"pages_deployments_verification_failed_count": { "type": "number" },
"pipeline_artifacts_verification_total_count": { "type": "number" },
"group_wiki_repositories_checksum_total_count": { "type": "number" },
"merge_request_diffs_verification_total_count": { "type": "number" },
"pipeline_artifacts_verification_failed_count": { "type": "number" },
"group_wiki_repositories_checksum_failed_count": { "type": "number" },
"job_artifacts_synced_missing_on_primary_count": { "type": "number" },
"merge_request_diffs_verification_failed_count": { "type": "number" },
"snippet_repositories_verification_total_count": { "type": "number" },
"terraform_state_versions_checksum_total_count": { "type": "number" },
"snippet_repositories_verification_failed_count": { "type": "number" },
"terraform_state_versions_checksum_failed_count": { "type": "number" },
"group_wiki_repositories_verification_total_count": { "type": "number" },
"group_wiki_repositories_verification_failed_count": { "type": "number" },
"terraform_state_versions_verification_total_count": { "type": "number" },
"terraform_state_versions_verification_failed_count": { "type": "number" }
}
}
}
...@@ -8,7 +8,6 @@ RSpec.describe 'Every metric definition' do ...@@ -8,7 +8,6 @@ RSpec.describe 'Every metric definition' do
let(:usage_ping) { Gitlab::UsageData.uncached_data } let(:usage_ping) { Gitlab::UsageData.uncached_data }
let(:ignored_usage_ping_key_patterns) do let(:ignored_usage_ping_key_patterns) do
%w( %w(
geo_node_usage
license_add_ons license_add_ons
testing_total_unique_counts testing_total_unique_counts
user_auth_by_provider user_auth_by_provider
...@@ -25,7 +24,6 @@ RSpec.describe 'Every metric definition' do ...@@ -25,7 +24,6 @@ RSpec.describe 'Every metric definition' do
let(:ignored_metric_files_key_patterns) do let(:ignored_metric_files_key_patterns) do
%w( %w(
ci_runners_online ci_runners_online
geo_node_usage
mock_ci mock_ci
mock_monitoring mock_monitoring
user_auth_by_provider user_auth_by_provider
......
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