Commit Graph

22 Commits

Author SHA1 Message Date
jack-berg c72a01ef1b
Update to semconv 1.12.0, build tools 0.8.0 (#4637) 2022-07-27 09:03:13 -05:00
John Watson 6266b16b0f
Update the semantic convention constants to v1.9.0 (#4174) 2022-02-14 18:38:26 -08:00
John Watson 47ccd6076b
update semconv to v1.8.0 (#3890)
* update semconv to v1.8.0

* add back 2 items that were removed from the spec

* tweak the deprecated items javadoc
2021-11-18 16:25:16 -08:00
John Watson c7c352b403
update the semconv to v1.7.0 and the build tools to 0.7.0 (#3686) 2021-10-08 12:51:38 +09:00
John Watson 193bd4b267
Update to Semantic Conventions v1.6.1 (#3552)
And, remove the generator template hacks for 1.6.0
2021-08-25 18:31:34 -07:00
John Watson bb46b0c0a4
Update the semantic conventions to 1.6.0 (#3524) 2021-08-23 09:43:18 -07:00
John Watson a081b0283e
Further work on cleaning up the auto-generated javadoc for SemanticAttributes and ResourceAttributes (#3398) 2021-07-19 08:28:49 -07:00
John Watson 3925b50cc9
Tweak the semantic convention code generation. (#3394)
* Tweak the semantic convention code generation.
In particular, to better support links and html in the docs.

* small simplification of the template
2021-07-13 14:39:18 -07:00
John Watson 57bd952756
Update the semconv constants to v1.5.0 (#3381)
* Update the semconv constants to v1.5.0
Also, tweak our checkstyle settings to allow long markdown-style links.

* remove linelength checkstyle checks, since spotless already formats for us
2021-07-09 09:31:17 -07:00
John Watson 81e2777114
Update the semconv to spec v1.4.0 (#3298)
* Update the semconv to spec v1.4.0

* Add the schema URL to the generated files.

* amend the CHANGELOG.md entry to add the schema url addition
2021-06-09 17:27:13 -07:00
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
Harshita Srinivas 877dc7f4a2
Modification of enum semantic attributes (#3128)
* rebasing

* removed class generating enums and modified return type

* reverted return type and removed the if check

* one script fix, and run the generator to re-gen the classes.

* undo unrelated change

Co-authored-by: jkwatson <jwatson@splunk.com>
2021-04-13 08:04:54 -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