-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Metricbeat]Kubernetes: make state_container metricset ECS compliant (#…
…13884) * move kubernetes.container.id to ECS fields Jenkins fail report seem unrelated to this PR
- Loading branch information
Pablo Mercado
authored
Oct 7, 2019
1 parent
1058daf
commit 932dd3c
Showing
6 changed files
with
627 additions
and
374 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
80 changes: 54 additions & 26 deletions
80
metricbeat/module/kubernetes/state_container/_meta/data.json
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,44 +1,72 @@ | ||
{ | ||
"@timestamp": "2017-05-10T16:42:27.816Z", | ||
"beat": { | ||
"hostname": "X1", | ||
"name": "X1", | ||
"version": "6.0.0-alpha1" | ||
"@timestamp": "2019-10-02T16:47:01.499Z", | ||
"metricset": { | ||
"name": "state_container", | ||
"period": 10000 | ||
}, | ||
"service": { | ||
"address": "kube-state-metrics.kube-system:8080", | ||
"type": "kubernetes" | ||
}, | ||
"kubernetes": { | ||
"labels": { | ||
"app": "playground" | ||
}, | ||
"container": { | ||
"cpu": { | ||
"request": { | ||
"nanocores": 200000000 | ||
} | ||
}, | ||
"id": "docker://39f3267ad1b0c46025e664bfe0b70f3f18a9f172aad00463c8e87e0e93bbf628", | ||
"image": "jenkinsci/jenkins:2.46.1", | ||
"memory": { | ||
"request": { | ||
"bytes": 268435456 | ||
} | ||
}, | ||
"name": "wise-lynx-jenkins", | ||
}, | ||
"image": "ubuntu:latest", | ||
"id": "docker://5f8ce416d10ab0b28ce5c7d521de2264aa03ff4d001e1194076f6a02a330139f", | ||
"name": "ubuntu", | ||
"status": { | ||
"phase": "running", | ||
"ready": true, | ||
"restarts": 4 | ||
"restarts": 0, | ||
"phase": "running" | ||
} | ||
}, | ||
"namespace": "jenkins", | ||
"pod": { | ||
"name": "playground", | ||
"uid": "d52bd3cb-df62-4cb5-b293-7009055bcaff" | ||
}, | ||
"namespace": "default", | ||
"node": { | ||
"name": "minikube" | ||
}, | ||
"pod": { | ||
"name": "wise-lynx-jenkins-1616735317-svn6k" | ||
} | ||
}, | ||
"metricset": { | ||
"host": "192.168.99.100:18080", | ||
"host": { | ||
"os": { | ||
"codename": "bionic", | ||
"platform": "ubuntu", | ||
"version": "18.04.3 LTS (Bionic Beaver)", | ||
"family": "debian", | ||
"name": "Ubuntu", | ||
"kernel": "4.15.0" | ||
}, | ||
"containerized": false, | ||
"hostname": "minikube", | ||
"name": "minikube", | ||
"architecture": "x86_64" | ||
}, | ||
"agent": { | ||
"version": "8.0.0", | ||
"type": "metricbeat", | ||
"ephemeral_id": "fed15ef3-ab8f-4e11-aded-115ff923bc1e", | ||
"hostname": "minikube", | ||
"id": "0df400e0-a5fc-40cc-a0c6-b99029a30cd5" | ||
}, | ||
"ecs": { | ||
"version": "1.1.0" | ||
}, | ||
"container": { | ||
"runtime": "docker", | ||
"id": "5f8ce416d10ab0b28ce5c7d521de2264aa03ff4d001e1194076f6a02a330139f" | ||
}, | ||
"event": { | ||
"dataset": "kubernetes.container", | ||
"module": "kubernetes", | ||
"name": "state_container", | ||
"namespace": "container", | ||
"rtt": 6219 | ||
"duration": 33750820 | ||
} | ||
} | ||
} |
Oops, something went wrong.