Spike: Add metrics definition for geo_node_usage
Add YAML metric definitions for geo node usage
This definitions are missing from YAML files we should add the files with the related information
Full key path usage_activity_by_stage.enablement.geo_node_usage
We could have one single file for the root key usage_activity_by_stage.enablement.geo_node_usage
with a related JSON schema for the array objects inside
Or we could have one YAML file for each individual metric
Questions/Notes
- All metrics inside are owned by geo group?
- All metrics belong to same product category?
- All metrics have same time frame?
- all metrics will have same instrumentation class(the instrumentation class might have a shared data or context)
If there are difference in metrics we should probably have individual YAML files
Example of usage ping for geo_nodes_usage
{
:geo_node_usage=>
[{"repository_verification_enabled"=>true,
"repositories_replication_enabled"=>nil,
"repositories_synced_count"=>nil,
"repositories_failed_count"=>nil,
"lfs_objects_replication_enabled"=>nil,
"lfs_objects_count"=>nil,
"lfs_objects_synced_count"=>nil,
"lfs_objects_failed_count"=>nil,
"attachments_replication_enabled"=>nil,
"attachments_count"=>nil,
"attachments_synced_count"=>nil,
"attachments_failed_count"=>nil,
"wikis_synced_count"=>nil,
"wikis_failed_count"=>nil,
"job_artifacts_replication_enabled"=>nil,
"job_artifacts_count"=>nil,
"job_artifacts_synced_count"=>nil,
"job_artifacts_failed_count"=>nil,
"repositories_verified_count"=>nil,
"repositories_verification_failed_count"=>nil,
"repositories_verification_total_count"=>nil,
"wikis_verified_count"=>nil,
"wikis_verification_failed_count"=>nil,
"wikis_verification_total_count"=>nil,
"lfs_objects_synced_missing_on_primary_count"=>nil,
"job_artifacts_synced_missing_on_primary_count"=>nil,
"attachments_synced_missing_on_primary_count"=>nil,
"repositories_checksummed_count"=>nil,
"repositories_checksum_failed_count"=>nil,
"repositories_checksum_mismatch_count"=>nil,
"repositories_checksum_total_count"=>nil,
"wikis_checksummed_count"=>nil,
"wikis_checksum_failed_count"=>nil,
"wikis_checksum_mismatch_count"=>nil,
"wikis_checksum_total_count"=>nil,
"repositories_retrying_verification_count"=>nil,
"wikis_retrying_verification_count"=>nil,
"projects_count"=>nil,
"container_repositories_replication_enabled"=>nil,
"container_repositories_count"=>nil,
"container_repositories_synced_count"=>nil,
"container_repositories_failed_count"=>nil,
"container_repositories_registry_count"=>nil,
"design_repositories_replication_enabled"=>nil,
"design_repositories_count"=>nil,
"design_repositories_synced_count"=>nil,
"design_repositories_failed_count"=>nil,
"merge_request_diffs_count"=>nil,
"merge_request_diffs_checksum_total_count"=>nil,
"merge_request_diffs_checksummed_count"=>nil,
"merge_request_diffs_checksum_failed_count"=>nil,
"merge_request_diffs_synced_count"=>nil,
"merge_request_diffs_failed_count"=>nil,
"merge_request_diffs_registry_count"=>nil,
"merge_request_diffs_verification_total_count"=>nil,
"merge_request_diffs_verified_count"=>nil,
"merge_request_diffs_verification_failed_count"=>nil,
"package_files_count"=>nil,
"package_files_checksum_total_count"=>nil,
"package_files_checksummed_count"=>nil,
"package_files_checksum_failed_count"=>nil,
"package_files_synced_count"=>nil,
"package_files_failed_count"=>nil,
"package_files_registry_count"=>nil,
"package_files_verification_total_count"=>nil,
"package_files_verified_count"=>nil,
"package_files_verification_failed_count"=>nil,
"terraform_state_versions_count"=>nil,
"terraform_state_versions_checksum_total_count"=>nil,
"terraform_state_versions_checksummed_count"=>nil,
"terraform_state_versions_checksum_failed_count"=>nil,
"terraform_state_versions_synced_count"=>nil,
"terraform_state_versions_failed_count"=>nil,
"terraform_state_versions_registry_count"=>nil,
"terraform_state_versions_verification_total_count"=>nil,
"terraform_state_versions_verified_count"=>nil,
"terraform_state_versions_verification_failed_count"=>nil,
"snippet_repositories_count"=>nil,
"snippet_repositories_checksum_total_count"=>nil,
"snippet_repositories_checksummed_count"=>nil,
"snippet_repositories_checksum_failed_count"=>nil,
"snippet_repositories_synced_count"=>nil,
"snippet_repositories_failed_count"=>nil,
"snippet_repositories_registry_count"=>nil,
"snippet_repositories_verification_total_count"=>nil,
"snippet_repositories_verified_count"=>nil,
"snippet_repositories_verification_failed_count"=>nil,
"group_wiki_repositories_count"=>nil,
"group_wiki_repositories_checksum_total_count"=>nil,
"group_wiki_repositories_checksummed_count"=>nil,
"group_wiki_repositories_checksum_failed_count"=>nil,
"group_wiki_repositories_synced_count"=>nil,
"group_wiki_repositories_failed_count"=>nil,
"group_wiki_repositories_registry_count"=>nil,
"group_wiki_repositories_verification_total_count"=>nil,
"group_wiki_repositories_verified_count"=>nil,
"group_wiki_repositories_verification_failed_count"=>nil,
"git_fetch_event_count_weekly"=>nil},
Edited by Alina Mihaila