Skip to content

Commit

Permalink
default config beholder
Browse files Browse the repository at this point in the history
  • Loading branch information
eduard-cl committed Dec 18, 2024
1 parent 86019ec commit 88af258
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions core/cmd/shell.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ func initGlobals(cfgProm config.Prometheus, cfgTracing config.Tracing, cfgTeleme
attributes = append(attributes, attribute.String(k, v))
}

clientCfg := beholder.Config{
clientCfg := beholder.TestDefaultConfig()

/*clientCfg := beholder.Config{
InsecureConnection: cfgTelemetry.InsecureConnection(),
CACertFile: cfgTelemetry.CACertFile(),
OtelExporterGRPCEndpoint: cfgTelemetry.OtelExporterGRPCEndpoint(),
Expand All @@ -111,7 +113,8 @@ func initGlobals(cfgProm config.Prometheus, cfgTracing config.Tracing, cfgTeleme
EmitterExportTimeout: cfgTelemetry.EmitterExportTimeout(),
AuthPublicKeyHex: csaPubKeyHex,
AuthHeaders: beholderAuthHeaders,
}
}*/

// note: due to the OTEL specification, all histogram buckets
// must be defined when the beholder client is created
clientCfg.MetricViews = append(clientCfg.MetricViews, workflows.MetricViews()...)
Expand Down

0 comments on commit 88af258

Please sign in to comment.