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

Inconsistent behavior between agent-config on different platforms #214

Open
rcbjBlueMars opened this issue Jun 2, 2021 · 2 comments
Open
Labels
bug Something isn't working

Comments

@rcbjBlueMars
Copy link
Contributor

rcbjBlueMars commented Jun 2, 2021

Use Case

Slight inconsistency with how the other in-app agents support configs... the other agents (golang, nginx, java) support both adding the protocol and omitting the protocol from the reporting.endpoint. In python's case, it only supports endpoints prefixed with the protocol. If you drop the protocol, then the spans fail silently to be sent to the platform

so this works...

service_name: "python-svc"
reporting:
  endpoint: "http://localhost:4317"
  trace_reporter_type: "OTLP"

but this doesnt:

service_name: "python-svc"
reporting:
  endpoint: "localhost:4317"
  trace_reporter_type: "OTLP"

Proposal

Allow the OTLP span exporter endpoint config to take a value with or without the protocol specified.

If not protocol is specified, add 'http://' to the value passed to the OTLP exporter class.

Questions to address (if any)

@rcbjBlueMars rcbjBlueMars added the bug Something isn't working label Jun 2, 2021
@jcchavezs
Copy link
Collaborator

jcchavezs commented Jun 2, 2021 via email

@rcbjBlueMars rcbjBlueMars changed the title Inconsistent behavior Inconsistent behavior between agent-agent on different platforms Jun 2, 2021
@rcbjBlueMars rcbjBlueMars changed the title Inconsistent behavior between agent-agent on different platforms Inconsistent behavior between agent-config on different platforms Jun 13, 2021
@jcchavezs
Copy link
Collaborator

Do you want to pick this up @shril

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

No branches or pull requests

2 participants