Skip to content

Commit

Permalink
assets, pkg: Regenerate deps
Browse files Browse the repository at this point in the history
  • Loading branch information
lilic committed Feb 21, 2020
1 parent 352e585 commit 5ae8d98
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 52 deletions.
19 changes: 19 additions & 0 deletions assets/prometheus-k8s/rules.yaml
Expand Up @@ -1129,6 +1129,25 @@ spec:
apiserver_client_certificate_expiration_seconds_count{job="apiserver"} > 0 and histogram_quantile(0.01, sum by (job, le) (rate(apiserver_client_certificate_expiration_seconds_bucket{job="apiserver"}[5m]))) < 3600
labels:
severity: critical
- alert: AggregatedAPIErrors
annotations:
message: An aggregated API {{ $labels.name }}/{{ $labels.namespace }} has
reported errors. The number of errors have increased for it in the past
five minutes. High values indicate that the availability of the service
changes too often.
expr: |
sum by(name, namespace)(increase(aggregator_unavailable_apiservice_count[5m])) > 2
labels:
severity: warning
- alert: AggregatedAPIDown
annotations:
message: An aggregated API {{ $labels.name }}/{{ $labels.namespace }} is down.
It has not been available at least for the past five minutes.
expr: |
sum by(name, namespace)(sum_over_time(aggregator_unavailable_apiservice[5m])) > 0
for: 5m
labels:
severity: warning
- alert: KubeAPIDown
annotations:
message: KubeAPI has disappeared from Prometheus target discovery.
Expand Down
48 changes: 0 additions & 48 deletions assets/telemeter-client/deployment.yaml
Expand Up @@ -27,54 +27,6 @@ spec:
- --listen=localhost:8080
- --anonymize-salt-file=/etc/telemeter/salt
- --anonymize-labels=$(ANONYMIZE_LABELS)
- --match={__name__=~"cluster:usage:.*"}
- --match={__name__="up"}
- --match={__name__="cluster_version"}
- --match={__name__="cluster_version_available_updates"}
- --match={__name__="cluster_operator_up"}
- --match={__name__="cluster_operator_conditions"}
- --match={__name__="cluster_version_payload"}
- --match={__name__="cluster_installer"}
- --match={__name__="cluster_infrastructure_provider"}
- --match={__name__="cluster_feature_set"}
- --match={__name__="node_uname_info"}
- --match={__name__="instance:etcd_object_counts:sum"}
- --match={__name__="ALERTS",alertstate="firing"}
- --match={__name__="code:apiserver_request_count:rate:sum"}
- --match={__name__="cluster:capacity_cpu_cores:sum"}
- --match={__name__="cluster:capacity_memory_bytes:sum"}
- --match={__name__="cluster:cpu_usage_cores:sum"}
- --match={__name__="cluster:memory_usage_bytes:sum"}
- --match={__name__="openshift:cpu_usage_cores:sum"}
- --match={__name__="openshift:memory_usage_bytes:sum"}
- --match={__name__="workload:cpu_usage_cores:sum"}
- --match={__name__="workload:memory_usage_bytes:sum"}
- --match={__name__="cluster:virt_platform_nodes:sum"}
- --match={__name__="cluster:node_instance_type_count:sum"}
- --match={__name__="cnv:vmi_status_running:count"}
- --match={__name__="node_role_os_version_machine:cpu_capacity_cores:sum"}
- --match={__name__="node_role_os_version_machine:cpu_capacity_sockets:sum"}
- --match={__name__="subscription_sync_total"}
- --match={__name__="csv_succeeded"}
- --match={__name__="csv_abnormal"}
- --match={__name__="ceph_cluster_total_bytes"}
- --match={__name__="ceph_cluster_total_used_raw_bytes"}
- --match={__name__="ceph_health_status"}
- --match={__name__="job:ceph_osd_metadata:count"}
- --match={__name__="job:kube_pv:count"}
- --match={__name__="job:ceph_pools_iops:total"}
- --match={__name__="job:ceph_pools_iops_bytes:total"}
- --match={__name__="job:ceph_versions_running:count"}
- --match={__name__="job:noobaa_total_unhealthy_buckets:sum"}
- --match={__name__="job:noobaa_bucket_count:sum"}
- --match={__name__="job:noobaa_total_object_count:sum"}
- --match={__name__="noobaa_accounts_num"}
- --match={__name__="noobaa_total_usage"}
- --match={__name__="console_url"}
- --match={__name__="cluster:network_attachment_definition_instances:max"}
- --match={__name__="cluster:network_attachment_definition_enabled_instance_up:max"}
- --match={__name__="insightsclient_request_send_total"}
- --match={__name__="cam_app_workload_migrations"}
env:
- name: ANONYMIZE_LABELS
value: ""
Expand Down
8 changes: 4 additions & 4 deletions pkg/manifests/bindata.go

Large diffs are not rendered by default.

0 comments on commit 5ae8d98

Please sign in to comment.