Accommodate further service types within core libraries for maximum reusability
As a follow-up from !5624 (comment 1349807627), we should improve our core libs containing dashboards with generic container metrics to accommodate more service types to allow them to be re-used as much as possible. Case in point, https://gitlab.com/gitlab-com/runbooks/-/blob/master/libsonnet/gitlab-dashboards/kube_service_dashboards.libsonnet?ref_type=heads assumes the monitored entity is always a deployment
. It'd be prudent to add or improve support for other service types, e.g. a statefulset
.