harbor


Overview

Jsonnet source code is available at github.com/grafana/jsonnet-libs

Alerts

Complete list of pregenerated alerts is available here.

Harbor

HarborComponentStatus

alert: HarborComponentStatus
annotations:
  description: Harbor {{ $labels.component }} has been down for more than 5 minutes
  summary: Harbor Component is Down.
expr: |
  harbor_up == 0
for: 5m
labels:
  severity: critical

HarborProjectQuataExceeded

alert: HarborProjectQuataExceeded
annotations:
  description: Harbor project {{ $labels.project_name }} has exceeded the configured
    disk usage quota for the past 15 minutes
  summary: Harbor project exceeds disk usage quota.
expr: |
  harbor_project_quota_usage_byte > harbor_project_quota_byte and on(harbor_project_quota_usage_byte) harbor_project_quota_byte != -1
for: 15m
labels:
  severity: warning

HarborHighErrorRate

alert: HarborHighErrorRate
annotations:
  description: HTTP Requests of {{ $labels.instance }} are having a high Error rate
  summary: Harbor high error rate.
expr: sum(rate(harbor_core_http_request_total{code=~"4..|5.."}[5m]))/sum(rate(harbor_core_http_request_total[5m]))
  > 0.15
for: 5m
labels:
  severity: warning

Dashboards

Following dashboards are generated from mixins and hosted on github: