You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@skywalking.apache.org by GitBox <gi...@apache.org> on 2020/05/22 03:51:59 UTC

[GitHub] [skywalking-rocketbot-ui] Fine0830 opened a new pull request #297: Feat: New metrics and custom configurations in dashboard

Fine0830 opened a new pull request #297:
URL: https://github.com/apache/skywalking-rocketbot-ui/pull/297


   Use new metrics system and custom configurations in dashboard
   
   **screenshots**
   
   ![屏幕快照 2020-05-22 上午11 25 25](https://user-images.githubusercontent.com/20871783/82628812-71c76180-9c20-11ea-819f-d97ac911e847.png)
   ![屏幕快照 2020-05-22 上午11 37 45](https://user-images.githubusercontent.com/20871783/82628890-b226df80-9c20-11ea-8386-c18c710ab881.png)
   ![屏幕快照 2020-05-22 上午11 25 40](https://user-images.githubusercontent.com/20871783/82628818-74c25200-9c20-11ea-9861-2f7b154f6239.png)
   ![屏幕快照 2020-05-22 上午11 26 36](https://user-images.githubusercontent.com/20871783/82628822-77bd4280-9c20-11ea-94e1-69068b4ca8ba.png)
   ![屏幕快照 2020-05-22 上午11 49 46](https://user-images.githubusercontent.com/20871783/82629453-5d846400-9c22-11ea-9868-08f34de96d72.png)
   ![屏幕快照 2020-05-22 上午11 47 25](https://user-images.githubusercontent.com/20871783/82629462-607f5480-9c22-11ea-817e-2519936352c5.png)
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking-rocketbot-ui] wu-sheng commented on pull request #297: Feat: New metrics and custom configurations in dashboard

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on pull request #297:
URL: https://github.com/apache/skywalking-rocketbot-ui/pull/297#issuecomment-632687670


   I am doing the offline test and DM with @Fine0830. Polish this PR, and make it suitable for more people to test.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking-rocketbot-ui] wu-sheng commented on pull request #297: Feat: New metrics and custom configurations in dashboard

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on pull request #297:
URL: https://github.com/apache/skywalking-rocketbot-ui/pull/297#issuecomment-632734364


   SortedMetrics doesn't show the name correctly.
   ![image](https://user-images.githubusercontent.com/5441976/82680651-2abc8900-9c7f-11ea-95c1-7363452936e9.png)
   
   In the `SelectedRecord`, you should display like this. Copy should follow the same logic.
   1. name, if ref-id is empty.
   1. name - ref-id, if ref-id is not empty.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking-rocketbot-ui] wu-sheng commented on pull request #297: Feat: New metrics and custom configurations in dashboard

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on pull request #297:
URL: https://github.com/apache/skywalking-rocketbot-ui/pull/297#issuecomment-632732736


   Height config is only working like before,
   
   ![image](https://user-images.githubusercontent.com/5441976/82680255-98b48080-9c7e-11ea-9090-ea2134106cce.png)
   ![image](https://user-images.githubusercontent.com/5441976/82680341-b550b880-9c7e-11ea-9e44-1f0cb6c53904.png)
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking-rocketbot-ui] Fine0830 commented on pull request #297: Feat: New metrics and custom configurations in dashboard

Posted by GitBox <gi...@apache.org>.
Fine0830 commented on pull request #297:
URL: https://github.com/apache/skywalking-rocketbot-ui/pull/297#issuecomment-635118520


   > Could you change all the config keys in full names? From my reading, they were using one char only, and your new keys are correct.
   > 
   > ![image](https://user-images.githubusercontent.com/5441976/83087576-2c91ac80-a0c4-11ea-958d-a850ff4ead84.png)
   
   There are templates of dashboard and topology
   https://github.com/Fine0830/skywalking-rocketbot-ui/tree/feat/dashboard/src/template


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking-rocketbot-ui] wu-sheng commented on pull request #297: Feat: New metrics and custom configurations in dashboard

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on pull request #297:
URL: https://github.com/apache/skywalking-rocketbot-ui/pull/297#issuecomment-632964542


   Add a new option `all services`
   
   ![image](https://user-images.githubusercontent.com/5441976/82718970-d0e8ad00-9cd8-11ea-8cf6-d61d68c812bf.png)
   
   This is a frontend logic, once selected, use all services from the selector(common or self) to query metrics and list in the graph.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking-rocketbot-ui] wu-sheng commented on pull request #297: Feat: New metrics and custom configurations in dashboard

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on pull request #297:
URL: https://github.com/apache/skywalking-rocketbot-ui/pull/297#issuecomment-632733545


   Miss readSampledRecords type. `top_n_database_statement`'s metrics type is `SAMPLED_RECORD`
   
   ![image](https://user-images.githubusercontent.com/5441976/82680461-df09df80-9c7e-11ea-8ac0-3a67913a6e79.png)
   
   ![image](https://user-images.githubusercontent.com/5441976/82680559-05c81600-9c7f-11ea-9815-683ede9edb01.png)
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking-rocketbot-ui] wu-sheng commented on pull request #297: Feat: New metrics and custom configurations in dashboard

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on pull request #297:
URL: https://github.com/apache/skywalking-rocketbot-ui/pull/297#issuecomment-632731597


   Changing query type from avg value to all values doesn't work. Don't know why.
   
   ![image](https://user-images.githubusercontent.com/5441976/82680128-6c98ff80-9c7e-11ea-9051-9f8015602525.png)
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking-rocketbot-ui] wu-sheng edited a comment on pull request #297: Feat: New metrics and custom configurations in dashboard

Posted by GitBox <gi...@apache.org>.
wu-sheng edited a comment on pull request #297:
URL: https://github.com/apache/skywalking-rocketbot-ui/pull/297#issuecomment-634638312


   This PR is much better now, I think we left the following things to improve
   1. Apdex and SLA seem still hiding some default calculation. Such as, `apdex=10000` means 1.0 at the front page, but now, even no calculation rule is set, the value is still correct. SLA has a similar case. Please cross-check the codes.
   1. The linear graph type is not configurable, but SLA has the bar graph, but others are linear. I think we should open an option about this, for `get all values` and `get all values of labels`.
   1. `All entities(max 30)` should be an option(true or false, default no selected) when `Entity type = service or instance` and metrics query is `get all values`. When clicked, all items in the common selector should be queried and visualized in the current graph. (This is important for @hanahmily 's Prometheus integration, and an important feature as we have removed the comparison view. NOTICE, `max 30` is for avoiding overload when there are 100+ entities. The graph will be a disaster.
   1. Separate the service/instance/endpoint dashboard config in the topology pop up page, from the real dashboard. FYI @apache/skywalking-committers, I will add a new GraphQL query to make the backend provide the default configurations for both dashboard and topology pop up page.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking-rocketbot-ui] wu-sheng commented on pull request #297: Feat: New metrics and custom configurations in dashboard

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on pull request #297:
URL: https://github.com/apache/skywalking-rocketbot-ui/pull/297#issuecomment-632964926


   The unit doesn't set up right. 
   
   ![image](https://user-images.githubusercontent.com/5441976/82719023-5704f380-9cd9-11ea-8409-3880b91fe025.png)
   
   I think we should remove the hard code somewhere.  And ask user to set up in the metrics title like this.
   ![image](https://user-images.githubusercontent.com/5441976/82719039-8b78af80-9cd9-11ea-981a-d0e60348a1f2.png)
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking-rocketbot-ui] wu-sheng edited a comment on pull request #297: Feat: New metrics and custom configurations in dashboard

Posted by GitBox <gi...@apache.org>.
wu-sheng edited a comment on pull request #297:
URL: https://github.com/apache/skywalking-rocketbot-ui/pull/297#issuecomment-632741685


   One key point, we shouldn't/can't hard code anything about any metrics because in the case of the metric, we can't expect which metrics they will generate, and what is the meaning. The only one who knows that is the end-user.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking-rocketbot-ui] wu-sheng commented on pull request #297: Feat: New metrics and custom configurations in dashboard

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on pull request #297:
URL: https://github.com/apache/skywalking-rocketbot-ui/pull/297#issuecomment-634638312


   This PR is much better now, I think we left the following things to improve
   1. Apdex and SLA seem still hiding some default calculation. Such as, `apdex=10000` means 1.0 at the front page, but now, even no calculation rule is set, the value is still correct. SLA has a similar case. Please cross-check the codes.
   1. The linear graph type is not configurable, but SLA has the bar graph, but others are linear. I think we should open an option about this, for `get all values` and `get all values of labels`.
   1. Separate the service/instance/endpoint dashboard config in the topology pop up page, from the real dashboard. FYI @apache/skywalking-committers, I will add a new GraphQL query to make the backend provide the default configurations for both dashboard and topology pop up page.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking-rocketbot-ui] wu-sheng commented on pull request #297: Feat: New metrics and custom configurations in dashboard

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on pull request #297:
URL: https://github.com/apache/skywalking-rocketbot-ui/pull/297#issuecomment-632741685


   One key point, we should/can't hard code anything about any metrics because in the case of the metric, we can't expect which metrics they will generate, and what is the meaning. The only one who knows that is the end-user.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking-rocketbot-ui] wu-sheng edited a comment on pull request #297: Feat: New metrics and custom configurations in dashboard

Posted by GitBox <gi...@apache.org>.
wu-sheng edited a comment on pull request #297:
URL: https://github.com/apache/skywalking-rocketbot-ui/pull/297#issuecomment-632731224


   The multiple metrics linear visualization doesn't show the correct backend result. 
   ![image](https://user-images.githubusercontent.com/5441976/82680068-58ed9900-9c7e-11ea-9fea-2576976680d6.png)
   
   ![image](https://user-images.githubusercontent.com/5441976/82680005-44a99c00-9c7e-11ea-8deb-47b7740cdd58.png)
   
   Also, there are not metrics simple calculations, such as `$value / 1000` to format the value in a more reasonable way. 
   But once you don't have this, how do you make the successful rate look right, which should not be right. Do you hard code anything? Otherwise, we should show 10000, because the backend query returns 10000.
   ![image](https://user-images.githubusercontent.com/5441976/82681245-1927b100-9c80-11ea-9400-fede5a900b9e.png)
   ![image](https://user-images.githubusercontent.com/5441976/82681326-365c7f80-9c80-11ea-85f0-f999c97f03d4.png)
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking-rocketbot-ui] wu-sheng edited a comment on pull request #297: Feat: New metrics and custom configurations in dashboard

Posted by GitBox <gi...@apache.org>.
wu-sheng edited a comment on pull request #297:
URL: https://github.com/apache/skywalking-rocketbot-ui/pull/297#issuecomment-634638312


   This PR is much better now, I think we left the following things to improve
   1. Apdex and SLA seem still hiding some default calculation. Such as, `apdex=10000` means 1.0 at the front page, but now, even no calculation rule is set, the value is still correct. SLA has a similar case. Please cross-check the codes.
   1. The linear graph type is not configurable, but SLA has the bar graph, but others are linear. I think we should open an option about this, for `get all values` and `get all values of labels`.
   1. `All services` and `All instances` should be two options in the `Entity type` selector for `get all values` and `get all values of labels` too. When those two clicked, all items in the common selector should be queried and visualized in the current graph. (This is important for @hanahmily 's prometheus integration, and an important feature as we have removed the comparison view.
   1. Separate the service/instance/endpoint dashboard config in the topology pop up page, from the real dashboard. FYI @apache/skywalking-committers, I will add a new GraphQL query to make the backend provide the default configurations for both dashboard and topology pop up page.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking-rocketbot-ui] wu-sheng commented on pull request #297: Feat: New metrics and custom configurations in dashboard

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on pull request #297:
URL: https://github.com/apache/skywalking-rocketbot-ui/pull/297#issuecomment-632730455


   ![image](https://user-images.githubusercontent.com/5441976/82679907-26dc3700-9c7e-11ea-92bf-f56bb732a9b0.png)
   Service list on the standard APM page is not right.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking-rocketbot-ui] wu-sheng edited a comment on pull request #297: Feat: New metrics and custom configurations in dashboard

Posted by GitBox <gi...@apache.org>.
wu-sheng edited a comment on pull request #297:
URL: https://github.com/apache/skywalking-rocketbot-ui/pull/297#issuecomment-634638312


   This PR is much better now, I think we left the following things to improve
   1. Apdex and SLA seem still hiding some default calculation. Such as, `apdex=10000` means 1.0 at the front page, but now, even no calculation rule is set, the value is still correct. SLA has a similar case. Please cross-check the codes.
   1. The linear graph type is not configurable, but SLA has the bar graph, but others are linear. I think we should open an option about this, for `get all values` and `get all values of labels`.
   1. `All services` and `All instances` should be two options in the `Entity type` selector for `get all values` and `get all values of labels` too. When clicked, all items in the common selector should be queried and visualized in the current graph. (This is important for @hanahmily 's prometheus integration, and an important feature as we have removed the comparison view.
   1. Separate the service/instance/endpoint dashboard config in the topology pop up page, from the real dashboard. FYI @apache/skywalking-committers, I will add a new GraphQL query to make the backend provide the default configurations for both dashboard and topology pop up page.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking-rocketbot-ui] wu-sheng commented on pull request #297: Feat: New metrics and custom configurations in dashboard

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on pull request #297:
URL: https://github.com/apache/skywalking-rocketbot-ui/pull/297#issuecomment-634049566






----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking-rocketbot-ui] wu-sheng commented on pull request #297: Feat: New metrics and custom configurations in dashboard

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on pull request #297:
URL: https://github.com/apache/skywalking-rocketbot-ui/pull/297#issuecomment-632731224


   The multiple metrics linear visualization doesn't show the correct backend result. 
   ![image](https://user-images.githubusercontent.com/5441976/82680068-58ed9900-9c7e-11ea-9fea-2576976680d6.png)
   
   ![image](https://user-images.githubusercontent.com/5441976/82680005-44a99c00-9c7e-11ea-8deb-47b7740cdd58.png)
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking-rocketbot-ui] wu-sheng edited a comment on pull request #297: Feat: New metrics and custom configurations in dashboard

Posted by GitBox <gi...@apache.org>.
wu-sheng edited a comment on pull request #297:
URL: https://github.com/apache/skywalking-rocketbot-ui/pull/297#issuecomment-634638312


   This PR is much better now, I think we left the following things to improve
   1. The linear graph type is not configurable, but SLA has the bar graph, but others are linear. I think we should open an option about this, for `get all values` and `get all values of labels`.
   1. `All entities(max 30)` should be an option(true or false, default no selected) when `Entity type = service or instance` and metrics query is `get all values`. When clicked, all items in the common selector should be queried and visualized in the current graph. (This is important for @hanahmily 's Prometheus integration, and an important feature as we have removed the comparison view. NOTICE, `max 30` is for avoiding overload when there are 100+ entities. The graph will be a disaster.
   1. Separate the service/instance/endpoint dashboard config in the topology pop up page, from the real dashboard. FYI @apache/skywalking-committers, I will add a new GraphQL query to make the backend provide the default configurations for both dashboard and topology pop up page.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking-rocketbot-ui] wu-sheng edited a comment on pull request #297: Feat: New metrics and custom configurations in dashboard

Posted by GitBox <gi...@apache.org>.
wu-sheng edited a comment on pull request #297:
URL: https://github.com/apache/skywalking-rocketbot-ui/pull/297#issuecomment-634638312


   This PR is much better now, I think we left the following things to improve
   1. The linear graph type is not configurable, but SLA has the bar graph, but others are linear. I think we should open an option about this, for `get all values` and `get all values of labels`. I have noticed, you have `ChartBar` and `ChartLine` on the JSON format.
   1. `All entities(max 30)` should be an option(true or false, default no selected) when `Entity type = service or instance` and metrics query is `get all values`. When clicked, all items in the common selector should be queried and visualized in the current graph. (This is important for @hanahmily 's Prometheus integration, and an important feature as we have removed the comparison view. NOTICE, `max 30` is for avoiding overload when there are 100+ entities. The graph will be a disaster.
   1. Separate the service/instance/endpoint dashboard config in the topology pop up page, from the real dashboard. FYI @apache/skywalking-committers, I will add a new GraphQL query to make the backend provide the default configurations for both dashboard and topology pop up page.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking-rocketbot-ui] Fine0830 commented on pull request #297: Feat: New metrics and custom configurations in dashboard

Posted by GitBox <gi...@apache.org>.
Fine0830 commented on pull request #297:
URL: https://github.com/apache/skywalking-rocketbot-ui/pull/297#issuecomment-635124393


   > @Fine0830 I think all names should be full names, including topology template.
   
   All of key names? If that, Yes, they are full names.
   <img width="485" alt="123" src="https://user-images.githubusercontent.com/20871783/83104653-c28cfd80-a0eb-11ea-8619-1e25ccbac55d.png">
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking-rocketbot-ui] wu-sheng commented on pull request #297: Feat: New metrics and custom configurations in dashboard

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on pull request #297:
URL: https://github.com/apache/skywalking-rocketbot-ui/pull/297#issuecomment-632737036


   Every time, when I can't the component config, and close the config page. I have to refresh the browser page, otherwise, most likely, the change wouldn't take effect.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking-rocketbot-ui] wu-sheng commented on a change in pull request #297: Feat: New metrics and custom configurations in dashboard

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on a change in pull request #297:
URL: https://github.com/apache/skywalking-rocketbot-ui/pull/297#discussion_r429291032



##########
File path: src/views/components/dashboard/dashboard-item.vue
##########
@@ -93,7 +93,7 @@ limitations under the License. -->
         };
       }
       if (!this.itemConfig.metricLabels && this.itemConfig.metricType === MetricsType.LABELED_VALUE) {
-        this.EDIT_COMP_CONFIG({ index: this.index, values: { metricLabels: 'p50, p75, p90, p95, p99' } });
+        this.EDIT_COMP_CONFIG({ index: this.index, values: { metricLabels: PercentileLabels } });

Review comment:
       This change is not right. The display should configure through UI by the end-users. Because label query covers more use cases than percentile.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking-rocketbot-ui] wu-sheng commented on pull request #297: Feat: New metrics and custom configurations in dashboard

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on pull request #297:
URL: https://github.com/apache/skywalking-rocketbot-ui/pull/297#issuecomment-632964143


   We need to add a static filter here, once user set this, use `searchServices` rather than `getAllServices` to get service list.
   ![image](https://user-images.githubusercontent.com/5441976/82718936-8ebf6b80-9cd8-11ea-996c-34bc0f0e0a27.png)
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking-rocketbot-ui] wu-sheng commented on pull request #297: Feat: New metrics and custom configurations in dashboard

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on pull request #297:
URL: https://github.com/apache/skywalking-rocketbot-ui/pull/297#issuecomment-635034168


   Could you change all the config keys in full names?  From my reading, they were using one char only, and your new keys are correct.
   
   ![image](https://user-images.githubusercontent.com/5441976/83087576-2c91ac80-a0c4-11ea-958d-a850ff4ead84.png)
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking-rocketbot-ui] wu-sheng edited a comment on pull request #297: Feat: New metrics and custom configurations in dashboard

Posted by GitBox <gi...@apache.org>.
wu-sheng edited a comment on pull request #297:
URL: https://github.com/apache/skywalking-rocketbot-ui/pull/297#issuecomment-634638312


   This PR is much better now, I think we left the following things to improve
   1. Apdex and SLA seem still hiding some default calculation. Such as, `apdex=10000` means 1.0 at the front page, but now, even no calculation rule is set, the value is still correct. SLA has a similar case. Please cross-check the codes.
   1. The linear graph type is not configurable, but SLA has the bar graph, but others are linear. I think we should open an option about this, for `get all values` and `get all values of labels`.
   1. `All entities(max 30)` should be an option when `Entity type = service or instance` and metrics query is `get all values`. When clicked, all items in the common selector should be queried and visualized in the current graph. (This is important for @hanahmily 's Prometheus integration, and an important feature as we have removed the comparison view. NOTICE, `max 30` is for avoiding overload when there are 100+ entities. The graph will be a disaster.
   1. Separate the service/instance/endpoint dashboard config in the topology pop up page, from the real dashboard. FYI @apache/skywalking-committers, I will add a new GraphQL query to make the backend provide the default configurations for both dashboard and topology pop up page.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking-rocketbot-ui] wu-sheng commented on pull request #297: Feat: New metrics and custom configurations in dashboard

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on pull request #297:
URL: https://github.com/apache/skywalking-rocketbot-ui/pull/297#issuecomment-635119257


   @Fine0830 I think all names should be full names, including topology template.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking-rocketbot-ui] wu-sheng edited a comment on pull request #297: Feat: New metrics and custom configurations in dashboard

Posted by GitBox <gi...@apache.org>.
wu-sheng edited a comment on pull request #297:
URL: https://github.com/apache/skywalking-rocketbot-ui/pull/297#issuecomment-632964542


   Add a new option `all services`
   
   ![image](https://user-images.githubusercontent.com/5441976/82718970-d0e8ad00-9cd8-11ea-8cf6-d61d68c812bf.png)
   
   This is a frontend logic, once selected, use all services from the selector(common or self) to query metrics and list in the graph. This option could work for `read avg value` and `read all values` in REGULAR_VALUE and LABELED_VALUE metrics. `REGULAR_VALUE` + `read all values` option has a higher priority. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org