Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
2
22fa00199
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Summer2022
22fa00199
Commits
c22aa58f
Unverified
Commit
c22aa58f
authored
3 years ago
by
XuPeng-SH
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update comment for system vars (#1573)
parent
6549633b
Branches
0.2.0
Branches containing commit
Tags
v0.2.0
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmd/generate-config/system_vars_def.toml
+9
-9
9 additions, 9 deletions
cmd/generate-config/system_vars_def.toml
with
9 additions
and
9 deletions
cmd/generate-config/system_vars_def.toml
+
9
−
9
View file @
c22aa58f
...
...
@@ -435,13 +435,13 @@ external-etcd = ["", "", ""]
# see more: https://etcd.io/docs/v3.5/op-guide/clustering/
join
=
""
# In a distributed setting, change the localhost to the machine ip to expose the client-urls to other nodes in the cluster.
# When you deploy a cluster, you must specify the IP address of the current host as client-urls (for example, "http://192.168.100.214:40000").
# When you deploy a cluster, you must specify the IP address of the current host as client-urls (for example, "http://192.168.100.214:40000").
# If the cluster runs on Docker, specify the IP address of Docker as "http://0.0.0.0:40000"
client-urls
=
"http://localhost:40000"
# In a distributed setting, change the localhost to the machine ip to expose the client-urls to other nodes in the cluster.
# The list of peer URLs to be listened to by a prophet node
peer-urls
=
"http://localhost:50000"
# In some situations such as in the Docker or NAT network environment,
# In some situations such as in the Docker or NAT network environment,
# if a client cannot access prophet through the default client URLs listened to by prophet, you must manually set the advertise client URLs
# For example, client-url = "http://0.0.0.0:40000", advertise-client-urls = "http://${HOST}:40000", The same to peer-urls.
advertise-client-urls
=
""
...
...
@@ -473,14 +473,14 @@ instance = "" # prometheus instance
# Storage Configs
[meta.conf]
block-max-rows
=
160000
segment-max-blocks
=
40
block-max-rows
=
160000
# the maximum rows of a block
segment-max-blocks
=
40
# the maximum blocks of a segment
[scheduler-cfg]
block-writers
=
8
segment-writers
=
4
block-writers
=
8
# the maximum parallelism of block flushing
segment-writers
=
4
# the maximum parallelism of segment flushing
[cache-cfg]
index-cache-size
=
134217728
# 128M
insert-cache-size
=
4294967296
# 4G
data-cache-size
=
4294967296
# 4G
\ No newline at end of file
index-cache-size
=
134217728
# 128M # index shared cache size
insert-cache-size
=
4294967296
# 4G # mutable data shared cache size
data-cache-size
=
4294967296
# 4G # immutable data shared cache size
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment