Fix runway regional dashboards
fix(runway): Only add regional labels when needed
This changes the runwayHelper
to a function that will compute the
significant labels based on the service (self) passed. Right now it
only adds the region
label if the service is deployed regionally.
It also adds the location
label to the runway_ingress
SLI so we
can also see per-region request rates in Thanos.
For gitlab-com/gl-infra/platform/runway/team#185 (closed) and gitlab-com/gl-infra/scalability#3392 (closed)
fix(runway): Add location label to the runway dashboard
This adds the location
label to the runway service dashboard. We
need this location label in Thanos only.
For gitlab-com/gl-infra/scalability#3392 (closed)
Dashboards
- AI-gateway service dashboard: https://dashboards.gitlab.net/dashboard/snapshot/8h8JhXnwBavnKRrEUkfzM1XbI5MPZ42O?orgId=1
Expanding SLIs shows the
region
label. Expanding therunway_ingress
SLI shows bothlocation
andregion
- Runway service dasbhoard: https://dashboards.gitlab.net/dashboard/snapshot/S0L1j5Hkq7ivb96iokoTlYrBAkUStXYF?orgId=1
Shows both
location
andregion
.
Edited by Bob Van Landuyt