Commit Graph

11 Commits

Author SHA1 Message Date
John Watson aba088b135
Update the semantic convention classes for spec v1.3.0 (#3202) 2021-05-06 10:25:28 +09:00
Armin Ruech c28d17aaea
Update semantic convention constants generator script and template (#3047)
* Update semantic convention constants generator script, template and spec reference

The template was updated to reflect the changes introduced in otel/semconvgen v0.3.0 and v0.3.1.
The script was updated to pin the version of the otel/semconvgen image, otherwise incompatible updates would break it.

Fixes #3042.

* ./generate.sh

* Update template according to open-telemetry/build-tools#41

* ./generate.sh

The template was updated to use the correct base definitions, so the Javadoc for some attributes changed (the ones for `rpc.*`, for example).
This also changed the ordering but it is still reproducible.
2021-04-19 09:57:33 -07:00
John Watson 7773a71417
Semantic Conventions: use only a compatible version of the tools image (#3144) 2021-04-09 21:12:25 -07:00
John Watson 84052a8ce9
Update the SemanticAttributes and ResourceAttributes for specification v1.1.0 (#3016)
Note: this contains breaking changes to ResourceAttributes.
2021-03-12 07:58:48 -08:00
John Watson 66ca483ede
Generate the ResourceAttributes class (#2540)
* Generate the ResourceAttributes class
* deprecate the old one
* convert usages to the new one

* re-use the template with some special logic for the addition

* deprecate the old resource attributes in the wrong class
2021-01-19 23:02:11 -08:00
Anuraag Agrawal 73a59e0e15
Update to latest semantic conventions. (#2452)
* Update to latest semantic conventions.

* Update buildscripts/semantic-convention/generate.sh

Co-authored-by: John Watson <jkwatson@gmail.com>

Co-authored-by: Bogdan Drutu <lazy@splunk.com>
Co-authored-by: John Watson <jkwatson@gmail.com>
2021-01-08 11:06:09 +09:00
John Watson 015708b7a7
Move the semantic conventions generated code into its own module (#2423)
* Move the semantic conventions generated code into its own module

* remove un-needed dependencies

* move the semconv module to the top level, out of the API namespace

* Update README.md

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>

* move SemanticAttributes to a more appropriate package and deprecate the old ones in the api package.

* Apply suggestions from code review

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2021-01-06 08:25:17 -08:00
Frank Spitulski c108f62158
fix(semantic-attributes): update to dec 14 2020 master (#2302) 2020-12-15 08:42:33 -08:00
Bogdan Drutu 26124ad075
Split API packages, move context in the same directory (#2199)
There are some things left to be done:
* Decide if context package should also be opentelemetry-api-context.
* Cleanup internal packages, things that are used by only one artifact should be moved there.

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-12-05 08:33:20 -08:00
Mateusz Rzeszutek dc91c95e63
Fix buildscripts/semantic-convention/generate.sh script (#2144)
* Fix buildscripts/semantic-convention/generate.sh script

Including:
* update spec version to latest commit
* regenerate SemanticAttributes

* Code review comments

* Reference spec date
2020-12-01 11:18:32 -08:00
Bogdan Drutu e8ba8317fd
Move semantic conventions script to buildscripts (#1998)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-11-04 08:30:23 -08:00