This message was deleted.
# general
s
This message was deleted.
p
Hey, thanks!
a
Would love a quick intro 🙂
p
Sure, I am Pranjal, Lead developer at 10xers pvt ltd (a Singapore based company). We are creating a platform to simplify online teaching/content sharing. (check out passion.do) I am using signoz to monitor APM but there are some issues that I wanted help with, so I thought i'd join the community
a
Sure..we would love to help you out 🙂
p
should I continue to ask the question here?
a
ya sure 🙂
p
Thanks. I am currently trying to integrate the cloud based free plan onto my stage service. I've used this instrumentation documentation here: https://signoz.io/docs/instrumentation/golang But I am not seeing any metrics on my dashboard. Additionally, I can see this error in my service logs:
Copy code
2021/03/02 06:47:16 error: rpc error: code = Unimplemented desc = Not Found: HTTP status code 404; transport: received the unexpected content-type "text/html"
So that might be why I cannot see any metrics on the dashboard. Can you help me out?
a
Got it..let me have a look and come back 🙂
p
Thanks!
a
So that might be why I cannot see any metrics on the dashboard.
You are right 👍
🙂 1
which frameworks and dbs are you using?
p
I am using
gin
as the router and
gorm
for DB management
a
hmm...let me check this up.I might need sometime 😛
p
haha, sure, take your time!
Hey @User please do let me know if you find a solution for this
a
Sure, I shall ping you back 🙂 Occupied in multiple things now, will make time soon
p
sure, thanks a ton!
🤘 1
a
@User there was an issue with dependent library. Now I have updated cloud instructions to instrument based on pure OpenTelemetry at SigNoz Go Instrumentation. I have also tested with a sample golang application on Gin framework. It should be woking now. Let me know if things don't turn up as expected, should be very easy to debug now 🙂
To auto-instrument Gin you need to add: 1.
<http://go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin|go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin>
in your imports 2. Inject middleware by adding
router.Use(middleware.Middleware(serviceName))
These steps are also mentioned in the docs shared above.
@User auto-instrumenting gorm is an open PR now...should be merged in a week by OpenTelemetry.
p
Hey @User thank you so much for this! Will try it out today 🙌
👍 1