mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-19 07:14:22 +01:00
Merge pull request #1352 from liubin/fix/migrate-opentracing-to-opentelemetry
runtime: migrate from opentracing to opentelemetry
This commit is contained in:
@@ -42,6 +42,9 @@ type RuntimeConfigOptions struct {
|
||||
AgentDebug bool
|
||||
AgentTrace bool
|
||||
EnablePprof bool
|
||||
JaegerEndpoint string
|
||||
JaegerUser string
|
||||
JaegerPassword string
|
||||
}
|
||||
|
||||
func MakeRuntimeConfigFileData(config RuntimeConfigOptions) string {
|
||||
@@ -86,5 +89,8 @@ func MakeRuntimeConfigFileData(config RuntimeConfigOptions) string {
|
||||
enable_debug = ` + strconv.FormatBool(config.RuntimeDebug) + `
|
||||
enable_tracing = ` + strconv.FormatBool(config.RuntimeTrace) + `
|
||||
disable_new_netns= ` + strconv.FormatBool(config.DisableNewNetNs) + `
|
||||
enable_pprof= ` + strconv.FormatBool(config.EnablePprof)
|
||||
enable_pprof= ` + strconv.FormatBool(config.EnablePprof) + `
|
||||
jaeger_endpoint= "` + config.JaegerEndpoint + `"
|
||||
jaeger_user= "` + config.JaegerUser + `"
|
||||
jaeger_password= "` + config.JaegerPassword + `"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user