-
Notifications
You must be signed in to change notification settings - Fork 847
Description
Package
OpenTelemetry.Exporter.OpenTelemetryProtocol
Package Version
Package Name | Version |
---|---|
OpenTelemetry.Exporter.OpenTelemetryProtocol | 1.12.0 |
OpenTelemetry.Extensions.Hosting | 1.12.0 |
OpenTelemetry.Instrumentation.AspNetCore | 1.12.0 |
OpenTelemetry.Instrumentation.Http | 1.12.0 |
OpenTelemetry.Instrumentation.Runtime | 1.12.0 |
here's my csproj lineup:
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<UserSecretsId>agentless-otel-datadog</UserSecretsId>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Telemetry" Version="9.9.0" />
<PackageReference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.12.0" />
<PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="1.12.0" />
<PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.12.0" />
<PackageReference Include="OpenTelemetry.Instrumentation.Http" Version="1.12.0" />
<PackageReference Include="OpenTelemetry.Instrumentation.Runtime" Version="1.12.0" />
</ItemGroup>
</Project>
Runtime Version
net9.0
Description
I'm seeing 400 in my logs when the Periodic Metrics exporter try to export Metrics to datadog
HttpClient gets Error 400
- "\b\u0003\u0012MInvalid protobuf structure: proto: wrong wireType = 1 for field BucketCounts\n"
it look like similar to this one:
open-telemetry/opentelemetry-collector#13727
see bellow for my repository link (inside that repo there's most of the link i've used to built it up for references)
Steps to Reproduce
The impossible part is ...
- Get a Datadog account
- ask to be whitelisted for their OTEL Metrics endpoint
(if there's a need for a call or a session for debugging, or stuff to try, feel free to suggest)
The possible part:
- clone the repo: https://github.com/tebeco/AgentLessOtelDataDog
- set the API KEY as mentioned
- press F5
- Look at the logs
- Enable Exception breaking everything



Expected Result
OtelExporter, should managed to export metrics (i don't mean to be hard on that, i just don't know how to phrase it)
But I'm opening this ticket because I have no idea of the source
- My code
- My config
- one of the package here
- datadog side ingestion point (I have raised this ticket to their support already to be clear)
the reason I've decided to also open it here is because of open-telemetry/opentelemetry-collector#13727
Actual Result
no metrics are sent
Additional Context
I have raised this ticket to their support already to be clear as I don't know where the failure happens
Tip
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1
or me too
, to help us triage it. Learn more here.