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

Scott

09/15/2022, 7:18 PM
Greetings! I am evaluating signoz and currently running in Docker. Where is the data collected being stored and what is the retention?
Thanks, brother! So what is the retention by default? Moreover, is there a sizing formula for an estimate of storage required by day? And another thing, Services show several applications. Are those SigNoz itself? How are Redis and Mysql used? I thought I read that clickhouse was the data store?
p

Pranay

09/15/2022, 9:41 PM
By default there is no retention period set. So data keeps on getting stored indefinitely. We highly recommend to set retention period based on your business needs
@Scott the services you see by default are a sample application which is installed by default with SigNoz. This enables users to explore functionalities of SigNoz with instrumenting their application first. Redis and MySQL are part of that sample application If you want you can remove the sample application by following steps mentioned here - https://signoz.io/docs/operate/docker-standalone/#remove-the-sample-application ClickHouse is indeed the primary datastore :)
Hope this clarifies - feel free to ask more questions if something is not clear
s

Scott

09/19/2022, 1:00 PM
Thanks @Pranay! Say, the application I am trying to instrument is a production Spring Boot app with mane dependencies. It appears to be over-instrumented according to the Traces. I am now experimenting with turning off auto-instrument (e.g. otel.instrumentation.spring-scheduling.enabled=false) and decorating where I need a trace to begin using @WithSpan. At the moment, I do not see the method I decorated showing up
Copy code
@WithSpan
private void processMessagesReceivedFromStore(StoreInfo storeInfo) throws Exception {
p

Pranay

09/19/2022, 4:21 PM
I see. so you plan to turn off auto instrumentation and send all spans manually? @Scott @Ankit Nayan @Vishal Sharma any insights on why @WithSpan decorated traces may not be appearing in SigNoz?
a

Ankit Nayan

09/19/2022, 4:48 PM
@Scott have you followed https://opentelemetry.io/docs/instrumentation/java/automatic/annotations/? Go through the steps once again in case you missed something
s

Scott

09/19/2022, 4:54 PM
I have read thru that doc. Out-of-the-box I was not getting the traces I needed. Once I started decorating the methods I wanted in my trace, I then started seeing duplicate spans in my trace. It was at this point I started turning off auto-instrument (e.g. otel.instrumentation.spring-scheduling.enabled=false). However, I am now getting traces which indicate there are missing spans! This seems to be generating spans I either cannot see in my code or missing spans and/or duplicating spans. Any clues?
a

Ankit Nayan

09/19/2022, 5:22 PM
hmm... I have not looked into these. Can it wait for a few days? Maybe by Thu/Friday? Somebody could give it a try
s

Scott

09/19/2022, 6:14 PM
As I am trying to figure out my spans/traces, is there a way to easily flush all collected data
a

Ankit Nayan

09/19/2022, 7:00 PM
connect to clickhouse and truncate all tables inside dbs
signoz_traces
,
signoz_metrics
and
signoz_logs
v

Vishal Sharma

09/20/2022, 3:02 AM
@Scott Here’s how you connect to clickhouse: https://signoz.io/docs/operate/clickhouse/connect-to-clickhouse/
12 Views