Skip to content
Snippets Groups Projects
Select Git revision
  • renovate/common-ci-tasks
  • master default protected
  • hosted-runner-logging-dashboard
  • abhatnagar/revert-clickhouse-error-slo
  • mattmi/ubuntu-pro-docs
  • bw-glql-sli
  • oregand-master-patch-8d3b
  • amp-runbook
  • tmillhouse/add-dashblocks
  • redis-sidekiq-disable-aggregation
  • sshah/on-call
  • nik-runbooks-for-new-postgres-dashboards
  • renovate/terminal-table-4.x
  • tchu-add-zoekt-alerts-for-task-queue
  • calculate-slo-observance-everywhere
  • mg-redis-key-compare
  • sabrams-master-patch-7379
  • abhatnagar/clickhouse-failed-select-queries-alert
  • revert-sh-use-workhorse-route-id
  • cipherboy-add-openbao
  • v3.292.0 protected
  • v3.291.0 protected
  • v3.290.0 protected
  • v3.289.2 protected
  • v3.289.1 protected
  • v3.289.0 protected
  • v3.288.2 protected
  • v3.288.1 protected
  • v3.288.0 protected
  • v3.287.0 protected
  • v3.286.2 protected
  • v3.286.1 protected
  • v3.286.0 protected
  • v3.285.3 protected
  • v3.285.2 protected
  • v3.285.1 protected
  • v3.285.0 protected
  • v3.284.0 protected
  • v3.283.0 protected
  • v3.282.0 protected
40 results

basic.libsonnet

  • Marco (Gregorius)'s avatar
    ae4dec6f
    fix(dashboard): stat panels not loading · ae4dec6f
    Marco (Gregorius) authored
    Stat panels that show whether apdex/error ratios are healthy in the
    service dashboards are erroring due to not having datasource variable
    passed, so it defaults to using the `Mimir - Gitlab - All Environments`.
    Then, since the SLO rules exist in both gprd and gstg tenants, the
    `group_left` operation couldn't match them.
    
    The solution is to match by `__tenant_id__` in the join statement, eg:
    `(gitlab_service_apdex:ratio_5m{env="gprd",environment="gprd",monitor="global",stage="main",type="api"} < on(tier, type, __tenant_id__) group_left() (1 - (14.4 * (1 - slo:min:events:gitlab_service_apdex:ratio{component="",monitor="global",type="api"}))))`
    Verified
    ae4dec6f
    History
    fix(dashboard): stat panels not loading
    Marco (Gregorius) authored
    Stat panels that show whether apdex/error ratios are healthy in the
    service dashboards are erroring due to not having datasource variable
    passed, so it defaults to using the `Mimir - Gitlab - All Environments`.
    Then, since the SLO rules exist in both gprd and gstg tenants, the
    `group_left` operation couldn't match them.
    
    The solution is to match by `__tenant_id__` in the join statement, eg:
    `(gitlab_service_apdex:ratio_5m{env="gprd",environment="gprd",monitor="global",stage="main",type="api"} < on(tier, type, __tenant_id__) group_left() (1 - (14.4 * (1 - slo:min:events:gitlab_service_apdex:ratio{component="",monitor="global",type="api"}))))`
Code owners
Assign users and groups as approvers for specific file changes. Learn more.