Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cmd/telemetrygen] When writing traces, --otlp-http-url-path should default to /v1/traces #31258

Closed
AlexDCraig opened this issue Feb 14, 2024 · 1 comment
Labels
bug Something isn't working needs triage New item requiring triage

Comments

@AlexDCraig
Copy link
Contributor

AlexDCraig commented 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

@AlexDCraig AlexDCraig added bug Something isn't working needs triage New item requiring triage labels Feb 14, 2024
@AlexDCraig 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
@AlexDCraig
Copy link
Contributor Author

Closing because I'm not on latest for other reasons, and this is fixed there!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage New item requiring triage
Projects
None yet
Development

No branches or pull requests

1 participant