Skip to content

Commit

Permalink
update couchdb log expression to accept log_type label (grafana#1303)
Browse files Browse the repository at this point in the history
  • Loading branch information
algchoo authored Aug 15, 2024
1 parent 55e1152 commit c476190
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apache-couchdb-mixin/dashboards/couchdb-nodes.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -1225,7 +1225,7 @@ local systemLogsPanel(cfg) = {
{
datasource: lokiDatasource,
editorMode: 'code',
expr: '{' + getMatcher(cfg) + ', filename="/var/log/couchdb/couchdb.log"} |~ "$log_level"',
expr: '{' + getMatcher(cfg) + '} |= `` | (filename=~"/var/log/couchdb/couchdb.log" or log_type="couchdb") |~ "$log_level"',
queryType: 'range',
refId: 'A',
},
Expand Down

0 comments on commit c476190

Please sign in to comment.