This is an automated email from the ASF dual-hosted git repository.
lujiajing pushed a commit to branch optimize-banyandb-measure-integration
in repository https://gitbox.apache.org/repos/asf/skywalking.git
The following commit(s) were added to
refs/heads/optimize-banyandb-measure-integration by this push:
new a9b67f8e65 address #10102
a9b67f8e65 is described below
commit a9b67f8e650c4a2192863351025881a622989f29
Author: Megrez Lu <[email protected]>
AuthorDate: Wed Dec 7 22:22:49 2022 +0800
address #10102
---
oap-server/server-starter/src/main/resources/application.yml | 4 ++--
.../oap/server/storage/plugin/banyandb/BanyanDBStorageConfig.java | 5 +++--
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/oap-server/server-starter/src/main/resources/application.yml
b/oap-server/server-starter/src/main/resources/application.yml
index b37ef62498..0a00784717 100644
--- a/oap-server/server-starter/src/main/resources/application.yml
+++ b/oap-server/server-starter/src/main/resources/application.yml
@@ -236,8 +236,8 @@ storage:
superDatasetShardsFactor:
${SW_STORAGE_BANYANDB_SUPERDATASET_SHARDS_FACTOR:2}
concurrentWriteThreads: ${SW_STORAGE_BANYANDB_CONCURRENT_WRITE_THREADS:15}
profileTaskQueryMaxSize:
${SW_STORAGE_BANYANDB_PROFILE_TASK_QUERY_MAX_SIZE:200} # the max number of
fetch task in a request
- streamBlockInterval: ${SW_STORAGE_BANYANDB_STREAM_BLOCK_INTERVAL:4} # Unit
is hour
- streamSegmentInterval: ${SW_STORAGE_BANYANDB_STREAM_SEGMENT_INTERVAL:24} #
Unit is hour
+ streamBlockInterval: ${SW_STORAGE_BANYANDB_STREAM_BLOCK_INTERVAL:24} #
Unit is hour
+ streamSegmentInterval: ${SW_STORAGE_BANYANDB_STREAM_SEGMENT_INTERVAL:1} #
Unit is day
agent-analyzer:
selector: ${SW_AGENT_ANALYZER:default}
diff --git
a/oap-server/server-storage-plugin/storage-banyandb-plugin/src/main/java/org/apache/skywalking/oap/server/storage/plugin/banyandb/BanyanDBStorageConfig.java
b/oap-server/server-storage-plugin/storage-banyandb-plugin/src/main/java/org/apache/skywalking/oap/server/storage/plugin/banyandb/BanyanDBStorageConfig.java
index 35f75b61c9..7b9b0d0e7d 100644
---
a/oap-server/server-storage-plugin/storage-banyandb-plugin/src/main/java/org/apache/skywalking/oap/server/storage/plugin/banyandb/BanyanDBStorageConfig.java
+++
b/oap-server/server-storage-plugin/storage-banyandb-plugin/src/main/java/org/apache/skywalking/oap/server/storage/plugin/banyandb/BanyanDBStorageConfig.java
@@ -58,16 +58,17 @@ public class BanyanDBStorageConfig extends ModuleConfig {
private int superDatasetShardsFactor;
/**
* block interval for Stream group.
- * Unit is hours.
+ * Unit is hour.
*
* @since 9.3.0
*/
private int streamBlockInterval;
/**
* segment interval for Stream group.
- * Unit is hours.
+ * Unit is day.
*
* @since 9.3.0
+ * @since 9.4.0 the unit is changed to day instead of hour
*/
private int streamSegmentInterval;
}