You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When OpenTelemetry is enabled Skipper registers global OpenTelemetry TracerProvider and
creates a bridge OpenTracing tracer.
This follows recommended migration strategy https://opentelemetry.io/docs/migration/opentracing/#migration-overview
OpenTelemetry Init reads configuration options from standard environment variables and
allows additional options as a command line flag in yaml format to simplify parsing.
FilterContext logger uses last 16 hexadecimal characters of
bridge span trace id which could be used to lookup
traces e.g. by trace_id attribute.
Updates #2104
Signed-off-by: Alexander Yastrebov <alexander.yastrebov@zalando.de>
flag.BoolVar(&cfg.AccessLogStripQuery, "access-log-strip-query", false, "when this flag is set, the access log strips the query strings from the access log")
435
438
flag.BoolVar(&cfg.SuppressRouteUpdateLogs, "suppress-route-update-logs", false, "print only summaries on route updates/deletes")
436
439
440
+
flag.Var(newYamlFlag(&cfg.OpenTelemetry), "open-telemetry", "OpenTelemetry configuration in YAML format, use flow-style for convenience")
441
+
437
442
// route sources:
438
443
flag.StringVar(&cfg.EtcdUrls, "etcd-urls", "", "urls of nodes in an etcd cluster, storing route definitions")
439
444
flag.StringVar(&cfg.EtcdPrefix, "etcd-prefix", "/skipper", "path prefix for skipper related data in etcd")
0 commit comments