Commit Graph

52 Commits

Author SHA1 Message Date
Trent Mick 019cb2c149
feat(semantic-conventions): update semantic conventions to v1.34.0 (#5703) 2025-05-21 17:41:15 +00:00
Trent Mick 1c8ec3b291
fix(semantic-conventions): Remove the subset of `DB_SYSTEM_NAME_VALUE_*` exports that are unstable from the `@opentelemetry/semantic-conventions` entry point. (#5690) 2025-05-20 15:59:50 +00:00
Trent Mick 072d8a8b2b
refactor(semantic-conventions): use weaver 'file_name' template config (#5689) 2025-05-15 21:39:24 +00:00
Trent Mick 04545fa4ab
refactor(semantic-conventions): tweak the leading spacing of comments on enum values (#5688) 2025-05-15 18:34:37 +00:00
Trent Mick baec0a3e65
refactor(semantic-conventions): weaver 0.13.0 supports a 'stable_only' arg to semconv_attributes (#5687) 2025-05-15 18:12:12 +00:00
Trent Mick eeec126479
feat(semantic-conventions): update semantic conventions to v1.33.0 (#5654) 2025-05-07 15:40:37 +00:00
Trent Mick b0b721ae3e
feat(semantic-conventions): update semantic conventions to v1.32.0 (#5603) 2025-04-10 16:16:21 +00:00
Trent Mick 58468728e8
feat(semantic-conventions): update semantic conventions to v1.31.0 (#5589) 2025-04-09 19:33:18 +00:00
Trent Mick fcd96deb78
chore: add 'lint:semconv-deps' (#5451) 2025-02-12 11:08:15 +00:00
Trent Mick b6fa2b9e4d
feat(semantic-conventions): update semantic conventions to v1.30.0 (#5433) 2025-02-11 23:53:38 +00:00
Trent Mick 824814f783
chore: unpin semantic-conventions package dep (#5439) 2025-02-11 12:22:27 +00:00
Trent Mick abf31e17f8
chore: tweak the section titles for changelogs (#5432) 2025-02-11 10:52:14 +00:00
Trent Mick a6bb7a321d
chore(semantic-conventions): whitespace-only fixes in comments from weaver 0.12.0 (#5427) 2025-02-06 17:36:32 +00:00
Trent Mick 2d4e1cac7c
feat(semantic-conventions): update semantic conventions to v1.29.0 (#5356)
Co-authored-by: Jamie Danielson <jamiedanielson@honeycomb.io>
2025-02-06 01:14:00 +00:00
Trent Mick c408d21bb6
chore(selenium-tests): remove internal selenium-tests/ package, it wasn't being used (#5312) 2025-01-09 18:28:42 +00:00
Trent Mick d8bc6b283b
feat(semconv): update semantic conventions to 1.28.0 (#5181) 2024-11-20 17:14:31 +00:00
Trent Mick 4b5c21cede
chore(semantic-conventions): bump weaver; use comment filter rather than deprecated comment_with_prefix (#5100) 2024-11-08 20:25:06 +00:00
Trent Mick 7aff06d793
chore(release): script to align workspace on new semconv package version (#4937) 2024-08-21 17:44:06 +00:00
Jamie Danielson 583154c919
chore(semconv): Separate SemConv releases to allow different versioning (#4904)
Co-authored-by: Trent Mick <trentm@gmail.com>
2024-08-20 21:29:59 +00:00
Daniel Dyla 01cea7caeb
Use weaver to generate latest semconv 1.27 (#4690)
Co-authored-by: Trent Mick <trentm@gmail.com>
Co-authored-by: Marc Pichler <marcpi@edu.aau.at>
2024-08-07 12:45:34 +00:00
Marc Pichler 86019e0ff6
feat: add release-pr update chores as scripts to package.json (#4793)
* feat: add release-pr update chores as scripts to package.json

* fix: use all instead of api

* docs: update usage comment for extract-latest-release-node.js
2024-06-21 09:07:36 +00:00
Marc Pichler bac68fc7d4
feat: add api release preparation scripts, github release creation scripts (#4704)
* feat: add more scripts for release creation

* Update scripts/extract-latest-release-notes.js

* fix: replace console.log() with console.warn(), ensure get-version.js is a version by checking against a regex

* chore: add comment to describe the regex
2024-05-21 14:36:43 +02:00
Jamie King 1b4999f386
docs: spelling corrections (#4530)
* docs: spelling corrections

* chore: feedback on spelling changes
2024-03-11 10:18:41 +01:00
Nev 5637e2a91c
chore: Semantic Conventions export individual strings (#4298)
* chore: Semantic Conventions export individual strings

* Reduce to just emit full strings and add size-limit test output to review the results

* Update generation to use createConstMap for enums where possible

* Move changelog back to Unreleased -- merge shifted it

---------

Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
2024-02-23 13:00:58 +01:00
Marc Pichler f654636502
feat: add script to update changelogs on release preparation (#4315)
* feat: add script to update changelogs on releases

* fix: address comments

* Apply suggestions from code review

Co-authored-by: Trent Mick <trentm@gmail.com>

* fix: apply suggestions from code review

* fix: use packageJson.version instead of version

---------

Co-authored-by: Trent Mick <trentm@gmail.com>
2023-11-30 08:50:29 +01:00
Daniel Dyla 51be418b3d
Execute binaries from root node modules (#4302) 2023-11-16 15:56:26 -05:00
Trent Mick c478c11975
chore: no need for 'packages' in "lerna.json" (#4264) 2023-11-09 14:32:18 +01:00
Chengzhong Wu e9328abb68
chore: track package-lock.json (#4238)
* chore: track package-lock.json

* Pin to old versions for node 14

* Use version range

* Remove unused cached directories

* Temporarily disable other tests

* Temporarily enable only api test

* Enable only some packages

* Test only api packages

* Test trace exporters

* Fix line ordering

* Test all packages except otlp exporters

* Add trace http exporter

* Add trace proto exporter

* Test all but grpc exporters

* chore: use npm workspaces and degrade lerna to v6

* chore: get rid of lerna bootstrap

* chore: use npx

* chore: allow install scripts to setup buf

* chore: fix w3c-integration-test cache key

* chore: fix cache key

* chore: disable resource compat test

* chore: fix node_modules assumptions

* chore: fix hoisted karma issue

* chore: fix markdown linter complaints

* chore: lock @grpc/grpc-js to v1.8.21

* Break caches

* chore: remove cache

* chore: fixup inline commands

---------

Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2023-11-01 19:51:24 -04:00
Marc Pichler 3d7015121c
chore(renovate): improve PR grouping and add @pichlermarc to assignees (#3868)
* chore(renovate): improve PR grouping and add @pichlermarc to assingees

* chore: fix 'compatability' typo
2023-06-07 16:29:39 -04:00
Jamie Danielson 422a36ae12
feat: ESM support for instrumentation (#3698)
Co-authored-by: Purvi Kanal <kanal.purvi@gmail.com>
Co-authored-by: Jamie Danielson <jamieedanielson@gmail.com>
Co-authored-by: Liz Fong-Jones <lizf@honeycomb.io>
Co-authored-by: Purvi Kanal <purvikanal@honeycomb.io>
2023-05-15 10:30:52 +02:00
Marc Pichler 29c46ef5ce
fix(otlp-transformer): move api-logs to dependencies (#3798) 2023-05-12 11:12:42 +02:00
Marc Pichler 2f1e316484
feat(otlp-grpc-exporter-base): use statically generated protobuf code (#3705)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2023-04-28 12:58:20 +02:00
fuaiyi a31b38a845
Logs SDK (#3549)
* feat(sdk-logs): sdk-logs init

* feat(sdk-logs): sdk-logs init

* feat(sdk-logs): sdk-logs init

* feat(sdk-logs): sdk-logs init

* feat(sdk-logs): sdk-logs init

* feat(sdk-logs): sdk-logs init

* feat(sdk-logs): sdk-logs init

* fix compile errors

* feat(sdk-logs): sdk-logs init

* feat(sdk-logs): sdk-logs init

* feat(sdk-logs): sdk-logs init

* feat(sdk-logs): sdk-logs init

* feat(sdk-logs): sdk-logs init

* feat(sdk-logs): sdk-logs init

* feat(sdk-logs): sdk-logs init

* feat(sdk-logs): sdk-logs init

* feat(sdk-logs): sdk-logs init

* feat(sdk-logs): sdk-logs init

* feat(sdk-logs): sdk-logs init

* feat(sdk-logs): add browser test config

* feat: add test-utils compatible assert.rejects

* feat(sdk-logs): fix writing errors in README

* feat(sdk-logs): update version to 0.36.1

* feat(sdk-logs): add examples

* feat(sdk-logs): fix LogRecord default timestamp to Date.now()

* feat(sdk-logs): logRecord support rewrite time/body/severityNumber/newSeverityText

* feat(sdk-logs): add logs processor environments

* feat(sdk-logs): modify export style

* feat(sdk-logs): update version to 0.36.1

* feat(sdk-logs): remove exporter factory

* feat(sdk-logs): update CHANGELOG

* feat(sdk-logs): change the processing of schemeUrl

* feat(sdk-logs): split LoggerProviderConfig and LoggerConfig

* feat(sdk-logs): getLogger with default name  when name is invalid

* feat(sdk-logs): improve the shutdown logic of LoggerProvider

* feat(sdk-logs): improve the shutdown logic of LoggerProvider

* feat(sdk-logs): make log record read-only after it has been emitted

* feat(sdk-logs): logger option support includeTraceContext & LogRecordProcessor onEmit suport context

* feat(sdk-logs): update version

* feat(sdk-logs): update version

* feat(sdk-logs): update logs example with typescript

* feat(sdk-logs): update peerDependencies

* feat(sdk-logs): peer-api-check support @opentelemetry/api-logs

* feat(sdk-logs): update peerDependencies

---------

Co-authored-by: Martin Kuba <martin@martinkuba.com>
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2023-04-13 08:41:19 -04:00
粒粒橙 95bf6fc7cc
fix(build): add `example/http` to ignore list in `update-ts-configs` (#3657) 2023-03-07 10:23:23 +01:00
Chengzhong Wu 2b59c2820c
chore(tsconfig): abort on invalid json content (#3578)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2023-01-31 15:11:08 -05:00
Gerhard Stöbich e4927f8d9a
chore: improve windows compatibility of update-ts-config (#3475)
* chore: improve windows compatibility update-ts-config

Change update-ts-config script to generate posix path also on windows to avoid
that tsconfig.json files are wrongly modified.

* fixup add comment
2022-12-07 11:46:09 -05:00
Chengzhong Wu 897c1365e4
chore: automatically generate tsconfigs (#3432)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
Co-authored-by: Marc Pichler <marcpi@edu.aau.at>
2022-11-23 23:34:41 +08:00
Daniel Dyla ed2f033815
Merge back into a single lerna monorepo (#2892)
* chore: use a single lerna monorepo

* chore: release API dependencies

* chore: fix selenium exporter

* chore: support old API versions

* chore: update changelog

* chore: remove peer api check

* chore: changelog

* chore: fix cache keys and paths

* chore: fix lint cache

* ci: install when cache misses

* chore: apply cache fix to webworker and web

* chore: apply cache fix to lint

* chore: revert peer api check removal

* chore: match peer and dev dependency versions for API

* chore: send full string to lerna exec

* chore: use npm script for peer api check

* chore: use MetricAttributes in metrics

* chore: use MetricAttributes when appropriate

Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
2022-04-18 11:12:16 +08:00
Gerhard Stöbich fa0cb7270e
chore(deps): pin minor API version (#2531)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2021-10-27 09:02:40 -04:00
echoontheway 043067fa3a
feat(@opentelemetry/semantic-conventions): change enum to object literals (#2532)
Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
2021-10-17 18:09:02 +02:00
Weyert de Boer 0c7f1c3ae9
feat: upgrade semantic-conventions to latest v1.7.0 spec (#2528)
Co-authored-by: Weyert de Boer <weyert.deboer@tapico.io>
2021-10-09 15:45:43 +02:00
Weyert de Boer bec77913bc
feat: upgrade semantic conventions to the latest 1.6.1 version (#2456)
Regenerated the `@opentelemetry-js/semantic-conventions`-package to use
the latest definitions from the Opentelemetry specification

Co-authored-by: Weyert de Boer <weyert.deboer@tapico.io>
Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
2021-09-06 20:59:34 +02:00
Weyert de Boer 3bc3452814
feat: updated spec to v1.5.0 and renamed resource class (#2345)
Co-authored-by: Weyert de Boer <weyert.deboer@tapico.io>
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
2021-07-25 08:41:34 +02:00
Weyert de Boer a3b7738701
feat(semantic-conventions): upgrade semantic conventions to version 1… (#2268)
* feat(semantic-conventions): upgrade semantic conventions to version 1.4.0 spec

Ran the generator to generate the semantic and resource atributes based
on the v1.4.0 opentelemetry specification.

* fix: ensure the string as single quoted

* style: convert double to single quote

Co-authored-by: Weyert de Boer <weyert.deboer@tapico.io>
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
2021-06-12 10:31:50 +02:00
Weyert de Boer 09c2aa757f
feat: upgrade semantic conventions to v1.2.0 of spec (#2115)
* feat: upgrade semantic conventions to v1.2.0 of spec

Updated the generated semantic convention attributes to the one defined
in v1.2.0 of the Opentelemetry specification.

Changed `generate.sh` to ensure it uses v1.2.0 of the spec

* fix: improve the semconv template to better handled referenced attributes

Co-authored-by: Weyert de Boer <weyert.deboer@tapico.io>
2021-04-19 12:56:03 -04:00
Weyert de Boer 031b0f4286
feat: add semconv generator for `semantic-conventions`-package (#2083)
Co-authored-by: Weyert de Boer <weyert.deboer@tapico.io>
2021-04-10 11:29:11 +02:00
Daniel Dyla 8e2e2a9653
chore: peer depend on API (#2074) 2021-04-05 13:45:00 -04:00
Mark d610fb95f2
EOL semantics by adding .gitattributes and changing tsconfig.json (#1550)
* style(opentelemetry-js): .gitattribute and tsconfig changes for EOL normalization

* fix(opentelemetry-js): moved 'newLine': 'LF' into tsconfig.base instead of individual

* fix(opentelemetry-js): changed version script to use LF instead of OS.EOL

* fix(opentelemetry-js): simplified version script
2020-09-29 22:18:21 +02:00
Mark Wolff e9b2cf9aeb
refactor: remove copyright year from file headers (#1150) 2020-06-12 09:27:21 -04:00
Olivier Albertini 05e7bb9c8f
fix(lint): move tslint to eslint (#892) 2020-05-20 20:42:17 -07:00