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)
Signed-off-by: YANGDB <yang.db.dev@gmail.com>
- Loading branch information
Showing
17 changed files
with
12,743 additions
and
0 deletions.
There are no files selected for viewing
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.