Add system as a data_source for Metrics Definition
The following discussion from !54778 (merged) should be addressed:
-
@alinamihaila started a discussion: (+2 comments) 🤔 I'm thinking that data source in this case could be Ruby? I'm not very sure of this, what would you say is data source in this caseAvailable data sources are
["database", "redis", "redis_hll", "prometheus", "ruby"]
we might extend the list if we need.
@balasankarc Maybe we need something like
external
to cover things that come from external sources (like this one, which comes from the underlying operating system)? Or maybe just adding a new source namedsystem
is enough for this one? I don't have any strong opinion here, tbh.
Consider adding a data source for Operating System information
Proposal
Add system
as data source to Metrics Definition https://gitlab.com/gitlab-org/gitlab/-/blob/master/config/metrics/schema.json#L46
Update docs https://docs.gitlab.com/ee/development/usage_ping/metrics_dictionary.html
system
data source contains data collected from the system where GitLab application is installed.
Update the related metrics data_source
attribute