Skip to content

Commit

Permalink
Updating docs
Browse files Browse the repository at this point in the history
  • Loading branch information
scohen-nd committed Nov 5, 2024
1 parent a7e36a4 commit edc1ad7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion charts/datadog-monitors/values.local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ serviceName: eks
team: cloudeng
monitors:
failed-pods:
disabled: True
disabled: true
name: "[kubernetes] Monitor Kubernetes Failed Pods in Namespaces"
message: "More than ten pods are failing in ({{kube_cluster_name.name}} cluster). \n The threshold of ten pods varies depending on your infrastructure. Change the threshold to suit your needs."
priority: "2"
Expand Down
8 changes: 3 additions & 5 deletions charts/datadog-monitors/values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Default monitor values
# -- (`string`) Optional shared pagerduty service name for monitors, will turn to a tag for alerts - if not provided, the .Release.name will be used by default
serviceName:
# -- (`string`) Optional shared pagerduty team name for monitors, will turn to a tag for alerts - if not provided, the tag will not be added
Expand All @@ -7,16 +6,15 @@ team:
# -- (`map[string]interface{}`) List of monitors
monitors:
# -- (`map[string]interface{}`) Required: monitor resource name, Required unique monitor resource name(needed to allow value overrides and used a datadog monitor resource name)
# @section -- monitor
resourceName:
# -- (`boolean`) Optional: whether to exclude the monitor, defaults to False
disabled: True
disabled: true
# -- (`string`) Require: monitor name
name: "[kubernetes] Monitor Kubernetes Failed Pods in Namespaces" # Required monitor name
name: "[kubernetes] Monitor Kubernetes Failed Pods in Namespaces"
# -- (`string`) Required: monitor message
message: "More than ten pods are failing in ({{kube_cluster_name.name}} cluster). \n The threshold of ten pods varies depending on your infrastructure. Change the threshold to suit your needs."
# -- (`string`) Optional: monitor piority
priority: "2" # Optional alert severity/priority
priority: "2"\
# -- (`string`) Required: monitor query
query: "change(avg(last_5m),last_5m):sum:kubernetes_state.pod.status_phase{phase:failed} by {kube_cluster_name,kube_namespace} > 10"
# -- (`string`) Optional: monitor type, if not specified will default to 'query alert'
Expand Down

0 comments on commit edc1ad7

Please sign in to comment.