You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using telemetrygen to write traces over http, the --otlp-http-url-path defaults to /v1/metrics which is the path for metrics, not traces. When writing traces, it should default to the proper path.
Steps to Reproduce
Use telemetrygen to write traces to an http endpoint and do not specify a path
AlexDCraig
changed the title
[telemetrygen] When writing traces, --otlp-http-url-path should default to /v1/traces
[cmd/telemetrygen] When writing traces, --otlp-http-url-path should default to /v1/traces
Feb 14, 2024
Component(s)
cmd/telemetrygen
What happened?
Description
When using telemetrygen to write traces over http, the --otlp-http-url-path defaults to /v1/metrics which is the path for metrics, not traces. When writing traces, it should default to the proper path.
Steps to Reproduce
Use telemetrygen to write traces to an http endpoint and do not specify a path
Expected Result
Successful generation of traces
Actual Result
404 is thrown
Collector version
0.83.0
Environment information
Environment
OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")
OpenTelemetry Collector configuration
No response
Log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: