-
Notifications
You must be signed in to change notification settings - Fork 532
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
usage reporting: report utilized CPU time #8282
usage reporting: report utilized CPU time #8282
Conversation
Why does usage reporting need to include CPU usage? This seems like operation data that isn't appropriate to include in usage stats and something better done with metrics. |
this is for GEM billing purposes. That's what Loki (and GEL) did, so we followed suit. I think it's equally viable to do this in GEM only. |
The usage report already contains:
This is an improvement to the second item, bringing it more inline with the first (usage rather than raw available core count). |
47e224a
to
b4128fe
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docs changes lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you!
This takes a similar approach to Loki Signed-off-by: Dimitar Dimitrov <dimitar.dimitrov@grafana.com>
Signed-off-by: Dimitar Dimitrov <dimitar.dimitrov@grafana.com>
Signed-off-by: Dimitar Dimitrov <dimitar.dimitrov@grafana.com>
Signed-off-by: Dimitar Dimitrov <dimitar.dimitrov@grafana.com>
Signed-off-by: Dimitar Dimitrov <dimitar.dimitrov@grafana.com>
e8a873c
to
b23008a
Compare
What this PR does
This takes a similar approach to Loki's grafana/loki#12970 and replaces number of CPU cores to the actual CPU utilization
Which issue(s) this PR fixes or relates to
Fixes #
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]
.about-versioning.md
updated with experimental features.