github.com/lulzWill/go-agent@v2.1.2+incompatible/internal/crossagent/cross_agent_tests/collector_hostname.json (about) 1 [ 2 { 3 "name": "normal license key", 4 "config_file_key": "08a2ad66c637a29c3982469a3fe8d1982d002c4a", 5 "hostname": "collector.newrelic.com" 6 }, 7 { 8 "name": "region aware key with four character identifier", 9 "config_file_key": "eu01xx66c637a29c3982469a3fe8d1982d002c4a", 10 "hostname": "collector.eu01.nr-data.net" 11 }, 12 { 13 "name": "region aware key with five character identifier", 14 "config_file_key": "gov01x66c637a29c3982469a3fe8d1982d002c4a", 15 "hostname": "collector.gov01.nr-data.net" 16 }, 17 { 18 "name": "region aware key with seven character identifier", 19 "config_file_key": "foo1234xc637a29c3982469a3fe8d1982d002c4a", 20 "hostname": "collector.foo1234.nr-data.net" 21 }, 22 { 23 "name": "region aware key with abnormal identifier", 24 "config_file_key": "20foox66c637a29c3982469a3fe8d1982d002c4a", 25 "hostname": "collector.20foo.nr-data.net" 26 }, 27 { 28 "name": "region aware key with more than one identifier", 29 "config_file_key": "eu01xeu02x37a29c3982469a3fe8d1982d002c4a", 30 "hostname": "collector.eu01.nr-data.net" 31 }, 32 { 33 "name": "environment variable specified license key", 34 "env_key": "eu01xx66c637a29c3982469a3fe8d1982d002c4a", 35 "hostname": "collector.eu01.nr-data.net" 36 }, 37 { 38 "name": "env var host override", 39 "config_file_key": "eu01xx66c637a29c3982469a3fe8d1982d002c4a", 40 "env_override_host": "other-collector.newrelic.com", 41 "hostname": "other-collector.newrelic.com" 42 }, 43 { 44 "name": "local config host override", 45 "config_file_key": "eu01xx66c637a29c3982469a3fe8d1982d002c4a", 46 "config_override_host": "other-collector.newrelic.com", 47 "hostname": "other-collector.newrelic.com" 48 }, 49 { 50 "name": "local config host override with env key", 51 "env_key": "eu01xx66c637a29c3982469a3fe8d1982d002c4a", 52 "config_override_host": "other-collector.newrelic.com", 53 "hostname": "other-collector.newrelic.com" 54 }, 55 { 56 "name": "env var host override with env key", 57 "env_key": "eu01xx66c637a29c3982469a3fe8d1982d002c4a", 58 "env_override_host": "other-collector.newrelic.com", 59 "hostname": "other-collector.newrelic.com" 60 }, 61 { 62 "name": "No specified key defaults to collector.newrelic.com", 63 "hostname": "collector.newrelic.com" 64 } 65 ]