Slackbot
06/06/2022, 4:38 PMPranay
Eustacio Bautista Arellanos
06/06/2022, 5:31 PM@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/Pranay
Srikanth Chekuri
06/06/2022, 7:31 PM@Eustacio Bautista Arellanos you are using incorrect endpoint for collector. It should beCopy codeOTEL_EXPORTER_OTLP_ENDPOINT="<http://localhost:3301>"
<http://localhost:4317>
as mentioned in the tutorial.Eustacio Bautista Arellanos
06/06/2022, 7:45 PM@Srikanth Chekuri The port where Signoz is running is <http://localhost:3301/> so I put it like this.
This is mentioned in the tutorial.
Eustacio Bautista Arellanos
06/06/2022, 7:46 PMThis is where signoz is running
Eustacio Bautista Arellanos
06/06/2022, 7:47 PMI do not know what I'm doing wrong
Srikanth Chekuri
06/06/2022, 7:52 PMOTEL_EXPORTER_OTLP_ENDPOINT
should be 4317Eustacio Bautista Arellanos
06/06/2022, 8:04 PMI changed the port to 4317, but it still gives me the same error.
My fastapi app is running at 127.0.0.1:8000
Srikanth Chekuri
06/06/2022, 8:13 PMOTEL_RESOURCE_ATTRIBUTES
and OTEL_EXPORTER_OTLP_ENDPOINT
with their corresponding values and the just run the remaining command.Eustacio Bautista Arellanos
06/06/2022, 8:19 PMOK, thank you very much for the time @Srikanth Chekuri. I'm going to check that about setting the environment variables