gerrit-dash-creator/dashboards/fuel-logging-monitoring-alarming.dash
Akihiro Motoki 85662d44c6 Fix queries using label:Code-Review<=2
Previously, label:Code-Review<=2 matches changes with some scores
(+2, +1, -1, -2), so NOT label:Code-Review<=2 can be used to pick up
changes without any reviews.
After upgrading the gerrit, label:Code-Review<=2 now matches all changes
including changes without reviews. As a result, NOT label:Code-Review<=2
excludes all changes and it is meaningless.

This commit replaces 'NOT label:Code-Review<=2' with
'NOT label:Code-Review<=-1 NOT label:Code-Review>=1'
to achieve the original purpose of queries.

Also fixes meaningless label:Code-Review<=2 in some queries.

Change-Id: I437963b9cf72d9b80420737ce8c5f066453cf803
2017-11-02 01:29:06 +09:00

29 lines
1.6 KiB
Plaintext

[dashboard]
title = FUEL Logging, Monitoring and Alarming Review Inbox
description = Review Inbox
foreach = (project:openstack/fuel-plugin-lma-collector OR project:openstack/fuel-plugin-elasticsearch-kibana OR project:openstack/fuel-plugin-influxdb-grafana OR project:openstack/fuel-plugin-lma-infrastructure-alerting OR openstack/stacklight-integration-tests OR project:openstack/fuel-plugin-kafka OR project:openstack/fuel-plugin-openstack-telemetry) status:open
[section "My Patches Requiring Attention"]
query = owner:self (label:Verified-1 OR label:Code-Review-1 OR label:Workflow<=-1)
[section "Needs Approval"]
query = NOT label:Workflow>=1 NOT label:Workflow<=-1 NOT label:Verified<=-1 NOT owner:self label:Code-Review>=2 NOT label:Code-Review-1
[section "2 Days Without Feedback"]
query = NOT label:Workflow>=1 NOT label:Workflow<=-1 NOT label:Verified<=-1 NOT owner:self NOT project:openstack/fuel-specs NOT label:Code-Review<=-1 NOT label:Code-Review>=1 age:2d
[section "No Negative Feedback"]
query = NOT label:Workflow>=1 NOT label:Workflow<=-1 NOT label:Verified<=-1 NOT owner:self NOT project:openstack/fuel-specs NOT label:Code-Review<=-1 NOT label:Code-Review>=2 limit:50
[section "Other"]
query = NOT label:Verified<=-1 NOT owner:self NOT project:openstack/fuel-specs label:Code-Review-1 limit:20
[section "Needs Reverify"]
query = label:Workflow>=1 NOT label:Workflow<=-1 label:Verified<=-1,zuul
[section "Work In Progress Or Unverified"]
query = NOT label:Workflow>=1 NOT owner:self (label:Workflow<=-1 OR label:Verified<=-1,zuul)
[section "All My Patches "]
query = owner:self