Skip to content

Commit

Permalink
[k8s Integratiion] Adding container.id as filter of Cluster Overview …
Browse files Browse the repository at this point in the history
…and removing median filter occurencies (#10893)

* adding container.id as filter and removing median as filter
  • Loading branch information
gizas authored Aug 28, 2024
1 parent 17ca4d9 commit 930a301
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 15 deletions.
5 changes: 5 additions & 0 deletions packages/kubernetes/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: 1.66.4
changes:
- description: Updating Cluster Overview Dashboard to use container.id as filter and replaced median functions from visualisations
type: bugfix
link: https://github.com/elastic/integrations/pull/10893
- version: 1.66.3
changes:
- description: Updating mapping of the field groups to keyword in kubernetes.audit_logs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -271,16 +271,21 @@
"118dfa8c-388e-430c-860f-ce84cf88ac39": {
"customLabel": true,
"dataType": "number",
"filter": {
"language": "kuery",
"query": "\"kubernetes.cronjob.next_schedule.sec\": *"
},
"isBucketed": false,
"label": "Epoch Time until Next Schedule(sec)",
"operationType": "median",
"operationType": "last_value",
"params": {
"format": {
"id": "number",
"params": {
"decimals": 0
}
}
},
"sortField": "@timestamp"
},
"scale": "ratio",
"sourceField": "kubernetes.cronjob.next_schedule.sec"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
"dataType": "number",
"isBucketed": false,
"label": "Volume Used %",
"operationType": "max",
"operationType": "average",
"params": {
"emptyAsNull": true,
"format": {
Expand All @@ -113,7 +113,7 @@
"dataType": "number",
"isBucketed": false,
"label": "Used Bytes",
"operationType": "max",
"operationType": "average",
"params": {
"emptyAsNull": true,
"format": {
Expand Down Expand Up @@ -183,7 +183,7 @@
"dataType": "number",
"isBucketed": false,
"label": "Volume Size",
"operationType": "median",
"operationType": "average",
"params": {
"emptyAsNull": true,
"format": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -741,17 +741,22 @@
"9b5ed643-7572-4d3b-a9af-6265b3a5a515": {
"customLabel": true,
"dataType": "number",
"filter": {
"language": "kuery",
"query": "\"kubernetes.deployment.replicas.desired\": *"
},
"isBucketed": false,
"label": "Replicas Desired",
"operationType": "median",
"operationType": "last_value",
"params": {
"emptyAsNull": true
"sortField": "@timestamp"
},
"scale": "ratio",
"sourceField": "kubernetes.deployment.replicas.desired"
}
},
"incompleteColumns": {}
"incompleteColumns": {},
"indexPatternId": "metrics-*"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -687,11 +687,15 @@
"34892916-522d-4b2e-b286-a534475b34a1": {
"customLabel": true,
"dataType": "number",
"filter": {
"language": "kuery",
"query": "\"kubernetes.daemonset.replicas.desired\": *"
},
"isBucketed": false,
"label": "Replicas Desired",
"operationType": "median",
"operationType": "last_value",
"params": {
"emptyAsNull": true
"sortField": "@timestamp"
},
"scale": "ratio",
"sourceField": "kubernetes.daemonset.replicas.desired"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@
"7113c7e7-1af9-4350-b5d2-57abcb60c633": {
"dataType": "string",
"isBucketed": true,
"label": "Top 10000 values of kubernetes.container.name",
"label": "Top 10000 values of container.id",
"operationType": "terms",
"params": {
"missingBucket": false,
Expand All @@ -494,7 +494,7 @@
"size": 10000
},
"scale": "ordinal",
"sourceField": "kubernetes.container.name"
"sourceField": "container.id"
},
"830de93b-4051-4716-99e4-83d625a91288": {
"customLabel": true,
Expand Down Expand Up @@ -950,7 +950,7 @@
"6677e92c-5874-49c1-979e-c16c0d3838cd": {
"dataType": "string",
"isBucketed": true,
"label": "Top 10000 values of kubernetes.container.name",
"label": "Top 10000 values of container.id",
"operationType": "terms",
"params": {
"missingBucket": false,
Expand All @@ -976,7 +976,7 @@
"size": 10000
},
"scale": "ordinal",
"sourceField": "kubernetes.container.name"
"sourceField": "container.id"
}
},
"incompleteColumns": {},
Expand Down
2 changes: 1 addition & 1 deletion packages/kubernetes/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: 3.1.2
name: kubernetes
title: Kubernetes
version: 1.66.3
version: 1.66.4
description: Collect logs and metrics from Kubernetes clusters with Elastic Agent.
type: integration
categories:
Expand Down

0 comments on commit 930a301

Please sign in to comment.