Closed Bug 1772015 Opened 2 years ago Closed 2 years ago

[perfdocs] Add more documentation about metrics gathered through Raptor

Categories

(Testing :: Raptor, task, P2)

task

Tracking

(firefox107 fixed)

RESOLVED FIXED
107 Branch
Tracking Status
firefox107 --- fixed

People

(Reporter: sparky, Assigned: sparky)

References

(Blocks 3 open bugs)

Details

(Whiteboard: [fxp])

Attachments

(3 files, 5 obsolete files)

This bug is for adding a bit more documentation about how our metrics are collected, and what they are to our documentation. It might also be useful to update our information about how we can do regression hunting because we have a lot of new tools e.g. mozperftest-tools, new browsertime videos with overlaid metrics, etc..

See Also: → 1772144
Blocks: 1772829

This patch adds the ability to document metrics, and have them validated against metrics that are being measured by the test. The definitions can be done in any "level" of the configuration (test, suite, global), however there can't be any duplicate definitions for metrics (including their aliases).

Warnings are output for the following:

  • Duplicate metrics definitions.
  • Undocumented metrics that are measured (alerting for Raptor).
  • Documented, but unmeasured metrics.

Changes to the tests are to make them work with the changes done in this patch.

Assignee: nobody → gmierz2
Status: NEW → ASSIGNED

This patch adds the ability to document metrics, and have them validated against metrics that are being measured by the test. The definitions can be done in any "level" of the configuration (test, suite, global), however there can't be any duplicate definitions for metrics (including their aliases).

Warnings are output for the following:

  • Duplicate metrics definitions.
  • Undocumented metrics that are measured (alerting for Raptor).
  • Documented, but unmeasured metrics.

Changes to the tests are to make them work with the changes done in this patch.

This patch adds the ability to document metrics, and have them validated against metrics that are being measured by the test. The definitions can be done in any "level" of the configuration (test, suite, global), however there can't be any duplicate definitions for metrics (including their aliases).

Warnings are output for the following:

  • Duplicate metrics definitions.
  • Undocumented metrics that are measured (alerting for Raptor).
  • Documented, but unmeasured metrics.

Changes to the tests are to make them work with the changes done in this patch.

This patch adds the ability to document metrics, and have them validated against metrics that are being measured by the test. The definitions can be done in any "level" of the configuration (test, suite, global), however there can't be any duplicate definitions for metrics (including their aliases).

Warnings are output for the following:

  • Duplicate metrics definitions.
  • Undocumented metrics that are measured (alerting for Raptor).
  • Documented, but unmeasured metrics.

Changes to the tests are to make them work with the changes done in this patch.

Attachment #9281806 - Attachment is obsolete: true
Attachment #9281805 - Attachment is obsolete: true
Attachment #9281803 - Attachment is obsolete: true
Attachment #9281804 - Attachment is obsolete: true

This patch adds the ability to document metrics, and have them validated against metrics that are being measured by the test. The definitions can be done in any "level" of the configuration (test, suite, global), however there can't be any duplicate definitions for metrics (including their aliases).

Warnings are output for the following:

  • Duplicate metrics definitions.
  • Undocumented metrics that are measured (alerting for Raptor).
  • Documented, but unmeasured metrics.

Changes to the tests are to make them work with the changes done in this patch.

Attachment #9281852 - Attachment is obsolete: true

This patch adds some starter documentation on metrics and our tests that is unfinished. It also adds metric definitions which take care of the perfdoc failures generated in previous patches in the series.

This patch adds the ability to document metrics, and have them validated against metrics that are being measured by the test. The definitions can be done in any "level" of the configuration (test, suite, global), however there can't be any duplicate definitions for metrics (including their aliases).

Warnings are output for the following:

  • Duplicate metrics definitions.
  • Undocumented metrics that are measured (alerting for Raptor).
  • Documented, but unmeasured metrics.

Changes to the tests are to make them work with the changes done in this patch.

This patch adds some new tests for the metrics field. It also fixes up some issues in the existing tests which came from mock.Mock being used outside of a context manager. Other changes are updates to the existing tests.

Depends on D156851

Pushed by gmierz2@outlook.com:
https://hg.mozilla.org/integration/autoland/rev/26f96cf4114d
[perfdocs] Add metric documentation, and validation to Raptor. r=perftest-reviewers,aglavic
https://hg.mozilla.org/integration/autoland/rev/e36977a9e313
[perfdocs] Add tests for new metrics field. r=sparky,perftest-reviewers
https://hg.mozilla.org/integration/autoland/rev/0788b29168f8
Add starter docs for metrics. r=sparky,perftest-reviewers
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch
Blocks: perfdocs
Blocks: 1890318
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: