https://signoz.io logo
#general
Title
# general
h

Himanshu Bisht

08/10/2023, 7:37 AM
Hi Team, We are trying to use signoz and opentel for our go application bu t some how we are not getting trace for mongo queries and the other graphql calls, it only tracks /gql endpoint, Is there a way to span at global level for graphql rather than having span for every functions?
p

Palash Gupta

08/10/2023, 2:39 PM
@Vishal Sharma
v

Vishal Sharma

08/11/2023, 1:56 AM
@Himanshu Bisht How are you instrumenting? Which library are you using? DId you try using otel-mongo for mongo instrumentation?
h

Himanshu Bisht

08/16/2023, 6:39 AM
Hi @Vishal Sharma I am using https://signoz.io/docs/instrumentation/golang/ for golang also using otel-mongo for mongo but what I want here is that i.e :- /gql is my endpoint now if there is a graphql request made to this /gql endpoint I want to have trace for the functions eg:- here is one query
Copy code
query MyQuery {
  Token(input: {address: "0xedf345564606fe9ee3a9796d5cc75e3b16e682", blockchain: ethereum}) {
    address
    baseURI
  }
}
now in this there is a call to a function called Token and there is some db call as well, I want to trace this function and db call both
@Palash Gupta @Vishal Sharma
Hey guys can anyone help with this?
2 Views