diff --git a/README.md b/README.md index bf061b1..983b6a0 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ grafana-cli plugins install yeya24-chaos-mesh-datasource After installed, you can add this data source in **Configuration -> Data Sources**, then you will enter the settings page: -![Data Source settings](https://raw.githubusercontent.com/chaos-mesh/chaos-mesh-datasource/master/img/settings.jpg) +![Data Source settings](https://raw.githubusercontent.com/chaos-mesh/chaos-mesh-datasource/master/src/img/settings.jpg) Only the `URL` field needs to be filled in and the others can be ignored. @@ -58,7 +58,7 @@ For real world usage, normally you will use these options in two situations: Edit example: -![Data Source annotations](https://raw.githubusercontent.com/chaos-mesh/chaos-mesh-datasource/master/img/annotations.png) +![Data Source annotations](https://raw.githubusercontent.com/chaos-mesh/chaos-mesh-datasource/master/src/img/annotations.png) For usage, you can refer to the content described by [Query](#query). diff --git a/package.json b/package.json index 8659658..8e8fe8f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "yeya24-chaosmesh-datasource", - "version": "0.2.0", + "version": "0.2.1", "description": "Chaos Mesh Datasource", "author": "Yue Yang (https://g1eny0ung.site)", "license": "Apache-2.0", diff --git a/img/annotations.png b/src/img/annotations.png similarity index 100% rename from img/annotations.png rename to src/img/annotations.png diff --git a/img/settings.jpg b/src/img/settings.jpg similarity index 100% rename from img/settings.jpg rename to src/img/settings.jpg diff --git a/src/plugin.json b/src/plugin.json index 57001af..d77baae 100644 --- a/src/plugin.json +++ b/src/plugin.json @@ -17,6 +17,16 @@ "small": "img/logo.svg", "large": "img/logo.svg" }, + "screenshots": [ + { + "name": "Datasource Setting", + "path": "img/settings.jpg" + }, + { + "name": "Annotations", + "path": "img/annotations.png" + } + ], "links": [ { "name": "GitHub", @@ -31,7 +41,7 @@ "url": "https://chaos-mesh.org/" } ], - "version": "0.2.0", + "version": "0.2.1", "updated": "%TODAY%" }, "dependencies": {