github.com/grafana/synthetic-monitoring-agent@v0.64.2/examples/test-api/data.json (about)

     1  {
     2  	"tenants": [
     3  		{
     4  			"id": 1,
     5  			"orgId": ...,                             // the org ID of the stack, can be made up
     6  			"stackId": ...,                           // the stack ID of the instances you are connecting to, can be made up
     7  			"metricsRemote": {
     8  				"name": "metrics",
     9  				"url": "https://.../api/prom",    // URL of instance to push to, not just the base
    10  				"username": "...",                // username to authenticate to prometheus instance
    11  				"password": "..."                 // password to authenticate to prometheus instance
    12  			},
    13  			"eventsRemote": {
    14  				"name": "logs",
    15  				"url": "https://.../loki/api/v1", // URL of instance to push to, not just the base
    16  				"username": "...",                // username to authenticate to loki instance
    17  				"password": "..."                 // username to authenticate to loki instance
    18  			}
    19  		}
    20  	],
    21  	"probes": [
    22  		{
    23  			"id": 1,
    24  			"tenantId": 1,
    25  			"name": "test-probe"
    26  		}
    27  	],
    28  	"probeTokens": {
    29  		"1": "..."                                        // random token, base-64 encoded
    30  	},
    31  	"checks": [
    32  		{
    33  			"id": 1,
    34  			"tenantId": 1,
    35  			"frequency": 60000,
    36  			"timeout": 10000,
    37  			"enabled": true,
    38  			"basicMetricsOnly": true,
    39  			"settings": {
    40  				"multihttp": {
    41  					"entries": [
    42  						{
    43  							"request": {
    44  								"method": "GET",
    45  								"url": "https://httpbin.test.k6.io/status/418"
    46  							}
    47  						}
    48  					]
    49  				}
    50  			},
    51  			"probes": [1],
    52  			"target": "test",
    53  			"job": "test"
    54  		}
    55  	]
    56  }