Skip to content

Commit

Permalink
feat: OracleDB logs expression update (grafana#1299)
Browse files Browse the repository at this point in the history
* update log expression to match on filename or log_type labels

* update log_type to match on oracledb-alert

* revert oracledb-alert to oracledb for log_type
  • Loading branch information
algchoo authored Aug 13, 2024
1 parent 7eb3e1e commit af84109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oracledb-mixin/dashboards/overview.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ local alertLogPanel(matcher) = {
{
datasource: lokiDatasource,
editorMode: 'builder',
expr: '{filename=~"/.*/.*/diag/rdbms/.*/.*/trace/alert_.*log",' + matcher + '}',
expr: '{' + matcher + '} |= `` | (filename=~"/.*/.*/diag/rdbms/.*/.*/trace/alert_.*log or log_type="oracledb")',
queryType: 'range',
refId: 'A',
},
Expand Down

0 comments on commit af84109

Please sign in to comment.