V9 upgrade
Starting from v9, SkyWalking introduces the new core concept Layer. A layer represents an abstract framework in computer science, such as Operating System(OS_LINUX layer), Kubernetes(k8s layer). This kind of layer would be catalogs on the new booster UI of various services/instances detected by different technologies. The query-protocol metadata-v2 has been used. The compatibility with previous releases is as below.
Query compatibility from previous version
- The query-protocol metadata-v1 is provided on the top of the v2 implementation.
- All metrics are compatible with the previous data format, so you wouldn’t lose metrics.
Notice Incompatibility (1), the UI template configuration protocol is incompatible.
Incompatibility
- The UI configuration protocol has been changed by following the design of new booster UI. So, the RocketBot UI can’t work with the v9 backend. You need to remove
ui_template
index/template/table in your chosen storage, and reboot OAP indefault
orinit
mode. - MAL: metric level function add an required argument
Layer
. Previous MAL expressions should add this argument. - LAL: Extractor add function
layer
. If don’t set it manual, the default layer isGENERAL
and the logs fromALS
the default layer ismesh
. - Storage:Add
service_id
,short_name
andlayer
columns to tableServiceTraffic
. These data would be incompatible with previous versions. Make sure to remove the olderServiceTraffic
table before OAP(v9) starts. OAP would generate the new table in the start procedure, and recreate all existing services when traffic comes. Since V9.1, SQL Database: moveTags list
fromSegment
,Logs
,Alarms
to their additional tables, remove them before OAP starts. - UI-template: Re-design for V9. Make sure to remove the older
ui_template
table before OAP(v9) starts.