Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How Skywalking 8 enables custom Dashboard and persists

2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

Skywalking 8 how to enable custom Dashboard and persistence, this article describes in detail the corresponding analysis and solutions, hoping to help more partners who want to solve this problem to find a more simple and easy way.

Add a large screen view:

The Dashboard added manually here is not persisted to the back-end storage, but is saved to the browser's local cache.

When the addition is complete, export the json. The contents are as follows:

[{"name": "SLA Overview", "type": "metric", "children": [{"name": "Overview", "children": [{"width": 3, "title": "Service Summary", "height": 350 "entityType": "All", "independentSelector": true, "metricType": "REGULAR_VALUE", "metricName": "service_sla", "queryMetricType": "readMetricsValue", "chartType": "ChartNum" "aggregation": "/", "aggregationNum": "100"," unit ":"% "}, {" width ":" 9 "," title ":" Service Overview " "height": "1000", "entityType": "Service", "independentSelector": true, "metricType": "REGULAR_VALUE", "metricName": "service_sla", "queryMetricType": "sortMetrics" "chartType": "ChartSlow", "topN": "100,100", "sortOrder": "ASC", "unit": "%", "aggregation": "/" "aggregationNum": "100"}] persistence operation

I am currently using elasticsearch7. Modify config/ui-initialized-templates.yml in oap server.

Add on the last line:

-name: SLA Overview configuration:-[{"name": "SLA Overview", "type": "metric", "children": [{"name": "Overview", "children": [{"width": 3, "title": "Service Summary", "height": 350, "entityType": "All", "independentSelector": true, "metricType": "REGULAR_VALUE", "metricName": "service_sla", "queryMetricType": "readMetricsValue", "chartType": "ChartNum" "aggregation": "/", "aggregationNum": "100"," unit ":"% "}, {" width ":" 9 "," title ":" Service Overview "," height ":" 1000 "," entityType ":" Service "," independentSelector ": true," metricType ":" REGULAR_VALUE "," metricName ":" service_sla "," queryMetricType ":" sortMetrics "," chartType ":" ChartSlow "," topN ":" 100 "," sortOrder ":" ASC "," unit ":"% " "aggregation": "/", "aggregationNum": "100"}] activated: true disabled: false

Rebooting oap server,oap server after the addition will persist these configurations into elasticsearch 7. We can query the specific index through kibana:

This is the answer to the question about how Skywalking 8 enables custom Dashboard and persistence. I hope the above content can be of some help to you. If you still have a lot of questions to solve, you can follow the industry information channel for more related knowledge.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report