opentelemetry.io icon indicating copy to clipboard operation
opentelemetry.io copied to clipboard

Doc Issue - Building a Trace Receiver is not up-to date

Open MacNale opened this issue 2 years ago • 1 comments

This page needs to be updated to replace deprecated APIS. e.g image

atmAttrs.InsertString needs to be replaced with atmAttrs.PutString.

Another example

func NewSpanID() pdata.SpanID

Needs to be changed to -

func NewSpanID() pcommon.SpanID

I struggled following this example. A reference to a complete code example would be helpful.

MacNale avatar Oct 04 '22 17:10 MacNale

cc: @open-telemetry/collector-approvers

svrnm avatar Oct 05 '22 12:10 svrnm

I created a PR to update trace receiver doc, that also addresses this issue with PR #2190.

gouslu avatar Jan 23 '23 17:01 gouslu

please assign this issue to me

rohitt-gupta avatar Jan 28 '23 20:01 rohitt-gupta

@rohitguptaa22 there is already a PR https://github.com/open-telemetry/opentelemetry.io/pull/2190 to resolve it. Feel free to help with reviewing it

dmitryax avatar Jan 29 '23 02:01 dmitryax

Closed by #2190

chalin avatar Feb 28 '23 19:02 chalin