Skip to content

Commit

Permalink
Merge pull request #9 from rizalgowandy/arwego_b_detail_pie
Browse files Browse the repository at this point in the history
Fix Error Pie Chart on Detail Page
  • Loading branch information
Rizal Widyarta Gowandy authored Mar 29, 2021
2 parents 619ecde + 3e039da commit d9c44d9
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 d9c44d9

Please sign in to comment.