Created
September 30, 2022 10:20
-
-
Save Bonemind/c1e50d098eda995b7189277d367dedd8 to your computer and use it in GitHub Desktop.
Influxdb 2.4 toml config options
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Override the default InfluxDB user interface (UI) assets by serving assets from the specified directory. Typically, InfluxData internal use only. | |
| # assets-path = "/path/to/custom/assets-dir" | |
| #Path to the BoltDB database. BoltDB is a key value store written in Go. InfluxDB uses BoltDB to store data including organization and user information, UI data, REST resources, and other key value data. | |
| #bolt-path = "~/.influxdbv2/influxd.bolt" | |
| #Add a /debug/flush endpoint to the InfluxDB HTTP API to clear stores. InfluxData uses this endpoint in end-to-end testing. | |
| #e2e-testing = true | |
| #Path to persistent storage engine files where InfluxDB stores all Time-Structure Merge Tree (TSM) data on disk. | |
| #engine-path = "~/.influxdbv2/engine" | |
| #Enable, disable, or override default values for feature flags. | |
| #Feature flags are used to develop and test experimental features and are intended for internal use only. | |
| # [feature-flags] | |
| # flag1 = "value1" | |
| # glag2 = "value2" | |
| #Include option to show detailed logs for Flux querie | |
| #flux-log-enabled = "true" | |
| # Enable additional security features in InfluxDB. Default: false | |
| # Currently this only checks that the outgoing ip is in a private subnet | |
| # hardening-enabled = true | |
| #Bind address for the InfluxDB HTTP API. Customize the URL and port for the InfluxDB API and UI. | |
| #http-bind-address = ":8086" | |
| # Maximum duration the server should keep established connections alive while waiting for new requests. Set to 0 for no timeout. | |
| #http-idle-timeout = "3m0s" | |
| #Maximum duration the server should try to read HTTP headers for new requests. Set to 0 for no timeout. | |
| #http-read-header-timeout = "10s" | |
| #Maximum duration the server should try to read the entirety of new requests. Set to 0 for no timeout. | |
| #http-read-timeout = "10s" | |
| #Maximum duration the server should spend processing and responding to write requests. Set to 0 for no timeout. | |
| #http-write-timeout = "10s" | |
| #Maximum number of group by time buckets a SELECT statement can create. 0 allows an unlimited number of buckets. | |
| #influxql-max-select-buckets = 0 | |
| #Maximum number of points a SELECT statement can process. 0 allows an unlimited number of points. InfluxDB checks the point count every second (so queries exceeding the maximum aren’t immediately aborted). | |
| #influxql-max-select-point = 0 | |
| #Maximum number of series a SELECT statement can return. 0 allows an unlimited number of series. | |
| #influxql-max-select-series = 0 | |
| #Identifies edge nodes during replication, and prevents collisions if two edge nodes write the same measurement,tagset. | |
| #instance-id = ":8086" | |
| #Log output level. InfluxDB outputs log entries with severity levels greater than or equal to the level specified. Options: debug, info, error | |
| #log-level = "info" | |
| #Disable the HTTP /metrics endpoint which exposes internal InfluxDB metrics. | |
| #metrics-disabled = true | |
| #Disable the task scheduler. If problematic tasks prevent InfluxDB from starting, use this option to start InfluxDB without scheduling or executing tasks. | |
| #no-tasks = true | |
| #Disable the /debug/pprof HTTP endpoint. This endpoint provides runtime profiling data and can be helpful when debugging. | |
| #pprof-disabled = true | |
| #Number of queries allowed to execute concurrently. Default 10 | |
| #query-concurrency = 10 | |
| #Initial bytes of memory allocated for a query. | |
| #query-initial-memory-bytes = 10485760 | |
| #Maximum total bytes of memory allowed for queries. | |
| #query-max-memory-bytes = 104857600 | |
| #Maximum bytes of memory allowed for a single query. | |
| #query-memory-bytes = 10485760 | |
| #Maximum number of queries allowed in execution queue. When queue limit is reached, new queries are rejected. | |
| #query-queue-size = 10 | |
| #Disables sending telemetry data to InfluxData. The InfluxData telemetry page provides information about what data is collected and how InfluxData uses it. | |
| #reporting-disabled = true | |
| #Specifies the data store for secrets such as passwords and tokens. Store secrets in either the InfluxDB internal BoltDB or in Vault. | |
| #secret-store = "bolt" | |
| #Specifies the Time to Live (TTL) in minutes for newly created user sessions. | |
| #session-length = 60 | |
| #Disables automatically extending a user’s session TTL on each request. By default, every request sets the session’s expiration time to five minutes from now. When disabled, sessions expire after the specified session length and the user is redirected to the login page, even if recently active. | |
| #session-renew-disabled = true | |
| #Path to the SQLite database file. The SQLite database is used to store metadata for notebooks and annotations. | |
| #sqlite-path = "~/.influxdbv2/influxd.sqlite" | |
| #Maximum size (in bytes) a shard’s cache can reach before it starts rejecting writes. | |
| #storage-cache-max-memory-size = 1073741824 | |
| #Size (in bytes) at which the storage engine will snapshot the cache and write it to a TSM file to make more memory available. | |
| #storage-cache-snapshot-memory-size = 26214400 | |
| #Duration at which the storage engine will snapshot the cache and write it to a new TSM file if the shard hasn’t received writes or deletes. | |
| #storage-cache-snapshot-write-cold-duration = "10m0s" | |
| #Duration at which the storage engine will compact all TSM files in a shard if it hasn’t received writes or deletes. | |
| #storage-compact-full-write-cold-duration = "4h0m0s" | |
| #Rate limit (in bytes per second) that TSM compactions can write to disk. | |
| #storage-compact-throughput-burst = 50331648 | |
| #Maximum number of full and level compactions that can run concurrently. A value of 0 results in 50% of runtime.GOMAXPROCS(0) used at runtime. Any number greater than zero limits compactions to that value. This setting does not apply to cache snapshotting. | |
| #storage-max-concurrent-compactions = 0 | |
| #Size (in bytes) at which an index write-ahead log (WAL) file will compact into an index file. Lower sizes will cause log files to be compacted more quickly and result in lower heap usage at the expense of write throughput. | |
| #storage-max-index-log-file-size = 1048576 | |
| #Skip field size validation on incoming write requests. | |
| #storage-no-validate-field-size = true | |
| #Interval of retention policy enforcement checks. | |
| #storage-retention-check-interval = "30m0s" | |
| #Maximum number of snapshot compactions that can run concurrently across all series partitions in a database. | |
| #storage-series-file-max-concurrent-snapshot-compactions = 0 | |
| #Size of the internal cache used in the TSI index to store previously calculated series results. Cached results are returned quickly rather than needing to be recalculated when a subsequent query with the same tag key/value predicate is executed. Setting this value to 0 will disable the cache and may decrease query performance. | |
| #storage-series-id-set-cache-size = 100 | |
| #The time before a shard group’s end-time that the successor shard group is created. | |
| #storage-shard-precreator-advance-period = "30m0s" | |
| #Interval of pre-create new shards check. | |
| #storage-shard-precreator-check-interval = "10m0s" | |
| #Inform the kernel that InfluxDB intends to page in mmap’d sections of TSM files. | |
| #storage-tsm-use-madv-willneed = false | |
| #Validate incoming writes to ensure keys have only valid unicode characters. | |
| #storage-validate-keys = false | |
| #Duration a write will wait before fsyncing. A duration greater than 0 batches multiple fsync calls. This is useful for slower disks or when WAL write contention is present. | |
| #storage-wal-fsync-delay = "0s" | |
| #Maximum number writes to the WAL directory to attempt at the same time. | |
| #storage-wal-max-concurrent-writes = 0 | |
| #Maximum amount of time a write request to the WAL directory will wait when the the maximum number of concurrent active writes to the WAL directory has been met. Set to 0 to disable the timeout. | |
| #storage-wal-max-write-delay = "10m" | |
| #Maximum amount of time the storage engine will process a write request before timing out. | |
| #storage-write-timeout = "10s" | |
| #Specifies the data store for REST resources. | |
| #For backwards compatibility, this flag also acceptss bolt as a value. When using disk, REST resources are stored on disk using the bolt-path and sqlite-path. | |
| #store = "disk" | |
| #Ensures the /api/v2/setup endpoint always returns true to allow onboarding. This configuration option is primary used in continuous integration tests. | |
| #testing-always-allow-setup = false | |
| #Path to TLS certificate file. Requires the tls-key to be set. | |
| #tls-cert = "/path/to/influxdb.crt" | |
| #Path to TLS key file. Requires the tls-cert to be set. | |
| #tls-key = "/path/to/influxdb.key" | |
| #Minimum accepted TLS version. | |
| #tls-min-version = "1.2" | |
| #Restrict accepted TLS ciphers to: | |
| # ECDHE_RSA_WITH_AES_256_GCM_SHA384 | |
| # ECDHE_RSA_WITH_AES_256_CBC_SHA | |
| # RSA_WITH_AES_256_GCM_SHA384 | |
| # RSA_WITH_AES_256_CBC_SHA | |
| #tls-strict-ciphers = true | |
| #Enable tracing in InfluxDB and specifies the tracing type. Tracing is disabled by default. options: log,jaeger | |
| #tracing-type = "log" | |
| #Disable the InfluxDB user interface (UI). The UI is enabled by default. | |
| #ui-disabled = true | |
| #Specifies the address of the Vault server expressed as a URL and port. For example: https://127.0.0.1:8200/. | |
| #vault-addr = "https://127.0.0.1:8200/" | |
| #Specifies the path to a PEM-encoded CA certificate file on the local disk. This file is used to verify the Vault server’s SSL certificate. This setting takes precedence over the --vault-capath setting. | |
| #vault-cacert = "/path/to/ca.pem" | |
| #Specifies the path to a directory of PEM-encoded CA certificate files on the local disk. These certificates are used to verify the Vault server’s SSL certificate. | |
| #vault-capath = "/path/to/certs/" | |
| #Specifies the path to a PEM-encoded client certificate on the local disk. This file is used for TLS communication with the Vault server. | |
| #vault-client-cert = "/path/to/client_cert.pem" | |
| #Specifies the path to an unencrypted, PEM-encoded private key on disk which corresponds to the matching client certificate. | |
| #vault-client-key = "/path/to/private_key.pem" | |
| #Specifies the maximum number of retries when encountering a 5xx error code. The default is 2 (for three attempts in total). Set this to 0 or less to disable retrying. | |
| #vault-max-retries = 2 | |
| #Specifies the Vault client timeout. | |
| #vault-client-timeout = "60s" | |
| #Skip certificate verification when communicating with Vault. Setting this variable voids Vault’s security model and is not recommended. | |
| #vault-skip-verify = true | |
| #Specifies the name to use as the Server Name Indication (SNI) host when connecting via TLS. | |
| #vault-tls-server-name = "secure.example.com" | |
| #Specifies the Vault token use when authenticating with Vault. | |
| #vault-token = "exAmple-t0ken-958a-f490-c7fd0eda5e9e" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment