Replies: 1 comment 5 replies
-
What are these constraints? v1.14.0 made various changes to the dependency tree that may have helped. Realistically, if we did add a new option (or just automatically skip empty payloads), it would almost certainly only be available in a new version based on main, so you would still need to upgrade off v1.9.0 to benefit. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I’m using OpenTelemetry (.NET) to export MassTransit metrics to Datadog via the OTLP exporter. When the metrics payload is empty, Datadog responds with HTTP 400.
Is there any configuration or recommended approach to prevent the exporter from sending a request when there’s nothing to export?
Environment details:
One workaround I considered is using HttpClientFactory with a DelegatingHandler to short-circuit empty requests, but it would be great to have a native option in the exporter (e.g., SkipEmptyPayload = true or similar).
This would avoid unnecessary network calls and error logs in scenarios where metrics are sparse (e.g., MassTransit-only instrumentation).
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions