- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
ancestors
Type: UNORDERED_LIST_STRING
bucket_name
Type: STRING
Provider name: bucketName
Description: Optional. The resource name of the Log Bucket that owns the Log Metric. Only Log Buckets in projects are supported. The bucket has to be in the same project as the metric.For example:projects/my-project/locations/global/buckets/my-bucketIf empty, then the Log Metric is considered a non-Bucket Log Metric.
bucket_options
Type: STRUCT
Provider name: bucketOptions
Description: Optional. 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.
explicit_buckets
STRUCT
explicitBuckets
bounds
UNORDERED_LIST_DOUBLE
bounds
exponential_buckets
STRUCT
exponentialBuckets
growth_factor
DOUBLE
growthFactor
num_finite_buckets
INT32
numFiniteBuckets
scale
DOUBLE
scale
linear_buckets
STRUCT
linearBuckets
num_finite_buckets
INT32
numFiniteBuckets
offset
DOUBLE
offset
width
DOUBLE
width
create_time
Type: TIMESTAMP
Provider name: createTime
Description: Output only. The creation timestamp of the metric.This field may not be present for older metrics.
description
Type: STRING
Provider name: description
Description: Optional. A description of this metric, which is used in documentation. The maximum length of the description is 8000 characters.
disabled
Type: BOOLEAN
Provider name: disabled
Description: Optional. If set to True, then this metric is disabled and it does not generate any points.
filter
Type: STRING
Provider name: filter
Description: Required. An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced_filters) which is used to match log entries. Example: “resource.type=gae_app AND severity>=ERROR” The maximum length of the filter is 20000 characters.
labels
Type: UNORDERED_LIST_STRING
metric_descriptor
Type: STRUCT
Provider name: metricDescriptor
Description: Optional. The metric descriptor associated with the logs-based metric. If unspecified, it uses a default metric descriptor with a DELTA metric kind, INT64 value type, with no labels and a unit of “1”. Such a metric counts the number of log entries matching the filter expression.The name, type, and description fields in the metric_descriptor are output only, and is constructed using the name and description field in the LogMetric.To create a logs-based metric that records a distribution of log values, a DELTA metric kind with a DISTRIBUTION value type must be used along with a value_extractor expression in the LogMetric.Each label in the metric descriptor must have a matching label name as the key and an extractor expression as the value in the label_extractors map.The metric_kind and value_type fields in the metric_descriptor cannot be updated once initially configured. New labels can be added in the metric_descriptor, but existing labels cannot be modified except for their description.
description
STRING
description
gcp_display_name
STRING
displayName
launch_stage
STRING
launchStage
LAUNCH_STAGE_UNSPECIFIED
- Do not use this default value.UNIMPLEMENTED
- The feature is not yet implemented. Users can not use it.PRELAUNCH
- Prelaunch features are hidden from users and are only visible internally.EARLY_ACCESS
- Early Access features are limited to a closed group of testers. To use these features, you must sign up in advance and sign a Trusted Tester agreement (which includes confidentiality provisions). These features may be unstable, changed in backward-incompatible ways, and are not guaranteed to be released.ALPHA
- Alpha is a limited availability test for releases before they are cleared for widespread use. By Alpha, all significant design issues are resolved and we are in the process of verifying functionality. Alpha customers need to apply for access, agree to applicable terms, and have their projects allowlisted. Alpha releases don’t have to be feature complete, no SLAs are provided, and there are no technical support obligations, but they will be far enough along that customers can actually use them in test environments or for limited-use tests – just like they would in normal production cases.BETA
- Beta is the point at which we are ready to open a release for any customer to use. There are no SLA or technical support obligations in a Beta release. Products will be complete from a feature perspective, but may have some open outstanding issues. Beta releases are suitable for limited production use cases.GA
- GA features are open to all developers and are considered stable and fully qualified for production use.DEPRECATED
- Deprecated features are scheduled to be shut down and removed. For more information, see the ‘Deprecation Policy’ section of our Terms of Service (https://cloud.google.com/terms/) and the Google Cloud Platform Subject to the Deprecation Policy (https://cloud.google.com/terms/deprecation) documentation.metadata
STRUCT
metadata
ingest_delay
STRING
ingestDelay
launch_stage
STRING
launchStage
LAUNCH_STAGE_UNSPECIFIED
- Do not use this default value.UNIMPLEMENTED
- The feature is not yet implemented. Users can not use it.PRELAUNCH
- Prelaunch features are hidden from users and are only visible internally.EARLY_ACCESS
- Early Access features are limited to a closed group of testers. To use these features, you must sign up in advance and sign a Trusted Tester agreement (which includes confidentiality provisions). These features may be unstable, changed in backward-incompatible ways, and are not guaranteed to be released.ALPHA
- Alpha is a limited availability test for releases before they are cleared for widespread use. By Alpha, all significant design issues are resolved and we are in the process of verifying functionality. Alpha customers need to apply for access, agree to applicable terms, and have their projects allowlisted. Alpha releases don’t have to be feature complete, no SLAs are provided, and there are no technical support obligations, but they will be far enough along that customers can actually use them in test environments or for limited-use tests – just like they would in normal production cases.BETA
- Beta is the point at which we are ready to open a release for any customer to use. There are no SLA or technical support obligations in a Beta release. Products will be complete from a feature perspective, but may have some open outstanding issues. Beta releases are suitable for limited production use cases.GA
- GA features are open to all developers and are considered stable and fully qualified for production use.DEPRECATED
- Deprecated features are scheduled to be shut down and removed. For more information, see the ‘Deprecation Policy’ section of our Terms of Service (https://cloud.google.com/terms/) and the Google Cloud Platform Subject to the Deprecation Policy (https://cloud.google.com/terms/deprecation) documentation.sample_period
STRING
samplePeriod
metric_kind
STRING
metricKind
METRIC_KIND_UNSPECIFIED
- Do not use this default value.GAUGE
- An instantaneous measurement of a value.DELTA
- The change in a value during a time interval.CUMULATIVE
- A value accumulated over a time interval. Cumulative measurements in a time series should have the same start time and increasing end times, until an event resets the cumulative value to zero and sets a new start time for the following points.monitored_resource_types
UNORDERED_LIST_STRING
monitoredResourceTypes
name
STRING
name
type
STRING
type
unit
STRING
unit
value_type
STRING
valueType
VALUE_TYPE_UNSPECIFIED
- Do not use this default value.BOOL
- The value is a boolean. This value type can be used only if the metric kind is GAUGE.INT64
- The value is a signed 64-bit integer.DOUBLE
- The value is a double precision floating point number.STRING
- The value is a text string. This value type can be used only if the metric kind is GAUGE.DISTRIBUTION
- The value is a Distribution.MONEY
- The value is money.name
Type: STRING
Provider name: name
Description: Required. The client-assigned metric identifier. Examples: “error_count”, “nginx/requests”.Metric identifiers are limited to 100 characters and can include only the following characters: A-Z, a-z, 0-9, and the special characters _-.,+!*’,()%/. The forward-slash character (/) denotes a hierarchy of name pieces, and it cannot be the first character of the name.This field is the [METRIC_ID] part of a metric resource name in the format “projects/PROJECT_ID/metrics/METRIC_ID”. Example: If the resource name of a metric is “projects/my-project/metrics/nginx%2Frequests”, this field’s value is “nginx/requests”.
organization_id
Type: STRING
parent
Type: STRING
project_id
Type: STRING
project_number
Type: STRING
resource_name
Type: STRING
tags
Type: UNORDERED_LIST_STRING
update_time
Type: TIMESTAMP
Provider name: updateTime
Description: Output only. The last update timestamp of the metric.This field may not be present for older metrics.
value_extractor
Type: STRING
Provider name: valueExtractor
Description: Optional. A value_extractor is required when using a distribution logs-based metric to extract the values to record from a log entry. Two functions are supported for value extraction: EXTRACT(field) or REGEXP_EXTRACT(field, regex). The arguments are: field: The name of the log entry field from which the value is to be extracted. regex: A regular expression using the Google RE2 syntax (https://github.com/google/re2/wiki/Syntax) with a single capture group to extract data from the specified log entry field. The value of the field is converted to a string before applying the regex. It is an error to specify a regex that does not include exactly one capture group.The result of the extraction must be convertible to a double type, as the distribution always records double values. If either the extraction or the conversion to double fails, then those values are not recorded in the distribution.Example: REGEXP_EXTRACT(jsonPayload.request, “.quantity=(\d+).”)
version
Type: STRING
Provider name: version
Description: Deprecated. The API version that created or updated this metric. The v2 format is used by default and cannot be changed.
Possible values:
V2
- Logging API v2.V1
- Logging API v1.