Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
apache
SkyWalking
提交
118ba3b5
S
SkyWalking
项目概览
apache
/
SkyWalking
上一次同步 1 年多
通知
302
Star
21345
Fork
6091
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
SkyWalking
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
118ba3b5
编写于
4月 07, 2022
作者:
K
kezhenxu94
提交者:
GitHub
4月 07, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix wrong example in doc, sync Python E2E version and adjust E2E (#8751)
* Fix wrong example in doc, sync Python E2E version and adjust E2E
上级
1133f3ad
变更
14
隐藏空白更改
内联
并排
Showing
14 changed file
with
22 addition
and
21 deletion
+22
-21
docs/en/protocols/HTTP-API-Protocol.md
docs/en/protocols/HTTP-API-Protocol.md
+5
-5
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/query/enumeration/Language.java
...kywalking/oap/server/core/query/enumeration/Language.java
+1
-1
oap-server/server-receiver-plugin/envoy-metrics-receiver-plugin/src/main/java/org/apache/skywalking/oap/server/receiver/envoy/als/k8s/K8SServiceRegistry.java
...oap/server/receiver/envoy/als/k8s/K8SServiceRegistry.java
+2
-2
oap-server/server-receiver-plugin/envoy-metrics-receiver-plugin/src/main/java/org/apache/skywalking/oap/server/receiver/envoy/als/k8s/KubernetesNodeRegistry.java
...server/receiver/envoy/als/k8s/KubernetesNodeRegistry.java
+1
-1
pom.xml
pom.xml
+1
-0
test/e2e-v2/cases/nodejs/expected/service-instance-consumer-nodejs.yml
...ases/nodejs/expected/service-instance-consumer-nodejs.yml
+1
-1
test/e2e-v2/cases/nodejs/expected/service-instance-provider-nodejs.yml
...ases/nodejs/expected/service-instance-provider-nodejs.yml
+1
-1
test/e2e-v2/cases/python/Dockerfile.python
test/e2e-v2/cases/python/Dockerfile.python
+1
-1
test/e2e-v2/cases/python/consumer.py
test/e2e-v2/cases/python/consumer.py
+1
-1
test/e2e-v2/cases/python/expected/service-instance-consumer-py.yml
...v2/cases/python/expected/service-instance-consumer-py.yml
+1
-1
test/e2e-v2/cases/python/expected/service-instance-provider-py-kafka.yml
...es/python/expected/service-instance-provider-py-kafka.yml
+1
-1
test/e2e-v2/cases/python/expected/service-instance-provider-py.yml
...v2/cases/python/expected/service-instance-provider-py.yml
+1
-1
test/e2e-v2/cases/python/expected/trace-test-detail.yml
test/e2e-v2/cases/python/expected/trace-test-detail.yml
+4
-4
test/e2e-v2/script/env
test/e2e-v2/script/env
+1
-1
未找到文件。
docs/en/protocols/HTTP-API-Protocol.md
浏览文件 @
118ba3b5
...
...
@@ -17,9 +17,9 @@ Input:
{
"service"
:
"User Service Name"
,
"serviceInstance"
:
"User Service Instance Name"
,
"properties"
:
[
{
"language"
:
"Lua"
}
]
"properties"
:
[
{
"key"
:
"language"
,
"value"
:
"Lua"
}
]
}
```
...
...
@@ -97,7 +97,7 @@ Input:
}
```
OutPut:
```
json
```
...
...
@@ -180,7 +180,7 @@ Input:
}]
```
OutPut:
```
json
```
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/query/enumeration/Language.java
浏览文件 @
118ba3b5
...
...
@@ -22,7 +22,7 @@ public enum Language {
UNKNOWN
,
JAVA
,
DOTNET
,
NODEJS
,
PYTHON
,
RUBY
,
GO
,
LUA
,
PHP
;
public
static
Language
value
(
String
language
)
{
switch
(
language
)
{
switch
(
language
.
toLowerCase
()
)
{
case
"java"
:
return
Language
.
JAVA
;
case
".net"
:
...
...
oap-server/server-receiver-plugin/envoy-metrics-receiver-plugin/src/main/java/org/apache/skywalking/oap/server/receiver/envoy/als/k8s/K8SServiceRegistry.java
浏览文件 @
118ba3b5
...
...
@@ -64,9 +64,9 @@ public class K8SServiceRegistry {
protected
final
ServiceNameFormatter
serviceNameFormatter
;
pr
ivate
final
EnvoyMetricReceiverConfig
config
;
pr
otected
final
KubernetesNodeRegistry
nodeRegistry
;
private
final
KubernetesNodeRegistry
nodeRegistry
;
private
final
EnvoyMetricReceiverConfig
config
;
public
K8SServiceRegistry
(
final
EnvoyMetricReceiverConfig
config
)
{
this
.
config
=
config
;
...
...
oap-server/server-receiver-plugin/envoy-metrics-receiver-plugin/src/main/java/org/apache/skywalking/oap/server/receiver/envoy/als/k8s/KubernetesNodeRegistry.java
浏览文件 @
118ba3b5
...
...
@@ -42,7 +42,7 @@ import lombok.extern.slf4j.Slf4j;
import
org.apache.skywalking.oap.server.library.util.StringUtil
;
@Slf4j
final
class
KubernetesNodeRegistry
implements
ResourceEventHandler
<
V1Node
>
{
public
final
class
KubernetesNodeRegistry
implements
ResourceEventHandler
<
V1Node
>
{
private
final
Set
<
String
>
nodeIPs
;
private
final
ExecutorService
executor
;
...
...
pom.xml
浏览文件 @
118ba3b5
...
...
@@ -34,6 +34,7 @@
<modules>
<module>
apm-protocol
</module>
</modules>
<packaging>
pom
</packaging>
<name>
apm
</name>
...
...
test/e2e-v2/cases/nodejs/expected/service-instance-consumer-nodejs.yml
浏览文件 @
118ba3b5
...
...
@@ -27,7 +27,7 @@
-
name
:
ipv4s
value
:
"
"
{{
- end
}}
language
:
UNKNOWN
language
:
NODEJS
instanceuuid
:
{{
b64enc "consumer"
}}
.1_{{ b64enc "consumer-instance" }}
layer
:
GENERAL
{{
- end
}}
test/e2e-v2/cases/nodejs/expected/service-instance-provider-nodejs.yml
浏览文件 @
118ba3b5
...
...
@@ -27,7 +27,7 @@
-
name
:
ipv4s
value
:
"
"
{{
- end
}}
language
:
UNKNOWN
language
:
NODEJS
instanceuuid
:
{{
b64enc "provider"
}}
.1_{{ b64enc "provider-instance" }}
layer
:
GENERAL
{{
- end
}}
test/e2e-v2/cases/python/Dockerfile.python
浏览文件 @
118ba3b5
...
...
@@ -23,7 +23,7 @@ RUN git clone https://github.com/apache/skywalking-python.git $(pwd)
RUN git reset --hard ${SW_AGENT_PYTHON_COMMIT} && git submodule update --init
RUN make setup install
RUN python3 -m pip install kafka-python
RUN python3 -m pip install kafka-python
requests
ADD ./consumer.py /consumer.py
ADD ./provider.py /provider.py
...
...
test/e2e-v2/cases/python/consumer.py
浏览文件 @
118ba3b5
...
...
@@ -24,7 +24,7 @@ if __name__ == '__main__':
config
.
service_name
=
'consumer-py'
config
.
logging_level
=
'DEBUG'
config
.
protocol
=
'http'
config
.
collector_address
=
'
http://
oap:12800'
config
.
collector_address
=
'oap:12800'
agent
.
start
()
import
socketserver
...
...
test/e2e-v2/cases/python/expected/service-instance-consumer-py.yml
浏览文件 @
118ba3b5
...
...
@@ -23,7 +23,7 @@
-
name
:
ipv4s
value
:
"
"
{{
- end
}}
language
:
UNKNOW
N
language
:
PYTHO
N
instanceuuid
:
{{
b64enc "consumer-py"
}}
.1_{{ b64enc "consumer-py-instance" }}
layer
:
GENERAL
{{
- end
}}
test/e2e-v2/cases/python/expected/service-instance-provider-py-kafka.yml
浏览文件 @
118ba3b5
...
...
@@ -23,7 +23,7 @@
-
name
:
ipv4s
value
:
"
"
{{
- end
}}
language
:
UNKNOW
N
language
:
PYTHO
N
instanceuuid
:
{{
b64enc "provider-py-kafka"
}}
.1_{{ b64enc "provider-py-kafka-instance" }}
layer
:
GENERAL
{{
- end
}}
test/e2e-v2/cases/python/expected/service-instance-provider-py.yml
浏览文件 @
118ba3b5
...
...
@@ -23,7 +23,7 @@
-
name
:
ipv4s
value
:
"
"
{{
- end
}}
language
:
UNKNOW
N
language
:
PYTHO
N
instanceuuid
:
{{
b64enc "provider-py"
}}
.1_{{ b64enc "provider-py-instance" }}
layer
:
GENERAL
{{
- end
}}
test/e2e-v2/cases/python/expected/trace-test-detail.yml
浏览文件 @
118ba3b5
...
...
@@ -55,9 +55,9 @@ spans:
{{
- contains .tags
}}
-
key
:
http.method
value
:
POST
-
key
:
url
-
key
:
http.
url
value
:
http://medium-java:9092/users
-
key
:
status.code
-
key
:
http.
status.code
value
:
"
200"
{{
- end
}}
logs
:
[]
...
...
@@ -159,9 +159,9 @@ spans:
{{
- contains .tags
}}
-
key
:
http.method
value
:
POST
-
key
:
url
-
key
:
http.
url
value
:
http://provider-py-kafka:9089/users
-
key
:
status.code
-
key
:
http.
status.code
value
:
"
200"
{{
- end
}}
logs
:
[]
...
...
test/e2e-v2/script/env
浏览文件 @
118ba3b5
...
...
@@ -18,7 +18,7 @@ SW_AGENT_SATELLITE_COMMIT=1987e1d566ac90f6b58a45fd9bfa27bf8faad635
SW_AGENT_NGINX_LUA_COMMIT=c3cee4841798a147d83b96a10914d4ac0e11d0aa
SW_AGENT_NODEJS_COMMIT=2e7560518aff846befd4d6bc815fe5e38c704a11
SW_AGENT_GO_COMMIT=4af380c2db6243106b0fc650b6003ce3b3eb82a0
SW_AGENT_PYTHON_COMMIT=
50388c55428d742d73d9733278f04173585de80d
SW_AGENT_PYTHON_COMMIT=
c76a6ec51a478ac91abb20ec8f22a99b8d4d6a58
SW_AGENT_CLIENT_JS_COMMIT=af0565a67d382b683c1dbd94c379b7080db61449
SW_AGENT_CLIENT_JS_TEST_COMMIT=4f1eb1dcdbde3ec4a38534bf01dded4ab5d2f016
SW_KUBERNETES_COMMIT_SHA=0f3ec68e5a7e1608cec8688716b848ed15e971e5
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录