Skip to content

Commit

Permalink
Merge pull request #55 from turleynerd/patch-1
Browse files Browse the repository at this point in the history
Fix error graph for non http applications
  • Loading branch information
Kav91 authored Jul 21, 2023
2 parents 90ea56c + 46277a0 commit 8d3321f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export default class DeploymentsContainer extends React.PureComponent {
const throughputQuery = `SELECT count(*) as 'Requests' FROM Transaction, TransactionError`;
const responseQuery = `SELECT average(duration) as 'Response' FROM Transaction`;
const chartQuery = `SELECT * FROM Transaction, TransactionError ${appClause} SINCE ${sinceTime} UNTIL ${untilTime} LIMIT MAX`;
const errorQuery = `SELECT count(*) as 'Errors' FROM Transaction, TransactionError WHERE error IS TRUE OR (httpResponseCode NOT LIKE '2%%' AND httpResponseCode NOT LIKE '3%%') OR error.message IS NOT NULL`;
const errorQuery = `SELECT count(*) as 'Errors' FROM Transaction, TransactionError WHERE error IS TRUE OR (httpResponseCode NOT LIKE '2%%' AND httpResponseCode NOT LIKE '3%%' AND httpResponseCode IS NOT NULL) OR error.message IS NOT NULL`;
const topChartStyle = {
width: '125px',
height: '50px',
Expand Down

0 comments on commit 8d3321f

Please sign in to comment.