Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save logicalhan/e3a3c98024f0bdc998614295cf5d90aa to your computer and use it in GitHub Desktop.
Save logicalhan/e3a3c98024f0bdc998614295cf5d90aa to your computer and use it in GitHub Desktop.
starting etcd w/ sqlite.diff
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