Observability: Metrics Catalog
What
Every Runway service will be provided default SLIs/SLOs, saturation monitoring, and service overview dashboard based on #72 (closed). To automate for every Runway service, add runwayArchetype
to metrics catalog:
local runwayArchetype = import 'service-archetypes/runway-archetype.libsonnet';
local metricsCatalog = import 'servicemetrics/metrics.libsonnet';
metricsCatalog.serviceDefinition(
runwayArchetype(
type='ai_gateway',
description='Model Gateway for Code Suggestions',
# Optionally override default SLOs, extend default SLIs, etc.
)
)
Add runwayServiceOverview
to dashboards:
local runwayServiceDashboard = import 'gitlab-dashboards/runway_service_dashboard.libsonnet';
runwayServiceDashboard.overview('ai_gateway')
.overviewTrailer()
Why
Right now, Runway manages internal service inventory. A service catalog entry is required to fully integrate into Monitoring Stack, so we must ensure all Runway-managed services also exist in service catalog when provisioned.
Edited by Chance Feick