Skip to content

Instantly share code, notes, and snippets.

@sidneyw
Last active April 2, 2018 17:05
Show Gist options
  • Save sidneyw/8d26a35e4eb28da30414b509916ffca1 to your computer and use it in GitHub Desktop.
Save sidneyw/8d26a35e4eb28da30414b509916ffca1 to your computer and use it in GitHub Desktop.
A sample of the weave scope report
{
"Plugins": [
{
"id": "sample-plugin",
"label": "Sample Weave Plugin",
"description": "Adds links to deployments",
"interfaces": [
"reporter"
],
"api_version": 1
}
],
"Container": {},
"ContainerImage": {},
"DaemonSet": {},
"Deployment": {
"nodes": {
"12345;<deployment>": {
"latest": {
"sample-link--meta": {
"value": "/console/workloads/deployments/default/test-deployment",
"timestamp": "0001-01-01T00:00:00Z"
}
}
},
"67890;<deployment>": {
"latest": {
"sample-link--meta": {
"value": "/console/workloads/deployments/default/test-kubernetes-object",
"timestamp": "0001-01-01T00:00:00Z"
}
}
}
},
"metadata_templates": {
"sample-link--meta": {
"id": "sample-link--meta",
"label": "sample Dashboard",
"dataType": "link",
"priority": 1.1,
"from": "latest"
}
}
},
"Endpoint": {},
"Host": {},
"Pods": {},
"Process": {},
"ReplicaSet": {},
"Service": {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment