Slackbot
04/07/2022, 4:05 AMVishal Sharma
04/07/2022, 5:28 AMAnkit Nayan
http
library to do requests and similarly db clients libs to query a db server the data will be automatically available if the libs are supported by opentelemetry. If that is not working you can always add data using sdks. For the semantics, refer to this official otel docs which we use to extract data.Ankit Nayan
requests
and db
queries. I can do a quick lookup in otel docs for supportHardik Agrawal
04/07/2022, 5:41 AMHardik Agrawal
04/07/2022, 5:43 AM1. What is the scale you are running at? ServiceMap does has some known perf issues.Right now we are running in non prod which is low scale. Roughly 1L traces generated in few hours. In production we will have atleast 500X of this.
Ankit Nayan
I am seeingt he db.system as postgres and also the queries being executed but they are not coming as database callsIf you are seeing that, then it should be there in charts also. Possible to DM me the API response where you see
db.system as postgres and also the queries being executed
?Ankit Nayan
Ankit Nayan
In production we will have atleast 500X of this.Should not be any issue unless you query spans over very large duration > 6hrs. If I got you correctly your production data will be around 15K spans/s, right? Right now we are benchmarking with 50K spans/s ingestion. We shall publish the performance results in 2 weeks. Anyhow, query speeds linearly with added CPU resources to clickhouse which can scale horizontally and vertically both.
Ankit Nayan
Ankit Nayan
Hardik Agrawal
04/07/2022, 7:12 AMHardik Agrawal
04/07/2022, 7:13 AM@User Are you using the service map as it is? We can optimise it in our next release. I think it can be made multifold faster using simple DB optimizations. @User might be a good time to improve perf of service map nowThis is major drawback for us since we have a lot of microservices. Would really help if we can get this since in non prod even with less data it does not load
Ankit Nayan
Got it thanks! Do you have any example on sampling? Should we do it a collector level or application levelcollector level. Will share the guidelines soon. If you need to kickstart now, you can use config from https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/probabilisticsamplerprocessor
Ankit Nayan
This is major drawback for us since we have a lot of microservices. Would really help if we can get this since in non prod even with less data it does not loadgot it. Let me try for this early next week
Palash Gupta
04/07/2022, 6:26 PM