Commit Graph

28 Commits

Author SHA1 Message Date
Marcin Grzejszczak a3551e7c45
Added info what are the new semantic attributes to be used (#4840)
* Added info what are the new semantic attributes to be used 

Related change - 0b45213858

* Regenerated the code

* Fixed . to #
2022-10-18 11:44:47 -05:00
John Watson 3456e6beed
update to semantic conventions version 1.13.0 (#4766)
* update to semantic conventions version 1.13.0

* add a couple more deprecated items

* add deprecated constants

* add another deprecated item
2022-09-30 16:31:27 -07:00
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
Trask Stalnaker 60c3c5ca0c
Format build.gradle.kts files (#3427) 2021-07-29 13:21:38 +09: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
Anuraag Agrawal ce9c8854c7
Extract publishing and animalsniffer plugins. (#3334) 2021-06-22 08:23:16 +09:00
Anuraag Agrawal 7f544416e4
Define an extension for otel-specific configuration of Java. (#3317) 2021-06-17 15:54:25 +09:00
Anuraag Agrawal b9ca09b6c1
Extract java conventions plugin. (#3316) 2021-06-15 12:29:47 -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 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
Bogdan Drutu a91e239406
Fix package info in semconv, move from empty package to resource (#2880)
* Fix package info in semconv, move from empty package to resource

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

* Update package-info.java
2021-02-18 09:45:15 -08:00
Anuraag Agrawal 900c35ed8c
Migrate remaining gradle scripts to kotlin (#2820)
* Migrate remaining gradle scripts to kotlin

* Finish more
2021-02-16 14:11:07 -08:00
John Watson d16e51f798
Remove the remaining deprecated code from the project. (#2612) 2021-01-29 19:26:42 -08:00
Anuraag Agrawal 32a63fb8e3
Migrate to using gradle platform to manage dependency versions instea… (#2586)
* Migrate to using gradle platform to manage dependency versions instead of global variables.

* Remove unused and fix test

* Revert test yolo

* Workaround test ordering issue by just merging them

* Spot
2021-01-27 13:54:58 +09:00
John Watson 878da7932f
mark the semantic conventions module as alpha (#2563) 2021-01-20 08:04:19 -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