This message was deleted.
# general
s
This message was deleted.
p
@Eustacio Bautista Arellanos Can you share which tutorial are you following?
e
Copy code
@Pranay Yes of course.
I'm following this documentation and only got to step 4 and from there I can't go any further
https://signoz.io/docs/instrumentation/fastapi/
p
@Srikanth Chekuri You have any insights on this?
s
Copy code
OTEL_EXPORTER_OTLP_ENDPOINT="<http://localhost:3301>"
@Eustacio Bautista Arellanos you are using incorrect endpoint for collector. It should be
<http://localhost:4317>
as mentioned in the tutorial.
e
Copy code
@Srikanth Chekuri The port where Signoz is running is <http://localhost:3301/> so I put it like this.

This is mentioned in the tutorial.
Copy code
This is where signoz is running
Copy code
I do not know what I'm doing wrong
s
You are passing the wrong port number. SigNoz UI is running at 3301 but the collector backend which receives the telemetry is running at 4317. If you scroll little from the doc where it talks about hostname you will see it shows the port number for
OTEL_EXPORTER_OTLP_ENDPOINT
should be 4317
e
Copy code
I changed the port to 4317, but it still gives me the same error.

My fastapi app is running at 127.0.0.1:8000
s
@Eustacio Bautista Arellanos You are on windows and that command is targeted for *nix systems. I am not really familiar with windows. What you need to do is, set the environment variables
OTEL_RESOURCE_ATTRIBUTES
and
OTEL_EXPORTER_OTLP_ENDPOINT
with their corresponding values and the just run the remaining command.
e
Copy code
OK, thank you very much for the time @Srikanth Chekuri. I'm going to check that about setting the environment variables