Currently span.context.db.* properties are stored but not indexed in ES. This makes it impossible to query/aggregate on them, which might be helpful for multiple use cases (aggregate on them to figure out occurence of queries per type, problematic instances, etc.).
Suggested solution:
| attribute |
type |
description |
index type |
limit (server) |
limit (agent) |
note |
| instance |
string |
db instance name |
keyword |
1024 |
1024 |
- |
| user |
string |
username for accessing db |
keyword |
1024 |
1024 |
- |
| type |
string |
database type |
keyword |
1024 |
1024 |
- |
| statement |
string |
concrete query |
text |
none |
? |
should be sanitized for grouping |
Currently
span.context.db.*properties are stored but not indexed in ES. This makes it impossible to query/aggregate on them, which might be helpful for multiple use cases (aggregate on them to figure out occurence of queries per type, problematic instances, etc.).Suggested solution: