Histogram Metric Not Showing Data in Buckets #7443
Unanswered
antonmithun-work
asked this question in
Q&A
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to record a histogram metric in SigNoz using OpenTelemetry in Rust. Here's how I'm measuring and recording execution time for a function:
let hist = meter .f64_histogram("test_hist") .with_description("Time taken") .with_unit("ms") .build(); let start_time = Instant::now(); //do_somthing let elapsed_time = start_time.elapsed().as_secs_f64() * 1000.0; hist.record(elapsed_time, &[]);
In the SigNoz dashboard, I see my histogram metric in the dropdown when creating a panel, but it appears as three different metrics:
hist_count
hist_sum
hist_bucket
However, when I select hist_bucket, it shows no data. and I am struggling to understand the plot if I select other two.
What is the correct metric to use to properly visualize the histogram distribution? Do I need to configure anything else to see histogram buckets properly?
thanks
Beta Was this translation helpful? Give feedback.
All reactions