Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
润土的好友猹
SkyWalking
提交
9a61835c
S
SkyWalking
项目概览
润土的好友猹
/
SkyWalking
与 Fork 源项目一致
Fork自
apache / SkyWalking
通知
9
Star
0
Fork
0
代码
文件
提交
分支
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,发现更多精彩内容 >>
未验证
提交
9a61835c
编写于
11月 26, 2020
作者:
J
jianweizhang
提交者:
GitHub
11月 26, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix influxdb config resubmit (#5903)
上级
6e0a2444
变更
5
显示空白变更内容
内联
并排
Showing
5 changed file
with
9 addition
and
2 deletion
+9
-2
CHANGES.md
CHANGES.md
+2
-1
docs/en/setup/backend/configuration-vocabulary.md
docs/en/setup/backend/configuration-vocabulary.md
+1
-0
oap-server/server-bootstrap/src/main/resources/application.yml
...erver/server-bootstrap/src/main/resources/application.yml
+1
-0
oap-server/server-storage-plugin/storage-influxdb-plugin/src/main/java/org/apache/skywalking/oap/server/storage/plugin/influxdb/InfluxClient.java
...king/oap/server/storage/plugin/influxdb/InfluxClient.java
+4
-1
oap-server/server-storage-plugin/storage-influxdb-plugin/src/main/java/org/apache/skywalking/oap/server/storage/plugin/influxdb/InfluxStorageConfig.java
...p/server/storage/plugin/influxdb/InfluxStorageConfig.java
+1
-0
未找到文件。
CHANGES.md
浏览文件 @
9a61835c
...
...
@@ -30,6 +30,7 @@ Release Notes.
*
Add
`contain`
and
`not contain`
OPS in OAL.
*
Add Envoy ALS analyzer based on metadata exchange.
*
Add
`listMetrics`
GraphQL query.
*
Add group name into services of so11y and istio relevant metrics
*
Support keeping collecting the slowly segments in the sampling mechanism.
*
Support choose files to active the meter analyzer.
*
Support nested class definition in the Service, ServiceInstance, Endpoint, ServiceRelation, and ServiceInstanceRelation sources.
...
...
@@ -55,7 +56,7 @@ Release Notes.
*
Fix "transaction too large error" when use TiDB as storage.
*
Add otel rules to ui template to observe Istio control plane.
*
Remove istio mixer
*
Insert group name into services of so11y and istio relevant metrics
*
Support close influxdb batch write model.
#### UI
*
Fix incorrect label in radial chart in topology.
...
...
docs/en/setup/backend/configuration-vocabulary.md
浏览文件 @
9a61835c
...
...
@@ -138,6 +138,7 @@ core|default|role|Option values, `Mixed/Receiver/Aggregator`. **Receiver** mode
| - | - | database | Database of InfluxDB. | SW_STORAGE_INFLUXDB_DATABASE | skywalking |
| - | - | actions | The number of actions to collect. | SW_STORAGE_INFLUXDB_ACTIONS | 1000 |
| - | - | duration | The time to wait at most (milliseconds). | SW_STORAGE_INFLUXDB_DURATION | 1000|
| - | - | batchEnabled | If true, write points with batch api. | SW_STORAGE_INFLUXDB_BATCH_ENABLED | true|
| - | - | fetchTaskLogMaxSize | The max number of fetch task log in a request. | SW_STORAGE_INFLUXDB_FETCH_TASK_LOG_MAX_SIZE | 5000|
| agent-analyzer | default | Agent Analyzer. | SW_AGENT_ANALYZER | default |
| - | -| sampleRate|Sampling rate for receiving trace. The precision is 1/10000. 10000 means 100% sample in default.|SW_TRACE_SAMPLE_RATE|10000|
...
...
oap-server/server-bootstrap/src/main/resources/application.yml
浏览文件 @
9a61835c
...
...
@@ -192,6 +192,7 @@ storage:
database
:
${SW_STORAGE_INFLUXDB_DATABASE:skywalking}
actions
:
${SW_STORAGE_INFLUXDB_ACTIONS:1000}
# the number of actions to collect
duration
:
${SW_STORAGE_INFLUXDB_DURATION:1000}
# the time to wait at most (milliseconds)
batchEnabled
:
${SW_STORAGE_INFLUXDB_BATCH_ENABLED:true}
fetchTaskLogMaxSize
:
${SW_STORAGE_INFLUXDB_FETCH_TASK_LOG_MAX_SIZE:5000}
# the max number of fetch task log in a request
agent-analyzer
:
...
...
oap-server/server-storage-plugin/storage-influxdb-plugin/src/main/java/org/apache/skywalking/oap/server/storage/plugin/influxdb/InfluxClient.java
浏览文件 @
9a61835c
...
...
@@ -80,7 +80,10 @@ public class InfluxClient implements Client, HealthCheckable {
influx
.
query
(
new
Query
(
"CREATE DATABASE "
+
database
));
influx
.
enableGzip
();
if
(
config
.
isBatchEnabled
())
{
influx
.
enableBatch
(
config
.
getActions
(),
config
.
getDuration
(),
TimeUnit
.
MILLISECONDS
);
}
influx
.
setDatabase
(
database
);
healthChecker
.
health
();
}
catch
(
Throwable
e
)
{
...
...
oap-server/server-storage-plugin/storage-influxdb-plugin/src/main/java/org/apache/skywalking/oap/server/storage/plugin/influxdb/InfluxStorageConfig.java
浏览文件 @
9a61835c
...
...
@@ -32,6 +32,7 @@ public class InfluxStorageConfig extends ModuleConfig {
private
int
actions
;
private
int
duration
;
private
boolean
batchEnabled
=
true
;
private
int
fetchTaskLogMaxSize
=
5000
;
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录