Skip to content

Commit

Permalink
Fix PYTHONPATH wrong location (#177)
Browse files Browse the repository at this point in the history
This PR fixes a bug where PYTHONPATH pointed to the wrong location.
  • Loading branch information
edeNFed authored May 9, 2023
1 parent 1bc1e0b commit 2186d4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion odiglet/pkg/instrumentation/instrumentlang/python.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func Python(deviceId string) *v1beta1.ContainerAllocateResponse {
return &v1beta1.ContainerAllocateResponse{
Envs: map[string]string{
envLogCorrelation: "true",
envPythonPath: "/var/odigos/python/opentelemetry/instrumentation/auto_instrumentation:/odigos/python",
envPythonPath: "/var/odigos/python/opentelemetry/instrumentation/auto_instrumentation:/var/odigos/python",
"OTEL_EXPORTER_OTLP_ENDPOINT": otlpEndpoint,
"OTEL_RESOURCE_ATTRIBUTES": fmt.Sprintf("service.name=%s,odigos.device=python", deviceId),
envOtelTracesExporter: envValOtelHttpExporter,
Expand Down

0 comments on commit 2186d4d

Please sign in to comment.