Commit Graph

38 Commits

Author SHA1 Message Date
Trask Stalnaker 47cabcf799 Rename Optional attribute requirement level to Opt-In (#3228) 2023-03-01 15:13:24 -08:00
Tigran Najaryan e9d9309590 Update build-tools to 1.16.0 (#3259)
build-tools 1.16.0 was just released and is necessary to unblock
https://github.com/open-telemetry/opentelemetry-specification/pull/3190
2023-02-27 17:39:23 -05:00
Armin Ruech 912809fb42 Enable semantic convention tooling for metrics (#3119) 2023-01-24 08:52:53 -08:00
Armin Ruech 0ae2c6bc34 Upgrade semconv generator to v0.14.0 (#2725)
This unblocks #2702 by making the changes introduced in https://github.com/open-telemetry/build-tools/pull/114 available for use.

It also allows for more semantic conventions for scope attributes to be defined in the future (#2682).

See https://github.com/open-telemetry/build-tools/releases/tag/v0.14.0.
2022-08-15 22:00:53 -04:00
Liudmila Molkova 216beba6cc Define net.sock attributes and clarify logical net.peer|host.name attributes (#2614) 2022-07-13 10:01:44 -07:00
Liudmila Molkova 3f7b7d02f9 Adopt attribute requirement levels in semantic conventions (#2594) 2022-06-14 08:02:55 -07:00
Bogdan Drutu a7be53d4c8 Consolidate tools directories, move things to internal/tools (#2534) 2022-05-18 23:35:57 -07:00
Armin Ruech 741ac62a15 Bump semantic conventions tool to v0.11.0 and refine enum wording (#2399) 2022-03-04 17:51:37 +01:00
Patrice Chalin cf973d47fd [linters] Install tools based on versions in package.json (#2323)
* [editorial] Use `npx` to run npm cmds, not hardcoded paths

* Update Makefile based on feedback

* Use --no-install option for npx

* Add `npm install` to markdown-check workflows

* Pin markdownlint-cli at 0.31.0

* Run `npm install` as a separate workflow step

* Use name 'install dependencies' for npm install cmd

* CONTRIBUTING: clarify that you install the tools once

* make: add `install-tools` as dependency to `all`

* Add install check line to `mardown*` targets

Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com>
2022-03-01 18:11:33 -05:00
Tigran Najaryan f6df784c29 Add `make all` target to test changes locally (#2344)
Make all performs roughly the same steps as the alrady existing github actions. The only
exception is yamllint which I was not able to make work on my Mac after quite some time
and had to skip. If anyone knows how to make it work on a Mac please submit a follow-up PR.

Note that the checks can run in parallel to speed up, e.g. `make -j4`.
2022-02-15 12:48:56 -05:00
Patrice Chalin a358a31b2a [editorial]Add toc/tocstop to Logs pages (#2321) 2022-02-09 15:24:45 -05:00
Patrice Chalin 8da26373a6 [editorial] Generate ALL_DOCS using find only, no grep -v (#2322) 2022-02-08 08:25:48 -08:00
Armin Ruech 8c9de82151 Pin markdownlint-cli version and apply fixes (#2320)
* Pin markdownlint-cli version

* Apply markdownlint fixes
2022-02-07 10:24:33 -08:00
Liudmila Molkova 6ecce73b9b Upgrade semconv generator to v0.8.0 (#2236)
* Upgrade semconv generator to v0.8.0

* update specs with semconv gen 0.8.0

* makefile
2022-01-03 14:09:21 -08:00
Patrice Chalin 6cafcceade [editorial] Ensure all ToCs are generated using markdown-toc (#2146) 2021-11-24 15:57:38 +01:00
Yuri Shkuro 40b22dc04e Simplify Makefile and ci-checks (#2026) 2021-10-20 13:24:14 +00:00
Yuri Shkuro d9fbb6f32c Add Makefile target to auto-generate TOC via markdown-toc (#2020) 2021-10-15 15:04:22 +00:00
Armin Ruech b095fdb99a Upgrade semconv generator to v0.7.0 (#1959) 2021-09-23 17:53:01 +02:00
Armin Ruech 5f8cf65593 Upgrade semconv generator to v0.6.0 (#1922) 2021-09-16 09:31:14 +02:00
Christian Neumüller 525baf1b76 Add event semantic conventions, update semantic convention generator to v0.5.0 (#1843)
Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
2021-09-03 16:59:33 +02:00
Christian Neumüller 1b0a64202d Lint YAML files (mainly semantic conventions). (#1814)
Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
2021-07-15 10:12:05 +02:00
Armin Ruech d56add2b1b Bump semconvgen to 0.4.1 (#1771) 2021-06-22 18:00:48 +02:00
Tigran Najaryan 4f77db44df Add schema file and a script with minimal checks that verifies them (#1702)
This adds some minimal sanity checks to make sure we don't forget
to add the schema file when we make a release. The checks are tied
to the CHANGELOG.md.

In the future we can do more thorough verifications, e.g. parse the content
of the schema YAML file and ensure it includes the changes that we can
detect by looking at the changes at the semantic convention files.
2021-05-20 10:09:51 -04:00
Armin Ruech c6e1ae29de Pin `otel/semconvgen` image in Makefile (#1580) 2021-03-30 17:02:24 +02:00
Josh Suereth 47fadaa237 Minor dev-experience fixes for making spec changes. (#1387)
* Minor dev-experience fixes for making spec changes.

* Fixes from review.
2021-01-29 10:07:36 -08:00
Bogdan Drutu 6b0bf8427a Fix markdownlint check, wrong makefile label (#1246)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-11-19 11:40:05 -08:00
Bogdan Drutu 03eafc2124 Move misspell to github actions (#1244)
* Move misspell to github actions

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

* Delete circleci config

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-11-19 10:53:25 -08:00
Bogdan Drutu fdb736a7a3 Move markdownlint and markdown-link-check to github actions (#1238)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-11-19 09:25:48 -08:00
Giovanni Liva 521dfd99aa YAML Model for Semantic Conventions (#571)
* First model draft

* Fix checkstyle

* Generate network table from YAML

* HTTP semantic convention tables

* Fix requirements order

* Add code and basic documentation

* Missing \n

* Remove tool

* Add General and HTTP semantic convention

* Update table style

* yaml->semantic_conventions

* Fix small errors

* Fix docfx errors

* Update Makefile to use otel Docker repo

Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
2020-08-27 13:18:51 -07:00
Bogdan Drutu 11997ecad6 Fix lint check in makefile, fix errors (#837)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-08-19 14:43:05 -07:00
Armin Ruech 34b9300fbb Exclude github.com from markdown-link-check (#675) 2020-07-01 03:24:22 +02:00
Joshua MacDonald 7c078b1ad7 Makefile fixes (#615)
* Makefile fixes

* Use a for-loop

* Fix markdownlint too
2020-05-20 09:31:16 -07:00
Armin Ruech 960eb9992b [build] Improve markdown-link-check output (#602)
* Improve markdown-link-check output

* Introduce errors to check if the build works

* Revert "Introduce errors to check if the build works"

This reverts commit b31f46f8f8ea22f0fdddfabf5233b32d34114520.

* Merge markdown-link-check and enforce-markdown-link-check

* Make Makefile more readable
2020-05-13 15:19:10 -07:00
Armin Ruech 4d1da099a0 Fix markdown-link-check and dead links (#555) 2020-04-09 16:36:01 +02:00
Bogdan Drutu 264bdecf0f Enable markdown-link-check (#541)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-04-02 08:04:14 -07:00
ferhat elmas 027491716e Fix indentation in makefile (#361) 2019-11-20 13:54:26 -08:00
Yang Song 4d99871983 Add Circle CI config and remove Travis CI config (#233)
Also update Makefile to build tools locally.
Similar to https://github.com/open-telemetry/rfcs/pull/14.
2019-08-23 12:15:06 -07:00
Yang Song 0bbd733491 Add Makefile and Travis CI build (#200)
* Add Makefile and Travis CI build

* Simplify the script

* Add to contributing guideline

* Include Go modules and tools.go

* Remove new line at eof
2019-08-06 17:41:58 +02:00