Commit Graph

15 Commits

Author SHA1 Message Date
John Watson ea7883be20
Update semantic and resource attributes for spec v0.15.0 (#4938)
* Update semantic and resource attributes for spec v0.15.0

* explicitly exclude resource attributes

* remove more resources, include deprecated tags and attributes
2022-11-12 15:06:49 -08:00
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
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 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 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
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 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
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
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