Hello, I have a question about SigNoz. Indeed, I ...
# support
a
Hello, I have a question about SigNoz. Indeed, I use the gateway mesh as Graphql API (port: 4000), and there I try to connect it with OpenTelemetry tracing but I don't know how to put the command : OTEL_EXPORTER_OTLP_ENDPOINT=127.0.0.1:4317 OTEL_RESOURCE_ATTRIBUTES=service.name=graphql-service node -r ./tracer.js index.js because in my project i have many files (not only index.js), to start my API I do the command: npm run build, a ./mesh file is then generated automatically and contains (index.js), then I do: npm run dev to launch the API. So I tried to run the command: npm run build and once I had my folder ./mesh , I opened a terminal inside and ran the command (TEL_EXPORTER_OTLP_ENDPOINT=127.0.0.1:4317 OTEL_RESOURCE_ATTRIBUTES=service.name=graphql-service node -r ./tracer.js index.js) (after adding the initialization of OpenTelemetry in index.js). The result: I got on my terminal (from ./mesh): Tracing initialized, but to start the API I had to also run the command: npm run dev on the terminal ./mesh and the graphQL service works well (port 4000), and by going to SigNoz, I found that there is no graphql service. Can you help me please?