Commit Graph

268 Commits

Author SHA1 Message Date
jack-berg 5f90b0352e
Fix span setStatus (#6990) 2025-01-07 13:04:44 -06:00
Saurabh Lodha 2a97eaedc5
Add synchronization to SimpleLogRecordProcessor and SimpleSpanProcessor to ensure thread-safe export of logs and spans respectively (#6885) 2024-11-18 15:54:40 -06:00
Ravishankar Nagendran 26f359b3e9
Add javadoc boilerplate internal comment v2 for experimental classes (#6886)
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2024-11-18 14:59:28 -06:00
Xin 4c30ec48d3
Add convenience method `setAttribute(Attribute<Long>, int)` to SpanBuilder (matching the existing convenience method in Span) (#6884)
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2024-11-18 14:41:17 -06:00
Trask Stalnaker 6c0d140dff
Fix regression in event attributes (#6865) 2024-11-09 08:04:04 -08:00
jack-berg e38ebf5dc3
Prepare 1.44.0 (#6861) 2024-11-08 11:42:51 -06:00
jack-berg e4f39789bd
Add error prone checks for internal javadoc and private constructors (#6844) 2024-11-01 15:55:14 -05:00
Teja fcae15e927
Stabilize ExceptionEventData (#6795)
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2024-10-29 09:53:38 -05:00
Alex Boten 799039247b
tests: update references to logging exporter (#6692)
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2024-09-20 11:49:44 -05:00
jackshirazi 61a4b46676
make SdkTracer.tracerEnabled mutable (#6687)
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2024-09-05 15:07:33 -05:00
Jonas Kunz 09de4bd105
Added SpanProcessor OnEnding callback (#6367)
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2024-09-04 13:52:09 -05:00
renovate[bot] 37e35b239b
Update errorProneVersion to v2.31.0 (#6642)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2024-08-30 14:53:57 -05:00
Tyler Benson 20bcd7546b
Add links from experimental methods to the helper functions that allow access to them. (#6529)
Co-authored-by: Jack Berg <jberg@newrelic.com>
2024-07-11 17:03:17 -05:00
jack-berg 1f7d6a507e
Add APIs to determine if tracer, logger, instruments are enabled (#6502) 2024-07-03 15:34:18 -05:00
Trask Stalnaker 0aacc55d1e
Narrow ExtendedSpanBuilder return types for chaining (#6514) 2024-06-24 15:07:42 -05:00
Shelby Huang 7ee367a57f
Fix the JMH task execution failure. (#6495) 2024-06-10 11:34:37 -07:00
jack-berg d0b463dd6f
Refactor ExtendedTracer, ExtendedSpanBuilder to reflect incubating API conventions (#6497) 2024-06-06 09:42:01 -05:00
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