- Adjust
WMArchive.Service.Data.WMAData.validate
to validate the additional query argument with a regular expression as detailed in the Performance data REST endpoint documentation. - Adjust
WMArchive.Storage.MongoIO.MongoStorage.performance
by adding the scope filter to the validscope_keys
. - Adjust
WMArchive/src/js/models/scope.js
by adding the scope filter toapp.Scope.filters
and a default value toapp.Scope.defaults
as detailed in the Performance UI architecture documentation.
- Check the value of the
WMARCHIVE_PERF_METRICS
environment variable at runtime of the server. It may point toWMArchive/src/maps/metrics.json
. - Edit the file with your changes. Refer to Report 011 for details and make sure to test the server with your changes since the UI relies on this information.