Commit Graph

251 Commits

Author SHA1 Message Date
jack-berg 67fcea3846
Prepare for 1.38.0 release (#6441)
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2024-05-10 10:06:14 -05:00
oliver zhang af46b5e4a9
change variable name (#6439) 2024-05-09 07:42:45 -07:00
John Bley a745d60e8d
Use standard ArrayList size rather than max number of links for initial span links allocation (#6252) 2024-05-07 08:42:15 -07:00
jack-berg c33febbea6
Scope config (#6375) 2024-04-18 16:36:40 -05:00
jack-berg 7b4bb8fb0a
Add ReadableSpan#getAttributes (#6382) 2024-04-17 13:24:52 -05:00
jack-berg 95b83564bc
Prepare 1.37.0 (#6353) 2024-04-05 12:30:22 -05:00
jack-berg d7370f3367
Promote Span addLink to stable API (#6317) 2024-04-04 12:09:17 -05:00
jack-berg b897510bb9
Add get{Signal}Exporter methods to Simple{Signal}Processor, Batch{Signal}Processor (#6078) 2024-03-22 10:38:30 -05:00
jack-berg 44c69ea6b5
Rename opentelemetry-extension-incubator to opentelemetry-api-incubator, merge opentelemetry-api-events (#6289) 2024-03-21 14:03:07 -05:00
John Bley 96fe54fc16
Fault in SdkSpan.events (#6244)
Co-authored-by: John Watson <jkwatson@gmail.com>
2024-02-23 19:51:41 -08:00
Austin Pederson c0b73f5218
#6207 Ensure Span Status Cannot Be Updated After StatusCode.OK Is Set (#6209) 2024-02-08 13:46:28 -06:00
jack-berg bae5718191
Add Span#addLink, for adding link after span start (#6084)
Co-authored-by: John Watson <jkwatson@gmail.com>
2024-02-07 13:04:52 -06:00
jack-berg 30c75b4715
Delete jaeger exporters (#6119) 2024-01-12 16:52:32 -06:00
jack-berg 1f2a8fef17
Prepare 1.34.0 (#6115) 2024-01-05 09:11:06 -06:00
HaloFour 07351a2e9f
Add option to export unsampled spans from span processors (#6057)
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2024-01-04 14:33:30 -06:00
jack-berg 63fe7084d2
Only call SpanProcessor onStart / onEnd if required (#6112) 2024-01-03 15:32:08 -06:00
renovate[bot] cb44b2b18c
Update errorProneVersion to v2.23.0 (#5927)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2023-10-23 10:31:09 -05:00
Pierre Tessier 8d27e24b21
Unify `queueSize` metric description and attribute (#5836) 2023-09-28 10:30:49 -05:00
jack-berg a438127c37
Deprecate semconv module (#5786) 2023-09-08 10:43:42 -05:00
jack-berg f7dc1dc686
Prepare for 1.29.0 release (#5698) 2023-08-11 10:54:22 -05:00
Parth Dadhaniya f52050bc2d
Merge the current Resource object with custom Resource Object. (#5619) 2023-08-09 10:28:25 -05:00
dependabot[bot] 2f89fa7a30
Bump errorProneVersion from 2.19.1 to 2.21.0 (#5670)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2023-08-04 11:57:22 -05:00
jack-berg 749d3164cc
Deprecate jaeger exporters (#5190) 2023-07-01 07:23:18 -05:00
dependabot[bot] b14bed8d89
Bump com.diffplug.spotless:spotless-plugin-gradle from 6.18.0 to 6.19.0 (#5469)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2023-05-31 09:56:15 -07:00
dependabot[bot] 38e38cb29f
Bump com.diffplug.spotless:spotless-plugin-gradle from 6.17.0 to 6.18.0 (#5352)
* Bump com.diffplug.spotless:spotless-plugin-gradle from 6.17.0 to 6.18.0

Bumps [com.diffplug.spotless:spotless-plugin-gradle](https://github.com/diffplug/spotless) from 6.17.0 to 6.18.0.
- [Release notes](https://github.com/diffplug/spotless/releases)
- [Changelog](https://github.com/diffplug/spotless/blob/main/CHANGES.md)
- [Commits](https://github.com/diffplug/spotless/compare/gradle/6.17.0...gradle/6.18.0)

---
updated-dependencies:
- dependency-name: com.diffplug.spotless:spotless-plugin-gradle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* spotless

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2023-04-06 15:13:11 -05:00
Liudmila Molkova 188210bdba
Update semconv to 1.19.0 and related build tool changes (#5311)
* Generate semconv 1.19.0 with new build-tools

* update code to use new user agentattribute name

* changelog

* add deprecated attributes

* add old deprecated attributes

* cleanup
2023-03-30 08:34:48 -07:00
jack-berg 06158ffc2d
Cleanup readmes (#5263) 2023-03-06 09:39:34 -06:00
jack-berg 6edba790d8
Cleanup autoconfigured resources in case of exception (#5117)
* Cleanup autoconfigured resources in case of exception

* Improve test coverage

* Spotless

* Reduce logging level to info for multiple shutdowns

* Fix build
2023-01-22 09:25:50 -06:00
jack-berg 8897dd4d5c
Revert removal final newline (#5133)
* Revert removal final newline

* Add to final newlin editorconfigoverride
2023-01-18 08:51:41 -06:00
dependabot[bot] 1e4a7be6be
Bump spotless-plugin-gradle from 6.12.1 to 6.13.0 (#5126)
* Bump spotless-plugin-gradle from 6.12.1 to 6.13.0

Bumps [spotless-plugin-gradle](https://github.com/diffplug/spotless) from 6.12.1 to 6.13.0.
- [Release notes](https://github.com/diffplug/spotless/releases)
- [Changelog](https://github.com/diffplug/spotless/blob/main/CHANGES.md)
- [Commits](https://github.com/diffplug/spotless/compare/gradle/6.12.1...plugin-gradle/6.13.0)

---
updated-dependencies:
- dependency-name: com.diffplug.spotless:spotless-plugin-gradle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix build

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2023-01-17 16:47:56 -06:00
jack-berg f8a4d81e24
Optimize log hot path (#4913)
* ComponentRegistry accepts name, version, schemaUrl instead of InstrumentationScopeInfo

* Fix comment
2022-11-08 17:05:00 -06:00
Łukasz Monkiewicz 6184e19812
Make description of Samplers Locale independent (#4887)
* Make description of Samplers Locale independent

* Switch from String.format to concatanation

* Moved description creation to constructor
2022-10-31 12:26:16 -05:00
jack-berg 2bc88f45c6
Deprecate multi argument InstrumentationScopeInfo create method (#4710)
* Deprecate multi argument InstrumentationScopeInfo create method

* PR feedback
2022-08-24 13:35:31 -05:00
jack-berg d0c6cd4480
Extend InstrumentationScopeInfo with scope attributes (#4696)
* Extend InstrumentationScopeInfo with scope attributes

* Add InstrumentationScopeInfoBuilder
2022-08-22 12:26:54 -05:00
jack-berg facbf4fb9e
Add default implementations for getInstrumentationScopeInfo methods (#4640) 2022-07-27 17:54:29 -05:00
jack-berg 659a7930bd
Move AttributesMap to :sdk:common (#4641) 2022-07-27 17:08:40 -05:00
Mohit Palriwal aa873a05be
Added a static method "drain" under JcTools with a generic consumer (#4582)
* Added a static method "drain" under JcTools with a generic consumer

* Rename spanT to T

* Update sdk/trace-shaded-deps/src/main/java/io/opentelemetry/sdk/trace/internal/JcTools.java

* Rename Test methods

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2022-07-08 15:30:35 +09:00
jack-berg 160b30a16a
Fix ConcurrencModificationException in BatchSpanProcessorTest (#4568) 2022-06-29 17:03:52 -05:00
jack-berg b7347f6577
Update dependencies (#4519)
* Update dependencies

* revert jqf-fuzz to 1.7
2022-06-09 20:41:40 -05:00
jack-berg 60cc5f452a
Merge otlp grpc trace and metric exporter into :exporters:otlp:all (#4494) 2022-05-27 10:12:45 -05:00
jack-berg e067223409
Convert tests to from :sdk:metrics-testing to :sdk:testing (#4444) 2022-05-09 09:34:09 -05:00
Lauri Tulmin 16be81aed8
Apply attribute limits to exception events (#4423) 2022-04-28 16:12:35 -05:00
wallezhang f36785f676
fix: fix BatchSpanProcessor with non-runtime exception (#4402)
* fix: fix BatchSpanProcessor worker thread is killed by non-runtime exception

* refactor: Propagate exception if fatal

* test: Add unit test for exporter throwing a non-runtime exception
2022-04-22 07:57:02 +09:00
Anuraag Agrawal d78cadabaa
Update errorprone (#4346) 2022-04-08 08:12:57 +09:00
jack-berg 0b94400914
Another round of log suppression (#4342)
* Another round of log suppression

* Suppress logs from HttpServerPipelineConfigurator
2022-04-07 11:00:42 -05:00
HaloFour 6bc06f86ca
Add ExceptionEventData which wraps events that contain exceptions (#4162)
* Add ExceptionEventData which wraps events that contain exceptions

* checkstyle

* Keep it simple

* Refactor ExceptionEventData to tracing-incubator

* Clean up reflection code, defer and memoize merged attributes

* Move ExceptionEventData back to :sdk:trace under internal package

* Address PR comments

* Add internal package-info

* Add internal package verbiage to ExceptionEventData interface

* Kick CI
2022-03-31 11:46:21 +09:00
jack-berg 59a6061dc5
Deprecate InstrumentationLibraryInfo (#4256)
* Deprecate InstrumentationLibraryInfo

* API diff
2022-03-14 14:45:10 -05:00
Lauri Tulmin 26dd896c09
Fix android desugaring for HashMap.forEach (#4221) 2022-03-01 08:08:23 +09:00
jack-berg 963bc384c8
Instrumentation scope (#4215)
* Add InstrumentationScopeInfo class

* Rewrite tracer provider documentation

* Refactor ComponentRegistry to use InstrumentationScopeInfo

* Finish updating documentation to reference scope instead of library

* PR feedback
2022-02-26 10:43:55 -08:00
Beppe Catanese 13fb460a54
(4172) Vararg versions of AttributeBuilder.put (#4188)
* Overload put with AttributeKey with String array

* Use generic instead of String

* Format and javadoc

* Cast to type

* New public method

* File based view configuration (#4163)

* Add experimental view config module

* Rename view-config to metric-incubator

* Switch naming from camelCase to snake_case

* Extend with attribute key filter

* Wire up to autoconfiguration

* Use snakeyaml instead of jackson

* PR feedback

* PR feedback

* Remove explicit okio dependency (#4187)

* Deprecate PrometheusCollector (#4185)

* Correct javadoc

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>

* Cast to type

Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2022-02-24 14:04:57 -08:00