-
Notifications
You must be signed in to change notification settings - Fork 74
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
Combining metrics profiles files #411
Changes from 2 commits
4f0ee21
c7f2eed
7ab532d
cca56c2
28aec6f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"elasticsearch": { | ||
"ripsaw-kube-burner": [ | ||
{ | ||
"filter": { | ||
"metricName.keyword": "containerCPU", | ||
"labels.namespace.keyword": "${TOUCHSTONE_NAMESPACE}" | ||
}, | ||
"buckets": [ | ||
"labels.pod.keyword", | ||
"labels.node.keyword" | ||
], | ||
"aggregations": { | ||
"value": [ | ||
"avg" | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"elasticsearch": { | ||
"ripsaw-kube-burner": [ | ||
{ | ||
"filter": { | ||
"metricName.keyword": "containerCPU", | ||
"labels.namespace.keyword": "${TOUCHSTONE_NAMESPACE}" | ||
}, | ||
"buckets": [ | ||
"labels.pod.keyword", | ||
"labels.node.keyword" | ||
], | ||
"aggregations": { | ||
"value": [ | ||
"max" | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"elasticsearch": { | ||
"ripsaw-kube-burner": [ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why 4 configuration files rather than a single one holding all queries? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I sent a example on slack on how to consolidate this. |
||
{ | ||
"filter": { | ||
"metricName.keyword": "containerMemory", | ||
"labels.namespace.keyword": "${TOUCHSTONE_NAMESPACE}" | ||
}, | ||
"buckets": [ | ||
"labels.pod.keyword", | ||
"labels.node.keyword" | ||
], | ||
"aggregations": { | ||
"value": [ | ||
"avg" | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"elasticsearch": { | ||
"ripsaw-kube-burner": [ | ||
{ | ||
"filter": { | ||
"metricName.keyword": "containerMemory", | ||
"labels.namespace.keyword": "${TOUCHSTONE_NAMESPACE}" | ||
}, | ||
"buckets": [ | ||
"labels.pod.keyword", | ||
"labels.node.keyword" | ||
], | ||
"aggregations": { | ||
"value": [ | ||
"max" | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} |
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.
Now that we're using containerCPU and containerMemory metrics in touchstone I think we can skip add these two queries here.
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.
with this being the only difference in these 2 files can we not just add these 2 queries and combine?