Skip to content

Implement HTTP(OTLP/HTTP+JSON Protocol) exporters #803

@owent

Description

@owent

Implement OTLP/HTTP+JSON exporter trace exporter and metrics exporters.

Refer to:

  1. https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/protocol/otlp.md
  2. https://github.com/open-telemetry/oteps/blob/main/text/0122-otlp-http-json.md
  3. https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-web
  4. https://github.com/open-telemetry/opentelemetry-collector/tree/main/receiver/otlpreceiver

I want to implement a HTTP exporter to fit OTLP/HTTP specification and do not depend on gRPC. And I found I need implement a Recordable which is almost the same as opentelemetry::exporter::otlp::OtlpRecordable . I'm wondering if we can create a extension (e.g. sdk_proto) and move opentelemetry::exporter::otlp::OtlpRecordable and all conversion codes from sdk to opentelemetry-proto into the this this extension? So that we can reuse the codes in more exporters.

@ThomsonTan

Metadata

Metadata

Assignees

Labels

area:exporter:otlpOpenTelemetry Protocol (OTLP) Exporter

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions