summaryrefslogtreecommitdiff
path: root/go/internal/config
diff options
context:
space:
mode:
authorAndrew Newdigate <andrew@gitlab.com>2019-02-25 16:19:08 +0200
committerAndrew Newdigate <andrew@gitlab.com>2019-03-01 15:07:23 +0200
commit210a5c141c9d76bc9718860d67d77d73997b1534 (patch)
treee8bfe028d6ecb5ddc269b67283b7b52240323dde /go/internal/config
parent070691c29891c27f0e46f86f6c89566199ccc54b (diff)
downloadgitlab-shell-an-distributed-tracing.tar.gz
Adds distributed tracing instrumentation to GitLab-Shellan-distributed-tracing
Adds distributed tracing instrumentation to GitLab-Shell using LabKit
Diffstat (limited to 'go/internal/config')
-rw-r--r--go/internal/config/config.go11
1 files changed, 6 insertions, 5 deletions
diff --git a/go/internal/config/config.go b/go/internal/config/config.go
index e745a25..f951fe6 100644
--- a/go/internal/config/config.go
+++ b/go/internal/config/config.go
@@ -21,11 +21,12 @@ type MigrationConfig struct {
}
type Config struct {
- RootDir string
- LogFile string `yaml:"log_file"`
- LogFormat string `yaml:"log_format"`
- Migration MigrationConfig `yaml:"migration"`
- GitlabUrl string `yaml:"gitlab_url"`
+ RootDir string
+ LogFile string `yaml:"log_file"`
+ LogFormat string `yaml:"log_format"`
+ Migration MigrationConfig `yaml:"migration"`
+ GitlabUrl string `yaml:"gitlab_url"`
+ GitlabTracing string `yaml:"gitlab_tracing"`
}
func New() (*Config, error) {