Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: Remove the unnecessary coded exporter URL.
Signed-off-by: Shuchu Han <shuchu.han@gmail.com>
  • Loading branch information
shuchu committed Oct 22, 2025
commit 82c5d2693bb79f631aededeb064dd7305985288c
4 changes: 4 additions & 0 deletions go/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ To build and run the Go Feature Server locally, create a feature_store.yaml file
## OTEL based observability
The OS level env variable `ENABLE_OTEL_TRACING=="true"/"false"` (string type) is used to enable/disable this service (with Tracing only).

The default export URL is "http://localhost:4318". The default schema of sending data to collector is **HTTP**. Please refer the following two docs about the configuration of the OTEL exporter:
1. https://opentelemetry.io/docs/languages/sdk-configuration/otlp-exporter/
2. https://pkg.go.dev/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp#WithEndpoint

## List of files have OTEL observability code
1. internal/feast/transformation/transformation.go

Expand Down
1 change: 0 additions & 1 deletion go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,6 @@ func OTELTracingEnabled() bool {

func newExporter(ctx context.Context) (*otlptrace.Exporter, error) {
exp, err := otlptracehttp.New(ctx,
otlptracehttp.WithEndpoint("localhost:4318"),
otlptracehttp.WithInsecure())
Comment thread
shuchu marked this conversation as resolved.
if err != nil {
return nil, err
Expand Down
Loading