add opentelemetry tracing
This commit is contained in:
@ -9,9 +9,12 @@ import (
|
||||
)
|
||||
|
||||
type Config struct {
|
||||
Log config.Log `json:"log"`
|
||||
YDB config.YDB `json:"ydb"`
|
||||
HTTP config.HTTP `json:"http"`
|
||||
Log config.Log `json:"log"`
|
||||
YDB config.YDB `json:"ydb"`
|
||||
Sqlite config.Sqlite `json:"sqlite"`
|
||||
HTTP config.HTTP `json:"http"`
|
||||
Tracing config.Trace `json:"tracing"`
|
||||
DBEngine string `json:"db_engine"`
|
||||
}
|
||||
|
||||
func readFromFile(path string, defaultConfigF func() Config) (Config, error) {
|
||||
|
||||
Reference in New Issue
Block a user