Don't send logs or traces for transport-otlp-http
if their respective URLs are not defined
#727
Labels
bug
Report a bug
Description
Currently,
tracesURL
andlogsURL
are both optional for@grafana/transport-otlp-http
.In our application, we only need traces so we don't have
logsURL
defined. However, the transport is still trying to send outresourceLogs
to an undefinedlogsURL
.Steps to reproduce
Expected behavior
If the url for the traces or logs endpoints aren't defined, then don't send the payloads.
The text was updated successfully, but these errors were encountered: