Skip to content

[chore] Make all OTel Demo components use the http/protobuf OTLP protocolΒ #2676

@cyrille-leclerc

Description

@cyrille-leclerc

Some OTel Demo components requires to use the grpc OTLP protocol, not supporting the default http/protobuf OTLP protocol.
This increases the complexity of the configuration.

Analysis of the current implementations. Legend:

  • 🟒 : seems to support otlp http/protobuf just through env vars
  • πŸ”΄ : seems to have coded dependency on OTLP grpc
  • 🟠 : unclear
service OTLP protocol currently used programming language OTel SDK config file (GitHub)
accounting unknown C# (.NET) unknown 🟠 (likely Program.cs or a Telemetry file)
ad grpc (default via Java agent) Java (agent) Java agent via env/args (no SDK file) – Dockerfile
cart unknown C# (.NET) unknown
checkout unknown Go main.go 🟒
currency unknown C++ tracer_common.h πŸ”΄ otlp_grpc_exporter_factory.h
email unknown Ruby email_server.rb 🟒
flagd-ui unknown Phoenix Fwk mix.exs 🟠 probably ok
fraud-detection unknown Kotlin 🟒 java agent
frontend unknown Node.js Instrumentation.js πŸ”΄ '@opentelemetry/exporter-trace-otlp-grpc'
frontend-proxy OTLP http/protobuf (4318) Envoy envoy.tmpl.yaml ❓ unclear to @cyrille-leclerc
image-provider OTLP grpc (4317) NGINX (OTEL module) nginx.conf.template πŸ”΄ nginx_otel_module requires gRPC
payment OTLP http/protobuf (Node default) Node.js opentelemetry.js πŸ”΄ require('@opentelemetry/exporter-trace-otlp-grpc')
product-catalog unknown Go main.go πŸ”΄ go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
quote unknown PHP routes.php... 🟠 no reference to grpc found
recommendation unknown Python requirements.txt πŸ”΄ opentelemetry-exporter-otlp-proto-grpc==1.38.0
load-generator unknown Python locustfile.py πŸ”΄ opentelemetry.exporter.otlp.proto.grpc.trace_exporter
shipping unknown Rust telemetry_conf.rs 🟒 no dependency found on otlp grpc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions