Closed xorima closed 1 month ago
Type: Documentation Under: https://opentelemetry.io/docs/languages/go/getting-started/#add-custom-instrumentation there is a part of the guide where the code uses:
logger = otelslog.NewLogger( otelslog.WithInstrumentationScope(instrumentation.Scope{ Name: name, }), )
with changes in 1.27.0 https://github.com/open-telemetry/opentelemetry-go-contrib/releases/tag/v1.27.0 this func was replaced so the get started should also be updated
Follow the get started guide, code fails to work due to renamed function
Guide to show us how to get things working correctly.
Fixed in https://github.com/open-telemetry/opentelemetry.io/pull/4577
Description
Type: Documentation Under: https://opentelemetry.io/docs/languages/go/getting-started/#add-custom-instrumentation there is a part of the guide where the code uses:
with changes in 1.27.0 https://github.com/open-telemetry/opentelemetry-go-contrib/releases/tag/v1.27.0 this func was replaced so the get started should also be updated
Steps To Reproduce
Follow the get started guide, code fails to work due to renamed function
Expected behavior
Guide to show us how to get things working correctly.