Skip to main content

GoogleCloudLoggingMetric

No description

type GoogleCloudLoggingMetric {
metadata: ResourceMetadata!
bucketOptions: GoogleCloudLoggingMetricBucketOptions
createdAt: DateTime
description: String!
disabled: Boolean!
filter: String!
labelExtractors: [GoogleCloudLoggingMetricLabelExtractors!]!
descriptor: GoogleCloudLoggingMetricDescriptor!
name: String!
updatedAt: DateTime
valueExtractor: String!
}

Fields

GoogleCloudLoggingMetric.metadata ● ResourceMetadata! non-null object

The metadata to identify this resource in Shisho Cloud

GoogleCloudLoggingMetric.bucketOptions ● GoogleCloudLoggingMetricBucketOptions union

The bucket_options are required when the logs-based metric is using a DISTRIBUTION value type and it describes the bucket boundaries used to create a histogram of the extracted values

GoogleCloudLoggingMetric.createdAt ● DateTime scalar

The created date/time and this may not be present for older exclusions

GoogleCloudLoggingMetric.description ● String! non-null scalar

The description

GoogleCloudLoggingMetric.disabled ● Boolean! non-null scalar

If set to True, it does not generate any points

GoogleCloudLoggingMetric.filter ● String! non-null scalar

The advanced logs filter (https://cloud.google.com/logging/docs/view/advanced_filters) which is used to match log entries The example value: resource.type=gae_app AND severity>=ERROR

GoogleCloudLoggingMetric.labelExtractors ● [GoogleCloudLoggingMetricLabelExtractors!]! non-null object

The map from a label key string to an extractor expression which is used to extract data from a log entry field and assign as the label value

GoogleCloudLoggingMetric.descriptor ● GoogleCloudLoggingMetricDescriptor! non-null object

The metric descriptor associated with the logs-based metric

GoogleCloudLoggingMetric.name ● String! non-null scalar

The name The format: projects/{PROJECT_ID}/metrics/{METRIC_ID}

GoogleCloudLoggingMetric.updatedAt ● DateTime scalar

The last updated date/time and this may not be present for older exclusions

GoogleCloudLoggingMetric.valueExtractor ● String! non-null scalar

This is required when using a distribution logs-based metric to extract the values to record from a log entry

Member of

GoogleCloudLogging object