Skip to content

Commit

Permalink
Fix Error Pie Chart on Detail Page
Browse files Browse the repository at this point in the history
Missing the metric method filter.
  • Loading branch information
Rizal Widyarta Gowandy committed Mar 29, 2021
1 parent 619ecde commit 3e039da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ resource "newrelic_one_dashboard" "main" {

nrql_query {
account_id = var.account_id
query = "SELECT count(*) FROM ${var.event_name} WHERE metric_status = 'error' FACET `code` LIMIT 10 EXTRAPOLATE"
query = "SELECT count(*) FROM ${var.event_name} WHERE method = '${widget_pie.value}' AND metric_status = 'error' FACET `code` LIMIT 10 EXTRAPOLATE"
}
}
}
Expand Down

0 comments on commit 3e039da

Please sign in to comment.