Skip to content

Question: one URL, mobile and desktop #19

@roman-vohnik

Description

@roman-vohnik

Hi there, first of all thanks for awesome work on this project!

Can I somehow add some configurable additional key or label next to URL? I need to test one URL once for mobile (it's default) and secend time with desktop settings. If I add them simply like in next config, URL is correctly tested twice, but in grafana, they are of course under same url key - I cannot filter them by mobile/desktop.

	"cron": "*/5 * * * *",
	"urls": [
		{
			"url": "https://www.example.com",
			"plugins": [
				{
					"name": "lighthouse",
					"report": true
				}
			]
		},
		{
			"url": "https://www.example.com",
			"plugins": [
				{
					"name": "lighthouse",
					"report": true,
					"config": {
						"extends": "lighthouse:default",
						"settings": {
							"emulatedFormFactor": "desktop"
						}
					}
		  		}
			]
		}
	]
}

I am thinking about this workaround, but I am not sure - make another docker-compose with own influxdb and lighthouse with desktop. So there will be two influxdb instances connected to grafana, lighhouse in each of them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions