[chore] add user agent to the link check (#1013)
This commit is contained in:
parent
5c3e4f1d4a
commit
ccb9a8ccce
|
|
@ -17,6 +17,14 @@
|
||||||
"replacement": "LINK-CHECK-ERROR-USE-LOCAL-PATH-TO-DOC-PAGE-NOT-EXTERNAL-URL/"
|
"replacement": "LINK-CHECK-ERROR-USE-LOCAL-PATH-TO-DOC-PAGE-NOT-EXTERNAL-URL/"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"httpHeaders": [
|
||||||
|
{
|
||||||
|
"urls": ["http", ".", "/"],
|
||||||
|
"headers": {
|
||||||
|
"User-Agent": "Mozilla/5.0 (compatible; OpenTelemetryDocsBot/1.0;"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
"retryOn429": true,
|
"retryOn429": true,
|
||||||
"timeout": "30s",
|
"timeout": "30s",
|
||||||
"aliveStatusCodes": [200, 403]
|
"aliveStatusCodes": [200, 403]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue