/
service_type.go
203 lines (154 loc) · 4.31 KB
/
service_type.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
package util
var ServiceType map[int]string
func init() {
ServiceType = make(map[int]string)
// activemq.client
ServiceType[8310] = "ACTIVEMQ_CLIENT"
ServiceType[8311] = "ACTIVEMQ_CLIENT_INTERNAL"
// akka.http
ServiceType[1310] = "AKKA_HTTP_SERVER"
ServiceType[9998] = "1311"
// arcus
ServiceType[8100] = "ARCUS"
ServiceType[8101] = "ARCUS_FUTURE_GET"
ServiceType[8102] = "ARCUS_EHCACHE_FUTURE_GET"
ServiceType[8103] = "ARCUS_INTERNAL"
ServiceType[8050] = "MEMCACHED"
ServiceType[8051] = "MEMCACHED_FUTURE_GET"
// cassandra
ServiceType[2600] = "CASSANDRA"
ServiceType[2601] = "CASSANDRA_EXECUTE_QUERY"
// cubrid
ServiceType[2400] = "CUBRID"
ServiceType[2401] = "CUBRID_EXECUTE_QUERY"
// cxf
ServiceType[9080] = "CXF_CLIENT"
// dbcp
ServiceType[6050] = "DBCP"
// dbcp2
ServiceType[6052] = "DBCP2"
// dubbo
ServiceType[1110] = "DUBBO_PROVIDER"
ServiceType[9110] = "DUBBO_CONSUMER"
ServiceType[9111] = "DUBBO"
// httpclient
ServiceType[9054] = "GOOGLE_HTTP_CLIENT_INTERNAL"
// gson
ServiceType[5010] = "GSON"
// hikaricp
ServiceType[6060] = "HIKARICP"
// httpclient3
ServiceType[9050] = "HTTP_CLIENT_3"
// httpclient4
ServiceType[9052] = "HTTP_CLIENT_4"
ServiceType[9053] = "HTTP_CLIENT_4_INTERNAL"
// hystrix
ServiceType[9120] = "HYSTRIX_COMMAND"
ServiceType[9121] = "HYSTRIX_COMMAND_INTERNAL"
// ibatis
ServiceType[5500] = "IBATIS"
ServiceType[5501] = "IBATIS_SPRING"
// jackson
ServiceType[5011] = "JACKSON"
// jboss
ServiceType[1040] = "JBOSS"
ServiceType[1041] = "JBOSS_METHOD"
// jdk.http
ServiceType[9055] = "JDK_HTTPURLCONNECTOR"
// jetty
ServiceType[1030] = "JETTY"
ServiceType[1031] = "JETTY_METHOD"
// json_lib
ServiceType[5012] = "JSON-LIB"
// jsp
ServiceType[5005] = "JSP"
// jtds
ServiceType[2200] = "MSSQLSERVER"
ServiceType[2201] = "MSSQL_EXECUTE_QUERY"
// kafka
ServiceType[8660] = "KAFKA_CLIENT"
ServiceType[8661] = "KAFKA_CLIENT_INTERNAL"
// mariadb
ServiceType[2150] = "MARIADB"
ServiceType[2151] = "MARIADB_EXECUTE_QUERY"
// mybatis
ServiceType[5510] = "MYBATIS"
// mysql
ServiceType[2100] = "MYSQL"
ServiceType[2101] = "MYSQL_EXECUTE_QUERY"
// netty
ServiceType[9150] = "NETTY"
ServiceType[9151] = "NETTY_INTERNAL"
ServiceType[9152] = "NETTY_HTTP"
// asynchttpclient
ServiceType[9056] = "ASYNC_HTTP_CLIENT"
ServiceType[9057] = "ASYNC_HTTP_CLIENT_INTERNAL"
// okhttp
ServiceType[9058] = "OK_HTTP_CLIENT"
ServiceType[9059] = "OK_HTTP_CLIENT_INTERNAL"
// oracle
ServiceType[2300] = "ORACLE"
ServiceType[2301] = "ORACLE_EXECUTE_QUERY"
// php
ServiceType[1500] = "PHP"
ServiceType[1501] = "PHP_METHOD"
ServiceType[9700] = "PHP_REMOTE_METHOD"
// postgresql
ServiceType[1500] = "PHP"
ServiceType[1501] = "PHP_METHOD"
ServiceType[9700] = "PHP_REMOTE_METHOD"
// php
ServiceType[1500] = "PHP"
ServiceType[1501] = "PHP_METHOD"
ServiceType[9700] = "PHP_REMOTE_METHOD"
// postgresql
ServiceType[2500] = "POSTGRESQL"
ServiceType[2501] = "POSTGRESQL_EXECUTE_QUERY"
// rabbitmq.client
ServiceType[8300] = "RABBITMQ_CLIENT"
ServiceType[8301] = "RABBITMQ_CLIENT_INTERNAL"
// redis
ServiceType[8200] = "REDIS"
// resin
ServiceType[1200] = "RESIN"
ServiceType[1201] = "RESIN_METHOD"
// resttemplate
ServiceType[9140] = "REST_TEMPLATE"
// rxjava
ServiceType[6500] = "RX_JAVA"
ServiceType[6501] = "RX_JAVA_INTERNAL"
// spring.beans
ServiceType[5071] = "SPRING_BEAN"
// spring.async
ServiceType[5052] = "SPRING_ASYNC"
// spring.web
ServiceType[5051] = "SPRING_MVC"
// spring.boot
ServiceType[1210] = "NAME"
ServiceType[1100] = "THRIFT_SERVER"
ServiceType[9100] = "THRIFT_CLIENT"
ServiceType[1101] = "THRIFT_SERVER_INTERNAL"
ServiceType[9101] = "THRIFT_CLIENT_INTERNAL"
// tomcat
ServiceType[1010] = "TOMCAT"
ServiceType[1011] = "TOMCAT_METHOD"
// tomcat
ServiceType[1010] = "TOMCAT"
ServiceType[1011] = "TOMCAT_METHOD"
// undertow
ServiceType[1120] = "UNDERTOW"
ServiceType[1121] = "UNDERTOW_METHOD"
// vertx
ServiceType[1050] = "VERTX"
ServiceType[1051] = "VERTX_INTERNAL"
ServiceType[1052] = "VERTX_HTTP_SERVER"
ServiceType[1053] = "VERTX_HTTP_SERVER_INTERNAL"
ServiceType[9130] = "VERTX_HTTP_CLIENT"
ServiceType[9131] = "VERTX_HTTP_CLIENT_INTERNAL"
// weblogic
ServiceType[1070] = "WEBLOGIC"
ServiceType[1071] = "WEBLOGIC_METHOD"
// weblogic
ServiceType[1060] = "WEBSPHERE"
ServiceType[1061] = "WEBSPHERE_METHOD"
}