Commit Graph

1555 Commits

Author SHA1 Message Date
Doug Barker c4203225be
Merge branch 'main' into merge_config_trace_model 2025-06-10 18:18:03 -06:00
Marc Alff 8e9663d031 Refresh code from PR #2518, to fix code review comments. 2025-06-11 00:23:58 +02:00
Marc Alff 632c9ca83d
[BUILD] Upgrade to opentelemetry-proto 1.7.0 (#3443) 2025-06-10 10:51:02 +02:00
Marc Alff 854dbf0a61 [CONFIGURATION] File configuration - trace model 2025-06-09 11:07:37 +02:00
Marc Alff 545f9f4108
[CodeHealth] fix include-what-you-use, part 8 (#3465) 2025-06-09 10:23:10 +02:00
Marc Alff 98e747f696
[CI] Remove windows 2019 (#3466) 2025-06-09 09:01:03 +02:00
Douglas Heriot b1253a7484
[SDK] Add credentials option to OTLP gRPC client (#3402) (#3403)
This allows passing custom `ChannelCredentials` when creating gRPC channels, to support authentication protocols that require short-lived tokens.
2025-06-07 11:10:50 +02:00
vencislav-georgiev-1A 53b153caf2
[BUILD] Allow compilation with CXX26 (#3464) 2025-06-06 17:35:17 +02:00
Doug Barker 549f2b009d
[TEST] test examples in CI with CMake Part 1 (#3449) 2025-06-05 20:49:45 +02:00
Evan d64b65368c
[DOC] Update doc comments to pass -WDocumention check (#3375) 2025-06-05 09:27:35 +02:00
dependabot[bot] 470f66b4ac
Bump github/codeql-action from 3.28.18 to 3.28.19 (#3462)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.18 to 3.28.19.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](ff0a06e83c...fca7ace96b)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 3.28.19
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-04 11:26:30 +02:00
Doug Barker 1ede230d0f
[CI] build iwyu (#3459) 2025-06-04 09:31:25 +02:00
Lalit Kumar Bhasin d2e728914d
[SDK] Use shared_ptr internally for AttributesProcessor to prevent use-after-free (#3457)
* fix

* fix

* add test

* fix

* iwuc
2025-06-03 10:40:10 -07:00
dependabot[bot] 05ac10652c
Bump ossf/scorecard-action from 2.4.1 to 2.4.2 (#3455)
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.4.1 to 2.4.2.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](f49aabe0b5...05b42c6244)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-version: 2.4.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-02 09:06:12 +02:00
Marc Alff 76460cf70a
[CI] build examples with IWYU (#3450) 2025-05-31 02:09:27 +02:00
Tom Tan 7a847caafc
[DOC] Udpate link to membership document (#3452) 2025-05-30 21:13:55 +02:00
Marc Alff b9cf499ff5
[RELEASE] Release opentelemetry-cpp 1.21.0 (#3445) 2025-05-29 11:30:28 +02:00
Tom Tan 793c7bd1e9
[BUILD] Propagate INTERFACE_COMPILE_DEFINITIONS from API through common_foo_library (#3440) 2025-05-29 00:18:55 +02:00
ethan d99593f2fd
[EXPORTER] support unix sockets in grpc client (#3410) 2025-05-28 21:41:18 +02:00
Marc Alff 214950e5d7
[SEMANTIC CONVENTIONS] Fix comment style to preserve markup (#3444) 2025-05-28 16:47:56 +02:00
dependabot[bot] c3ef5454d1
Bump docker/build-push-action from 6.17.0 to 6.18.0 (#3446)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6.17.0 to 6.18.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](1dc7386353...263435318d)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-version: 6.18.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-28 08:17:14 +02:00
Doug Barker 7a9c60994e
[CMAKE] Remove third-party version mismatch warning (#3432)
Co-authored-by: Marc Alff <marc.alff@oracle.com>
2025-05-24 18:33:38 +02:00
Tom Tan 87c216f5c8
[CMake] Add missing CMake keyword for target_link_libraries (#3442) 2025-05-23 18:42:32 +02:00
Tom Tan c2ea734f00
[BUILD] Error out when building DLL without MSVC (#3438) 2025-05-23 15:12:17 +02:00
Doug Barker 4b6f52ae23
[TEST] add all components to the cmake fetch content test (#3433) 2025-05-22 09:00:53 +02:00
Marc Alff b4254a4acf
[EXPORTER] ostream log exporter, fix memory ownership issues (#3417) 2025-05-21 13:29:02 +02:00
Marc Alff f7babf1bca
[SEMANTIC CONVENTIONS] Upgrade to semantic conventions 1.34.0 (#3428) 2025-05-21 11:29:28 +02:00
Marc Alff a530f5ec31
[BUILD] remove unused WITH_CURL build flag (#3429) 2025-05-21 09:12:53 +02:00
Doug Barker 165983a128
[CMAKE] remove global include_directories usage and rely on target properties (#3426) 2025-05-20 23:44:47 +02:00
Yash Tibrewal 29ac517bee
[SDK] Fix MetricProducer interface (#3413) 2025-05-20 11:05:30 -07:00
Doug Barker 2faa400782
[SDK] Fix Base2ExponentialHistogramAggregation Merge with empty buckets (#3425) 2025-05-20 08:52:56 +02:00
Doug Barker 82ec2a5a3d
[CMAKE] update cmake files in examples directory (#3421) 2025-05-19 15:06:37 +02:00
dependabot[bot] ba04dbbf13
Bump github/codeql-action from 3.28.17 to 3.28.18 (#3423)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.17 to 3.28.18.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](60168efe1c...ff0a06e83c)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 3.28.18
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-19 08:35:56 +02:00
Doug Barker b7e7333344
update the INSTALL doc to referece the trace target instead of the interface sdk target and add note about potential move of the etw and elasticsearch components (#3422) 2025-05-17 10:08:23 -07:00
Marc Alff 0f8dedf709
[SEMANTIC CONVENTIONS] Upgrade semantic conventions to 1.33.0 (#3416) 2025-05-16 19:01:04 +02:00
dependabot[bot] 44018b0bec
Bump codecov/codecov-action from 5.4.2 to 5.4.3 (#3419)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5.4.2 to 5.4.3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](ad3126e916...18283e04ce)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-version: 5.4.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-16 17:30:07 +02:00
dependabot[bot] 31b161ef8b
Bump docker/build-push-action from 6.16.0 to 6.17.0 (#3420)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6.16.0 to 6.17.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](14487ce63c...1dc7386353)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-version: 6.17.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-16 09:10:16 +02:00
dependabot[bot] 20c8ded8ad
Bump fossas/fossa-action from 1.6.0 to 1.7.0 (#3414)
Bumps [fossas/fossa-action](https://github.com/fossas/fossa-action) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/fossas/fossa-action/releases)
- [Commits](c0a7d013f8...3ebcea1862)

---
updated-dependencies:
- dependency-name: fossas/fossa-action
  dependency-version: 1.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-15 11:06:03 +02:00
Doug Barker db29c5b18d
fix accidental rollback of nlohmann-json submodule (#3415) 2025-05-15 09:04:07 +02:00
Doug Barker bcdea0e1fc
[CMAKE] add generated protobuf headers to the opentelemetry_proto target (#3400)
* adds the generated protobuf includes to the opentelemetry_proto target instead of using include_directories

* add changelog entry

---------

Co-authored-by: Marc Alff <marc.alff@oracle.com>
Co-authored-by: Lalit Kumar Bhasin <lalit_fin@yahoo.com>
2025-05-15 03:09:42 +00:00
Marc Alff 364b860a3f
[BUILD] Upgrade opentelemetry-proto to 1.6.0 (#3407) 2025-05-14 19:29:56 -07:00
Marc Alff cacfe443bb
[BUILD] Upgrade nlohmann_json to 3.12.0 (#3406) 2025-05-14 14:09:01 -07:00
Doug Barker 546fcd7979
[INSTALL] Unify cmake install functions and dynamically set component dependencies (#3368) 2025-05-14 09:44:27 +02:00
WenTao Ou 1e33bb595c
Fixes unused var (#3397)
* Fixes unused var

* Ignore IWYU in example
2025-05-09 11:40:28 -07:00
Doug Barker 92dd28c2cb
[SDK] support aggregation of identical instruments (#3358)
* use the existing storage for sync or async instruments of the same name. add tests

* add hash and name case insensitive hash for InstrumentDescriptor. Update storage registry to use the hash and equality structs. Add tests.

* don't allocate heap in the hash. fix some ci failures

* fix a few more ci failures.

* move the instrument descriptor ostream operator to meter.cc to not leak the ostream header and keep the meter instrument creation warning implementation in the same file

* adds instrument descriptor tests

* add comments

* Move case-insensitive equals method and IsDuplicate method into InstrumentDescriptorUtils struct. Add log streamable wrappers for scopes and instrument descriptors. Add tests for correcitve views for name and description duplicates

* fix iwyu errors

* duplicate instrument log message improvements to match spec. minor test additions/cleanup

* changelog entry

* address review feedback. Add Ascii to the name of the instrument util case-insensitive equal function

* address feedback: short circuit the instrument descriptor CaseInsensitiveAsciiEquals and IsDuplicate checks

* fix comments

---------

Co-authored-by: Tom Tan <lilotom@gmail.com>
Co-authored-by: Marc Alff <marc.alff@oracle.com>
Co-authored-by: Lalit Kumar Bhasin <lalit_fin@yahoo.com>
2025-05-09 05:53:05 +00:00
Yash Tibrewal 4e4d8de860
[Metrics SDK] Use nostd::function_ref in AttributesHashMap (#3393) 2025-05-08 23:26:50 +00:00
Cole VanOphem 9451f0e3be
[SDK] Optimize PeriodicExportingMetricReader Thread Usage (#3383) 2025-05-06 11:05:23 -07:00
dependabot[bot] ed91e718f7
Bump github/codeql-action from 3.28.16 to 3.28.17 (#3389)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.16 to 3.28.17.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](28deaeda66...60168efe1c)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 3.28.17
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-04 19:40:59 -07:00
Tom Tan a145a56880
[TEST] Add stress test for histogram metric for multiple threads validation (#3388) 2025-05-03 10:56:25 +02:00
WenTao Ou 9fd8511772
Fixes glibc++ 5 checking (#3355)
* Fixes glibc++ 5 checking

* Always checking `OPENTELEMETRY_TRIVIALITY_TYPE_TRAITS` when `OPENTELEMETRY_STL_VERSION` is defined

* Restore confg.h but left a warning
2025-04-28 22:25:31 -07:00