-
Notifications
You must be signed in to change notification settings - Fork 1.3k
ElasticSearch | capacity VS usage correlation #1278
Comments
@piosz @huangyuqi can you help me figure out the questions above? |
It seems reasonable to attach related information together. Requests and limits seem reasonable to attach as well. Does attaching capacity, though, increase storage space much? You'd be duplicating it quite a bit if it appears everywhere cpu/usage_rate does, I believe. |
I believe it's increase the storage.. but probably not much. Questions:
|
Following up to my conversation with @DirectXMan12 I came to the conclusion that a change in the schema is required. Instead of one "type" for all the metrics, we need a type for each "metric family"(cpu/filesystem/memory/network; and one for the rest - "general"; which include the "custom" family and uptime) This change is basically not very complicated to achieve(since the DataBatch is already organized/aggregated by entities), however it'll be breaking change(and consider the fact this is a VERY new feature, it probably won't affect many people) |
Issues go stale after 30d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
cpu/capacity
andcpu/usage_rate
usage / capacity*100
= % of cpu)cpu/usage_rate
will have a secondary related value of the capacity, then we’ll be able to create a “calculated field” in kibana (edited)TBD:
a. What do you think about this approach?
b. Currently I think the easiest way to achieve it is by iterating/manipulating the
core.MetricSet
and into the combined documentelasticsearch.EsSinkPoint
c. I think we need to keep both the “extended usage entry” and the “capacity entry” (so we will have:
cpu/capacity
andcpu/usage_rate
, but the second will include the capacity)b. I'll appreciate any help to understand the relationships between other metrics
cc: @piosz @huangyuqi
The text was updated successfully, but these errors were encountered: