mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-11-16 14:54:23 +08:00
fix(otel): resolve exporter protocol through startup configuration
This commit is contained in:
+4
-3
@@ -27,9 +27,10 @@ func init() {
|
||||
|
||||
// Config 链路追踪配置
|
||||
type Config struct {
|
||||
AppName string
|
||||
SamplingRate float64
|
||||
TracerName string
|
||||
AppName string
|
||||
SamplingRate float64
|
||||
TracerName string
|
||||
ExportProtocol string
|
||||
}
|
||||
|
||||
// Init 初始化 Tracer Provider 并关联全局 Tracer 实例
|
||||
|
||||
Reference in New Issue
Block a user