Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
apache
SkyWalking
提交
cf563fcf
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 搜索 >>
未验证
提交
cf563fcf
编写于
11月 03, 2020
作者:
E
Evan
提交者:
GitHub
11月 03, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fixed unit of time mixing problem in kubernetes-client (#5777)
上级
66dd848e
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
8 addition
and
6 deletion
+8
-6
CHANGES.md
CHANGES.md
+1
-0
oap-server/server-cluster-plugin/cluster-kubernetes-plugin/src/main/java/org/apache/skywalking/oap/server/cluster/plugin/kubernetes/NamespacedPodListInformer.java
.../cluster/plugin/kubernetes/NamespacedPodListInformer.java
+1
-1
oap-server/server-configuration/configuration-k8s-configmap/src/main/java/org/apache/skywalking/oap/server/configuration/configmap/ConfigurationConfigmapInformer.java
...nfiguration/configmap/ConfigurationConfigmapInformer.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
+5
-4
未找到文件。
CHANGES.md
浏览文件 @
cf563fcf
...
...
@@ -23,6 +23,7 @@ Release Notes.
*
Support choose files to active the meter analyzer.
*
Improve Kubernetes service registry for ALS analysis.
*
Improve the queryable tags generation. Remove the duplicated tags to reduce the storage payload.
*
Fix the excessive timeout period set by the kubernetes-client.
#### UI
...
...
oap-server/server-cluster-plugin/cluster-kubernetes-plugin/src/main/java/org/apache/skywalking/oap/server/cluster/plugin/kubernetes/NamespacedPodListInformer.java
浏览文件 @
cf563fcf
...
...
@@ -83,7 +83,7 @@ public enum NamespacedPodListInformer {
SharedIndexInformer
<
V1Pod
>
podSharedIndexInformer
=
factory
.
sharedIndexInformerFor
(
params
->
coreV1Api
.
listNamespacedPodCall
(
podConfig
.
getNamespace
(),
null
,
null
,
null
,
null
,
podConfig
.
getLabelSelector
(),
Integer
.
MAX_VALUE
,
params
.
resourceVersion
,
params
.
timeoutSeconds
,
podConfig
.
getLabelSelector
(),
Integer
.
MAX_VALUE
,
params
.
resourceVersion
,
300
,
params
.
watch
,
null
),
V1Pod
.
class
,
V1PodList
.
class
...
...
oap-server/server-configuration/configuration-k8s-configmap/src/main/java/org/apache/skywalking/oap/server/configuration/configmap/ConfigurationConfigmapInformer.java
浏览文件 @
cf563fcf
...
...
@@ -73,7 +73,7 @@ public class ConfigurationConfigmapInformer {
SharedIndexInformer
<
V1ConfigMap
>
configMapSharedIndexInformer
=
factory
.
sharedIndexInformerFor
(
params
->
coreV1Api
.
listNamespacedConfigMapCall
(
settings
.
getNamespace
(),
null
,
null
,
null
,
null
,
settings
.
getLabelSelector
()
,
1
,
params
.
resourceVersion
,
params
.
timeoutSeconds
,
params
.
watch
,
null
,
1
,
params
.
resourceVersion
,
300
,
params
.
watch
,
null
),
V1ConfigMap
.
class
,
V1ConfigMapList
.
class
);
...
...
oap-server/server-receiver-plugin/envoy-metrics-receiver-plugin/src/main/java/org/apache/skywalking/oap/server/receiver/envoy/als/k8s/K8SServiceRegistry.java
浏览文件 @
cf563fcf
...
...
@@ -108,7 +108,7 @@ class K8SServiceRegistry {
null
,
null
,
params
.
resourceVersion
,
params
.
timeoutSeconds
,
300
,
params
.
watch
,
null
),
...
...
@@ -142,7 +142,7 @@ class K8SServiceRegistry {
null
,
null
,
params
.
resourceVersion
,
params
.
timeoutSeconds
,
300
,
params
.
watch
,
null
),
...
...
@@ -176,7 +176,7 @@ class K8SServiceRegistry {
null
,
null
,
params
.
resourceVersion
,
params
.
timeoutSeconds
,
300
,
params
.
watch
,
null
),
...
...
@@ -288,7 +288,8 @@ class K8SServiceRegistry {
log
.
error
(
"Failed to evaluate service name."
,
e
);
serviceMetaInfo
.
setServiceName
(
requireNonNull
(
service
.
getMetadata
()).
getName
());
}
serviceMetaInfo
.
setServiceInstanceName
(
String
.
format
(
"%s.%s"
,
podMetadata
.
getName
(),
podMetadata
.
getNamespace
()));
serviceMetaInfo
.
setServiceInstanceName
(
String
.
format
(
"%s.%s"
,
podMetadata
.
getName
(),
podMetadata
.
getNamespace
()));
serviceMetaInfo
.
setTags
(
transformLabelsToTags
(
podMetadata
.
getLabels
()));
return
serviceMetaInfo
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录