Hello :wave:, I'm trying to create a panel that sh...
# support
d
Hello 👋, I'm trying to create a panel that shows the total number of user registrations over a specific period, but I'm encountering the following error: API responded with 400 - there can be only one result series for the value type panel, but I got 2. I'm using OpenTelemetry in Python, and what I'm doing is creating a
create_counter
and incrementing it by 1. Do you know what the error could be?
a
You are using
value
type panel which should receive only 1 value from the query. The
NOOP
aggregator basically does nothing and shows all the timeseries matching the filters and metric_name. 2 solutions: 1. Use some aggregation like
sum_rate
so that the query returns just 1 value 2. Use
timeseries
panel type which can display all the series matching the query
d
But in this case, I don't want a time series; for example, I want it to show me a number, in this case, 10 user registrations.
a
then try changing
NOOP
to
sum
or
avg
whatever is relevant
d
Thank you, for example, in the last 30 minutes, 10 users have registered, but it shows me a value that is not accurate; it shows a higher value. Do you know why this could happen? And do you know if there is any documentation on this matter? Thank you.