Adding monitoring dashboard artifacts
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/19a021ae Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/19a021ae Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/19a021ae Branch: refs/heads/master Commit: 19a021aedcd72c2fc29ffebde7bebbf206dccf7b Parents: 01699c9 Author: Thanuja <[email protected]> Authored: Thu Oct 22 11:44:56 2015 +0530 Committer: Akila Perera <[email protected]> Committed: Tue Nov 3 17:13:19 2015 +0530 ---------------------------------------------------------------------- .../artifacts/monitoring-dashboard/README.md | 12 + .../monitoring-dashboard/capps/pom.xml | 76 + .../Dashboard/artifact.xml | 24 + .../Dashboard/stratos-monitoring-dashboard.json | 274 + .../artifact.xml | 24 + .../average_in_flight_requests_receiver.xml | 29 + .../artifact.xml | 24 + .../average_load_average_stats_receiver.xml | 29 + .../artifact.xml | 24 + ...verage_memory_consumption_stats_receiver.xml | 29 + .../artifact.xml | 24 + ...mber_average_load_average_stats_receiver.xml | 29 + .../artifact.xml | 24 + ...verage_memory_consumption_stats_receiver.xml | 29 + .../EventreceiverScalingDecision/artifact.xml | 24 + .../scaling_decision_receiver.xml | 29 + .../artifact.xml | 24 + .../average_in_flight_requests.xml | 64 + .../artifact.xml | 24 + .../average_load_average_stats.xml | 64 + .../artifact.xml | 24 + .../average_memory_consumption_stats.xml | 64 + .../artifact.xml | 24 + .../member_average_load_average_stats.xml | 71 + .../artifact.xml | 24 + .../member_average_memory_consumption_stats.xml | 71 + .../EventstoreScalingDecision/artifact.xml | 24 + .../scaling_decision.xml | 155 + .../artifact.xml | 24 + .../average_in_flight_requests_1.0.0.json | 28 + .../artifact.xml | 24 + .../average_load_average_stats_1.0.0.json | 28 + .../artifact.xml | 24 + .../average_memory_consumption_stats_1.0.0.json | 28 + .../artifact.xml | 24 + ...member_average_load_average_stats_1.0.0.json | 30 + .../artifact.xml | 24 + ..._average_memory_consumption_stats_1.0.0.json | 32 + .../EventstreamScalingDecision/artifact.xml | 24 + .../scaling_decision_1.0.0.json | 80 + .../Health_Stats_Filter/css/jquery-ui.css | 1225 ++ .../Health_Stats_Filter/css/style.css | 249 + .../Health_Stats_Filter/gadget.json | 23 + .../Health_Stats_Filter/index.png | Bin 0 -> 20644 bytes .../Health_Stats_Filter/index.xml | 77 + .../js/health-stats-filter.js | 115 + .../Health_Stats_Filter/js/jquery-ui.js | 16617 +++++++++++++++++ .../GadgetHealthStatsFilter/artifact.xml | 24 + .../In_Flight_Request/css/bootstrap.min.css | 5946 ++++++ .../In_Flight_Request/css/d3.geomap.css | 48 + .../In_Flight_Request/css/igviz.css | 89 + .../In_Flight_Request/gadget.json | 19 + .../In_Flight_Request/index.xml | 90 + .../js/d3.geomap.dependencies.min.js | 8249 ++++++++ .../In_Flight_Request/js/d3.geomap.min.js | 538 + .../In_Flight_Request/js/d3.min.js | 6332 +++++++ .../In_Flight_Request/js/excanvas.min.js | 954 + .../In_Flight_Request/js/gadgetconf.js | 55 + .../In_Flight_Request/js/igviz.js | 3585 ++++ .../In_Flight_Request/js/jquery.js | 9496 ++++++++++ .../In_Flight_Request/js/main.js | 170 + .../js/outputAdapterUiLibrary.js | 274 + .../In_Flight_Request/js/vega.js | 8006 ++++++++ .../GadgetInFlightRequest/artifact.xml | 24 + .../Load_Average/css/bootstrap.min.css | 5946 ++++++ .../Load_Average/css/d3.geomap.css | 43 + .../Load_Average/css/igviz.css | 89 + .../GadgetLoadAverage/Load_Average/gadget.json | 19 + .../GadgetLoadAverage/Load_Average/index.xml | 88 + .../js/d3.geomap.dependencies.min.js | 8249 ++++++++ .../Load_Average/js/d3.geomap.min.js | 538 + .../GadgetLoadAverage/Load_Average/js/d3.min.js | 6332 +++++++ .../Load_Average/js/excanvas.min.js | 954 + .../Load_Average/js/gadgetconf.js | 67 + .../GadgetLoadAverage/Load_Average/js/igviz.js | 3585 ++++ .../GadgetLoadAverage/Load_Average/js/jquery.js | 9496 ++++++++++ .../GadgetLoadAverage/Load_Average/js/main.js | 167 + .../Load_Average/js/outputAdapterUiLibrary.js | 274 + .../GadgetLoadAverage/Load_Average/js/vega.js | 8006 ++++++++ .../GadgetLoadAverage/artifact.xml | 24 + .../Memory_Usage/css/bootstrap.min.css | 5946 ++++++ .../Memory_Usage/css/d3.geomap.css | 48 + .../Memory_Usage/css/igviz.css | 89 + .../GadgetMemoryUsage/Memory_Usage/gadget.json | 19 + .../GadgetMemoryUsage/Memory_Usage/index.xml | 90 + .../js/d3.geomap.dependencies.min.js | 8249 ++++++++ .../Memory_Usage/js/d3.geomap.min.js | 538 + .../GadgetMemoryUsage/Memory_Usage/js/d3.min.js | 6332 +++++++ .../Memory_Usage/js/excanvas.min.js | 954 + .../Memory_Usage/js/gadgetconf.js | 67 + .../GadgetMemoryUsage/Memory_Usage/js/igviz.js | 3585 ++++ .../GadgetMemoryUsage/Memory_Usage/js/jquery.js | 9496 ++++++++++ .../GadgetMemoryUsage/Memory_Usage/js/main.js | 167 + .../Memory_Usage/js/outputAdapterUiLibrary.js | 274 + .../GadgetMemoryUsage/Memory_Usage/js/vega.js | 8006 ++++++++ .../GadgetMemoryUsage/artifact.xml | 24 + .../Scaling_Details/css/bootstrap.min.css | 5946 ++++++ .../Scaling_Details/css/d3.geomap.css | 48 + .../Scaling_Details/css/igviz.css | 89 + .../Scaling_Details/gadget.json | 19 + .../Scaling_Details/index.xml | 88 + .../js/d3.geomap.dependencies.min.js | 8249 ++++++++ .../Scaling_Details/js/d3.geomap.min.js | 538 + .../Scaling_Details/js/d3.min.js | 6332 +++++++ .../Scaling_Details/js/excanvas.min.js | 954 + .../Scaling_Details/js/gadgetconf.js | 110 + .../Scaling_Details/js/igviz.js | 3408 ++++ .../Scaling_Details/js/jquery.js | 9472 ++++++++++ .../Scaling_Details/js/main.js | 171 + .../js/outputAdapterUiLibrary.js | 274 + .../Scaling_Details/js/vega.js | 7583 ++++++++ .../GadgetScalingDetails/artifact.xml | 24 + .../SparkscriptsInFlightRequest/artifact.xml | 24 + .../in_flight_request.xml | 35 + .../SparkscriptsLoadAverage/artifact.xml | 24 + .../SparkscriptsLoadAverage/load_average.xml | 46 + .../SparkscriptsMemoryUsage/artifact.xml | 24 + .../SparkscriptsMemoryUsage/memory_usage.xml | 46 + .../SparkscriptsScalingDecision/artifact.xml | 24 + .../scaling_decision.xml | 35 + .../stratos-monitoring-service/artifacts.xml | 74 + .../jaggery-files/health-stats-clusters.jag | 42 + .../jaggery-files/health-stats-members.jag | 42 + .../jaggery-files/in-flight-request.jag | 84 + .../jaggery-files/load-average.jag | 91 + .../jaggery-files/memory-usage.jag | 91 + .../jaggery-files/monitoring-authentication.jag | 74 + .../jaggery-files/scaling-details.jag | 73 + .../monitoring-mysqlscript.sql | 28 + ...AverageInFlightRequestsDASEventFormatter.xml | 30 + .../AverageLoadAverageDASEventFormatter.xml | 30 + ...verageMemoryConsumptionDASEventFormatter.xml | 30 + ...emberAverageLoadAverageDASEventFormatter.xml | 30 + ...verageMemoryConsumptionDASEventFormatter.xml | 30 + .../DefaultWSO2EventOutputAdaptor.xml | 28 + ...AverageInFlightRequestsDASEventFormatter.xml | 30 + .../AverageLoadAverageDASEventFormatter.xml | 30 + ...verageMemoryConsumptionDASEventFormatter.xml | 30 + ...emberAverageLoadAverageDASEventFormatter.xml | 30 + ...verageMemoryConsumptionDASEventFormatter.xml | 30 + .../DefaultWSO2EventOutputAdaptor.xml | 28 + 141 files changed, 196191 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/stratos/blob/19a021ae/extensions/das/modules/artifacts/monitoring-dashboard/README.md ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/monitoring-dashboard/README.md b/extensions/das/modules/artifacts/monitoring-dashboard/README.md new file mode 100644 index 0000000..d80ff14 --- /dev/null +++ b/extensions/das/modules/artifacts/monitoring-dashboard/README.md @@ -0,0 +1,12 @@ +# Apache Stratos Monitoring Dashboard + +This directory contains following artifacts: <br /> +(1) capps - Includes stratos-monitoring-service car file which bundles all Event Stream, Event receiver, Even Store, Gadgets, SparkScripts and Dashboard artifacts. <br /> +(2) jaggery-files <br /> + +Follow the below steps to generate the monitoring dashboard: <br /> +1. Add jaggery files which can be found in <Stratos-DAS-Distribution>/monitoring-dashboard/jaggery-files/ to DAS path '<DAS_HOME/repository/deployment/server/jaggeryapps/portal/controllers/apis/' <br/> +2. Create MySQL database and tables using queries in <Stratos-DAS-Distribution>/monitoring-dashboard/monitoring-mysqlscript.sql manually. <br /> +3. Copy CEP EventFormatter artifacts in <Stratos-DAS-Distribution>/wso2cep-<version>/eventformatters/ to <CEP-HOME>/repository/deployment/server/eventformatters/. <br /> +4. Copy CEP OutputEventAdapter artifact in <Stratos-DAS-Distribution>/wso2cep-<version>/outputeventadaptors/ to <CEP-HOME>/repository/deployment/server/outputeventadaptors and update the tcp and ssl ports according to DAS server port offset. <br /> +5. Add stratos-monitoring-service car file in <Stratos-DAS-Distribution>/monitoring-dashboard/ to <DAS-HOME>/repository/deployment/server/carbonapps/ to generate the monitoring dashboard. <br /> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/stratos/blob/19a021ae/extensions/das/modules/artifacts/monitoring-dashboard/capps/pom.xml ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/monitoring-dashboard/capps/pom.xml b/extensions/das/modules/artifacts/monitoring-dashboard/capps/pom.xml new file mode 100644 index 0000000..840a932 --- /dev/null +++ b/extensions/das/modules/artifacts/monitoring-dashboard/capps/pom.xml @@ -0,0 +1,76 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> +<project xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <parent> + <groupId>org.apache.stratos</groupId> + <artifactId>das-extension</artifactId> + <version>4.1.5-SNAPSHOT</version> + <relativePath>../../../../pom.xml</relativePath> + </parent> + <modelVersion>4.0.0</modelVersion> + + <artifactId>monitoring-service-capps</artifactId> + <name>Apache Stratos - Monitoring Service CApps</name> + <description>Apache Stratos Monitoring Service CApps</description> + <packaging>pom</packaging> + + <build> + <plugins> + <plugin> + <artifactId>maven-clean-plugin</artifactId> + <version>2.4.1</version> + <executions> + <execution> + <id>auto-clean</id> + <phase>initialize</phase> + <goals> + <goal>clean</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <artifactId>maven-antrun-plugin</artifactId> + <version>1.7</version> + <executions> + <execution> + <phase>process-resources</phase> + <configuration> + <tasks> + <zip destfile="target/stratos-monitoring-service.car"> + <zipfileset dir="stratos-monitoring-service"/> + </zip> + </tasks> + </configuration> + <goals> + <goal>run</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + + +</project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/stratos/blob/19a021ae/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/Dashboard/artifact.xml ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/Dashboard/artifact.xml b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/Dashboard/artifact.xml new file mode 100644 index 0000000..c6119ae --- /dev/null +++ b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/Dashboard/artifact.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> +<artifact name="Dashboard" version="1.0.0" type="dashboards/dashboard" serverRole="DataAnalyticsServer"> + <file>stratos-monitoring-dashboard.json</file> +</artifact> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/stratos/blob/19a021ae/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/Dashboard/stratos-monitoring-dashboard.json ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/Dashboard/stratos-monitoring-dashboard.json b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/Dashboard/stratos-monitoring-dashboard.json new file mode 100644 index 0000000..92d83e5 --- /dev/null +++ b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/Dashboard/stratos-monitoring-dashboard.json @@ -0,0 +1,274 @@ +{ + "id": "ppaas-monitoring-dashboard", + "title": "Private PaaS Monitoring Dashboard", + "description": "This dashboard helps to monitor health stats.", + "permissions": { + "viewers": [ + "Internal/everyone" + ], + "editors": [ + "Internal/everyone" + ] + }, + "pages": [ + { + "id": "health-stats", + "title": "Health Stats", + "layout": { + "id": "single-column", + "title": "Single Column", + "description": "This is a layout generated through single-column.io", + "thumbnail": "store://layout/single-column/index.png", + "url": "store://layout/single-column/index.hbs", + "content": "<div class=\"container\">\n<div class=\"row\">\n <div id=\"a\" class=\"col-md-12 ues-component-box\"></div>\n <div id=\"b\" class=\"col-md-12 ues-component-box\"></div>\n <div id=\"c\" class=\"col-md-12 ues-component-box\"></div>\n</div>\n</div>\n" + }, + "content": { + "a": [ + { + "id": "np79atkpuq8h0k9", + "content": { + "id": "Health_Stats_Filter", + "title": "Health Stats Filter", + "type": "gadget", + "thumbnail": "store://gadget/Health_Stats_Filter/index.png", + "data": { + "url": "store://gadget/Health_Stats_Filter/index.xml" + }, + "styles": { + "title": "", + "height": "150", + "borders": false, + "titlePosition": "left" + }, + "notify": { + "health-stats-filter": { + "type": "address", + "description": "This notifies time interval" + }, + "cancel": { + "type": "boolean", + "description": "This notifies cancellation of state selection" + } + }, + "options": {}, + "settings": {} + } + }, + { + "id": "8wnyg587eaznz5mi", + "content": { + "id": "Memory_Usage", + "title": "Memory Usage", + "type": "gadget", + "thumbnail": "local://images/gadgetIcon.png", + "data": { + "url": "local://store/carbon.super/gadget/Memory_Usage/index.xml" + }, + "listen": { + "health-stats-filter": { + "type": "address", + "description": "Used to filter based on state", + "on": [ + { + "from": "np79atkpuq8h0k9", + "event": "health-stats-filter" + } + ] + }, + "auto-update": { + "type": "boolean", + "description": "Used to filter based on state", + "on": [] + } + }, + "styles": { + "title": "Memory Usage", + "height": "400", + "borders": true, + "titlePosition": "left" + }, + "options": { + "dataSource": { + "type": "STRING", + "title": "Data Source", + "value": "/portal/gadgets/bar-chart/datasource/dataFile4.jag", + "options": [], + "required": false + }, + "updateGraph": { + "type": "STRING", + "title": "Update Interval (s)", + "value": "5", + "options": [], + "required": false + } + }, + "settings": {} + } + } + ], + "b": [ + { + "id": "hhy2fj8wgu1bgldi", + "content": { + "id": "Load_Average", + "title": "Load Average", + "type": "gadget", + "thumbnail": "local://images/gadgetIcon.png", + "data": { + "url": "local://store/carbon.super/gadget/Load_Average/index.xml" + }, + "listen": { + "health-stats-filter": { + "type": "address", + "description": "Used to filter based on state", + "on": [ + { + "from": "np79atkpuq8h0k9", + "event": "health-stats-filter" + } + ] + }, + "auto-update": { + "type": "boolean", + "description": "Used to filter based on state", + "on": [] + } + }, + "styles": { + "title": "Load Average", + "height": "400", + "borders": true, + "titlePosition": "left" + }, + "options": { + "dataSource": { + "type": "STRING", + "title": "Data Source", + "value": "/portal/gadgets/bar-chart/datasource/dataFile4.jag", + "options": [], + "required": false + }, + "updateGraph": { + "type": "STRING", + "title": "Update Interval (s)", + "value": "5", + "options": [], + "required": false + } + }, + "settings": {} + } + }, + { + "id": "3rlgpdhg2e29", + "content": { + "id": "In_Flight_Request", + "title": "In Flight Request", + "type": "gadget", + "thumbnail": "local://images/gadgetIcon.png", + "data": { + "url": "local://store/carbon.super/gadget/In_Flight_Request/index.xml" + }, + "listen": { + "health-stats-filter": { + "type": "address", + "description": "Used to filter based on state", + "on": [ + { + "from": "np79atkpuq8h0k9", + "event": "health-stats-filter" + } + ] + }, + "auto-update": { + "type": "boolean", + "description": "Used to filter based on state", + "on": [] + } + }, + "styles": { + "title": "In-Flight Request", + "height": "400", + "borders": true, + "titlePosition": "left" + }, + "options": { + "dataSource": { + "type": "STRING", + "title": "Data Source", + "value": "/portal/gadgets/bar-chart/datasource/dataFile4.jag", + "options": [], + "required": false + }, + "updateGraph": { + "type": "STRING", + "title": "Update Interval (s)", + "value": "5", + "options": [], + "required": false + } + }, + "settings": {} + } + } + ], + "c": [ + { + "id": "a7jevl0wisc680k9", + "content": { + "id": "Scaling_Details", + "title": "Scaling Details", + "type": "gadget", + "thumbnail": "local://images/gadgetIcon.png", + "data": { + "url": "local://store/carbon.super/gadget/Scaling_Details/index.xml" + }, + "listen": { + "health-stats-filter": { + "type": "address", + "description": "Used to filter based on state", + "on": [ + { + "from": "np79atkpuq8h0k9", + "event": "health-stats-filter" + } + ] + }, + "auto-update": { + "type": "boolean", + "description": "Used to filter based on state", + "on": [] + } + }, + "styles": { + "title": "Cluster Instances", + "height": "600", + "borders": true, + "titlePosition": "left" + }, + "options": { + "dataSource": { + "type": "STRING", + "title": "Data Source", + "value": "/portal/gadgets/bar-chart/datasource/dataFile4.jag", + "options": [], + "required": false + }, + "updateGraph": { + "type": "STRING", + "title": "Update Interval (s)", + "value": "5", + "options": [], + "required": false + } + }, + "settings": {} + } + } + ] + } + } + ], + "landing": "health-stats" +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/stratos/blob/19a021ae/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverAverageInFlightRequest/artifact.xml ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverAverageInFlightRequest/artifact.xml b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverAverageInFlightRequest/artifact.xml new file mode 100644 index 0000000..f2cbcdd --- /dev/null +++ b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverAverageInFlightRequest/artifact.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> +<artifact name="EventreceiverAverageInFlightRequest" version="1.0.0" type="event/receiver" serverRole="DataAnalyticsServer"> + <file>average_in_flight_requests_receiver.xml</file> +</artifact> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/stratos/blob/19a021ae/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverAverageInFlightRequest/average_in_flight_requests_receiver.xml ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverAverageInFlightRequest/average_in_flight_requests_receiver.xml b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverAverageInFlightRequest/average_in_flight_requests_receiver.xml new file mode 100644 index 0000000..9e88f0c --- /dev/null +++ b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverAverageInFlightRequest/average_in_flight_requests_receiver.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> +<eventReceiver name="average_in_flight_requests_receiver" + statistics="disable" trace="disable" xmlns="http://wso2.org/carbon/eventreceiver"> + <from eventAdapterType="wso2event"> + <property name="events.duplicated.in.cluster">false</property> + </from> + <mapping customMapping="disable" type="wso2event"/> + <to streamName="average_in_flight_requests" version="1.0.0"/> +</eventReceiver> http://git-wip-us.apache.org/repos/asf/stratos/blob/19a021ae/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverAverageLoadAvergaeStats/artifact.xml ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverAverageLoadAvergaeStats/artifact.xml b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverAverageLoadAvergaeStats/artifact.xml new file mode 100644 index 0000000..fea545f --- /dev/null +++ b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverAverageLoadAvergaeStats/artifact.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> +<artifact name="EventreceiverAverageLoadAverageStats" version="1.0.0" type="event/receiver" serverRole="DataAnalyticsServer"> + <file>average_load_average_stats_receiver.xml</file> +</artifact> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/stratos/blob/19a021ae/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverAverageLoadAvergaeStats/average_load_average_stats_receiver.xml ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverAverageLoadAvergaeStats/average_load_average_stats_receiver.xml b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverAverageLoadAvergaeStats/average_load_average_stats_receiver.xml new file mode 100644 index 0000000..1f5890d --- /dev/null +++ b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverAverageLoadAvergaeStats/average_load_average_stats_receiver.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> +<eventReceiver name="average_load_average_stats_receiver" + statistics="disable" trace="disable" xmlns="http://wso2.org/carbon/eventreceiver"> + <from eventAdapterType="wso2event"> + <property name="events.duplicated.in.cluster">false</property> + </from> + <mapping customMapping="disable" type="wso2event"/> + <to streamName="average_load_average_stats" version="1.0.0"/> +</eventReceiver> http://git-wip-us.apache.org/repos/asf/stratos/blob/19a021ae/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverAverageMemoryConsumptionStats/artifact.xml ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverAverageMemoryConsumptionStats/artifact.xml b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverAverageMemoryConsumptionStats/artifact.xml new file mode 100644 index 0000000..1377f2f --- /dev/null +++ b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverAverageMemoryConsumptionStats/artifact.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> +<artifact name="EventreceiverAverageMemoryConsumptionStats" version="1.0.0" type="event/receiver" serverRole="DataAnalyticsServer"> + <file>average_memory_consumption_stats_receiver.xml</file> +</artifact> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/stratos/blob/19a021ae/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverAverageMemoryConsumptionStats/average_memory_consumption_stats_receiver.xml ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverAverageMemoryConsumptionStats/average_memory_consumption_stats_receiver.xml b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverAverageMemoryConsumptionStats/average_memory_consumption_stats_receiver.xml new file mode 100644 index 0000000..da602d5 --- /dev/null +++ b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverAverageMemoryConsumptionStats/average_memory_consumption_stats_receiver.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> +<eventReceiver name="average_memory_consumption_stats_receiver" + statistics="disable" trace="disable" xmlns="http://wso2.org/carbon/eventreceiver"> + <from eventAdapterType="wso2event"> + <property name="events.duplicated.in.cluster">false</property> + </from> + <mapping customMapping="disable" type="wso2event"/> + <to streamName="average_memory_consumption_stats" version="1.0.0"/> +</eventReceiver> http://git-wip-us.apache.org/repos/asf/stratos/blob/19a021ae/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverMemberAverageLoadAverageStats/artifact.xml ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverMemberAverageLoadAverageStats/artifact.xml b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverMemberAverageLoadAverageStats/artifact.xml new file mode 100644 index 0000000..db5d15e --- /dev/null +++ b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverMemberAverageLoadAverageStats/artifact.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> +<artifact name="EventreceiverMemberAverageLoadAverageStats" version="1.0.0" type="event/receiver" serverRole="DataAnalyticsServer"> + <file>member_average_load_average_stats_receiver.xml</file> +</artifact> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/stratos/blob/19a021ae/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverMemberAverageLoadAverageStats/member_average_load_average_stats_receiver.xml ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverMemberAverageLoadAverageStats/member_average_load_average_stats_receiver.xml b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverMemberAverageLoadAverageStats/member_average_load_average_stats_receiver.xml new file mode 100644 index 0000000..d27fe0c --- /dev/null +++ b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverMemberAverageLoadAverageStats/member_average_load_average_stats_receiver.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> +<eventReceiver name="member_average_load_average_stats_receiver" + statistics="disable" trace="disable" xmlns="http://wso2.org/carbon/eventreceiver"> + <from eventAdapterType="wso2event"> + <property name="events.duplicated.in.cluster">false</property> + </from> + <mapping customMapping="disable" type="wso2event"/> + <to streamName="member_average_load_average_stats" version="1.0.0"/> +</eventReceiver> http://git-wip-us.apache.org/repos/asf/stratos/blob/19a021ae/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverMemberAverageMemoryConsumptionStats/artifact.xml ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverMemberAverageMemoryConsumptionStats/artifact.xml b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverMemberAverageMemoryConsumptionStats/artifact.xml new file mode 100644 index 0000000..e6da047 --- /dev/null +++ b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverMemberAverageMemoryConsumptionStats/artifact.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> +<artifact name="EventreceiverMemberAverageMemoryConsumptionStats" version="1.0.0" type="event/receiver" serverRole="DataAnalyticsServer"> + <file>member_average_memory_consumption_stats_receiver.xml</file> +</artifact> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/stratos/blob/19a021ae/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverMemberAverageMemoryConsumptionStats/member_average_memory_consumption_stats_receiver.xml ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverMemberAverageMemoryConsumptionStats/member_average_memory_consumption_stats_receiver.xml b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverMemberAverageMemoryConsumptionStats/member_average_memory_consumption_stats_receiver.xml new file mode 100644 index 0000000..6aa7b8e --- /dev/null +++ b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverMemberAverageMemoryConsumptionStats/member_average_memory_consumption_stats_receiver.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> +<eventReceiver name="member_average_memory_consumption_stats_receiver" + statistics="disable" trace="disable" xmlns="http://wso2.org/carbon/eventreceiver"> + <from eventAdapterType="wso2event"> + <property name="events.duplicated.in.cluster">false</property> + </from> + <mapping customMapping="disable" type="wso2event"/> + <to streamName="member_average_memory_consumption_stats" version="1.0.0"/> +</eventReceiver> http://git-wip-us.apache.org/repos/asf/stratos/blob/19a021ae/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverScalingDecision/artifact.xml ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverScalingDecision/artifact.xml b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverScalingDecision/artifact.xml new file mode 100644 index 0000000..27d5811 --- /dev/null +++ b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverScalingDecision/artifact.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> +<artifact name="EventreceiverScalingDecision" version="1.0.0" type="event/receiver" serverRole="DataAnalyticsServer"> + <file>scaling_decision_receiver.xml</file> +</artifact> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/stratos/blob/19a021ae/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverScalingDecision/scaling_decision_receiver.xml ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverScalingDecision/scaling_decision_receiver.xml b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverScalingDecision/scaling_decision_receiver.xml new file mode 100644 index 0000000..596f30f --- /dev/null +++ b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventreceiverScalingDecision/scaling_decision_receiver.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> +<eventReceiver name="scaling_decision_receiver" statistics="disable" + trace="disable" xmlns="http://wso2.org/carbon/eventreceiver"> + <from eventAdapterType="wso2event"> + <property name="events.duplicated.in.cluster">false</property> + </from> + <mapping customMapping="disable" type="wso2event"/> + <to streamName="scaling_decision" version="1.0.0"/> +</eventReceiver> http://git-wip-us.apache.org/repos/asf/stratos/blob/19a021ae/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreAverageInFlightRequest/artifact.xml ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreAverageInFlightRequest/artifact.xml b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreAverageInFlightRequest/artifact.xml new file mode 100644 index 0000000..a059156 --- /dev/null +++ b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreAverageInFlightRequest/artifact.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> +<artifact name="EventstoreAverageInFlightRequest" version="1.0.0" type="analytics/eventstore" serverRole="DataAnalyticsServer"> + <file>average_in_flight_requests.xml</file> +</artifact> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/stratos/blob/19a021ae/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreAverageInFlightRequest/average_in_flight_requests.xml ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreAverageInFlightRequest/average_in_flight_requests.xml b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreAverageInFlightRequest/average_in_flight_requests.xml new file mode 100644 index 0000000..e104773 --- /dev/null +++ b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreAverageInFlightRequest/average_in_flight_requests.xml @@ -0,0 +1,64 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> +<EventStoreConfiguration> + <TableSchema> + <ColumnDefinition> + <Name>timestamp</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>LONG</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>cluster_id</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>cluster_instance_id</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>network_partition_id</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>count</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>DOUBLE</Type> + </ColumnDefinition> + </TableSchema> + <Source> + <StreamId>average_in_flight_requests:1.0.0</StreamId> + </Source> + <RecordStoreName>EVENT_STORE</RecordStoreName> +</EventStoreConfiguration> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/stratos/blob/19a021ae/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreAverageLoadAvergaeStats/artifact.xml ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreAverageLoadAvergaeStats/artifact.xml b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreAverageLoadAvergaeStats/artifact.xml new file mode 100644 index 0000000..f6ac15f --- /dev/null +++ b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreAverageLoadAvergaeStats/artifact.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> +<artifact name="EventstoreAverageLoadAverageStats" version="1.0.0" type="analytics/eventstore" serverRole="DataAnalyticsServer"> + <file>average_load_average_stats.xml</file> +</artifact> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/stratos/blob/19a021ae/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreAverageLoadAvergaeStats/average_load_average_stats.xml ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreAverageLoadAvergaeStats/average_load_average_stats.xml b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreAverageLoadAvergaeStats/average_load_average_stats.xml new file mode 100644 index 0000000..263117d --- /dev/null +++ b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreAverageLoadAvergaeStats/average_load_average_stats.xml @@ -0,0 +1,64 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> +<EventStoreConfiguration> + <TableSchema> + <ColumnDefinition> + <Name>timestamp</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>LONG</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>cluster_id</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>cluster_instance_id</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>network_partition_id</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>average_load_average</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>DOUBLE</Type> + </ColumnDefinition> + </TableSchema> + <Source> + <StreamId>average_load_average_stats:1.0.0</StreamId> + </Source> + <RecordStoreName>EVENT_STORE</RecordStoreName> +</EventStoreConfiguration> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/stratos/blob/19a021ae/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreAverageMemoryConsumptionStats/artifact.xml ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreAverageMemoryConsumptionStats/artifact.xml b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreAverageMemoryConsumptionStats/artifact.xml new file mode 100644 index 0000000..3380432 --- /dev/null +++ b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreAverageMemoryConsumptionStats/artifact.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> +<artifact name="EventstoreAverageMemoryConsumptionStats" version="1.0.0" type="analytics/eventstore" serverRole="DataAnalyticsServer"> + <file>average_memory_consumption_stats.xml</file> +</artifact> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/stratos/blob/19a021ae/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreAverageMemoryConsumptionStats/average_memory_consumption_stats.xml ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreAverageMemoryConsumptionStats/average_memory_consumption_stats.xml b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreAverageMemoryConsumptionStats/average_memory_consumption_stats.xml new file mode 100644 index 0000000..e423d97 --- /dev/null +++ b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreAverageMemoryConsumptionStats/average_memory_consumption_stats.xml @@ -0,0 +1,64 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> +<EventStoreConfiguration> + <TableSchema> + <ColumnDefinition> + <Name>timestamp</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>LONG</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>cluster_id</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>cluster_instance_id</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>network_partition_id</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>average_memory_consumption</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>DOUBLE</Type> + </ColumnDefinition> + </TableSchema> + <Source> + <StreamId>average_memory_consumption_stats:1.0.0</StreamId> + </Source> + <RecordStoreName>EVENT_STORE</RecordStoreName> +</EventStoreConfiguration> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/stratos/blob/19a021ae/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreMemberAverageLoadAverageStats/artifact.xml ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreMemberAverageLoadAverageStats/artifact.xml b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreMemberAverageLoadAverageStats/artifact.xml new file mode 100644 index 0000000..9da74ce --- /dev/null +++ b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreMemberAverageLoadAverageStats/artifact.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> +<artifact name="EventstoreMemberAverageLoadAvaerageStats" version="1.0.0" type="analytics/eventstore" serverRole="DataAnalyticsServer"> + <file>member_average_load_average_stats.xml</file> +</artifact> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/stratos/blob/19a021ae/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreMemberAverageLoadAverageStats/member_average_load_average_stats.xml ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreMemberAverageLoadAverageStats/member_average_load_average_stats.xml b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreMemberAverageLoadAverageStats/member_average_load_average_stats.xml new file mode 100644 index 0000000..a23a678 --- /dev/null +++ b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreMemberAverageLoadAverageStats/member_average_load_average_stats.xml @@ -0,0 +1,71 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> +<EventStoreConfiguration> + <TableSchema> + <ColumnDefinition> + <Name>timestamp</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>LONG</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>member_id</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>cluster_id</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>cluster_instance_id</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>network_partition_id</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>member_average_load_average</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>DOUBLE</Type> + </ColumnDefinition> + </TableSchema> + <Source> + <StreamId>member_average_load_average_stats:1.0.0</StreamId> + </Source> + <RecordStoreName>EVENT_STORE</RecordStoreName> +</EventStoreConfiguration> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/stratos/blob/19a021ae/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreMemberAverageMemoryConsumptionStats/artifact.xml ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreMemberAverageMemoryConsumptionStats/artifact.xml b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreMemberAverageMemoryConsumptionStats/artifact.xml new file mode 100644 index 0000000..d6aa04f --- /dev/null +++ b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreMemberAverageMemoryConsumptionStats/artifact.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> +<artifact name="EventstoreMemberAverageMemoryConsumptionStats" version="1.0.0" type="analytics/eventstore" serverRole="DataAnalyticsServer"> + <file>member_average_memory_consumption_stats.xml</file> +</artifact> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/stratos/blob/19a021ae/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreMemberAverageMemoryConsumptionStats/member_average_memory_consumption_stats.xml ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreMemberAverageMemoryConsumptionStats/member_average_memory_consumption_stats.xml b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreMemberAverageMemoryConsumptionStats/member_average_memory_consumption_stats.xml new file mode 100644 index 0000000..d02af80 --- /dev/null +++ b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreMemberAverageMemoryConsumptionStats/member_average_memory_consumption_stats.xml @@ -0,0 +1,71 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> +<EventStoreConfiguration> + <TableSchema> + <ColumnDefinition> + <Name>timestamp</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>LONG</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>member_id</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>cluster_id</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>cluster_instance_id</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>network_partition_id</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>member_average_memory_consumption</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>DOUBLE</Type> + </ColumnDefinition> + </TableSchema> + <Source> + <StreamId>member_average_memory_consumption_stats:1.0.0</StreamId> + </Source> + <RecordStoreName>EVENT_STORE</RecordStoreName> +</EventStoreConfiguration> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/stratos/blob/19a021ae/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreScalingDecision/artifact.xml ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreScalingDecision/artifact.xml b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreScalingDecision/artifact.xml new file mode 100644 index 0000000..4833c71 --- /dev/null +++ b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreScalingDecision/artifact.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> +<artifact name="EventstoreScalingDecision" version="1.0.0" type="analytics/eventstore" serverRole="DataAnalyticsServer"> + <file>scaling_decision.xml</file> +</artifact> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/stratos/blob/19a021ae/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreScalingDecision/scaling_decision.xml ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreScalingDecision/scaling_decision.xml b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreScalingDecision/scaling_decision.xml new file mode 100644 index 0000000..49c07ac --- /dev/null +++ b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstoreScalingDecision/scaling_decision.xml @@ -0,0 +1,155 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> +<EventStoreConfiguration> + <TableSchema> + <ColumnDefinition> + <Name>timestamp</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>LONG</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>scaling_decision_id</Name> + <EnableIndexing>true</EnableIndexing> + <IsPrimaryKey>true</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>cluster_id</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>min_instance_count</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>INTEGER</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>max_instance_count</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>INTEGER</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>rif_predicted</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>INTEGER</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>rif_threshold</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>INTEGER</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>rif_required_instances</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>INTEGER</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>mc_predicted</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>INTEGER</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>mc_threshold</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>INTEGER</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>mc_required_instances</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>INTEGER</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>la_predicted</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>INTEGER</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>la_threshold</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>INTEGER</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>la_required_instances</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>INTEGER</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>required_instance_count</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>INTEGER</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>active_instance_count</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>INTEGER</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>additional_instance_count</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>INTEGER</Type> + </ColumnDefinition> + <ColumnDefinition> + <Name>scaling_reason</Name> + <EnableIndexing>false</EnableIndexing> + <IsPrimaryKey>false</IsPrimaryKey> + <EnableScoreParam>false</EnableScoreParam> + <Type>STRING</Type> + </ColumnDefinition> + </TableSchema> + <Source> + <StreamId>scaling_decision:1.0.0</StreamId> + </Source> + <RecordStoreName>EVENT_STORE</RecordStoreName> +</EventStoreConfiguration> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/stratos/blob/19a021ae/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstreamAverageInFlightRequest/artifact.xml ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstreamAverageInFlightRequest/artifact.xml b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstreamAverageInFlightRequest/artifact.xml new file mode 100644 index 0000000..7d27bf0 --- /dev/null +++ b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstreamAverageInFlightRequest/artifact.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> +<artifact name="EventstreamAverageInFlightRequest" version="1.0.0" type="event/stream" serverRole="DataAnalyticsServer"> + <file>average_in_flight_requests_1.0.0.json</file> +</artifact> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/stratos/blob/19a021ae/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstreamAverageInFlightRequest/average_in_flight_requests_1.0.0.json ---------------------------------------------------------------------- diff --git a/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstreamAverageInFlightRequest/average_in_flight_requests_1.0.0.json b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstreamAverageInFlightRequest/average_in_flight_requests_1.0.0.json new file mode 100644 index 0000000..e9fc96f --- /dev/null +++ b/extensions/das/modules/artifacts/monitoring-dashboard/capps/stratos-monitoring-service/EventstreamAverageInFlightRequest/average_in_flight_requests_1.0.0.json @@ -0,0 +1,28 @@ +{ + "name": "average_in_flight_requests", + "version": "1.0.0", + "nickName": "", + "description": "", + "payloadData": [ + { + "name": "cluster_id", + "type": "STRING" + }, + { + "name": "cluster_instance_id", + "type": "STRING" + }, + { + "name": "network_partition_id", + "type": "STRING" + }, + { + "name": "count", + "type": "DOUBLE" + }, + { + "name": "timestamp", + "type": "LONG" + } + ] +} \ No newline at end of file
