Hi team , Is there an way to drop Traces based on ...
# support
s
Hi team , Is there an way to drop Traces based on some regex like api name or something from two places . • From Application - From The SDK • From Collector cc - @Nagesh Bansal @Vishal Sharma
Got it here . https://signoz.io/docs/traces-management/guides/drop-spans/#at-the-application But My question is if I am making an APM , the spans are smapled then how I will get all datas like overall counts and over all latency of a trace/ api ? Do Signoz support dual-pipeline where Use metrics to get accurate request/latency/error counts (unsampled). Use sampled traces for deep analysis and debugging.
And one more thing is We are running collector as a service currently ? Is there any provision to run as agent ? https://opentelemetry.io/docs/collector/architecture/#running-as-an-agent
v
You can run otel agents but SigNoz otel collector which comes with installation runs as service. Any specific need to run it as agent?
s
Hi @Vishal Sharma, My use case as below , Sampling - If I am keeping sampling as 30% , then 30% traces are flowing from application to collector . But I am using the APM also , in that case the APM gives me wrong numbers as it pulled data from 30% of traces . So I want a solution where APM will give me 100% counts but store the sampled traces . To achive this I was looking into dual-pipeline , So looking into spanmetricsprocessor in the collector . But want to know that instead of sending all traces to Signoz collector over network , can I run a collector as an agent and do the sampling and spanmetricsprocessor , then send the sampled traces and derived metrics to signoz collector .
Any Suggestion @Vishal Sharma?
v
Did you think of configuring sampling at otel agent level? By otel agent I mean k8s signoz otel helm chart or otel collector running on host.
s
Otel collector running on host . Is there any guide to setup otel collector agent on host ? So i am interested in that set up . Want to use both collector agent as sidecart and collector as gateway also
s
Thanks , Will follow this and will come back if face issue anywhere