I'm not able to send data with httpprotobuf protocol but everything is working fine with grpc protocol
otel.WithTracing(tracing =>
{
tracing.AddAspNetCoreInstrumentation();
tracing.AddHttpClientInstrumentation();
tracing.AddSource("CustomActivityName");
tracing.AddOtlpExporter(otlpOptions =>
{
otlpOptions.Endpoint = new Uri("http://otel-url:4318/");
otlpOptions.Protocol = OtlpExportProtocol.HttpProtobuf;
});
tracing.AddConsoleExporter();
});
I'm bit confused as I'm not seeing any error logs
According to Exporter Readme:
In your case this would be: