Resource Type: GCP > Logging > Metric
The Metric resource type represents a specific set of log data that can be used for monitoring, analysis, and troubleshooting in GCP environments.
Resource Context
Metric is a part of the Logging service.
Each Metric lives under a Project.
Controls
The primary controls for GCP > Logging > Metric are:
Category
In Your Workspace
- Controls by Resource Type report
- Policy Settings by Resource Type report
- Resources by Resource Type report
Developers
- tmod:@turbot/gcp-logging#/resource/types/metric
- tmod:@turbot/turbot#/resource/categories/managementTools
- turbot graphql resource --id "tmod:@turbot/gcp-logging#/resource/types/metric"
Get Resource- select * from guardrails_resource where resource_type_uri = 'tmod:@turbot/gcp-logging#/resource/types/metric';
- select * from guardrails_policy_setting where filter = 'resourceTypeId:"tmod:@turbot/gcp-logging#/resource/types/metric"';
- select * from guardrails_notification where resource_type_uri = 'tmod:@turbot/gcp-logging#/resource/types/metric' and notification_type in ('resource_updated', 'resource_created');
Get ResourceGet Policy Settings (By Resource ID)Get Resource Notification
Resource Type URI
Category URI
GraphQL
CLI
Steampipe Query