Tampermonkey script to add a date and time range input to the New Relic One website.
Easy to use, can COPY and PASTE the date and time range to other pages.
- Pick
begin
andend
from URL query parameters.- If
begin
andend
are not found, and ifduration
found, calculatebegin
andend
fromduration
. - When also
duration
is not found, out of scope.
- If
- Push
GO
or hitENTER
key to apply the date and time range to the page.- Set
begin
andend
query string to the URL. - Remove
duration
query string from the URL. window.location.href = newUrl;
- Set
- Logs(
/logger
) is not supported.- Search condition will lost when you change DateTimeRange and Go. SO, copy search condition and paste after moved.
-
Install Tampermonkey extension for your browser if not yet installed.
-
Tampermonkey extension option > Utility tab > Import from URL
https://github.com/netmarkjp/userscript-nr-date-time-range-picker/releases/latest/download/userscript-nr-date-time-range-picker.js