mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 10:40:07 -04:00
[Discover][ES|QL] Update query for recommended database queries to use db.system.name (#225421)
## Summary Relates to https://github.com/elastic/kibana/issues/222908. While working on the recommended queries, I completely missed that `db.system` has been replaced by `db.system.name` in the [semconv](https://opentelemetry.io/docs/specs/semconv/non-normative/db-migration/#database-client-span-attributes). The OTel demo is still using `db.system` for now, and since I was using it to test, I didn't catch the change.
This commit is contained in:
parent
b7e5336370
commit
9e88cd97cf
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ const TRACES_ESQL_RECOMMENDED_QUERIES = [
|
|||
name: i18n.translate('xpack.observability.recommendedQueries.slowDatabaseQueries.name', {
|
||||
defaultMessage: 'Database queries',
|
||||
}),
|
||||
query: `FROM ${TRACES_INDEX_PATTERN} | WHERE QSTR("span.type:db OR db.system:*")`,
|
||||
query: `FROM ${TRACES_INDEX_PATTERN} | WHERE QSTR("span.type:db OR db.system.name:*")`,
|
||||
description: i18n.translate(
|
||||
'xpack.observability.recommendedQueries.slowDatabaseQueries.description',
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue