influxdb-cluster
InfluxDB Cluster - Open Source Alternative to InfluxDB Enterprise
File Explorer
Download Latest Version (.zip)- bug-report.md
- feature-request.md
- go.yml
- PULL_REQUEST_TEMPLATE.md
- pre-commit
- main.go
- main_test.go
- client.go
- client_test.go
- example_test.go
- params.go
- udp.go
- example_test.go
- influxdb.go
- influxdb_test.go
- README.md
- cli.go
- cli_internal_test.go
- cli_test.go
- flux.go
- parser.go
- parser_internal_test.go
- main.go
- buildtsi.go
- deletetsm.go
- dumptsi.go
- dumptsi_test.go
- testdata.tar.gz
- dumptsm.go
- dumptsm_test.go
- dumptsmwal.go
- export.go
- export_test.go
- help.go
- help_test.go
- report.go
- report_test.go
- reportdisk.go
- reportdisk_test.go
- report.go
- command.go
- verify.go
- verify_test.go
- verify.go
- verify.go
- verify_test.go
- main.go
- README.md
- template.toml
- influx_stress.go
- README.md
- command.go
- bucket.go
- bucket_test.go
- command.go
- exporter.go
- README.md
- command.go
- generator.go
- command.go
- plan.go
- spec.go
- help.go
- command.go
- importer.go
- README.md
- series_writer.go
- errlist.go
- binary.pb.go
- binary.proto
- common.go
- messagetype_string.go
- reader.go
- reader_test.go
- writer.go
- writer_test.go
- writer.go
- writer.go
- conflictwriter.go
- writer.go
- profile.go
- writer.go
- resultset.go
- series_cursor.go
- store.go
- tlv.go
- tlv_test.go
- server.go
- main.go
- backup.go
- data.pb.go
- data.proto
- backup_util.go
- help.go
- restore.go
- command.go
- command_test.go
- config.go
- config_command.go
- config_test.go
- server.go
- main.go
- add_data.go
- add_meta.go
- errors.go
- http.go
- options.go
- time.go
- copy_shard.go
- help.go
- join.go
- leave.go
- remove_data.go
- remove_meta.go
- remove_shard.go
- show.go
- show_shards.go
- token.go
- truncate_shards.go
- update_data.go
- main.go
- help.go
- command.go
- command_test.go
- config.go
- config_command.go
- config_test.go
- server.go
- main.go
- help.go
- query.go
- main.go
- integration_config_test.go
- integration_test.go
- parse.go
- data.pb.go
- data.proto
- client_pool.go
- config.go
- config_test.go
- handler.go
- meta_client.go
- meta_client_test.go
- meta_executor.go
- meta_executor_test.go
- points_writer.go
- points_writer_internal_test.go
- points_writer_test.go
- pool.go
- pool_test.go
- rpc.go
- rpc_test.go
- service.go
- service_test.go
- shard_mapper.go
- shard_mapper_test.go
- shard_writer.go
- shard_writer_test.go
- statement_executor.go
- statement_executor_test.go
- store_stream.go
- store_stream_test.go
- Dockerfile
- Dockerfile_alpine
- entrypoint.sh
- influxdb.conf
- init-influxdb.sh
- Dockerfile
- Dockerfile_alpine
- entrypoint.sh
- influxdb-meta.conf
- docker-compose.yml
- .rvmrc
- burn-in.rb
- Gemfile
- Gemfile.lock
- log.rb
- random_gaussian.rb
- random_points.rb
- config.sample.toml
- meta.config.sample.toml
- builtin.go
- http.go
- request.go
- request_test.go
- controller.go
- controller_test.go
- databases.go
- buckets.go
- dependencies.go
- from.go
- from_test.go
- metrics.go
- operators.go
- rules.go
- rules_test.go
- source.go
- source_test.go
- storage.go
- to.go
- to_test.go
- packages.go
- importer.go
- README.md
- strings.go
- array_cursors.go
- authorizer.go
- flux_controller.go
- meta_client.go
- storage_store.go
- tsdb_store.go
- config.go
- context.go
- fields.go
- logger.go
- style_guide.md
- footer.txt
- influx.txt
- influx_inspect.txt
- influx_stress.txt
- influxd-backup.txt
- influxd-config.txt
- influxd-restore.txt
- influxd-run.txt
- influxd-version.txt
- influxd.txt
- Makefile
- README.md
- flux.go
- storage_reads.go
- consistency.go
- fieldtype_string.go
- gen.go
- inline_fnv.go
- inline_fnv_test.go
- inline_strconv_parse.go
- inline_strconv_parse_test.go
- points.go
- points_internal_test.go
- points_test.go
- rows.go
- statistic.go
- statistic_test.go
- tagkeysset.go
- tagkeysset_test.go
- time.go
- uint_support.go
- diagnostics.go
- build_info.go
- build_info_test.go
- config.go
- config_test.go
- go_runtime.go
- go_runtime_test.go
- network.go
- network_test.go
- README.md
- reporter.go
- service.go
- service_test.go
- system.go
- system_test.go
- cursors.patch
- flux.patch
- storage.patch
- binaryutil.go
- bloom.go
- bloom_test.go
- bytesutil.go
- bytesutil_test.go
- arrays.gen.go
- arrays.gen.go.tmpl
- gen.go
- merged_series_generator.go
- merged_series_generator_test.go
- precision_string.go
- schema.go
- sequence.go
- series.go
- series_generator.go
- series_test.go
- specs.go
- specs_test.go
- tags_sequence.go
- timestamp_sequence.go
- toml.go
- toml_test.go
- types.tmpldata
- util.go
- values.gen.go
- values.gen.go.tmpl
- values.go
- values_sequence.gen.go
- values_sequence.gen.go.tmpl
- equal.go
- encoding.go
- encoding_test.go
- error_capture.go
- bytes.go
- bytes_test.go
- strings.go
- strings_test.go
- compressed.go
- hll.go
- hll_test.go
- sketch.go
- file.go
- file_test.go
- file_unix.go
- file_windows.go
- client.go
- jwt.go
- fixed.go
- fixed_test.go
- write_test.go
- writer.go
- context.go
- counter.go
- counter_test.go
- default_registry.go
- descriptors.go
- descriptors_test.go
- doc.go
- group.go
- group_registry.go
- registry.go
- registry_test.go
- timer.go
- timer_test.go
- mmap_solaris.go
- mmap_test.go
- mmap_unix.go
- mmap_windows.go
- bytes.go
- bytes_test.go
- generic.go
- pprofutil.go
- buffer.go
- buffer_test.go
- sort.go
- sort_test.go
- tree.go
- tree_test.go
- walkshards.go
- rhh.go
- rhh_test.go
- bytes.go
- bytes_test.go
- merge.gen.go
- merge.gen.go.tmpl
- merge_test.go
- strings.go
- strings_test.go
- tmpldata
- gen.go
- gen_test.go
- README.md
- stream.go
- untar.go
- assertions.go
- doc.go
- helper.go
- tls_config.go
- field.go
- fields.go
- fields_test.go
- labels.go
- labels_test.go
- binary.go
- binary.pb.go
- binary.proto
- context.go
- doc.go
- rawspan.go
- span.go
- spancontext.go
- trace.go
- trace_encoding.go
- tree.go
- util.go
- README.md
- generate.go
- remote.pb.go
- remote.proto
- converters.go
- cmo.go
- cmo_test.go
- ema.go
- ema_test.go
- kama.go
- kama_test.go
- README.md
- rsi.go
- rsi_test.go
- trix.go
- trix_test.go
- utils_test.go
- internal.pb.go
- internal.proto
- neldermead.go
- neldermead_test.go
- call_iterator.go
- call_iterator_test.go
- cast.go
- compile.go
- compile_test.go
- cursor.go
- emitter.go
- execution_context.go
- executor.go
- executor_test.go
- explain.go
- functions.gen.go
- functions.gen.go.tmpl
- functions.go
- functions_test.go
- iterator.gen.go
- iterator.gen.go.tmpl
- iterator.go
- iterator_mapper.go
- iterator_mapper_test.go
- iterator_test.go
- linear.go
- math.go
- math_test.go
- monitor.go
- monitor_test.go
- point.gen.go
- point.gen.go.tmpl
- point.go
- point_test.go
- query.go
- result.go
- select.go
- select_test.go
- statement_rewriter.go
- statement_rewriter_test.go
- subquery.go
- subquery_test.go
- task_manager.go
- tmpldata
- influxdb_packages.bash
- _install_uninstall.bash
- run.bash
- build.bash
- Dockerfile
- influxdb_raw_binaries.bash
- build.bash
- Dockerfile
- influxdb_tarball.bash
- build.bash
- Dockerfile
- influxdb_prebuild_tests.bash
- Dockerfile
- run.bash
- _go_versions.sh
- README.md
- auth-enabled.sh
- default-config.sh
- self-signed-certs.sh
- main.tf
- perf_test.sh
- run_perftest.sh
- terraform.tfvars
- influxd-systemd-start.sh
- influxdb.service
- init.sh
- logrotate
- post-install.sh
- post-uninstall.sh
- pre-install.sh
- protoc-gen-gogo
- protoc-gen-gogofaster
- config.go
- config_test.go
- service.go
- service_test.go
- service.go
- service_test.go
- client.go
- README.md
- collectd_test.conf
- config.go
- config_test.go
- README.md
- service.go
- service_test.go
- config.go
- config_test.go
- continuous_queries.md
- service.go
- service_test.go
- config.go
- config_test.go
- errors.go
- parser.go
- parser_test.go
- README.md
- service.go
- service_test.go
- config.go
- config_test.go
- doc.go
- limiter.go
- limiter_test.go
- node_processor.go
- node_processor_test.go
- queue.go
- queue_test.go
- service.go
- accept.go
- config.go
- config_test.go
- flux.go
- gzip.go
- handler.go
- handler_test.go
- io.go
- io_test.go
- listen.go
- listen_test.go
- pprof.go
- requests.go
- response_logger.go
- response_writer.go
- response_writer_test.go
- service.go
- v2_write_test.go
- meta.pb.go
- meta.proto
- client.go
- client_test.go
- config.go
- config_test.go
- context.go
- data.go
- data_internal_test.go
- data_test.go
- errors.go
- gzip.go
- handler.go
- meta_test.go
- pprof.go
- query_authorizer.go
- raft_state.go
- response_logger.go
- service.go
- service_test.go
- store.go
- store_fsm.go
- write_authorizer.go
- config.go
- config_test.go
- handler.go
- README.md
- service.go
- service_test.go
- config.go
- config_test.go
- README.md
- service.go
- service_test.go
- config.go
- config_test.go
- service.go
- service_test.go
- client.go
- client_test.go
- service.go
- service_test.go
- context.go
- gen.go
- predicate_influxql.go
- predicate_test.go
- series_cursor.go
- series_cursor_test.go
- source.pb.go
- source.proto
- store.go
- config.go
- config_test.go
- http.go
- service.go
- service_test.go
- udp.go
- config.go
- config_test.go
- README.md
- service.go
- service_test.go
- gen.go
- hintflags.go
- Makefile
- predicate.pb.go
- predicate.proto
- storage_common.pb.go
- storage_common.proto
- array_cursor.gen.go
- array_cursor.go
- flux_predicate.go
- flux_reader.go
- flux_table.gen.go
- flux_table.go
- flux_table_test.go
- flux_tags_cache.go
- gen.go
- group_resultset.go
- group_resultset_test.go
- helpers_test.go
- influxql_eval.go
- influxql_expr.go
- influxql_predicate.go
- influxql_predicate_test.go
- keymerger.go
- keymerger_test.go
- merge.go
- merge_test.go
- mergegroupresultset.go
- mergegroupresultset_test.go
- predicate.go
- predicate_test.go
- readstate_string.go
- response_writer.gen.go
- response_writer.go
- response_writer_test.go
- resultset.go
- resultset_lineprotocol.go
- series_cursor.go
- series_cursor_test.go
- store.go
- store_test.go
- stream_reader.gen.go
- stream_reader.go
- stream_reader_gen_test.go
- stream_reader_test.go
- string_iterator_reader.go
- string_iterator_reader_test.go
- string_iterator_writer.go
- string_iterator_writer_test.go
- tagsbuffer.go
- viewer.go
- server.go
- default.iql
- file.iql
- exec.go
- exec_test.go
- function.go
- function_test.go
- go.go
- go_test.go
- influxql.go
- influxql_test.go
- insert.go
- insert_test.go
- query.go
- query_test.go
- report.go
- report_test.go
- response_time.go
- response_time_test.go
- set.go
- set_test.go
- statement.go
- template.go
- template_test.go
- timestamp.go
- timestamp_test.go
- wait.go
- wait_test.go
- commune.go
- commune_test.go
- directive.go
- directive_test.go
- package.go
- package_test.go
- reporting.go
- reporting_test.go
- response.go
- response_test.go
- stress_client.go
- stress_client_query.go
- stress_client_write.go
- stressTest.go
- stressTest_test.go
- tracer.go
- tracer_test.go
- util.go
- parser.go
- parser_test.go
- parser.go
- parser_test.go
- DESIGN.md
- influx_stress_v2.png
- main.go
- README.md
- basic.go
- config.go
- DESIGN.md
- README.md
- run.go
- stress.toml
- stress_test.go
- template.go
- util.go
- mux.go
- mux_test.go
- tls.go
- tls_test.go
- toml.go
- toml_test.go
- arrayvalues.gen.go
- arrayvalues.gen_test.go
- arrayvalues.go
- arrayvalues_test.go
- cursor.go
- gen.go
- string.go
- array_cursor.gen.go
- array_cursor.gen.go.tmpl
- array_cursor_iterator.gen.go
- array_cursor_iterator.gen.go.tmpl
- array_cursor_iterator.go
- array_encoding.go
- array_encoding_test.go
- batch_boolean.go
- batch_boolean_test.go
- batch_float.go
- batch_float_test.go
- batch_integer.go
- batch_integer_test.go
- batch_string.go
- batch_string_test.go
- batch_timestamp.go
- batch_timestamp_test.go
- bit_reader.go
- bit_reader_test.go
- bool.go
- bool_test.go
- cache.go
- cache_race_test.go
- cache_test.go
- compact.gen.go
- compact.gen.go.tmpl
- compact.gen.go.tmpldata
- compact.go
- compact_test.go
- DESIGN.md
- digest.go
- digest_reader.go
- digest_test.go
- digest_writer.go
- digest_writer_test.go
- encoding.gen.go
- encoding.gen.go.tmpl
- encoding.gen.go.tmpldata
- encoding.gen_test.go
- encoding.go
- encoding_test.go
- engine.gen.go
- engine.gen.go.tmpl
- engine.go
- engine_cursor.go
- engine_internal_test.go
- engine_test.go
- file_store.gen.go
- file_store.gen.go.tmpl
- file_store.gen.go.tmpldata
- file_store.go
- file_store_array.gen.go
- file_store_array_test.go
- file_store_internal_test.go
- file_store_key_iterator.go
- file_store_key_iterator_test.go
- file_store_observer.go
- file_store_test.go
- float.go
- float_test.go
- int.go
- int_test.go
- iterator.gen.go
- iterator.gen.go.tmpl
- iterator.gen.go.tmpldata
- iterator.go
- iterator_test.go
- mmap_unix.go
- mmap_windows.go
- pools.go
- reader.gen.go
- reader.gen.go.tmpl
- reader.gen.go.tmpldata
- reader.go
- reader_test.go
- ring.go
- ring_test.go
- scheduler.go
- scheduler_test.go
- string.go
- string_test.go
- timestamp.go
- timestamp_test.go
- tombstone.go
- tombstone_test.go
- wal.go
- wal_test.go
- writer.go
- writer_test.go
- engine.go
- inmem.go
- inmem_test.go
- meta.go
- meta_test.go
- file_set.go
- cache.go
- cache_test.go
- doc.go
- file_set.go
- file_set_test.go
- index.go
- index_file.go
- index_file_test.go
- index_files.go
- index_files_test.go
- index_test.go
- log_file.go
- log_file_test.go
- measurement_block.go
- measurement_block_test.go
- partition.go
- partition_test.go
- tag_block.go
- tag_block_test.go
- tsi1.go
- tsi1_test.go
- index.go
- meta.pb.go
- meta.proto
- batcher.go
- batcher_test.go
- config.go
- config_test.go
- cursor.go
- engine.go
- epoch_tracker.go
- epoch_tracker_test.go
- field_validator.go
- guard.go
- guard_test.go
- index.go
- index_test.go
- meta.go
- meta_test.go
- README.md
- series_cursor.go
- series_file.go
- series_file_test.go
- series_index.go
- series_index_test.go
- series_partition.go
- series_segment.go
- series_segment_test.go
- series_set.go
- series_set_test.go
- shard.go
- shard_internal_test.go
- shard_test.go
- store.go
- store_test.go
- uuid.go
- .dockerignore
- .gitignore
- .mention-bot
- appveyor.yml
- build.py
- build.sh
- CHANGELOG.md
- checkfmt.sh
- CODING_GUIDELINES.md
- CONTRIBUTING.md
- DEPENDENCIES.md
- Dockerfile_build_ubuntu32
- Dockerfile_build_ubuntu64
- errors.go
- generate.sh
- go.mod
- go.sum
- influxdb.go
- LICENSE
- nightly.sh
- node.go
- QUERIES.md
- README.md
- test.sh
- TODO.md
- tools.go
๐ Installation Guide
git clone https://github.com/chengshiwen/influxdb-cluster
Downloads the entire project code from GitHub to your computer.
cd influxdb-cluster
Moves into the project folder you just downloaded.
2. Docker
Easy Recommended- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker compose up -d
Builds and starts all defined containers (server, database, etc.) at once, in the background.
docker exec -it influxdb-meta-01 bash
Type this command into your terminal and run it.
docker compose down -v
Runs the command against the services defined in the compose file.
Pulled directly from this repo's README.
3. Go
Mediumgo build ./...
Compiles the Go program into an executable.
go run .
Runs the Go program directly without a separate build step.
4. Ruby
Easycd etc/burn-in
This project's files live in a subfolder, so move into it first.
bundle install
Installs the Ruby libraries listed in the Gemfile.
5. Make
Medium- Git Needed to download the project code from GitHub.
- Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
cd man
This project's files live in a subfolder, so move into it first.
make
Compiles the code based on the generated build configuration to produce an executable.
