semantic-conventions/semantic_conventions
Justin Foote 2cd9fbb859 Database semantic conventions: Add db.table, allow SQL keyword as db.operation (#1141)
* Add db.table to database semantic conventions

* Fix spacing in db semantic conventions

* Move db.table to SQL-specific call level attributes

* Clarify instructions for setting db.operation to a SQL keyword

* Specify that db.sql.table MUST NOT be set when not applicable

Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>

* Add db.table and db.operation to CHANGELOG

Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
2020-11-09 19:47:40 +01:00
..
resource Fix absolute links to spec (#1192) 2020-11-04 12:29:48 -08:00
trace Database semantic conventions: Add db.table, allow SQL keyword as db.operation (#1141) 2020-11-09 19:47:40 +01:00
README.md Add README describing use of semantic convention YAML models (#980) 2020-09-23 16:08:31 +02:00
syntax.md YAML Model for Semantic Conventions (#571) 2020-08-27 13:18:51 -07:00
version.properties YAML Model for Semantic Conventions (#571) 2020-08-27 13:18:51 -07:00

README.md

YAML Model for Semantic Conventions

The YAML descriptions of semantic convention contained in this directory are intended to be used by the various OpenTelemetry language implementations to aid in automatic generation of semantics-related code.

Generation

These YAML files are used by the make target table-generation to generate consistently formattted Markdown tables for all semantic conventions in the specification. Run it from the root of this repository using the command

make table-generation

For more information, see the semantic convention generator in the OpenTelemetry build tools repository. Using this build tool, it is also possible to generate code for use in OpenTelemetry language projects.

See also:

Description of the model

The fields and their expected values are presented in syntax.md.