You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Public locations on export do not match import requirements
Description
When exporting synthetic monitors, the public locations are exported as, for example, "Dublin, IE". However on import, nerdgraph schema requires the region, as EU_WEST_1.
Steps to Reproduce
python3 ./fetchmonitors.py --sourceAccount xxx --sourceApiKey "NRAK-xxx" --region us --toFile SynthMonitors202411191429.csv
Pasting that into nerdgraph fails.
Expected Behavior
Pasting json output into nerdgraph succeeds.
Relevant Logs / Console output
newrelic nerdgraph query 'mutation {
syntheticsCreateScriptApiMonitor(
accountId: xxx
monitor: {apdexTarget: 7, locations: {public: "US_EAST_2"}, name: "testImport1444", period: EVERY_10_MINUTES, runtime: {runtimeType: "NODE_API", runtimeTypeVersion: "16.10", scriptLanguage: "JAVASCRIPT"}, script: "// This example shows use of public location import \n}", status: DISABLED}
) {
errors {
description
}
monitor {
status
}
}
}'
Your Environment
ex: Browser name and version:
ex: Operating System and version:
Additional context
The text was updated successfully, but these errors were encountered:
Public locations on export do not match import requirements
Description
When exporting synthetic monitors, the public locations are exported as, for example, "Dublin, IE". However on import, nerdgraph schema requires the region, as EU_WEST_1.
Steps to Reproduce
python3 ./fetchmonitors.py --sourceAccount xxx --sourceApiKey "NRAK-xxx" --region us --toFile SynthMonitors202411191429.csv
Pasting that into nerdgraph fails.
Expected Behavior
Pasting json output into nerdgraph succeeds.
Relevant Logs / Console output
newrelic nerdgraph query 'mutation {
Your Environment
Additional context
The text was updated successfully, but these errors were encountered: