Created
July 31, 2023 01:26
-
-
Save logicalhan/e3a3c98024f0bdc998614295cf5d90aa to your computer and use it in GitHub Desktop.
starting etcd w/ sqlite.diff
This file contains 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
diff --git a/server/etcdmain/config.go b/server/etcdmain/config.go | |
index e31d1c7cf..e1605c646 100644 | |
--- a/server/etcdmain/config.go | |
+++ b/server/etcdmain/config.go | |
@@ -255,6 +255,7 @@ func newConfig() *config { | |
fs.StringVar(&cfg.ec.ExperimentalDistributedTracingServiceName, "experimental-distributed-tracing-service-name", embed.ExperimentalDistributedTracingServiceName, "Configures service name for distributed tracing to be used to define service name for OpenTelemetry Tracing (if enabled with experimental-enable-distributed-tracing flag). 'etcd' is the default service name. Use the same service name for all instances of etcd.") | |
fs.StringVar(&cfg.ec.ExperimentalDistributedTracingServiceInstanceID, "experimental-distributed-tracing-instance-id", "", "Configures service instance ID for distributed tracing to be used to define service instance ID key for OpenTelemetry Tracing (if enabled with experimental-enable-distributed-tracing flag). There is no default value set. This ID must be unique per etcd instance.") | |
fs.IntVar(&cfg.ec.ExperimentalDistributedTracingSamplingRatePerMillion, "experimental-distributed-tracing-sampling-rate", 0, "Number of samples to collect per million spans for OpenTelemetry Tracing (if enabled with experimental-enable-distributed-tracing flag).") | |
+ fs.StringVar(&cfg.ec.ExperimentalBackendType, "experimental-backend-type", "sqlite", "Sets the backend type to experimental backends (sqlite)") | |
// auth | |
fs.StringVar(&cfg.ec.AuthToken, "auth-token", cfg.ec.AuthToken, "Specify auth token specific options.") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment