TLDR Romario wanted to customize a graph to show 0 values and smoothness. Srikanth explained that the graph is based on data returned, so it won't show spikes from zero if there are no zero values.
Hello, is there way to customize the graph?
How to show 0 values, or how to smooth the graph
Example, this dot. How can I show that is a spike from 0 to the value and then back to 0?
> How can I show that is a spike from 0 to the value and then back to 0?
I don’t see a 0 value. The dot you mentioned shows 250ms. How is it a spike from zero value?
0 to 285ms to then 0 again
> 0 to 285ms to then 0 again
The graph is based on the data returned. The response doesn’t show such spikes if there is no zero value. For instance, take the following two kinds of responses.
```[t1, 100], [t2, 250], [t3, 180], [t4, 120], [t5, 230]```
```[t1, 100], [t2, 250], [t3, 0], [t4, 180], [t5, 120], [t6, 0], [t7, 230]```
There will be no spike from zero and back for the first data. Because the data says, it never went to zero.
Hmm interesting, maybe coalesce null to 0? Not sure :thinking_face:
Do you have null values in the response?
Indexed 1061 threads
Built with ClickHouse as datastore, SigNoz is an open-source APM to help you find issues in your deployed applications & solve them quickly | Knowledge Base powered by Struct.AI