Мой файл applicationinsights.json выглядит следующим образом:
Код: Выделить всё
{
"sampling": {
"percentage": 100,
"overrides": [
{
"telemetryType": "request",
"attributes": [
{
"key": "http.url",
"value": "https?://[^/]+/health.*",
"matchType": "regexp"
}
],
"percentage": 0
},
{
"telemetryType": "request",
"attributes": [
{
"key": "http.url",
"value": "https?://[^/]+/metrics.*",
"matchType": "regexp"
}
],
"percentage": 0
},
{
"telemetryType": "request",
"attributes": [
{
"key": "http.request.method",
"value": "HEAD",
"matchType": "strict"
}
],
"percentage": 0
},
{
"telemetryType": "trace",
"percentage": 0
},
]
},
"instrumentation": {
"jdbc": {
"masking": {
"enabled": false
}
}
}
}
Однако я столкнулся с проблемой с определенной зависимостью:

Я пробовал использовать множество фильтров, таких как:
Код: Выделить всё
{
"notWorkingFilters": [
{
"telemetryType": "dependency",
"attributes": [
{
"key": "message",
"value": "GET \/",
"matchType": "strict"
}
],
"percentage": 0
},
{
"telemetryType": "dependency",
"attributes": [
{
"key": "message",
"value": ".*localhost:5778.*",
"matchType": "regexp"
}
],
"percentage": 0
},
{
"telemetryType": "dependency",
"attributes": [
{
"key": "name",
"value": "GET \/",
"matchType": "strict"
}
],
"percentage": 0
},
{
"telemetryType": "dependency",
"attributes": [
{
"key": "name",
"value": ".*localhost:5778.*",
"matchType": "regexp"
}
],
"percentage": 0
},
{
"telemetryType": "dependency",
"attributes": [
{
"key": "http.url",
"value": "http://localhost:5778.*",
"matchType": "regexp"
}
],
"percentage": 0
},
{
"telemetryType": "dependency",
"attributes": [
{
"key": "http.url",
"value": ".*5778.*",
"matchType": "regexp"
}
],
"percentage": 0
}
]
}

Ни один из них не отфильтровывает эту зависимость. Есть идеи, чего мне не хватает и что я могу сделать, чтобы удалить это?
Я также пытался добавить их как «запрос» типа телеметрии и указал его на уровне HTTP, но безуспешно.
Подробнее здесь: https://stackoverflow.com/questions/789 ... gent-3-5-4