在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:leankoala-gmbh/KoalityShopwarePlugin开源软件地址:https://github.com/leankoala-gmbh/KoalityShopwarePlugin开源编程语言:PHP 100.0%开源软件介绍:This plugin can be downloaded in the Shopware Plugin store. koality.io Shopware6 PluginThis plugin can be used to continuously monitor a Shopware shop for business metrics. Our idea of how to monitor a Shopware shop can be found in our magazin. Layout (koality.io / abstract)MetricsThe following metrics are implemented yet:
How the plugin worksThe plugin provides a JSON endpoint for the Shopware storefront that is secured via a secret token. The endpoint returns the health status of the shop. The health status is a mix of business metrics like "orders per hour" or server metrics like "space left on device". Example{
"status": "fail",
"output": "Some Shopware6 health metrics failed: ",
"checks": {
"carts.open.too_many": {
"status": "fail",
"output": "There are too many open carts at the moment.",
"limit": 30,
"limitType": "max",
"observedValue": 60,
"observedUnit": "carts",
"metricType": "time_series_numeric"
},
"products.active": {
"status": "pass",
"output": "There are enough active products in your shop.",
"limit": 0,
"limitType": "min",
"observedValue": 1,
"observedUnit": "products",
"metricType": "time_series_numeric"
},
"plugins.updatable": {
"status": "pass",
"output": "Not too many plugins need to be updated.",
"limit": 0,
"limitType": "max",
"observedValue": 0,
"observedUnit": "plugins",
"metricType": "time_series_numeric"
},
"orders.too_few": {
"status": "fail",
"output": "There were too few orders within the last hour.",
"limit": 20,
"limitType": "min",
"observedValue": 0,
"observedUnit": "orders",
"metricType": "time_series_numeric"
}
},
"info": {
"creator": "koality.io Shopware Plugin",
"version": "1.0.0",
"plugin_url": "https:\/\/www.koality.io\/plugins\/shopware"
}
} koality.io can interpret this format and will alert if a check fails. At the moment it is needed that the fail or pass decision is made in the Shopware backend. In future versions this can be done in koality.io. The API endpoint can be found here after installation:
The format of the Shopware health endpoint is implementing this standard (still RFC):
ConfigurationFor configuration, we are using the Shopware 6 config.xml file . TodoAt the moment this plugin is only a proof of concept. We would be happy if Shopware 6 experts will refactor it to be the best monitoring plugin for the favourite e-commerce solution.
Frequently asked questions
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论