Skip to content

Commit

Permalink
set default exporter to otlpgrpc again
Browse files Browse the repository at this point in the history
  • Loading branch information
trajan0x committed Sep 11, 2024
1 parent f8e240d commit a19300c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/metrics/otlp.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ func getEnvSuffix(env, suffix, defaultRet string) string {

// makeOTLPTrace creates a new OTLP client based on the transport type and url.
func makeOTLPExporter(ctx context.Context, envSuffix string) (*otlptrace.Exporter, error) {
transport := transportFromString(getEnvSuffix(otelTransportEnv, envSuffix, otlpTransportHTTP.String()))
transport := transportFromString(getEnvSuffix(otelTransportEnv, envSuffix, otlpTransportGRPC.String()))
url := getEnvSuffix(otelEndpointEnv, envSuffix, "")
insecure := getEnvSuffix(otelInsecureEvn, envSuffix, "false")
headers := getEnvSuffix(otelHeadersEnv, envSuffix, "")
Expand Down

0 comments on commit a19300c

Please sign in to comment.