Skip to content

Commit

Permalink
326 generic product view template filtering (#327)
Browse files Browse the repository at this point in the history
* fix: generic view product page filtering

* fix: generic view product page filtering on product by metricType
  • Loading branch information
georgeowusuHO authored Oct 21, 2022
1 parent 7451c17 commit 8104130
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ local createServiceTemplates(config) =
template.new(
name='product',
datasource='prometheus',
query='label_values(sli_value{service="%s", sli_environment=~"$environment"}, sli_product)' % config.product,
query='label_values(sli_value{service="%s", sli_environment=~"$environment", metric_type=~"$metric_type"}, sli_product)' % config.product,
refresh='time',
includeAll=true,
multi=true,
Expand Down

0 comments on commit 8104130

Please sign in to comment.