Files provided here may be used by agents to ensure matching results across languages/agents.
SQL-based data stores' span names are abbreviated versions of their queries, eg. SELECT * FROM users WHERE id=1
becomes SELECT FROM users
.
tests/agents/sql_token_examples.json
tests/agents/sql_signature_examples.json
To get similar results across agents a set of input -> expected output
examples are provided here as JSON files.
Using or complying to these isn't a requirement.
- Reference issue: elastic/apm#12.
- Reference doc: RFC: SQL parsing
See this distribution for example queries.