Skip to content

Update receiver builder tutorial with API changes #7361

@tiffany76

Description

@tiffany76

What needs to be changed? As commented in #7333:

Specifically, we'll want to update the receiver tutorial to replace go.opentelemetry.io/collector/semconv/v1.9.0 by go.opentelemetry.io/otel/semconv/v1.9.0. Although the new package provides the same functionality, the API is a bit different, so it's not a trivial update... For example, conventions.AttributeCloudProvider will need to be replaced by string(conventions.CloudProviderKey). Maybe that link should be left un-updated until the whole article can be updated.

What is the name + path of the page that needs changed? https://opentelemetry.io/docs/collector/building/receiver/

Additional context: The param shortcode on this page (line 1519) was removed in favor of hard coding the Collector version. When the receiver page is updated, we should make sure to add the param back in.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions