7장. PrometheusRule [monitoring.coreos.com/v1]
- 설명
- PrometheusRule은 Prometheus 인스턴스에 대한 기록 및 경고 규칙을 정의합니다.
- 유형
-
object - 필수 항목
-
spec
-
7.1. 사양 링크 복사링크가 클립보드에 복사되었습니다!
| 속성 | 유형 | 설명 |
|---|---|---|
|
|
| APIVersion은 버전이 지정된 이 오브젝트 표현의 스키마를 정의합니다. 서버는 인식된 스키마를 최신 내부 값으로 변환해야 하며, 인식되지 않는 값을 거부할 수 있습니다. 자세한 내용은 https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources |
|
|
| kind는 이 오브젝트가 나타내는 REST 리소스에 해당하는 문자열 값입니다. 서버는 클라이언트에서 요청을 제출한 끝점에서 이를 유추할 수 있습니다. CamelCase로 업데이트할 수 없습니다. 자세한 내용은 https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
|
| 표준 오브젝트의 메타데이터입니다. 자세한 내용은 https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata | |
|
|
| Prometheus에 대해 원하는 경고 규칙 정의의 사양입니다. |
7.1.1. .spec 링크 복사링크가 클립보드에 복사되었습니다!
- 설명
- Prometheus에 대해 원하는 경고 규칙 정의의 사양입니다.
- 유형
-
object
| 속성 | 유형 | 설명 |
|---|---|---|
|
|
| Prometheus 규칙 파일의 내용 |
|
|
| RuleGroup은 순차적으로 평가된 기록 및 경고 규칙 목록입니다. 참고: PartialResponseStrategy는 ThanosRuler에서만 사용되며 Prometheus 인스턴스에서 무시됩니다. 이 필드에 유효한 값은 'warn' 또는 'abort'입니다. 자세한 내용은 https://github.com/thanos-io/thanos/blob/main/docs/components/rule.md#partial-response |
7.1.2. .spec.groups 링크 복사링크가 클립보드에 복사되었습니다!
- 설명
- Prometheus 규칙 파일의 내용
- 유형
-
array
7.1.3. .spec.groups[] 링크 복사링크가 클립보드에 복사되었습니다!
- 설명
- RuleGroup은 순차적으로 평가된 기록 및 경고 규칙 목록입니다. 참고: PartialResponseStrategy는 ThanosRuler에서만 사용되며 Prometheus 인스턴스에서 무시됩니다. 이 필드에 유효한 값은 'warn' 또는 'abort'입니다. 자세한 내용은 https://github.com/thanos-io/thanos/blob/main/docs/components/rule.md#partial-response
- 유형
-
object - 필수 항목
-
name -
규칙
-
| 속성 | 유형 | 설명 |
|---|---|---|
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
| Rule describes an alert or recording rule see Prometheus documentation: [alerting]( https://www.prometheus.io/docs/prometheus/latest/configuration/alerting_rules/) or [recording](https://www.prometheus.io/docs/prometheus/latest/configuration/recording_rules/#recording-rules) 규칙https://www.prometheus.io/docs/prometheus/latest/configuration/alerting_rules/ |
7.1.4. .spec.groups[].rules 링크 복사링크가 클립보드에 복사되었습니다!
- 설명
- 유형
-
array
7.1.5. .spec.groups[].rules[] 링크 복사링크가 클립보드에 복사되었습니다!
- 설명
- Rule describes an alert or recording rule see Prometheus documentation: [alerting]( https://www.prometheus.io/docs/prometheus/latest/configuration/alerting_rules/) or [recording](https://www.prometheus.io/docs/prometheus/latest/configuration/recording_rules/#recording-rules) 규칙https://www.prometheus.io/docs/prometheus/latest/configuration/alerting_rules/
- 유형
-
object - 필수 항목
-
expr
-
| 속성 | 유형 | 설명 |
|---|---|---|
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
|