- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
alert_strategy
Type: STRUCT
Provider name: alertStrategy
Description: Control over how this alerting policy’s notification channels are notified.
auto_close
STRING
autoClose
notification_channel_strategy
UNORDERED_LIST_STRUCT
notificationChannelStrategy
notification_channel_names
UNORDERED_LIST_STRING
notificationChannelNames
renotify_interval
STRING
renotifyInterval
notification_prompts
UNORDERED_LIST_STRING
notificationPrompts
notification_rate_limit
STRUCT
notificationRateLimit
period
STRING
period
ancestors
Type: UNORDERED_LIST_STRING
combiner
Type: STRING
Provider name: combiner
Description: How to combine the results of multiple conditions to determine if an incident should be opened. If condition_time_series_query_language is present, this must be COMBINE_UNSPECIFIED.
Possible values:
COMBINE_UNSPECIFIED
- An unspecified combiner.AND
- Combine conditions using the logical AND operator. An incident is created only if all the conditions are met simultaneously. This combiner is satisfied if all conditions are met, even if they are met on completely different resources.OR
- Combine conditions using the logical OR operator. An incident is created if any of the listed conditions is met.AND_WITH_MATCHING_RESOURCE
- Combine conditions using logical AND operator, but unlike the regular AND option, an incident is created only if all conditions are met simultaneously on at least one resource.conditions
Type: UNORDERED_LIST_STRUCT
Provider name: conditions
Description: A list of conditions for the policy. The conditions are combined by AND or OR according to the combiner field. If the combined conditions evaluate to true, then an incident is created. A policy can have from one to six conditions. If condition_time_series_query_language is present, it must be the only condition. If condition_monitoring_query_language is present, it must be the only condition.
condition_absent
STRUCT
conditionAbsent
aggregations
UNORDERED_LIST_STRUCT
aggregations
alignment_period
STRING
alignmentPeriod
cross_series_reducer
STRING
crossSeriesReducer
REDUCE_NONE
- No cross-time series reduction. The output of the Aligner is returned.REDUCE_MEAN
- Reduce by computing the mean value across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics with numeric or distribution values. The value_type of the output is DOUBLE.REDUCE_MIN
- Reduce by computing the minimum value across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics with numeric values. The value_type of the output is the same as the value_type of the input.REDUCE_MAX
- Reduce by computing the maximum value across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics with numeric values. The value_type of the output is the same as the value_type of the input.REDUCE_SUM
- Reduce by computing the sum across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics with numeric and distribution values. The value_type of the output is the same as the value_type of the input.REDUCE_STDDEV
- Reduce by computing the standard deviation across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics with numeric or distribution values. The value_type of the output is DOUBLE.REDUCE_COUNT
- Reduce by computing the number of data points across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics of numeric, Boolean, distribution, and string value_type. The value_type of the output is INT64.REDUCE_COUNT_TRUE
- Reduce by computing the number of True-valued data points across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics of Boolean value_type. The value_type of the output is INT64.REDUCE_COUNT_FALSE
- Reduce by computing the number of False-valued data points across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics of Boolean value_type. The value_type of the output is INT64.REDUCE_FRACTION_TRUE
- Reduce by computing the ratio of the number of True-valued data points to the total number of data points for each alignment period. This reducer is valid for DELTA and GAUGE metrics of Boolean value_type. The output value is in the range 0.0, 1.0 and has value_type DOUBLE.REDUCE_PERCENTILE_99
- Reduce by computing the 99th percentile (https://en.wikipedia.org/wiki/Percentile) of data points across time series for each alignment period. This reducer is valid for GAUGE and DELTA metrics of numeric and distribution type. The value of the output is DOUBLE.REDUCE_PERCENTILE_95
- Reduce by computing the 95th percentile (https://en.wikipedia.org/wiki/Percentile) of data points across time series for each alignment period. This reducer is valid for GAUGE and DELTA metrics of numeric and distribution type. The value of the output is DOUBLE.REDUCE_PERCENTILE_50
- Reduce by computing the 50th percentile (https://en.wikipedia.org/wiki/Percentile) of data points across time series for each alignment period. This reducer is valid for GAUGE and DELTA metrics of numeric and distribution type. The value of the output is DOUBLE.REDUCE_PERCENTILE_05
- Reduce by computing the 5th percentile (https://en.wikipedia.org/wiki/Percentile) of data points across time series for each alignment period. This reducer is valid for GAUGE and DELTA metrics of numeric and distribution type. The value of the output is DOUBLE.group_by_fields
UNORDERED_LIST_STRING
groupByFields
per_series_aligner
STRING
perSeriesAligner
ALIGN_NONE
- No alignment. Raw data is returned. Not valid if cross-series reduction is requested. The value_type of the result is the same as the value_type of the input.ALIGN_DELTA
- Align and convert to DELTA. The output is delta = y1 - y0.This alignment is valid for CUMULATIVE and DELTA metrics. If the selected alignment period results in periods with no data, then the aligned value for such a period is created by interpolation. The value_type of the aligned result is the same as the value_type of the input.ALIGN_RATE
- Align and convert to a rate. The result is computed as rate = (y1 - y0)/(t1 - t0), or ‘delta over time’. Think of this aligner as providing the slope of the line that passes through the value at the start and at the end of the alignment_period.This aligner is valid for CUMULATIVE and DELTA metrics with numeric values. If the selected alignment period results in periods with no data, then the aligned value for such a period is created by interpolation. The output is a GAUGE metric with value_type DOUBLE.If, by ‘rate’, you mean ‘percentage change’, see the ALIGN_PERCENT_CHANGE aligner instead.ALIGN_INTERPOLATE
- Align by interpolating between adjacent points around the alignment period boundary. This aligner is valid for GAUGE metrics with numeric values. The value_type of the aligned result is the same as the value_type of the input.ALIGN_NEXT_OLDER
- Align by moving the most recent data point before the end of the alignment period to the boundary at the end of the alignment period. This aligner is valid for GAUGE metrics. The value_type of the aligned result is the same as the value_type of the input.ALIGN_MIN
- Align the time series by returning the minimum value in each alignment period. This aligner is valid for GAUGE and DELTA metrics with numeric values. The value_type of the aligned result is the same as the value_type of the input.ALIGN_MAX
- Align the time series by returning the maximum value in each alignment period. This aligner is valid for GAUGE and DELTA metrics with numeric values. The value_type of the aligned result is the same as the value_type of the input.ALIGN_MEAN
- Align the time series by returning the mean value in each alignment period. This aligner is valid for GAUGE and DELTA metrics with numeric values. The value_type of the aligned result is DOUBLE.ALIGN_COUNT
- Align the time series by returning the number of values in each alignment period. This aligner is valid for GAUGE and DELTA metrics with numeric or Boolean values. The value_type of the aligned result is INT64.ALIGN_SUM
- Align the time series by returning the sum of the values in each alignment period. This aligner is valid for GAUGE and DELTA metrics with numeric and distribution values. The value_type of the aligned result is the same as the value_type of the input.ALIGN_STDDEV
- Align the time series by returning the standard deviation of the values in each alignment period. This aligner is valid for GAUGE and DELTA metrics with numeric values. The value_type of the output is DOUBLE.ALIGN_COUNT_TRUE
- Align the time series by returning the number of True values in each alignment period. This aligner is valid for GAUGE metrics with Boolean values. The value_type of the output is INT64.ALIGN_COUNT_FALSE
- Align the time series by returning the number of False values in each alignment period. This aligner is valid for GAUGE metrics with Boolean values. The value_type of the output is INT64.ALIGN_FRACTION_TRUE
- Align the time series by returning the ratio of the number of True values to the total number of values in each alignment period. This aligner is valid for GAUGE metrics with Boolean values. The output value is in the range 0.0, 1.0 and has value_type DOUBLE.ALIGN_PERCENTILE_99
- Align the time series by using percentile aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting data point in each alignment period is the 99th percentile of all data points in the period. This aligner is valid for GAUGE and DELTA metrics with distribution values. The output is a GAUGE metric with value_type DOUBLE.ALIGN_PERCENTILE_95
- Align the time series by using percentile aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting data point in each alignment period is the 95th percentile of all data points in the period. This aligner is valid for GAUGE and DELTA metrics with distribution values. The output is a GAUGE metric with value_type DOUBLE.ALIGN_PERCENTILE_50
- Align the time series by using percentile aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting data point in each alignment period is the 50th percentile of all data points in the period. This aligner is valid for GAUGE and DELTA metrics with distribution values. The output is a GAUGE metric with value_type DOUBLE.ALIGN_PERCENTILE_05
- Align the time series by using percentile aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting data point in each alignment period is the 5th percentile of all data points in the period. This aligner is valid for GAUGE and DELTA metrics with distribution values. The output is a GAUGE metric with value_type DOUBLE.ALIGN_PERCENT_CHANGE
- Align and convert to a percentage change. This aligner is valid for GAUGE and DELTA metrics with numeric values. This alignment returns ((current - previous)/previous) * 100, where the value of previous is determined based on the alignment_period.If the values of current and previous are both 0, then the returned value is 0. If only previous is 0, the returned value is infinity.A 10-minute moving mean is computed at each point of the alignment period prior to the above calculation to smooth the metric and prevent false positives from very short-lived spikes. The moving mean is only applicable for data whose values are >= 0. Any values < 0 are treated as a missing datapoint, and are ignored. While DELTA metrics are accepted by this alignment, special care should be taken that the values for the metric will always be positive. The output is a GAUGE metric with value_type DOUBLE.duration
STRING
duration
filter
STRING
filter
trigger
STRUCT
trigger
count
INT32
count
percent
DOUBLE
percent
condition_matched_log
STRUCT
conditionMatchedLog
filter
STRING
filter
label_extractors
MAP_STRING_STRING
labelExtractors
condition_monitoring_query_language
STRUCT
conditionMonitoringQueryLanguage
duration
STRING
duration
evaluation_missing_data
STRING
evaluationMissingData
EVALUATION_MISSING_DATA_UNSPECIFIED
- An unspecified evaluation missing data option. Equivalent to EVALUATION_MISSING_DATA_NO_OP.EVALUATION_MISSING_DATA_INACTIVE
- If there is no data to evaluate the condition, then evaluate the condition as false.EVALUATION_MISSING_DATA_ACTIVE
- If there is no data to evaluate the condition, then evaluate the condition as true.EVALUATION_MISSING_DATA_NO_OP
- Do not evaluate the condition to any value if there is no data.query
STRING
query
trigger
STRUCT
trigger
count
INT32
count
percent
DOUBLE
percent
condition_prometheus_query_language
STRUCT
conditionPrometheusQueryLanguage
alert_rule
STRING
alertRule
disable_metric_validation
BOOLEAN
disableMetricValidation
duration
STRING
duration
evaluation_interval
STRING
evaluationInterval
query
STRING
query
rule_group
STRING
ruleGroup
condition_sql
STRUCT
conditionSql
boolean_test
STRUCT
booleanTest
column
STRING
column
daily
STRUCT
daily
execution_time
STRUCT
executionTime
hours
INT32
hours
minutes
INT32
minutes
nanos
INT32
nanos
seconds
INT32
seconds
periodicity
INT32
periodicity
hourly
STRUCT
hourly
minute_offset
INT32
minuteOffset
periodicity
INT32
periodicity
minutes
STRUCT
minutes
periodicity
INT32
periodicity
query
STRING
query
row_count_test
STRUCT
rowCountTest
comparison
STRING
comparison
COMPARISON_UNSPECIFIED
- No ordering relationship is specified.COMPARISON_GT
- True if the left argument is greater than the right argument.COMPARISON_GE
- True if the left argument is greater than or equal to the right argument.COMPARISON_LT
- True if the left argument is less than the right argument.COMPARISON_LE
- True if the left argument is less than or equal to the right argument.COMPARISON_EQ
- True if the left argument is equal to the right argument.COMPARISON_NE
- True if the left argument is not equal to the right argument.threshold
INT64
threshold
condition_threshold
STRUCT
conditionThreshold
aggregations
UNORDERED_LIST_STRUCT
aggregations
alignment_period
STRING
alignmentPeriod
cross_series_reducer
STRING
crossSeriesReducer
REDUCE_NONE
- No cross-time series reduction. The output of the Aligner is returned.REDUCE_MEAN
- Reduce by computing the mean value across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics with numeric or distribution values. The value_type of the output is DOUBLE.REDUCE_MIN
- Reduce by computing the minimum value across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics with numeric values. The value_type of the output is the same as the value_type of the input.REDUCE_MAX
- Reduce by computing the maximum value across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics with numeric values. The value_type of the output is the same as the value_type of the input.REDUCE_SUM
- Reduce by computing the sum across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics with numeric and distribution values. The value_type of the output is the same as the value_type of the input.REDUCE_STDDEV
- Reduce by computing the standard deviation across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics with numeric or distribution values. The value_type of the output is DOUBLE.REDUCE_COUNT
- Reduce by computing the number of data points across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics of numeric, Boolean, distribution, and string value_type. The value_type of the output is INT64.REDUCE_COUNT_TRUE
- Reduce by computing the number of True-valued data points across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics of Boolean value_type. The value_type of the output is INT64.REDUCE_COUNT_FALSE
- Reduce by computing the number of False-valued data points across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics of Boolean value_type. The value_type of the output is INT64.REDUCE_FRACTION_TRUE
- Reduce by computing the ratio of the number of True-valued data points to the total number of data points for each alignment period. This reducer is valid for DELTA and GAUGE metrics of Boolean value_type. The output value is in the range 0.0, 1.0 and has value_type DOUBLE.REDUCE_PERCENTILE_99
- Reduce by computing the 99th percentile (https://en.wikipedia.org/wiki/Percentile) of data points across time series for each alignment period. This reducer is valid for GAUGE and DELTA metrics of numeric and distribution type. The value of the output is DOUBLE.REDUCE_PERCENTILE_95
- Reduce by computing the 95th percentile (https://en.wikipedia.org/wiki/Percentile) of data points across time series for each alignment period. This reducer is valid for GAUGE and DELTA metrics of numeric and distribution type. The value of the output is DOUBLE.REDUCE_PERCENTILE_50
- Reduce by computing the 50th percentile (https://en.wikipedia.org/wiki/Percentile) of data points across time series for each alignment period. This reducer is valid for GAUGE and DELTA metrics of numeric and distribution type. The value of the output is DOUBLE.REDUCE_PERCENTILE_05
- Reduce by computing the 5th percentile (https://en.wikipedia.org/wiki/Percentile) of data points across time series for each alignment period. This reducer is valid for GAUGE and DELTA metrics of numeric and distribution type. The value of the output is DOUBLE.group_by_fields
UNORDERED_LIST_STRING
groupByFields
per_series_aligner
STRING
perSeriesAligner
ALIGN_NONE
- No alignment. Raw data is returned. Not valid if cross-series reduction is requested. The value_type of the result is the same as the value_type of the input.ALIGN_DELTA
- Align and convert to DELTA. The output is delta = y1 - y0.This alignment is valid for CUMULATIVE and DELTA metrics. If the selected alignment period results in periods with no data, then the aligned value for such a period is created by interpolation. The value_type of the aligned result is the same as the value_type of the input.ALIGN_RATE
- Align and convert to a rate. The result is computed as rate = (y1 - y0)/(t1 - t0), or ‘delta over time’. Think of this aligner as providing the slope of the line that passes through the value at the start and at the end of the alignment_period.This aligner is valid for CUMULATIVE and DELTA metrics with numeric values. If the selected alignment period results in periods with no data, then the aligned value for such a period is created by interpolation. The output is a GAUGE metric with value_type DOUBLE.If, by ‘rate’, you mean ‘percentage change’, see the ALIGN_PERCENT_CHANGE aligner instead.ALIGN_INTERPOLATE
- Align by interpolating between adjacent points around the alignment period boundary. This aligner is valid for GAUGE metrics with numeric values. The value_type of the aligned result is the same as the value_type of the input.ALIGN_NEXT_OLDER
- Align by moving the most recent data point before the end of the alignment period to the boundary at the end of the alignment period. This aligner is valid for GAUGE metrics. The value_type of the aligned result is the same as the value_type of the input.ALIGN_MIN
- Align the time series by returning the minimum value in each alignment period. This aligner is valid for GAUGE and DELTA metrics with numeric values. The value_type of the aligned result is the same as the value_type of the input.ALIGN_MAX
- Align the time series by returning the maximum value in each alignment period. This aligner is valid for GAUGE and DELTA metrics with numeric values. The value_type of the aligned result is the same as the value_type of the input.ALIGN_MEAN
- Align the time series by returning the mean value in each alignment period. This aligner is valid for GAUGE and DELTA metrics with numeric values. The value_type of the aligned result is DOUBLE.ALIGN_COUNT
- Align the time series by returning the number of values in each alignment period. This aligner is valid for GAUGE and DELTA metrics with numeric or Boolean values. The value_type of the aligned result is INT64.ALIGN_SUM
- Align the time series by returning the sum of the values in each alignment period. This aligner is valid for GAUGE and DELTA metrics with numeric and distribution values. The value_type of the aligned result is the same as the value_type of the input.ALIGN_STDDEV
- Align the time series by returning the standard deviation of the values in each alignment period. This aligner is valid for GAUGE and DELTA metrics with numeric values. The value_type of the output is DOUBLE.ALIGN_COUNT_TRUE
- Align the time series by returning the number of True values in each alignment period. This aligner is valid for GAUGE metrics with Boolean values. The value_type of the output is INT64.ALIGN_COUNT_FALSE
- Align the time series by returning the number of False values in each alignment period. This aligner is valid for GAUGE metrics with Boolean values. The value_type of the output is INT64.ALIGN_FRACTION_TRUE
- Align the time series by returning the ratio of the number of True values to the total number of values in each alignment period. This aligner is valid for GAUGE metrics with Boolean values. The output value is in the range 0.0, 1.0 and has value_type DOUBLE.ALIGN_PERCENTILE_99
- Align the time series by using percentile aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting data point in each alignment period is the 99th percentile of all data points in the period. This aligner is valid for GAUGE and DELTA metrics with distribution values. The output is a GAUGE metric with value_type DOUBLE.ALIGN_PERCENTILE_95
- Align the time series by using percentile aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting data point in each alignment period is the 95th percentile of all data points in the period. This aligner is valid for GAUGE and DELTA metrics with distribution values. The output is a GAUGE metric with value_type DOUBLE.ALIGN_PERCENTILE_50
- Align the time series by using percentile aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting data point in each alignment period is the 50th percentile of all data points in the period. This aligner is valid for GAUGE and DELTA metrics with distribution values. The output is a GAUGE metric with value_type DOUBLE.ALIGN_PERCENTILE_05
- Align the time series by using percentile aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting data point in each alignment period is the 5th percentile of all data points in the period. This aligner is valid for GAUGE and DELTA metrics with distribution values. The output is a GAUGE metric with value_type DOUBLE.ALIGN_PERCENT_CHANGE
- Align and convert to a percentage change. This aligner is valid for GAUGE and DELTA metrics with numeric values. This alignment returns ((current - previous)/previous) * 100, where the value of previous is determined based on the alignment_period.If the values of current and previous are both 0, then the returned value is 0. If only previous is 0, the returned value is infinity.A 10-minute moving mean is computed at each point of the alignment period prior to the above calculation to smooth the metric and prevent false positives from very short-lived spikes. The moving mean is only applicable for data whose values are >= 0. Any values < 0 are treated as a missing datapoint, and are ignored. While DELTA metrics are accepted by this alignment, special care should be taken that the values for the metric will always be positive. The output is a GAUGE metric with value_type DOUBLE.comparison
STRING
comparison
COMPARISON_UNSPECIFIED
- No ordering relationship is specified.COMPARISON_GT
- True if the left argument is greater than the right argument.COMPARISON_GE
- True if the left argument is greater than or equal to the right argument.COMPARISON_LT
- True if the left argument is less than the right argument.COMPARISON_LE
- True if the left argument is less than or equal to the right argument.COMPARISON_EQ
- True if the left argument is equal to the right argument.COMPARISON_NE
- True if the left argument is not equal to the right argument.denominator_aggregations
UNORDERED_LIST_STRUCT
denominatorAggregations
alignment_period
STRING
alignmentPeriod
cross_series_reducer
STRING
crossSeriesReducer
REDUCE_NONE
- No cross-time series reduction. The output of the Aligner is returned.REDUCE_MEAN
- Reduce by computing the mean value across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics with numeric or distribution values. The value_type of the output is DOUBLE.REDUCE_MIN
- Reduce by computing the minimum value across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics with numeric values. The value_type of the output is the same as the value_type of the input.REDUCE_MAX
- Reduce by computing the maximum value across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics with numeric values. The value_type of the output is the same as the value_type of the input.REDUCE_SUM
- Reduce by computing the sum across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics with numeric and distribution values. The value_type of the output is the same as the value_type of the input.REDUCE_STDDEV
- Reduce by computing the standard deviation across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics with numeric or distribution values. The value_type of the output is DOUBLE.REDUCE_COUNT
- Reduce by computing the number of data points across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics of numeric, Boolean, distribution, and string value_type. The value_type of the output is INT64.REDUCE_COUNT_TRUE
- Reduce by computing the number of True-valued data points across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics of Boolean value_type. The value_type of the output is INT64.REDUCE_COUNT_FALSE
- Reduce by computing the number of False-valued data points across time series for each alignment period. This reducer is valid for DELTA and GAUGE metrics of Boolean value_type. The value_type of the output is INT64.REDUCE_FRACTION_TRUE
- Reduce by computing the ratio of the number of True-valued data points to the total number of data points for each alignment period. This reducer is valid for DELTA and GAUGE metrics of Boolean value_type. The output value is in the range 0.0, 1.0 and has value_type DOUBLE.REDUCE_PERCENTILE_99
- Reduce by computing the 99th percentile (https://en.wikipedia.org/wiki/Percentile) of data points across time series for each alignment period. This reducer is valid for GAUGE and DELTA metrics of numeric and distribution type. The value of the output is DOUBLE.REDUCE_PERCENTILE_95
- Reduce by computing the 95th percentile (https://en.wikipedia.org/wiki/Percentile) of data points across time series for each alignment period. This reducer is valid for GAUGE and DELTA metrics of numeric and distribution type. The value of the output is DOUBLE.REDUCE_PERCENTILE_50
- Reduce by computing the 50th percentile (https://en.wikipedia.org/wiki/Percentile) of data points across time series for each alignment period. This reducer is valid for GAUGE and DELTA metrics of numeric and distribution type. The value of the output is DOUBLE.REDUCE_PERCENTILE_05
- Reduce by computing the 5th percentile (https://en.wikipedia.org/wiki/Percentile) of data points across time series for each alignment period. This reducer is valid for GAUGE and DELTA metrics of numeric and distribution type. The value of the output is DOUBLE.group_by_fields
UNORDERED_LIST_STRING
groupByFields
per_series_aligner
STRING
perSeriesAligner
ALIGN_NONE
- No alignment. Raw data is returned. Not valid if cross-series reduction is requested. The value_type of the result is the same as the value_type of the input.ALIGN_DELTA
- Align and convert to DELTA. The output is delta = y1 - y0.This alignment is valid for CUMULATIVE and DELTA metrics. If the selected alignment period results in periods with no data, then the aligned value for such a period is created by interpolation. The value_type of the aligned result is the same as the value_type of the input.ALIGN_RATE
- Align and convert to a rate. The result is computed as rate = (y1 - y0)/(t1 - t0), or ‘delta over time’. Think of this aligner as providing the slope of the line that passes through the value at the start and at the end of the alignment_period.This aligner is valid for CUMULATIVE and DELTA metrics with numeric values. If the selected alignment period results in periods with no data, then the aligned value for such a period is created by interpolation. The output is a GAUGE metric with value_type DOUBLE.If, by ‘rate’, you mean ‘percentage change’, see the ALIGN_PERCENT_CHANGE aligner instead.ALIGN_INTERPOLATE
- Align by interpolating between adjacent points around the alignment period boundary. This aligner is valid for GAUGE metrics with numeric values. The value_type of the aligned result is the same as the value_type of the input.ALIGN_NEXT_OLDER
- Align by moving the most recent data point before the end of the alignment period to the boundary at the end of the alignment period. This aligner is valid for GAUGE metrics. The value_type of the aligned result is the same as the value_type of the input.ALIGN_MIN
- Align the time series by returning the minimum value in each alignment period. This aligner is valid for GAUGE and DELTA metrics with numeric values. The value_type of the aligned result is the same as the value_type of the input.ALIGN_MAX
- Align the time series by returning the maximum value in each alignment period. This aligner is valid for GAUGE and DELTA metrics with numeric values. The value_type of the aligned result is the same as the value_type of the input.ALIGN_MEAN
- Align the time series by returning the mean value in each alignment period. This aligner is valid for GAUGE and DELTA metrics with numeric values. The value_type of the aligned result is DOUBLE.ALIGN_COUNT
- Align the time series by returning the number of values in each alignment period. This aligner is valid for GAUGE and DELTA metrics with numeric or Boolean values. The value_type of the aligned result is INT64.ALIGN_SUM
- Align the time series by returning the sum of the values in each alignment period. This aligner is valid for GAUGE and DELTA metrics with numeric and distribution values. The value_type of the aligned result is the same as the value_type of the input.ALIGN_STDDEV
- Align the time series by returning the standard deviation of the values in each alignment period. This aligner is valid for GAUGE and DELTA metrics with numeric values. The value_type of the output is DOUBLE.ALIGN_COUNT_TRUE
- Align the time series by returning the number of True values in each alignment period. This aligner is valid for GAUGE metrics with Boolean values. The value_type of the output is INT64.ALIGN_COUNT_FALSE
- Align the time series by returning the number of False values in each alignment period. This aligner is valid for GAUGE metrics with Boolean values. The value_type of the output is INT64.ALIGN_FRACTION_TRUE
- Align the time series by returning the ratio of the number of True values to the total number of values in each alignment period. This aligner is valid for GAUGE metrics with Boolean values. The output value is in the range 0.0, 1.0 and has value_type DOUBLE.ALIGN_PERCENTILE_99
- Align the time series by using percentile aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting data point in each alignment period is the 99th percentile of all data points in the period. This aligner is valid for GAUGE and DELTA metrics with distribution values. The output is a GAUGE metric with value_type DOUBLE.ALIGN_PERCENTILE_95
- Align the time series by using percentile aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting data point in each alignment period is the 95th percentile of all data points in the period. This aligner is valid for GAUGE and DELTA metrics with distribution values. The output is a GAUGE metric with value_type DOUBLE.ALIGN_PERCENTILE_50
- Align the time series by using percentile aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting data point in each alignment period is the 50th percentile of all data points in the period. This aligner is valid for GAUGE and DELTA metrics with distribution values. The output is a GAUGE metric with value_type DOUBLE.ALIGN_PERCENTILE_05
- Align the time series by using percentile aggregation (https://en.wikipedia.org/wiki/Percentile). The resulting data point in each alignment period is the 5th percentile of all data points in the period. This aligner is valid for GAUGE and DELTA metrics with distribution values. The output is a GAUGE metric with value_type DOUBLE.ALIGN_PERCENT_CHANGE
- Align and convert to a percentage change. This aligner is valid for GAUGE and DELTA metrics with numeric values. This alignment returns ((current - previous)/previous) * 100, where the value of previous is determined based on the alignment_period.If the values of current and previous are both 0, then the returned value is 0. If only previous is 0, the returned value is infinity.A 10-minute moving mean is computed at each point of the alignment period prior to the above calculation to smooth the metric and prevent false positives from very short-lived spikes. The moving mean is only applicable for data whose values are >= 0. Any values < 0 are treated as a missing datapoint, and are ignored. While DELTA metrics are accepted by this alignment, special care should be taken that the values for the metric will always be positive. The output is a GAUGE metric with value_type DOUBLE.denominator_filter
STRING
denominatorFilter
duration
STRING
duration
evaluation_missing_data
STRING
evaluationMissingData
EVALUATION_MISSING_DATA_UNSPECIFIED
- An unspecified evaluation missing data option. Equivalent to EVALUATION_MISSING_DATA_NO_OP.EVALUATION_MISSING_DATA_INACTIVE
- If there is no data to evaluate the condition, then evaluate the condition as false.EVALUATION_MISSING_DATA_ACTIVE
- If there is no data to evaluate the condition, then evaluate the condition as true.EVALUATION_MISSING_DATA_NO_OP
- Do not evaluate the condition to any value if there is no data.filter
STRING
filter
forecast_options
STRUCT
forecastOptions
forecast_horizon
STRING
forecastHorizon
threshold_value
DOUBLE
thresholdValue
trigger
STRUCT
trigger
count
INT32
count
percent
DOUBLE
percent
gcp_display_name
STRING
displayName
name
STRING
name
creation_record
Type: STRUCT
Provider name: creationRecord
Description: A read-only record of the creation of the alerting policy. If provided in a call to create or update, this field will be ignored.
mutate_time
TIMESTAMP
mutateTime
mutated_by
STRING
mutatedBy
documentation
Type: STRUCT
Provider name: documentation
Description: Documentation that is included with notifications and incidents related to this policy. Best practice is for the documentation to include information to help responders understand, mitigate, escalate, and correct the underlying problems detected by the alerting policy. Notification channels that have limited capacity might not show this documentation.
content
STRING
content
links
UNORDERED_LIST_STRUCT
links
gcp_display_name
STRING
displayName
url
STRING
url
mime_type
STRING
mimeType
subject
STRING
subject
enabled
Type: BOOLEAN
Provider name: enabled
Description: Whether or not the policy is enabled. On write, the default interpretation if unset is that the policy is enabled. On read, clients should not make any assumption about the state if it has not been populated. The field should always be populated on List and Get operations, unless a field projection has been specified that strips it out.
gcp_display_name
Type: STRING
Provider name: displayName
Description: A short name or phrase used to identify the policy in dashboards, notifications, and incidents. To avoid confusion, don’t use the same display name for multiple policies in the same project. The name is limited to 512 Unicode characters.The convention for the display_name of a PrometheusQueryLanguageCondition is “{rule group name}/{alert name}”, where the {rule group name} and {alert name} should be taken from the corresponding Prometheus configuration file. This convention is not enforced. In any case the display_name is not a unique key of the AlertPolicy.
labels
Type: UNORDERED_LIST_STRING
mutation_record
Type: STRUCT
Provider name: mutationRecord
Description: A read-only record of the most recent change to the alerting policy. If provided in a call to create or update, this field will be ignored.
mutate_time
TIMESTAMP
mutateTime
mutated_by
STRING
mutatedBy
name
Type: STRING
Provider name: name
Description: Identifier. Required if the policy exists. The resource name for this policy. The format is: projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID] [ALERT_POLICY_ID] is assigned by Cloud Monitoring when the policy is created. When calling the alertPolicies.create method, do not include the name field in the alerting policy passed as part of the request.
notification_channels
Type: UNORDERED_LIST_STRING
Provider name: notificationChannels
Description: Identifies the notification channels to which notifications should be sent when incidents are opened or closed or when new violations occur on an already opened incident. Each element of this array corresponds to the name field in each of the NotificationChannel objects that are returned from the ListNotificationChannels method. The format of the entries in this field is: projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
organization_id
Type: STRING
parent
Type: STRING
project_id
Type: STRING
project_number
Type: STRING
resource_name
Type: STRING
severity
Type: STRING
Provider name: severity
Description: Optional. The severity of an alerting policy indicates how important incidents generated by that policy are. The severity level will be displayed on the Incident detail page and in notifications.
Possible values:
SEVERITY_UNSPECIFIED
- No severity is specified. This is the default value.CRITICAL
- This is the highest severity level. Use this if the problem could cause significant damage or downtime.ERROR
- This is the medium severity level. Use this if the problem could cause minor damage or downtime.WARNING
- This is the lowest severity level. Use this if the problem is not causing any damage or downtime, but could potentially lead to a problem in the future.tags
Type: UNORDERED_LIST_STRING
user_labels
Type: MAP_STRING_STRING
Provider name: userLabels
Description: User-supplied key/value data to be used for organizing and identifying the AlertPolicy objects.The field can contain up to 64 entries. Each key and value is limited to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values can contain only lowercase letters, numerals, underscores, and dashes. Keys must begin with a letter.Note that Prometheus {alert name} is a valid Prometheus label names (https://prometheus.io/docs/concepts/data_model/#metric-names-and-labels), whereas Prometheus {rule group} is an unrestricted UTF-8 string. This means that they cannot be stored as-is in user labels, because they may contain characters that are not allowed in user-label values.
validity
Type: STRUCT
Provider name: validity
Description: Read-only description of how the alerting policy is invalid. This field is only set when the alerting policy is invalid. An invalid alerting policy will not generate incidents.
code
INT32
code
message
STRING
message