forked from opensearch-project/dashboards-observability
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add k8s integration to 2.9 (opensearch-project#916) (opensearch-proje…
…ct#921) Signed-off-by: YANGDB <yang.db.dev@gmail.com> (cherry picked from commit 22345e8) Co-authored-by: YANGDB <yang.db.dev@gmail.com> (cherry picked from commit 7a4bc74)
- Loading branch information
1 parent
5ed6f4d
commit f8a8e67
Showing
18 changed files
with
12,745 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"last_github_commit": "6a3b1c6d91d9f0baf70e1dfa582bacb64fc56a6c", | ||
"last_gitfarm_commit": "0f86cd50e78c6d9aa045376dd183e13f11546792" | ||
"last_github_commit": "7a4bc745c8cb86888b882194df911841725871e9", | ||
"last_gitfarm_commit": "06faae4e7b8288eae66833395fdd8f3d8f944cd2" | ||
} |
63 changes: 63 additions & 0 deletions
63
server/adaptors/integrations/__data__/repository/k8s/assets/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# K8s Dashboard Explained | ||
|
||
The following queries are used for the k8s dashboard: | ||
|
||
- Deployment names Graph: | ||
- Filter: `event.domain:kubernetes AND event.dataset:kubernetes.deployment` | ||
- Query: `kubernetes.deployment.name` | ||
|
||
|
||
- Available pods per deployment (done per deployment aggregation) | ||
- Filter: `event.domain:kubernetes AND event.dataset:kubernetes.deployment` | ||
- Query: `kubernetes.deployment.name` | ||
|
||
|
||
- Desired pod | ||
- Filter: `event.domain:kubernetes AND event.dataset:kubernetes.deployment` | ||
- Query: `kubernetes.deployment.replicas.desired` | ||
|
||
|
||
- Available pods | ||
- Filter: `event.domain:kubernetes AND event.dataset:kubernetes.deployment` | ||
- Query: `kubernetes.deployment.replicas.available` | ||
|
||
|
||
|
||
- Unavailable pods | ||
- Filter: `event.domain:kubernetes AND event.dataset:kubernetes.deployment` | ||
- Query: `kubernetes.deployment.replicas.unavailable` | ||
|
||
|
||
- Unavailable pods per deployment ( done per deployment aggregation) | ||
- Filter: `event.domain:kubernetes AND event.dataset:kubernetes.deployment` | ||
- Query: `kubernetes.deployment.replicas.unavailable` | ||
|
||
|
||
|
||
- CPU usage by node | ||
- Filter: `event.domain:kubernetes AND (event.dataset:kubernetes.container OR event.dataset:kubernetes.node)` | ||
- Query: `kubernetes.node.name` , `kubernetes.container.cpu.usage.nanocores`, `kubernetes.node.cpu.capacity.cores` | ||
|
||
|
||
|
||
- Top memory intensive pods | ||
- Filter: `event.domain:kubernetes AND event.dataset:kubernetes.container` | ||
- Query: `kubernetes.container._module.pod.name`, `kubernetes.container.memory.usage.bytes` | ||
|
||
|
||
|
||
- Top CPU intensive pods | ||
- Filter: `event.domain:kubernetes AND event.dataset:kubernetes.container` | ||
- Query: `kubernetes.container._module.pod.name`, `kubernetes.container.cpu.usage.core.ns` | ||
|
||
|
||
|
||
- Network in by node | ||
- Filter: `event.domain:kubernetes AND event.dataset:kubernetes.pod` | ||
- Query: `kubernetes.pod.network.rx.bytes` | ||
|
||
|
||
|
||
- Network out by node | ||
- Filter: `event.domain:kubernetes AND event.dataset:kubernetes.pod` | ||
- Query: `kubernetes.pod.network.tx.bytes` |
16 changes: 16 additions & 0 deletions
16
server/adaptors/integrations/__data__/repository/k8s/assets/k8s-1.0.0.ndjson
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.