-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
Problem
If running a browser check on a private probe that doesn't have a browser executable the logs highlight the problem but the probe_success metric is 1.
What I would expect to happen
probe_success should be 0.
Context
Example logs for an ad hoc test that I ran:
{
"level": "warn",
"id": "f895d902-a952-4f58-8074-856aefee1d31",
"target": "coin-heads-browser",
"probe": "Chris Mac",
"check_name": "browser",
"logs": [
{
"level": "error",
"msg": "error building browser on IterStart: finding browser executable: k6 couldn't detect google chrome or a chromium-supported browser on this system at default (file:///tmp/k6-runner416543845/299570098.js:21:43(4))",
"time": "2025-03-20T09:25:35Z"
}
],
"timeseries": [
{
"name": "probe_data_received_bytes",
"help": "",
"type": 1,
"metric": [
{
"label": [
{
"name": "scenario",
"value": "ui"
}
],
"gauge": {
"value": 0
}
}
]
},
{
"name": "probe_data_sent_bytes",
"help": "",
"type": 1,
"metric": [
{
"label": [
{
"name": "scenario",
"value": "ui"
}
],
"gauge": {
"value": 0
}
}
]
},
{
"name": "probe_duration_seconds",
"help": "duration of the check in seconds",
"type": 1,
"metric": [
{
"gauge": {
"value": 0.286095
}
}
]
},
{
"name": "probe_iteration_duration_seconds",
"help": "",
"type": 1,
"metric": [
{
"label": [
{
"name": "scenario",
"value": "ui"
}
],
"gauge": {
"value": 0.002879125
}
}
]
},
{
"name": "probe_script_duration_seconds",
"help": "Returns how long the script took to complete in seconds",
"type": 1,
"metric": [
{
"gauge": {
"value": 0.026663084
}
}
]
},
{
"name": "probe_success",
"help": "whether the check was successful",
"type": 1,
"metric": [
{
"gauge": {
"value": 1
}
}
]
}
],
"message": "ad-hoc check done"
}
Metadata
Metadata
Assignees
Labels
No labels