Linked Questions

Popular Questions

how to create queries in prometheus with wildcard

Asked by At

my application emits counter metrics something like this:

app_counters_some_client_response_code_201_count_value{}
app_counters_some_client_response_code_400_count_value{}
app_counters_some_client_response_code_404_count_value{}

I want to create a graphana dashboard which can show all these different metric values in the same dashboard with the status codes as the legend.. how can I write such a single query using a wildcard as there can be multiple response codes and we don't have the complete list of possible values, so we won't be able to write a different query for each metric

Related Questions