supeng 3 months ago
parent
commit
36c9690aa5
2 changed files with 8 additions and 8 deletions
  1. 2 2
      gateway/gateway_config.py
  2. 6 6
      longvideoapi/longvideoapi_config.py

+ 2 - 2
gateway/gateway_config.py

@@ -74,7 +74,7 @@ instance_config_j_alb = {
     # 密钥
     'key_pair_name': 'stuuudy',
     # tag
-    'tags': [{"Key": "ecs", "Value": "gateway.prod"}]
+    'tags': [{"Key": "ecs", "Value": "gateway.prod"},{"Key": "o11y.aliyun.dev/prod", "Value": "gateway"}]
 }
 
 
@@ -98,7 +98,7 @@ instance_config_j_clb = {
     # 密钥
     'key_pair_name': 'stuuudy',
     # tag
-    'tags': [{"Key": "ecs", "Value": "gateway.prod"}]
+    'tags': [{"Key": "ecs", "Value": "gateway.prod"},{"Key": "o11y.aliyun.dev/prod", "Value": "gateway"}]
 }
 
 

+ 6 - 6
longvideoapi/longvideoapi_config.py

@@ -49,7 +49,7 @@ instance_config = {
     # 密钥
     'key_pair_name': 'stuuudy',
     # tag
-    'tags': [{"Key": "ecs", "Value": "longvideoapi.prod"}]
+    'tags': [{"Key": "ecs", "Value": "longvideoapi.prod"},{"Key": "o11y.aliyun.dev/prod", "Value": "longvideoapi"}]
 }
 
 # 机器配置_hangzhou_i
@@ -73,7 +73,7 @@ instance_config_i = {
     # 密钥
     'key_pair_name': 'stuuudy',
     # tag
-    'tags': [{"Key": "ecs", "Value": "longvideoapi.prod"}]
+    'tags': [{"Key": "ecs", "Value": "longvideoapi.prod"},{"Key": "o11y.aliyun.dev/prod", "Value": "longvideoapi"}]
 }
 
 # 机器配置_hangzhou_g
@@ -97,7 +97,7 @@ instance_config_g = {
     # 密钥
     'key_pair_name': 'stuuudy',
     # tag
-    'tags': [{"Key": "ecs", "Value": "longvideoapi.prod"}]
+    'tags': [{"Key": "ecs", "Value": "longvideoapi.prod"},{"Key": "o11y.aliyun.dev/prod", "Value": "longvideoapi"}]
 }
 
 # 机器配置_hangzhou_j
@@ -121,7 +121,7 @@ instance_config_j = {
     # 密钥
     'key_pair_name': 'stuuudy',
     # tag
-    'tags': [{"Key": "ecs", "Value": "longvideoapi.prod"}]
+    'tags': [{"Key": "ecs", "Value": "longvideoapi.prod"},{"Key": "o11y.aliyun.dev/prod", "Value": "longvideoapi"}]
 }
 
 # 机器配置_hangzhou_k
@@ -145,7 +145,7 @@ instance_config_k = {
     # 密钥
     'key_pair_name': 'stuuudy',
     # tag
-    'tags': [{"Key": "ecs", "Value": "longvideoapi.prod"}]
+    'tags': [{"Key": "ecs", "Value": "longvideoapi.prod"},{"Key": "o11y.aliyun.dev/prod", "Value": "longvideoapi"}]
 }
 
 # 机器配置_hangzhou_k alb
@@ -169,7 +169,7 @@ instance_config_k_alb = {
     # 密钥
     'key_pair_name': 'stuuudy',
     # tag
-    'tags': [{"Key": "ecs", "Value": "longvideoapi.prod"}]
+    'tags': [{"Key": "ecs", "Value": "longvideoapi.prod"},{"Key": "o11y.aliyun.dev/prod", "Value": "longvideoapi"}]
 }