Compare commits

...

1897 Commits

Author SHA1 Message Date
Carl 4237a26517
added new constructor and tests (#7514) 2025-07-28 19:32:25 -07:00
renovate[bot] 590f11213c
chore(deps): update weekly update (#7515)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-28 19:26:58 -07:00
Jay DeLuca ff4d32646a
Update okhttp dependency to okhttp-jvm (#7517) 2025-07-28 19:26:15 -07:00
renovate[bot] 17b4065d6c
fix(deps): update dependency io.grpc:grpc-bom to v1.74.0 (#7518)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-28 13:37:37 -07:00
renovate[bot] b79242d858
fix(deps): update dependency com.google.api.grpc:proto-google-common-protos to v2.59.2 (#7509)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-26 22:06:51 -07:00
renovate[bot] dfd35c7a8d
fix(deps): update junit-framework monorepo to v5.13.4 (#7507)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-26 22:06:29 -07:00
renovate[bot] c0855e867a
fix(deps): update spotless packages to v7.2.1 (#7505)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-26 22:05:59 -07:00
renovate[bot] 5764814b8e
fix(deps): update dependency io.opentelemetry.contrib:opentelemetry-aws-xray-propagator to v1.48.0-alpha (#7510)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-26 11:21:35 -07:00
renovate[bot] 42c4091802
fix(deps): update errorproneversion to v2.41.0 (#7512)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jason Plumb <jplumb@splunk.com>
2025-07-26 11:18:31 -07:00
Gregor Zeitlinger dc2874e2fa
fix typo (#7497) 2025-07-20 10:08:40 -07:00
renovate[bot] 352acfb24b
fix(deps): update dependency com.fasterxml.jackson:jackson-bom to v2.19.2 (#7504)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-18 17:44:36 -07:00
Gregor Zeitlinger 3e5368eba8
update kotlin (#7501)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-18 07:47:15 -07:00
Gregor Zeitlinger 80da2ab3d9
show the wrong file format (#7498) 2025-07-17 18:27:09 -07:00
renovate[bot] 29a7fe8f13
fix(deps): update dependency io.netty:netty-bom to v4.2.3.final (#7490)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-15 15:16:47 -07:00
renovate[bot] 887778fa0b
fix(deps): update junit-framework monorepo to v5.13.3 (#7494)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-15 15:15:08 -07:00
renovate[bot] 8e232157d1
chore(deps): update plugin com.gradle.develocity to v4.1 (#7492)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-15 12:23:37 -07:00
renovate[bot] b185cfb94f
fix(deps): update dependency com.gradle.develocity:com.gradle.develocity.gradle.plugin to v4.1 (#7493)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-15 12:23:10 -07:00
renovate[bot] 57580f56e5
fix(deps): update junit-framework monorepo to v5.13.2 (#7462)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jason Plumb <jplumb@splunk.com>
Co-authored-by: John Watson <jkwatson@gmail.com>
2025-07-15 10:38:14 -07:00
Lauri Tulmin 7781706de2
Rename variables (#7486) 2025-07-15 10:37:27 -07:00
renovate[bot] ce1e26f579
fix(deps): update dependency org.snakeyaml:snakeyaml-engine to v2.10 (#7487)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-14 09:04:30 -07:00
renovate[bot] 80094155e9
chore(deps): update python:3.13.5 docker digest to 28f60ab (#7485)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-13 19:12:22 -07:00
renovate[bot] 38207b740e
fix(deps): update prometheusserverversion to v1.3.10 (#7466)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: John Watson <jkwatson@gmail.com>
2025-07-12 18:02:46 -07:00
renovate[bot] c54a301e5e
fix(deps): update errorproneversion to v2.40.0 (#7484)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-12 15:48:41 -07:00
renovate[bot] 804d5f3a07
fix(deps): update errorproneversion to v2.39.0 (#7448)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: John Watson <jkwatson@gmail.com>
2025-07-12 12:40:01 -07:00
otelbot[bot] 40f71ed52a
Update apidiff baseline and documentation versions to released version 1.52.0 (#7483)
Co-authored-by: otelbot <197425009+otelbot@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2025-07-11 17:11:22 -05:00
otelbot[bot] 95dc35b2dd
Update version to 1.53.0 (#7481)
Co-authored-by: otelbot <197425009+otelbot@users.noreply.github.com>
2025-07-11 15:40:05 -05:00
jack-berg 6cac14d649
Prepare for 1.52.0 release (#7478) 2025-07-11 13:34:51 -05:00
jack-berg 78a917da2e
Promote ComponentLoader to new opentelemetry-api-util, standardize SPI loading (#7446) 2025-07-10 17:29:25 -05:00
jack-berg 4821c37ec0
Add custom stacktrace renderer which is length limit aware (#7281) 2025-07-10 17:16:20 -05:00
jack-berg cecfb835be
Extend prometheus declarative config support to include without_scope_info, with_resource_constant_labels (#6840) 2025-07-10 17:10:00 -05:00
jack-berg 915c64a365
Add new convenience methods for converting DeclarativeConfigProperties to config model (#7453) 2025-07-10 17:05:24 -05:00
renovate[bot] de491791a4
fix(deps): update dependency com.google.api.grpc:proto-google-common-protos to v2.59.1 (#7476)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-10 16:23:27 -05:00
Gregor Zeitlinger 05f67023da
add scope schema URL and attributes to prom attributes (#7356)
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2025-07-10 09:52:12 -05:00
renovate[bot] e949555a70
fix(deps): update dependency com.squareup.wire:wire-bom to v5.3.5 (#7477)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-09 07:56:31 -07:00
jack-berg d9c9583409
Add context and severity params to ExtendedLogger#isEnabled (#7268) 2025-07-08 17:00:08 -05:00
renovate[bot] 15ae8c0f35
fix(deps): update dependency com.squareup.wire:wire-bom to v5.3.4 (#7474)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-08 08:00:30 -07:00
renovate[bot] 518623882b
fix(deps): update spotless packages to v7.1.0 (#7471)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-07 16:39:58 -07:00
renovate[bot] 7768b2d106
fix(deps): update dependency com.squareup.okhttp3:okhttp-bom to v5.1.0 (#7470)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-07 16:38:57 -07:00
renovate[bot] e0fdeb3dae
fix(deps): update dependency io.opentelemetry.contrib:opentelemetry-aws-xray-propagator to v1.47.0-alpha (#7464)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-05 09:31:42 -07:00
renovate[bot] ab078e0f35
chore(deps): update dependency gradle to v8.14.3 (#7465)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-04 20:48:59 -07:00
renovate[bot] 9406936154
fix(deps): update dependency com.squareup.okhttp3:okhttp-bom to v5 (#7463)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-03 15:53:26 -07:00
renovate[bot] 85f662abfe
chore(deps): update weekly update (#7459)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-03 10:10:17 -07:00
renovate[bot] 317c00261b
chore(deps): update plugin com.gradleup.shadow to v8.3.8 (#7461)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-02 09:17:51 -07:00
renovate[bot] 9db6f62129
fix(deps): update dependency com.squareup.okio:okio-bom to v3.15.0 (#7455)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-02 09:16:57 -07:00
renovate[bot] 0309b30c44
fix(deps): update dependency com.google.api.grpc:proto-google-common-protos to v2.59.0 (#7444)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-01 10:58:42 -07:00
Trask Stalnaker 43f3f7d059
Standardize contributing section (#7456) 2025-06-30 17:51:30 -05:00
renovate[bot] 360897b98e
fix(deps): update dependency checkstyle to v10.26.1 (#7458)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-30 10:15:15 -07:00
renovate[bot] 6dd69e96e8
fix(deps): update dependency org.testcontainers:testcontainers-bom to v1.21.3 (#7457)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-28 19:06:15 -07:00
Dominic Lüchinger 50e3d4d949
docs: Update the version in the README.md to algin with the latest release (#7454) 2025-06-28 19:05:27 -07:00
Dominic Lüchinger 2c0ee00508
fix: Resolve environment variable substitution for mixed quotes (#7433) 2025-06-27 10:37:40 -05:00
Teja a7315c63b6
7181: Loading Compressor using ClassLoader configured through setServiceClassLoader (#7428) 2025-06-27 09:20:11 -05:00
OpenTelemetry Bot edd51d45a1
Fix outdated community membership link (#7450)
Co-authored-by: otelbot <197425009+otelbot@users.noreply.github.com>
2025-06-26 16:08:39 -07:00
renovate[bot] e2e2dbbc26
fix(deps): update dependency net.ltgt.gradle:gradle-errorprone-plugin to v4.3.0 (#7449)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-26 12:17:50 -07:00
Jonathan Halliday b203d2f23e
profile exporters fix and test improvements (#7442) 2025-06-25 15:49:01 -05:00
OpenTelemetry Bot 6e8a466ca4
Update community member listings (#7447)
Co-authored-by: otelbot <197425009+otelbot@users.noreply.github.com>
2025-06-25 14:12:29 -05:00
renovate[bot] 0ca502bddd
fix(deps): update dependency com.fasterxml.jackson:jackson-bom to v2.19.1 (#7422)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-24 16:13:33 -05:00
Paul Nienaber 9329f8675e
fixes #7427: Patch LazyStorage to pass its ClassLoader to ServiceLoader (#7424) 2025-06-24 14:43:46 -05:00
jack-berg 9262a81432
Update to declarative config 1.0-rc.1 (#7436) 2025-06-24 14:42:53 -05:00
Trask Stalnaker 11e424de8d
Slightly faster CodeQL (#7414)
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2025-06-24 14:42:42 -05:00
Tyler Benson aeb08f40a0
Propagate flush to PeriodicMetricReader's metricExporter. (#7410) 2025-06-24 14:42:28 -05:00
Francesco Andreuzzi b0a9deb7d8
Fix race condition of `GlobalOpenTelemetry` initialization with `AutoConfiguredOpenTelemetrySdkBuilder` (#7365)
Co-authored-by: Jack Berg <jberg@newrelic.com>
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2025-06-24 14:22:10 -05:00
renovate[bot] 76913bb224
fix(deps): update dependency checkstyle to v10.26.0 (#7443)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-24 11:20:22 -07:00
renovate[bot] 55a1b57644
chore(deps): update plugin com.gradleup.shadow to v8.3.7 (#7439)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-24 11:17:33 -07:00
renovate[bot] bf65026b71
chore(deps): update weekly update (#7423)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-23 09:14:58 -07:00
renovate[bot] fa31e52722
fix(deps): update dependency checkstyle to v10.25.1 (#7437)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-23 09:12:39 -07:00
jason plumb ada5af60d1
Prevent major version bump in equalsverifier. (#7416) 2025-06-20 14:47:56 -05:00
renovate[bot] 2eb84bf417
fix(deps): update dependency org.testcontainers:testcontainers-bom to v1.21.2 (#7431)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-18 20:30:40 -07:00
renovate[bot] d90cf44c87
fix(deps): update dependency com.google.api.grpc:proto-google-common-protos to v2.58.2 (#7426)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-18 20:30:17 -07:00
renovate[bot] cc2844d867
fix(deps): update dependency com.squareup.okio:okio-bom to v3.13.0 (#7421)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-13 18:13:46 -07:00
jason plumb 07f01c363f
ContextKey update example code (#7420) 2025-06-13 18:11:43 -07:00
Trask Stalnaker 3f73f12f83
Update sonatype snapshot repo location (#7411) 2025-06-12 18:09:35 -05:00
renovate[bot] fe315a3a23
fix(deps): update dependency org.owasp:dependency-check-gradle to v12.1.3 (#7417)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-11 07:51:44 -07:00
renovate[bot] f9dc916a80
fix(deps): update dependency io.opentelemetry.semconv:opentelemetry-semconv-incubating to v1.34.0-alpha (#7413)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-11 07:51:09 -07:00
renovate[bot] 4a33b66996
fix(deps): update dependency org.owasp:dependency-check-gradle to v12.1.2 (#7409)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-09 18:33:56 -07:00
jack-berg d5a2fa2bda
Cleanup test resources to quiet logs (#7387) 2025-06-09 16:28:47 -05:00
Felix Barnsteiner 6a164a9a36
fix(httpclient): ensure proper closure of HttpClient in shutdown method (#7390) 2025-06-09 13:34:36 -05:00
Trask Stalnaker 67e3f7baf0
Reduce repo settings we need to doc (#7397) 2025-06-09 13:16:31 -05:00
Trask Stalnaker e35ba16e55
Fix workflow permission (#7408) 2025-06-09 09:38:09 -05:00
Trask Stalnaker 289bebaf15
Fix benchmark workflows (#7406) 2025-06-09 09:37:46 -05:00
Nan Chen 7a4a452603
Update argument name for set(long value) (#7405) 2025-06-06 16:52:42 -05:00
jason plumb 5a25bb6fe1
Update repos for sonatype central (#7407) 2025-06-06 16:50:05 -05:00
jack-berg 07e8d434f3
Fix prepare-release-branch.sh interaction with update-version.sh (#7404) 2025-06-06 14:39:08 -05:00
OpenTelemetry Bot d37f6bd93a
Use more specific self-hosted runner name (#7399)
Co-authored-by: otelbot <197425009+otelbot@users.noreply.github.com>
2025-06-06 14:38:48 -05:00
otelbot[bot] e25b776840
Update apidiff baseline to released version 1.51.0 (#7403)
Co-authored-by: otelbot <197425009+otelbot@users.noreply.github.com>
2025-06-06 14:38:35 -05:00
otelbot[bot] c34a25efd5
Update version to 1.52.0-SNAPSHOT (#7401)
Co-authored-by: otelbot <197425009+otelbot@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2025-06-06 13:27:30 -05:00
jack-berg d034464ffd
Prepare for 1.51.0 release (#7396) 2025-06-06 11:46:10 -05:00
renovate[bot] f2f29f5976
fix(deps): update prometheusserverversion to v1.3.8 (#7367)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2025-06-06 09:29:48 -05:00
jack-berg 8ed10f2ad7
OTLP exporter should tolerate instances of LogRecordData when incubator is present (#7393) 2025-06-06 09:23:58 -05:00
Gregor Zeitlinger 5e50aa7ee6
prom exporter: exclude shaded protobuf (#7355)
Co-authored-by: Jack Berg <jberg@newrelic.com>
2025-06-05 17:12:45 -05:00
renovate[bot] cb92d970d4
chore(deps): update dependency gradle to v8.14.2 (#7394)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-05 17:08:36 -05:00
renovate[bot] 5fada737bf
fix(deps): update dependency com.squareup.wire:wire-bom to v5.3.3 (#7395)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-05 17:05:28 -05:00
renovate[bot] c874197d64
chore(config): migrate renovate config (#7351)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2025-06-05 16:57:54 -05:00
renovate[bot] d41c099e62
chore(deps): update weekly update (#7352)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-05 16:57:05 -05:00
renovate[bot] 9e76c90a04
fix(deps): update dependency io.netty:netty-bom to v4.2.2.final (#7389)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-05 16:40:43 -05:00
renovate[bot] 93d9e7278f
fix(deps): update dependency io.opentelemetry.proto:opentelemetry-proto to v1.7.0-alpha (#7362)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2025-06-05 11:20:40 -05:00
jack-berg b11316b0bd
Configurable exception.* attribute resolution (#7266) 2025-06-05 11:20:14 -05:00
renovate[bot] a756317511
fix(deps): update dependency com.google.api.grpc:proto-google-common-protos to v2.58.0 (#7384)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-03 17:15:48 -05:00
renovate[bot] 3b596aae1b
fix(deps): update dependency io.zipkin.brave:brave-bom to v6.3.0 (#7385)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-03 17:15:35 -05:00
Onur Kayabasi d239b7017d
Prometheus label conversion refactored to align with spec (#7291)
Co-authored-by: Jack Berg <jberg@newrelic.com>
2025-06-03 17:06:21 -05:00
Jonas Kunz f7207352a1
Implement new SemConv exporter health metrics (#7265)
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2025-06-03 16:40:38 -05:00
renovate[bot] 2c762e0be8
fix(deps): update dependency checkstyle to v10.25.0 (#7383)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-03 14:34:05 -05:00
renovate[bot] dfbea872b1
fix(deps): update dependency com.squareup.wire:wire-bom to v5.3.2 (#7382)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-03 14:33:51 -05:00
renovate[bot] fd93c2b8c4
fix(deps): update dependency com.squareup.okio:okio-bom to v3.12.0 (#7372)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-03 14:33:36 -05:00
renovate[bot] ba37bf1a69
fix(deps): update spotless packages to v7.0.4 (#7371)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-03 14:10:06 -05:00
renovate[bot] 6982730ffb
fix(deps): update dependency org.testcontainers:testcontainers-bom to v1.21.1 (#7377)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-03 14:08:57 -05:00
Kevin Burke f94b056f83
sdk-extensions: remove 'Visible for test' comment (#7381) 2025-06-03 14:08:41 -05:00
renovate[bot] 5898a425c5
fix(deps): update dependency io.zipkin.reporter2:zipkin-reporter-bom to v3.5.1 (#7379)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-03 14:06:55 -05:00
renovate[bot] afe3440e91
fix(deps): update dependency com.google.protobuf:protobuf-bom to v4.31.1 (#7375)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-03 14:06:38 -05:00
renovate[bot] 53b1f7c624
fix(deps): update dependency io.grpc:grpc-bom to v1.73.0 (#7370)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-03 14:06:19 -05:00
Robert Niedziela 90e030f213
Handle instrumentation node changes in yaml config file format 0.4 (#7357) 2025-05-27 17:34:26 -05:00
renovate[bot] 03e7f98965
chore(deps): update plugin com.gradle.develocity to v4.0.2 (#7368)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-27 12:21:34 -07:00
renovate[bot] 145ceaa94c
fix(deps): update dependency com.gradle.develocity:com.gradle.develocity.gradle.plugin to v4.0.2 (#7369)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-27 12:21:04 -07:00
renovate[bot] 6153023d98
chore(deps): update dependency gradle to v8.14.1 (#7364)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-23 09:51:54 -07:00
renovate[bot] 04fc212451
fix(deps): update dependency checkstyle to v10.24.0 (#7361)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-23 09:51:34 -07:00
renovate[bot] cc7d0855e7
chore(deps): update weekly update (#7306)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-15 16:42:07 -05:00
renovate[bot] 452464820a
fix(deps): update dependency com.google.protobuf:protobuf-bom to v4.31.0 (#7350)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-15 16:41:52 -05:00
Alex Brown deeceebe8d
Run JDK HTTP sender on non-daemon threads. (#7322)
Co-authored-by: Jack Berg <jberg@newrelic.com>
2025-05-15 16:12:25 -05:00
OpenTelemetry Bot 6bd13ffcbc
Update Renovate configuration (#7345)
Co-authored-by: otelbot <197425009+otelbot@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2025-05-15 15:47:24 -05:00
renovate[bot] 3c1f556831
fix(deps): update prometheusserverversion to v1.3.7 (#7348)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2025-05-15 15:34:54 -05:00
renovate[bot] 4c6ba0aed1
fix(deps): update dependency com.google.api.grpc:proto-google-common-protos to v2.57.0 (#7349)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-15 14:56:09 -05:00
renovate[bot] d698c1d326
fix(deps): update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v2.1.21 (#7347)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-15 14:54:55 -05:00
Trask Stalnaker 3219437316
Fix release workflow (#7341) 2025-05-15 14:37:01 -05:00
Jonathan Halliday bed02d5f61
Add gRPC export for profiles signal type. (#7301)
Co-authored-by: Jack Berg <jberg@newrelic.com>
2025-05-13 10:53:53 -05:00
jack-berg 394cd354a3
Post release 1.50.0 (#7344) 2025-05-13 10:22:30 -05:00
Laurent Tréguier e419b5d588
Fix context storage provider property name (#7318) (#7342) 2025-05-11 09:55:11 -07:00
otelbot[bot] acc64ee012
Update version to 1.51.0 (#7338)
Co-authored-by: otelbot <197425009+otelbot@users.noreply.github.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2025-05-09 17:58:04 -05:00
jack-berg e8305ee3f5
Prepare 1.50.0 (#7335) 2025-05-09 09:52:01 -05:00
Francesco Andreuzzi 983133fd0d
Add `setLoggerConfigurator` support to `LoggerProvider` (#7332) 2025-05-09 09:14:27 -05:00
jason plumb 58acb531c5
Add test that shows how context keys are special (#7330) 2025-05-08 16:26:53 -05:00
renovate[bot] 18548f47ad
fix(deps): update dependency com.tngtech.archunit:archunit-junit5 to v1.4.1 (#7331)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-08 16:25:31 -05:00
renovate[bot] f0f263031a
fix(deps): update dependency io.netty:netty-bom to v4.2.1.final (#7324)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-08 16:25:21 -05:00
Alex Brown 288907d349
Avoid HTTP 429 errors (#7328) 2025-05-08 16:25:08 -05:00
jack-berg eec21201b1
Add DeclarativeConfigContext (#7293) 2025-05-06 14:19:33 -05:00
jack-berg 54e5ea7bf2
Update cralwer to crawl all io.opentelemetry.* groups (#7316) 2025-05-06 14:19:18 -05:00
jack-berg d70fe5b029
Fix Otlp*MetricExporterBuilderTests (#7313) 2025-05-06 14:19:01 -05:00
renovate[bot] 5bda810da8
fix(deps): update dependency nl.jqno.equalsverifier:equalsverifier to v3.19.4 (#7311)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-05 19:25:14 -07:00
renovate[bot] 39ba216f00
fix(deps): update dependency com.google.api.grpc:proto-google-common-protos to v2.56.0 (#7320)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-05 19:24:43 -07:00
renovate[bot] 804714d28e
fix(deps): update dependency com.google.api.grpc:proto-google-common-protos to v2.55.3 (#7317)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-05 08:00:04 -07:00
Francesco Andreuzzi 7cbcdd65b6
Spatial aggregation for async instruments with filtering views (#7264)
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2025-05-02 16:50:30 -05:00
Jay DeLuca 4aeb2f79be
Javadoc site crawler (#7300) 2025-05-02 15:55:13 -05:00
renovate[bot] 29523e62ea
fix(deps): update dependency com.uber.nullaway:nullaway to v0.12.7 (#7310) 2025-04-30 06:32:55 -07:00
renovate[bot] 3ef4be2d84
fix(deps): update dependency ru.vyarus:gradle-animalsniffer-plugin to v2.0.1 (#7308)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-29 19:30:33 -07:00
renovate[bot] 56ae62e2d6
chore(deps): update dependency gradle to v8.14 (#7304)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-29 19:30:07 -07:00
renovate[bot] 2e59170339
fix(deps): update dependency checkstyle to v10.23.1 (#7305)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-29 19:29:23 -07:00
renovate[bot] e2a5d20955
fix(deps): update dependency io.zipkin.brave:brave-bom to v6.2.0 (#7307)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-29 15:32:45 -07:00
renovate[bot] 33a1a9e5fe
fix(deps): update dependency com.gradle.develocity:com.gradle.develocity.gradle.plugin to v4.0.1 (#7303)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-29 15:32:02 -07:00
renovate[bot] eb14ef665e
chore(deps): update plugin com.gradle.develocity to v4.0.1 (#7302)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-28 13:13:28 -07:00
renovate[bot] d114161694
fix(deps): update dependency com.fasterxml.jackson:jackson-bom to v2.19.0 (#7299)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-28 13:09:48 -07:00
renovate[bot] 8c1e348fb8
fix(deps): update dependency org.testcontainers:testcontainers-bom to v1.21.0 (#7296)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-26 18:17:31 -07:00
renovate[bot] beb5917939
fix(deps): update dependency com.google.api.grpc:proto-google-common-protos to v2.55.2 (#7295)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-26 18:16:53 -07:00
renovate[bot] b8d9c027fd
fix(deps): update errorproneversion to v2.38.0 (#7285)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2025-04-24 11:31:16 -05:00
Tyler Benson b468a2e9bf
Allow Otlp*MetricExporter's to publish export stats (#7255) 2025-04-21 17:35:41 -05:00
renovate[bot] 2460c92400
chore(deps): update actions/create-github-app-token action to v2 (#7288)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-21 17:28:25 -05:00
renovate[bot] 86b7e76082
chore(deps): update weekly update (#7287)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-21 17:09:53 -05:00
renovate[bot] 5c4a0ad78f
fix(deps): update dependency com.google.api.grpc:proto-google-common-protos to v2.55.0 (#7286)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-18 20:47:36 -07:00
Onur Kayabasi 8fda429ae6
Sdk builders extended with addProcessorFirst methods (#7243) 2025-04-18 16:16:29 -05:00
jack-berg 9e3f702d5b
Declarative config 0.4 (#7064) 2025-04-18 14:20:38 -05:00
renovate[bot] 04677f93b3
fix(deps): update dependency net.ltgt.gradle:gradle-errorprone-plugin to v4.2.0 (#7284)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-17 13:34:58 -05:00
renovate[bot] 349052c34d
fix(deps): update dependency io.grpc:grpc-bom to v1.72.0 (#7278)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-17 13:32:39 -05:00
jack-berg 9e1e9c6e9f
Stabilize log record event name (#7277) 2025-04-17 12:30:43 -05:00
Jonas Kunz 65472798f6
Fix OTLP metric exporter toBuilder() loosing temporality (#7280) 2025-04-17 11:39:35 -05:00
jack-berg f17b8b0414
Update maven badge to new host (#7283) 2025-04-16 16:53:47 -05:00
renovate[bot] e392b11bbf
fix(deps): update armeriaversion to v1.32.5 (#7275)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-16 13:05:54 -05:00
jack-berg 4e457f75a8
Fix link checker (#7282) 2025-04-16 13:03:44 -05:00
Tyler Benson d13f04d084
Clarify that AttributesBuilder.put allows nulls (#7271) 2025-04-16 11:08:03 -05:00
Trask Stalnaker 14e2fefe7a
Switch to otelbot and streamline post release process (#7273) 2025-04-15 14:22:19 -05:00
jack-berg ccfcecf8fe
Promote getAll to TextMapGetter stable API (#7267) 2025-04-15 12:38:07 -05:00
renovate[bot] 8a998225d0
fix(deps): update dependency com.google.guava:guava-bom to v33.4.8-jre (#7274)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-14 19:42:13 -07:00
renovate[bot] a01bf6cfd0
fix(deps): update junit5 monorepo to v5.12.2 (#7269)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-11 15:31:53 -05:00
renovate[bot] 0191a01b3b
fix(deps): update dependency io.opentelemetry.contrib:opentelemetry-aws-xray-propagator to v1.46.0-alpha (#7270)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-11 14:41:21 -05:00
Trask Stalnaker e695b66950
Add FOSSA badges (#7094) 2025-04-11 14:15:09 -05:00
renovate[bot] 563087f0f0
chore(deps): update weekly update (#7218)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-11 10:59:57 -05:00
renovate[bot] 00fbeb2695
chore(deps): update plugin com.gradle.develocity to v4 (#7260)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-11 10:59:33 -05:00
renovate[bot] 6855cd3143
fix(deps): update armeriaversion to v1.32.4 (#7257)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-11 10:59:14 -05:00
renovate[bot] 5d3ae0199f
fix(deps): update dependency com.gradle.develocity:com.gradle.develocity.gradle.plugin to v4 (#7261)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-11 10:58:46 -05:00
jack-berg dc0b4acd86
Add support for escaping declarative config env var substitution (#7033) 2025-04-11 10:46:59 -05:00
jack-berg 2d1c14ee56
Add experimental support for log extended attributes (#7123) 2025-04-11 10:46:38 -05:00
Teja 9cb636502e
6195: DelegatingMetricData. (#7229)
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2025-04-11 09:20:03 -05:00
jack-berg 4e243f2b63
Add ExtendedLogRecordBuilder#setException (#7182) 2025-04-11 09:18:19 -05:00
renovate[bot] d7fb208d06
fix(deps): update dependency com.google.guava:guava-bom to v33.4.7-jre (#7259)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-10 14:20:26 -05:00
renovate[bot] 1f5a560fbb
fix(deps): update dependency com.squareup.okio:okio-bom to v3.11.0 (#7263)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-10 14:20:09 -05:00
renovate[bot] 58bf4e4018
fix(deps): update spotless packages to v7.0.3 (#7256)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-10 14:19:52 -05:00
jack-berg a8493271bc
Update min kotlin version to 1.8 (#7155) 2025-04-10 14:18:44 -05:00
jack-berg 00b61a2d87
Remove guava dependency from buildSrc/build.gradle.kts (#7262) 2025-04-09 13:00:15 -05:00
jack-berg 10eda198c0
Remove Java9VersionSpecific clock implementation (#7221) 2025-04-07 16:50:55 -05:00
renovate[bot] aa17528ec1
fix(deps): update dependency org.owasp:dependency-check-gradle to v12.1.1 (#7252)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-07 16:48:52 -05:00
OpenTelemetry Bot 688e1031c6
Post release for version 1.49.0 (#7254) 2025-04-07 11:29:32 -05:00
Onur Kayabasi 7f86458580
Fix duplicated ExecutorService wrap (#7245) 2025-04-07 10:34:28 -05:00
Onur Kayabasi 3eb7ef00ad
Authenticator added for PrometheusHttpServer (#7225) 2025-04-07 10:32:52 -05:00
OpenTelemetry Bot f801a159f3
Update version to 1.50.0 (#7249) 2025-04-04 15:20:35 -05:00
jack-berg b3126023db
Prepare for 1.49.0 release (#7248) 2025-04-04 14:14:04 -05:00
renovate[bot] 233e111a09
fix(deps): update dependency io.netty:netty-bom to v4.2.0.final (#7244)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-04 11:53:05 -05:00
renovate[bot] 4ecc0becfd
fix(deps): update dependency nl.jqno.equalsverifier:equalsverifier to v3.19.3 (#7247)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-04 11:50:59 -05:00
renovate[bot] 184090914e
fix(deps): update dependency jacoco to v0.8.13 (#7241)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-02 15:39:40 -05:00
renovate[bot] 8fe071afee
fix(deps): update errorproneversion to v2.37.0 (#7211)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2025-04-02 15:33:01 -05:00
renovate[bot] a7e92dfe81
fix(deps): update dependency io.opentelemetry.semconv:opentelemetry-semconv-incubating to v1.32.0-alpha (#7240)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-02 14:22:51 -05:00
renovate[bot] dc44948c4f
fix(deps): update dependency checkstyle to v10.23.0 (#7237)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-02 14:22:33 -05:00
renovate[bot] a48b48fa29
fix(deps): update dependency com.google.protobuf:protobuf-bom to v4.30.0 (#7173)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2025-04-02 14:04:24 -05:00
renovate[bot] e34049b74e
fix(deps): update dependency io.opentelemetry.semconv:opentelemetry-semconv-incubating to v1.31.0-alpha (#7234)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-01 18:27:58 -07:00
jack-berg 1500b0f3ba
Fix jmh link (#7233) 2025-04-01 14:56:22 -05:00
jack-berg 0c6a04710b
Remove armeria log decorator to clean up build logs (#7232) 2025-04-01 11:29:49 -05:00
renovate[bot] 22acb3e8ec
fix(deps): update dependency checkstyle to v10.22.0 (#7228)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-30 17:48:44 -07:00
renovate[bot] f2f990c81d
fix(deps): update dependency com.uber.nullaway:nullaway to v0.12.6 (#7224)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-29 12:29:01 -07:00
Lauri Tulmin e46742d944
Don't initialize DeclarativeConfiguration in incubator available test (#7227) 2025-03-28 11:17:29 -05:00
jack-berg 2cf5f0128b
Fix declarative config xray todo (#7226) 2025-03-27 13:30:24 -05:00
Anton Rybochkin e6f90f58ce
Avoid linear queue.size() calls in span producers by storing queue size separately (#7141)
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2025-03-26 17:21:13 -05:00
renovate[bot] 9698d24fdf
fix(deps): update dependency com.google.guava:guava-bom to v33.4.6-jre (#7223)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-26 17:20:13 -05:00
jack-berg 526137fd64
Add more attribute advice tests to show interaction with views (#7143) 2025-03-25 20:24:19 -07:00
renovate[bot] 7b732c8498
fix(deps): update dependency com.google.guava:guava to v33.4.6-jre (#7222)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-25 20:21:42 -07:00
renovate[bot] a1fed61742
fix(deps): update dependency com.google.guava:guava-bom to v33.4.5-jre (#7213)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2025-03-25 16:33:03 -07:00
Yuriy Holinko 3c12e3af1a
Refine delay jitter for exponential backoff (#7206) 2025-03-25 11:20:12 -05:00
renovate[bot] 9e0efd4267
fix(deps): update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v2.1.20 (#7215)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-22 15:12:43 -07:00
renovate[bot] cc7b268cec
fix(deps): update dependency com.google.guava:guava to v33.4.5-jre (#7212)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-22 15:12:27 -07:00
renovate[bot] 3ac1f9f695
fix(deps): update dependency com.toasttab.android:gummy-bears-api-23 to v0.12.0 (#7204)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-22 15:12:09 -07:00
renovate[bot] 747368a94b
fix(deps): update armeriaversion to v1.32.3 (#7197)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-22 15:07:47 -07:00
Gregor Zeitlinger 000fd0f209
add config model customizer (#7118)
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2025-03-21 12:40:16 -05:00
renovate[bot] 9172089ab9
fix(deps): update dependency nl.jqno.equalsverifier:equalsverifier to v3.19.2 (#7202)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-21 07:44:54 -07:00
renovate[bot] 9b596d03d1
fix(deps): update junit5 monorepo to v5.12.1 (#7203)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-21 07:41:31 -07:00
renovate[bot] 9c1b9f609f
fix(deps): update dependency com.google.api.grpc:proto-google-common-protos to v2.54.1 (#7198)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-17 10:13:02 -07:00
jack-berg 09bac7d077
Stable cardinality limit property otel.java.metrics.cardinality.limit (#7199) 2025-03-17 09:44:49 -05:00
jack-berg 490173b0da
Remove support for otel.experimental.exporter.otlp.retry.enabled (#7200) 2025-03-14 13:51:46 -05:00
jack-berg 0673fcfda5
Add support for setting OTLP exporter executor service (#7152) 2025-03-13 11:53:19 -05:00
renovate[bot] a3dd67739a
chore(deps): update plugin org.graalvm.buildtools.native to v0.10.6 (#7193)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-12 09:53:45 -05:00
renovate[bot] d0848e3351
fix(deps): update dependency com.google.api.grpc:proto-google-common-protos to v2.54.0 (#7192)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-12 09:53:26 -05:00
renovate[bot] d511a28df9
chore(deps): update github/codeql-action action to v3.28.11 (#7189)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-10 11:18:12 -05:00
OpenTelemetry Bot 708244ec48
Post release for version 1.48.0 (#7190) 2025-03-10 10:55:16 -05:00
renovate[bot] 9d4f61ad0b
fix(deps): update dependency com.fasterxml.jackson:jackson-bom to v2.18.3 (#7162)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-10 09:36:10 -05:00
OpenTelemetry Bot 974653fe66
Update version to 1.49.0 (#7186) 2025-03-07 16:47:00 -06:00
jack-berg 2e4f9ede58
Prepare for 1.48.0 release (#7183)
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2025-03-07 10:03:15 -06:00
jack-berg 8efade69a1
Extract sender parameters to config carrier class (#7151) 2025-03-06 11:57:46 -06:00
renovate[bot] 4d34b53e0c
fix(deps): update dependency com.squareup.wire:wire-bom to v5.3.1 (#7177)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-05 09:51:29 -06:00
renovate[bot] 0de9fc084d
fix(deps): update armeriaversion to v1.32.0 (#7174)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-05 09:50:44 -06:00
chukun 1b1d537375
Reduce warning log about maxExportBatchSize. (#7148) 2025-03-05 09:50:22 -06:00
jack-berg 42056f57c8
Introduce ConfigProvider API (#6549) 2025-03-04 17:21:19 -06:00
renovate[bot] b3e3fff83c
chore(deps): update weekly update (#7163)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-04 16:59:28 -06:00
renovate[bot] cd86405148
fix(deps): update dependency checkstyle to v10.21.4 (#7166)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-04 16:56:30 -06:00
renovate[bot] 33b37abe9a
fix(deps): update dependency org.testcontainers:testcontainers-bom to v1.20.6 (#7170)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-04 16:56:12 -06:00
renovate[bot] 0618791928
fix(deps): update dependency io.grpc:grpc-bom to v1.71.0 (#7171)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-04 16:55:57 -06:00
jack-berg 5015698d2b
Remove obsolete SdkMeterProviderUtil#setCardinalitylimit API (#7169) 2025-03-04 16:49:05 -06:00
jack-berg 3c71b798a5
Test with graalvm 23 (#7167) 2025-03-04 12:46:56 -06:00
jack-berg 0a993b392c
Update android animalsniffer min API version to 23 (#7153) 2025-03-04 09:47:13 -06:00
tianlan xu 16f3637b0b
fix bug: throttledRateLimiter is not once per minute, but five times (#7156) 2025-03-03 17:01:53 -06:00
jack-berg dc46ccd2c9
Add support for setting OTLP exporter service class loader (#7150) 2025-03-03 17:01:10 -06:00
renovate[bot] d1ce438e00
fix(deps): update dependency com.uber.nullaway:nullaway to v0.12.4 (#7158)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-28 16:04:13 -08:00
renovate[bot] 173e80b9c2
chore(deps): update dependency gradle to v8.13 (#7145)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-28 16:03:43 -08:00
renovate[bot] 3dd7134f81
fix(deps): update dependency com.android.tools:desugar_jdk_libs to v2.1.5 (#7144)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-28 09:10:44 -08:00
jack-berg cd1f61725c
Suppress a variety of noisy test logs (#7154) 2025-02-27 10:57:03 -06:00
renovate[bot] 313d391e55
fix(deps): update slf4j monorepo to v2.0.17 (#7146)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-26 17:17:18 -06:00
renovate[bot] 865c89f47d
fix(deps): update dependency com.google.api.grpc:proto-google-common-protos to v2.53.0 (#7147)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-26 17:17:00 -06:00
renovate[bot] 5a10b685d4
fix(deps): update dependency io.netty:netty-bom to v4.1.119.final (#7149)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-26 17:16:40 -06:00
jack-berg 3d3bff5bda
Fix bug preventing accurate reporting of dropped attribute count (#7142) 2025-02-26 16:26:59 -06:00
chukun 31f484f39f
#6454 log warning and adjust maxExportBatchSize when exceeds maxQueueSize. (#7045)
Co-authored-by: Jack Berg <jberg@newrelic.com>
2025-02-25 12:00:37 -06:00
renovate[bot] 2de5a2c484
fix(deps): update dependency org.awaitility:awaitility to v4.3.0 (#7131)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-24 14:22:38 -06:00
renovate[bot] 9f5b67b3c3
fix(deps): update junit5 monorepo to v5.12.0 (#7132)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-24 14:22:22 -06:00
renovate[bot] 80af8a33a0
fix(deps): update dependency checkstyle to v10.21.3 (#7138)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-24 14:21:58 -06:00
renovate[bot] c91f56ece8
fix(deps): update dependency org.testcontainers:testcontainers-bom to v1.20.5 (#7124)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-24 14:21:29 -06:00
renovate[bot] f33cba3b1d
fix(deps): update prometheusserverversion to v1.3.6 (#7107)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2025-02-24 11:15:47 -06:00
Trask Stalnaker b5daeb0871
Fix otlp logging exporter test to be more realistic (#7136) 2025-02-24 10:24:08 -06:00
renovate[bot] 3c77016788
chore(deps): update weekly update (#7114)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-24 10:23:07 -06:00
jason plumb ee731aabd3
Add some helpful logging attribute methods (#7089)
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2025-02-24 10:13:35 -06:00
jack-berg 56941a5ba6
Remove support for otel.java.experimental.exporter.memory_mode (#7127) 2025-02-21 10:13:57 -06:00
jack-berg 37969926d1
Disable owasp dependency check on :custom-checks (#7128) 2025-02-20 15:58:18 -06:00
Trask Stalnaker 0465c79151
Fix OWASP dependency check workflow (#7126) 2025-02-20 11:19:22 -06:00
Trask Stalnaker 5879f48dc8
Fix OWASP dependency check workflow (#7115) 2025-02-19 09:57:55 -06:00
renovate[bot] f937eff1ee
chore(deps): update plugin com.gradle.develocity to v3.19.2 (#7120)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-18 18:52:21 -08:00
renovate[bot] 5b93c08eed
fix(deps): update dependency com.gradle.develocity:com.gradle.develocity.gradle.plugin to v3.19.2 (#7121)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-18 16:36:32 -08:00
renovate[bot] a9d7f1ebda
fix(deps): update dependency nl.jqno.equalsverifier:equalsverifier to v3.19.1 (#7117)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-18 16:35:36 -08:00
renovate[bot] d08c5030d3
fix(deps): update dependency io.opentelemetry.semconv:opentelemetry-semconv-incubating to v1.30.0-alpha (#7122)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-18 18:12:09 -06:00
renovate[bot] 3f3b42483a
fix(deps): update dependency org.owasp:dependency-check-gradle to v12.1.0 (#7113)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-18 14:41:25 -08:00
renovate[bot] 8ed2e0c79f
fix(deps): update dependency io.zipkin.reporter2:zipkin-reporter-bom to v3.5.0 (#7112)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-18 14:30:19 -08:00
renovate[bot] d69ea6c37d
fix(deps): update dependency io.zipkin.brave:brave-bom to v6.1.0 (#7111)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-18 12:52:27 -08:00
renovate[bot] ca6fa4e801
fix(deps): update dependency me.champeau.gradle:japicmp-gradle-plugin to v0.4.6 (#7110)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-18 12:51:51 -08:00
renovate[bot] 41e54f7481
fix(deps): update dependency com.squareup.wire:wire-bom to v5.3.0 (#7108)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-18 12:45:11 -08:00
jack-berg fe73fb737a
Retry tests in CI (#7106) 2025-02-18 09:58:58 -06:00
Trask Stalnaker 3d3355305b
Add FOSSA team (#7104) 2025-02-18 09:58:16 -06:00
Trask Stalnaker e47963612e
Convert branch protections to rule sets (#7095) 2025-02-18 09:57:55 -06:00
Trask Stalnaker 3e1d9536f8
Less frequent Renovate (#7102) 2025-02-11 20:54:30 -08:00
Trask Stalnaker 43fba2e984
Update from ubuntu-20.04 (#7100) 2025-02-11 15:01:57 -06:00
Trask Stalnaker b56b10ff57
Another CLOMonitor exemption (#7096) 2025-02-11 15:01:23 -06:00
renovate[bot] 27d863375b
fix(deps): update dependency com.google.api.grpc:proto-google-common-protos to v2.52.0 (#7097)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-10 18:27:11 -08:00
renovate[bot] c285def1d9
fix(deps): update dependency com.tngtech.archunit:archunit-junit5 to v1.4.0 (#7098)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-10 18:26:46 -08:00
renovate[bot] 8e71517fdb
fix(deps): update dependency io.netty:netty-bom to v4.1.118.final (#7093)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-10 18:26:11 -08:00
Trask Stalnaker 768e789160
Renovate best practices (#7069) 2025-02-10 12:37:51 -06:00
Trask Stalnaker 517893e817
Add FOSSA license scanning (#7090) 2025-02-10 12:34:29 -06:00
Trask Stalnaker c77e66475a
Add OSSF scorecard badge (#7073) 2025-02-10 12:33:19 -06:00
jack-berg 00f00433f3
Continue limiting workflow permissions (#7092) 2025-02-10 11:40:56 -06:00
StepSecurity Bot 06449488ce
[StepSecurity] Apply security best practices (#7088)
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
2025-02-10 10:31:39 -06:00
renovate[bot] 92b089ab2c
chore(deps): update github/codeql-action action to v3.28.9 (#7081)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-09 14:42:14 -08:00
Trask Stalnaker 89a830cfb4
Add CLOMonitor exemption for Artifact Hub badge (#7091) 2025-02-09 11:06:49 -08:00
OpenTelemetry Bot 867bb1f24e
Post release for version 1.47.0 (#7087) 2025-02-07 14:26:00 -06:00
Trask Stalnaker 5b1e444980
Always run gradle wrapper validation (#7071) 2025-02-07 14:21:19 -06:00
Trask Stalnaker d22baecc95
Restrict token permissions (#7072) 2025-02-07 14:21:04 -06:00
Trask Stalnaker 41c51a052c
Run CodeQL on PRs (#7070) 2025-02-07 14:20:41 -06:00
OpenTelemetry Bot bd6b974e99
Update version to 1.48.0 (#7084) 2025-02-07 13:34:44 -06:00
jack-berg 355d17ffaa
Prepare 1.47.0 (#7078) 2025-02-07 13:14:54 -06:00
renovate[bot] 19650df469
fix(deps): update dependency nl.jqno.equalsverifier:equalsverifier to v3.19 (#7055)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-07 13:14:05 -06:00
renovate[bot] a17dcd531d
fix(deps): update dependency me.champeau.jmh:jmh-gradle-plugin to v0.7.3 (#7054)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-07 13:13:54 -06:00
renovate[bot] e075cc157c
chore(deps): update plugin org.graalvm.buildtools.native to v0.10.5 (#7066)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-07 09:37:06 -06:00
renovate[bot] 22b6fea9ea
chore(deps): update gradle/actions action to v4.3.0 (#7060)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-07 09:36:25 -06:00
renovate[bot] ab24130dcb
chore(deps): update plugin com.gradleup.shadow to v8.3.6 (#7063)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-07 09:36:06 -06:00
Michael Blum a5739eba19
Spec compliance: OTEL_PROPAGATORS should still work when OTEL_SDK_DISABLED (#7062) 2025-02-07 09:34:36 -06:00
Emile de Weerd d16cad3f73
feat(sdk-testing): Add W3CBaggagePropagator to test utils (#7056) 2025-02-07 09:20:44 -06:00
Trask Stalnaker 2fcd5f5bf8
Add OSSF Scorecard code scanning (#7067) 2025-02-06 16:40:51 -06:00
Trask Stalnaker 9f0a29124e
Reduce codecov target from 90 to 89 (#7077) 2025-02-06 13:02:12 -06:00
renovate[bot] cb64451c72
fix(deps): update dependency org.owasp:dependency-check-gradle to v12.0.2 (#7061)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-01 17:45:10 -08:00
jack-berg 045c3e65d6
Promote EnvironmentResourceProvider to public API (#7052) 2025-01-31 09:19:22 -06:00
Yuriy Holinko 19e964a636
Expand OkHttp default retry exception predicate with SocketException (#7057) 2025-01-30 15:51:01 -06:00
jack-berg bf71be17d4
Drop event API / SDK (#7053) 2025-01-30 15:39:47 -06:00
jackshirazi 8e31bf4f28
add SdkTracerProvider.setScopeConfigurator() and support (#7021)
Co-authored-by: Jack Berg <jberg@newrelic.com>
2025-01-29 09:59:41 -06:00
renovate[bot] 05bf32c5df
fix(deps): update dependency checkstyle to v10.21.2 (#7043)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-29 09:59:13 -06:00
renovate[bot] df425b684a
fix(deps): update dependency com.google.api.grpc:proto-google-common-protos to v2.51.0 (#7048)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-29 09:58:59 -06:00
renovate[bot] f8836deff7
fix(deps): update dependency io.opentelemetry.semconv:opentelemetry-semconv-incubating to v1.30.0-alpha-rc.1 (#7049)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-29 09:58:40 -06:00
renovate[bot] d7962af43e
fix(deps): update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v2.1.10 (#7050)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-29 09:58:23 -06:00
Onur Kayabasi c4412f2070
Follow spec on span limits, batch processors (#7030) 2025-01-28 16:41:02 -06:00
jack-berg 1c1d56113d
Expand OkHttp retry exception predicate (#7047) 2025-01-28 10:37:00 -06:00
renovate[bot] 5e1a3979b6
fix(deps): update dependency ru.vyarus:gradle-animalsniffer-plugin to v2 (#7042)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-26 11:23:59 -08:00
renovate[bot] 070aedcf58
chore(deps): update dependency gradle to v8.12.1 (#7040)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-24 15:04:34 -06:00
Yuriy Holinko d2b8497de0
Retry on configurable exception (#6991) 2025-01-24 15:01:53 -06:00
jack-berg cd3b0e7f9d
Fix concurrent span reusable data marshaler (#7041)
Co-authored-by: Robert Elliot <rob@lidalia.org.uk>
2025-01-24 15:01:21 -06:00
renovate[bot] 85b99e94f9
chore(deps): update plugin com.gradle.develocity to v3.19.1 (#7037)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-24 14:20:14 -06:00
Jonathan Halliday 013d1669fa
Improve profiles attribute table handling (#7031) 2025-01-24 14:20:03 -06:00
renovate[bot] b4fec0573b
fix(deps): update dependency org.assertj:assertj-bom to v3.27.3 (#7034)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-24 08:03:09 -08:00
renovate[bot] 14d714a311
fix(deps): update dependency io.grpc:grpc-bom to v1.70.0 (#7036)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-22 16:45:38 -06:00
renovate[bot] d704117f9d
fix(deps): update dependency org.owasp:dependency-check-gradle to v12.0.1 (#7035)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-22 16:45:12 -06:00
renovate[bot] 13e2b8c4df
fix(deps): update dependency io.grpc:grpc-bom to v1.69.1 (#7028)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-19 15:53:52 -08:00
renovate[bot] 2770fa1bb1
fix(deps): update dependency org.snakeyaml:snakeyaml-engine to v2.9 (#7022)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-19 11:20:59 -08:00
Trask Stalnaker 81d165d75c
Remove unnecessary workflow config (#7032) 2025-01-17 13:41:42 -06:00
jack-berg 31869a3fc6
Interpret timeout zero value as no limit (#7023) 2025-01-16 18:02:31 -06:00
renovate[bot] 4eeef33524
fix(deps): update spotless packages to v7.0.2 (#7018)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-16 15:25:50 -06:00
jack-berg a1c0d0bd64
Consistent application of exporter customizers when otel.{signal}.exporter=none (#7017) 2025-01-16 15:25:33 -06:00
Trask Stalnaker 97410cb24a
Add event name as an incubating feature (#7012)
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2025-01-16 15:02:41 -06:00
Jonathan Halliday 2fb3ebad3d
Add AttributeKeyValue abstraction to common otlp exporters (#7026) 2025-01-16 14:28:05 -06:00
renovate[bot] c8da0201ab
fix(deps): update dependency io.netty:netty-bom to v4.1.117.final (#7016)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-14 12:16:32 -08:00
renovate[bot] bfd87cad4e
fix(deps): update dependency org.owasp:dependency-check-gradle to v12 (#7011)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-14 11:15:00 -08:00
Gregor Zeitlinger 4b3cedda0d
make extended tracer easier to use (#6943)
Co-authored-by: Jack Berg <jberg@newrelic.com>
2025-01-14 11:14:47 -06:00
renovate[bot] d71db3a2f0
fix(deps): update dependency net.ltgt.gradle:gradle-nullaway-plugin to v2.2.0 (#7014)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-13 16:48:29 -06:00
jack-berg d56bdf5723
Remove -alpha artifacts from runtime classpath of stable components (#6944) 2025-01-13 16:01:14 -06:00
OpenTelemetry Bot 492b94f2b0
Post release for version 1.46.0 (#7015) 2025-01-13 14:55:23 -06:00
OpenTelemetry Bot d13fd38df1
Update version to 1.47.0 (#7009) 2025-01-10 11:47:27 -06:00
jack-berg 0920d11aec
Prepare 1.46.0 (#7007) 2025-01-10 10:41:51 -06:00
renovate[bot] 2e0b315ce6
fix(deps): update dependency com.google.protobuf:protobuf-bom to v4.29.3 (#7003)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-10 09:47:05 -06:00
renovate[bot] d74e277ecb
fix(deps): update dependency com.squareup.okio:okio-bom to v3.10.2 (#7001)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-10 09:38:42 -06:00
renovate[bot] ccb6346e32
fix(deps): update dependency nl.jqno.equalsverifier:equalsverifier to v3.18.1 (#7005)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-10 09:38:29 -06:00
Jonathan Halliday 43b38e276c
Update profiling exporters for proto 1.5 (#6999) 2025-01-10 09:32:45 -06:00
renovate[bot] 330881a1d1
fix(deps): update dependency com.google.api.grpc:proto-google-common-protos to v2.50.1 (#7000)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-08 14:20:56 -06:00
renovate[bot] 6f8d4915b9
fix(deps): update spotless packages to v7.0.1 (#6998)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-07 13:33:05 -06:00
jack-berg 5f90b0352e
Fix span setStatus (#6990) 2025-01-07 13:04:44 -06:00
renovate[bot] d3e38077e7
fix(deps): update dependency com.squareup.okio:okio-bom to v3.10.1 (#6997)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-07 13:04:20 -06:00
renovate[bot] cf95056770
fix(deps): update dependency com.squareup.wire:wire-bom to v5.2.1 (#6996)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-07 13:04:06 -06:00
renovate[bot] 1a84cbd00f
fix(deps): update spotless packages to v7 (major) (#6993)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2025-01-07 13:03:51 -06:00
renovate[bot] ccccd1b0a5
fix(deps): update dependency com.squareup.wire:wire-bom to v5.2.0 (#6988)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-06 13:30:39 -06:00
renovate[bot] e36e185c6a
fix(deps): update dependency com.uber.nullaway:nullaway to v0.12.3 (#6989)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-06 13:29:33 -06:00
jack-berg 2367ae5312
Add help wanted banner to readme (#6615) 2025-01-06 12:58:54 -06:00
jack-berg 8369d7f57e
Delete OTLP authenticator concept (#6984) 2025-01-06 11:29:26 -06:00
renovate[bot] aa5c74c9e0
fix(deps): update dependency org.assertj:assertj-bom to v3.27.2 (#6987)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-04 14:03:17 -08:00
renovate[bot] ddc9c9162b
fix(deps): update dependency org.assertj:assertj-bom to v3.27.1 (#6985)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-02 15:24:41 -08:00
jack-berg 986dbaa26e
Ensure Serializer runtime exceptions are rethrown as IOException (#6969) 2025-01-02 14:53:42 -06:00
renovate[bot] 98c3fc1b85
fix(deps): update dependency checkstyle to v10.21.1 (#6982)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-28 19:19:41 -08:00
renovate[bot] fe810e73d3
fix(deps): update dependency nl.jqno.equalsverifier:equalsverifier to v3.18 (#6980)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-24 10:31:18 -08:00
Trask Stalnaker abdbf07dfd
Switch link checker to lychee (#6972) 2024-12-23 16:30:15 -08:00
renovate[bot] 717d8b0032
chore(deps): update dependency gradle to v8.12 (#6977)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-21 11:51:53 -08:00
renovate[bot] ee05c5cb08
fix(deps): update dependency com.android.tools:desugar_jdk_libs to v2.1.4 (#6976)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-21 10:44:17 -08:00
renovate[bot] a3d807b70f
fix(deps): update dependency org.assertj:assertj-bom to v3.27.0 (#6974)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-19 16:01:46 -06:00
jason plumb d294a42afb
Add getters/accessors for readable fields in ReadWriteLogRecord. (#6924) 2024-12-19 16:01:13 -06:00
renovate[bot] a084b3ae0a
chore(deps): update gradle/actions action to v4.2.2 (#6967)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-19 15:58:42 -06:00
renovate[bot] b934a0a3d4
fix(deps): update dependency io.opentelemetry.semconv:opentelemetry-semconv-incubating to v1.29.0-alpha (#6971)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-19 15:57:53 -06:00
jason plumb c1b9ec789c
Explicitly allow null into CompletableResultCode.failExceptionally() (#6963) 2024-12-19 15:57:17 -06:00
renovate[bot] 40b74b05e1
fix(deps): update dependency com.google.protobuf:protobuf-bom to v4.29.2 (#6968)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-19 15:56:53 -06:00
renovate[bot] 21529fa339
fix(deps): update prometheusserverversion to v1.3.5 (#6957)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2024-12-19 15:56:38 -06:00
renovate[bot] 0e6af66d10
fix(deps): update dependency io.netty:netty-bom to v4.1.116.final (#6966)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-19 11:29:01 -08:00
renovate[bot] d95c4ea484
fix(deps): update dependency com.google.guava:guava-bom to v33.4.0-jre (#6965)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-19 08:43:11 -08:00
renovate[bot] a7a2c06145
fix(deps): update dependency com.google.guava:guava to v33.4.0-jre (#6964)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-19 07:42:00 -08:00
renovate[bot] e454311bd5
fix(deps): update dependency com.google.api.grpc:proto-google-common-protos to v2.50.0 (#6949)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-18 19:49:55 -08:00
renovate[bot] 77b1f64252
fix(deps): update dependency org.junit:junit-bom to v5.11.4 (#6961)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-18 07:40:30 -08:00
renovate[bot] c80845dfe4
fix(deps): update dependency com.uber.nullaway:nullaway to v0.12.2 (#6956)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-17 07:51:28 -08:00
renovate[bot] 1fcbed8d81
fix(deps): update dependency checkstyle to v10.21.0 (#6951)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-14 17:02:22 -08:00
renovate[bot] e80506a92f
chore(deps): update plugin com.gradle.develocity to v3.19 (#6947)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-14 09:07:21 -08:00
Steve Rao 09b8db6563
Update VERSIONING.md (#6942)
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2024-12-13 20:27:12 -08:00
jack-berg b32f64420c
Remove unused dependencies, cleanup code after stability (#6948) 2024-12-12 11:03:11 -06:00
renovate[bot] f68ba65d6b
fix(deps): update dependency com.linecorp.armeria:armeria-bom to v1.31.3 (#6941)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-11 17:15:54 -08:00
renovate[bot] 62f060ed9a
fix(deps): update dependency io.grpc:grpc-bom to v1.69.0 (#6938)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jason Plumb <jplumb@splunk.com>
2024-12-11 17:10:43 -08:00
jack-berg e3cfedee7d
Fix -alpha status of opentelemetry-api-incubator (#6945) 2024-12-11 15:12:06 -06:00
renovate[bot] efdacc1c18
fix(deps): update dependency io.zipkin.reporter2:zipkin-reporter-bom to v3.4.3 (#6934)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-09 07:42:47 -08:00
jack-berg aca4ee35cb
Declarative config: more qualified imports (#6930) 2024-12-06 20:12:04 -06:00
renovate[bot] 3928febd2d
fix(deps): update dependency nl.jqno.equalsverifier:equalsverifier to v3.17.5 (#6926)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2024-12-06 17:55:35 -08:00
jack-berg 1f8ee517bf
Remove support for deprecated otel.experimental.resource.disabled.keys (#6931) 2024-12-06 17:22:12 -06:00
jack-berg e61e19ae23
Remove outdated TODOs (#6932) 2024-12-06 17:22:02 -06:00
jack-berg af1e1d57ee
Remove japicmp special case (#6933) 2024-12-06 17:21:52 -06:00
OpenTelemetry Bot 23780762b0
Post release for version 1.45.0 (#6929) 2024-12-06 15:01:55 -06:00
OpenTelemetry Bot bd8c008c3d
Update version to 1.46.0 (#6927) 2024-12-06 13:46:07 -06:00
jack-berg 541ef89e6a
Prepare for 1.45.0 release (#6923)
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2024-12-06 13:03:13 -06:00
James Moessis b07dab31cd
Extends TextMapGetter with GetAll() method, implement usage in W3CBaggagePropagator (#6852)
Co-authored-by: Jack Berg <jberg@newrelic.com>
2024-12-05 13:26:56 -06:00
renovate[bot] ee8d735de1
fix(deps): update dependency nl.jqno.equalsverifier:equalsverifier to v3.17.4 (#6912)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2024-12-05 13:11:11 -06:00
renovate[bot] 236e119f66
fix(deps): update dependency org.owasp:dependency-check-gradle to v11.1.1 (#6921)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-05 11:50:35 -06:00
Lauri Tulmin 3a5222f808
Fix missing unsafe available check (#6920) 2024-12-05 09:55:29 -06:00
renovate[bot] 6d62e8b742
fix(deps): update dependency com.google.protobuf:protobuf-bom to v4.29.1 (#6922)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-04 20:51:37 -08:00
renovate[bot] 59b49cf741
chore(deps): update plugin org.graalvm.buildtools.native to v0.10.4 (#6919)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-04 20:47:13 -08:00
renovate[bot] d2a0299587
fix(deps): update dependency com.linecorp.armeria:armeria-bom to v1.31.2 (#6918)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-03 16:59:01 -06:00
renovate[bot] 0ef86fae7d
fix(deps): update dependency io.prometheus:prometheus-metrics-exporter-httpserver to v1.3.4 (#6907)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2024-12-03 09:18:10 -06:00
renovate[bot] d61a5c3b37
fix(deps): update dependency com.google.protobuf:protobuf-bom to v4.29.0 (#6917)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2024-12-02 15:00:17 -06:00
Jonathan Halliday 3df2068d9f
Update opentelementry-proto to 1.4 (#6906) 2024-12-02 13:08:41 -06:00
renovate[bot] 9b2f6bace9
fix(deps): update dependency checkstyle to v10.20.2 (#6914)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-02 07:42:06 -08:00
renovate[bot] bc482c996e
fix(deps): update dependency com.fasterxml.jackson:jackson-bom to v2.18.2 (#6910)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-29 14:00:01 -08:00
renovate[bot] e78de66e5f
fix(deps): update dependency io.grpc:grpc-bom to v1.68.2 (#6911)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-28 21:15:39 -08:00
renovate[bot] 1cdb04d725
fix(deps): update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v2.1.0 (#6909)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-28 21:13:36 -08:00
Trask Stalnaker 7829f53c24
Update develocity configuration (#6903) 2024-11-25 10:34:18 -06:00
Josh Suereth 8a3329be4d
Fix repeated string serialization for JSON. (#6888)
Co-authored-by: Jack Berg <jberg@newrelic.com>
2024-11-25 09:19:35 -06:00
Trask Stalnaker 6487ac2976
Remove outdated commented out code (#6904) 2024-11-24 10:14:59 -08:00
renovate[bot] c71bd9dfd5
fix(deps): update dependency org.testcontainers:testcontainers-bom to v1.20.4 (#6898)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-22 10:14:09 -06:00
renovate[bot] d2e56b59c6
fix(deps): update dependency com.linecorp.armeria:armeria-bom to v1.31.1 (#6902)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-22 10:13:57 -06:00
renovate[bot] bab9fb9cdb
chore(deps): update dependency gradle to v8.11.1 (#6897)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-21 10:15:20 -06:00
jack-berg 7d74adafdc
Rename Marshaler#writeJsonToGenerator to allow jackson runtimeOnly dependency (#6896) 2024-11-20 10:59:08 -06:00
renovate[bot] 8d6578fbe8
fix(deps): update errorproneversion to v2.36.0 (#6894)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-19 14:59:52 -06:00
Eugene Ma e0a6e64fc7
lazily initialize ReservoirCells (#6851)
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2024-11-18 15:56:03 -06:00
jack-berg cde3d45f04
Don't require empty objects when referencing custom components (#6891) 2024-11-18 15:55:00 -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
renovate[bot] ec3c55ffeb
chore(deps): update gradle/actions action to v4.2.1 (#6890)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-18 15:53:37 -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
renovate[bot] 46b2fcda7d
chore(deps): update dependency gradle to v8.11 (#6871)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2024-11-18 10:33:09 -06:00
renovate[bot] dbda01ec07
fix(deps): update dependency ru.vyarus:gradle-animalsniffer-plugin to v1.7.2 (#6889)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-18 10:05:00 -06:00
renovate[bot] 9084a59127
fix(deps): update dependency com.linecorp.armeria:armeria-bom to v1.31.0 (#6877)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2024-11-18 09:57:22 -06:00
renovate[bot] b482e76711
fix(deps): update dependency io.netty:netty-bom to v4.1.115.final (#6872)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-18 09:49:54 -06:00
renovate[bot] fb2a47cf76
chore(deps): update codecov/codecov-action action to v5 (#6878)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-18 09:33:04 -06:00
renovate[bot] acde5b62f8
chore(deps): update gradle/actions action to v4.2.0 (#6873)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-18 09:27:32 -06:00
renovate[bot] 78565d813b
fix(deps): update dependency com.google.api.grpc:proto-google-common-protos to v2.49.0 (#6879)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-18 09:22:20 -06:00
jack-berg bd31b457f0
Refactor README.md (#6881) 2024-11-18 09:08:20 -06:00
renovate[bot] 9a0bfb2311
chore(deps): update plugin com.gradle.develocity to v3.18.2 (#6874)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-17 16:25:45 -08:00
jack-berg ca98fc53be
Post release v1.44.1 (#6883) 2024-11-15 16:27:01 -06:00
OpenTelemetry Bot 1566984262
Merge change log updates from release/v1.44.x (#6869) 2024-11-10 17:45:34 -08:00
Trask Stalnaker 6c0d140dff
Fix regression in event attributes (#6865) 2024-11-09 08:04:04 -08:00
OpenTelemetry Bot e62d7c69cb
Post release for version 1.44.0 (#6864) 2024-11-09 09:29:43 -06:00
OpenTelemetry Bot 597eb09de4
Update version to 1.45.0 (#6862) 2024-11-08 12:30:04 -06:00
jack-berg e38ebf5dc3
Prepare 1.44.0 (#6861) 2024-11-08 11:42:51 -06:00
renovate[bot] b5fab78314
fix(deps): update dependency nl.jqno.equalsverifier:equalsverifier to v3.17.3 (#6854)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-08 09:18:04 -06:00
renovate[bot] 7dcf73f2d8
fix(deps): update dependency com.android.tools:desugar_jdk_libs to v2.1.3 (#6853)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-08 09:17:44 -06:00
renovate[bot] 0a4aa3cbd2
fix(deps): update dependency me.champeau.gradle:japicmp-gradle-plugin to v0.4.5 (#6859)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-08 09:16:14 -06:00
Gregor Zeitlinger 2a1c2749ff
update prom client (#6857) 2024-11-08 09:15:58 -06:00
renovate[bot] 6c3725d916
fix(deps): update dependency checkstyle to v10.20.1 (#6856)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-07 09:10:45 -08:00
renovate[bot] bc2487f274
fix(deps): update dependency nl.jqno.equalsverifier:equalsverifier to v3.17.2 (#6849)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-06 18:40:08 -08:00
Gregor Zeitlinger a6b33029be
bugfix: add newline in stdout exporter (#6848) 2024-11-05 12:37:40 -06:00
Jonathan Halliday 98fa296098
Add ByteBuffer field type marshaling support to exporter. (#6686) 2024-11-05 12:36:52 -06:00
jack-berg 7e4da160ba
Refactor metrics to remove MeterSharedState (#6845) 2024-11-05 09:00:54 -06:00
renovate[bot] fd58d10628
chore(deps): update plugin com.gradleup.shadow to v8.3.5 (#6847)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-04 20:15:18 -08:00
renovate[bot] ef032394dc
fix(deps): update dependency checkstyle to v10.20.0 (#6843)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-02 12:55:51 -07:00
jack-berg e4f39789bd
Add error prone checks for internal javadoc and private constructors (#6844) 2024-11-01 15:55:14 -05:00
jack-berg d9fce84689
Fix ConfigUtil#getString ConcurrentModificationException (#6841)
Co-authored-by: neugartf <fabianneugart@gmail.com>
Co-authored-by: Fabian Neugart <neugartf@users.noreply.github.com>
2024-11-01 14:29:48 -05:00
Trask Stalnaker ff4fe978e5
Test Windows in CI (#6824) 2024-11-01 09:01:14 -05:00
renovate[bot] 2e8bf7f9a1
fix(deps): update dependency org.owasp:dependency-check-gradle to v11.1.0 (#6839)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-30 13:25:36 -05:00
renovate[bot] 2de12fee5a
fix(deps): update dependency io.prometheus:prometheus-metrics-exporter-httpserver to v1.3.2 (#6805)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2024-10-29 10:01:35 -05:00
renovate[bot] 1e3cf0b7e3
fix(deps): update dependency me.champeau.gradle:japicmp-gradle-plugin to v0.4.4 (#6769)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2024-10-29 10:01:16 -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
renovate[bot] 3f05bf6ae2
fix(deps): update dependency io.grpc:grpc-bom to v1.68.1 (#6835)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-29 09:53:00 -05:00
renovate[bot] 73894cfe96
chore(deps): update plugin com.gradleup.shadow to v8.3.4 (#6834)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-29 09:52:47 -05:00
renovate[bot] e65edd942b
fix(deps): update dependency net.ltgt.gradle:gradle-errorprone-plugin to v4.1.0 (#6806)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-29 09:52:05 -05:00
renovate[bot] c7e797c5b4
fix(deps): update errorproneversion to v2.35.1 (#6820)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-29 09:12:49 -05:00
renovate[bot] c8967098c7
fix(deps): update dependency org.owasp:dependency-check-gradle to v11 (#6817)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-29 09:12:20 -05:00
renovate[bot] fc86a76c87
fix(deps): update dependency net.ltgt.gradle:gradle-nullaway-plugin to v2.1.0 (#6807)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-29 09:11:56 -05:00
renovate[bot] 2b0df092dc
fix(deps): update dependency checkstyle to v10.19.0 (#6822)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-29 09:11:31 -05:00
renovate[bot] e6e2f3c36a
fix(deps): update dependency com.fasterxml.jackson:jackson-bom to v2.18.1 (#6831)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-29 09:11:10 -05:00
renovate[bot] 8af18033cf
fix(deps): update dependency com.uber.nullaway:nullaway to v0.12.1 (#6830)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-29 09:10:52 -05:00
Trask Stalnaker ee21d4dcf3
Run tests on Java 23 (#6825) 2024-10-29 08:52:06 -05:00
Jiwon 740dd14f52
Fix gRPC Retry Mechanism for Unsuccessful HTTP Responses (#6829) 2024-10-28 19:40:00 -05:00
renovate[bot] 74579aa2a1
fix(deps): update dependency com.google.api.grpc:proto-google-common-protos to v2.48.0 (#6821)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-25 16:31:37 -07:00
renovate[bot] fd4e5fe569
fix(deps): update dependency org.testcontainers:testcontainers-bom to v1.20.3 (#6816)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-24 16:56:47 -07:00
renovate[bot] 192f7fa4fe
fix(deps): update dependency com.google.api.grpc:proto-google-common-protos to v2.47.0 (#6818)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-23 18:28:58 -07:00
Teja bc4bacf5ee
Stabilizing `otel.experimental.resource.disabled.keys` (#6809)
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2024-10-23 14:29:42 -05:00
jack-berg 10bca8b2b2
Enable reusuable_data memory mode by default (#6799) 2024-10-23 14:28:41 -05:00
renovate[bot] 5ec1e8688e
fix(deps): update dependency org.junit:junit-bom to v5.11.3 (#6810)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-22 13:09:18 -07:00
jack-berg 45b8c13b12
Log a warning if OTLP endpoint port is likely incorrect given the protocol (#6813) 2024-10-22 09:30:08 -05:00
jack-berg f52554bc52
Rebrand file configuration to declarative configuration in documentation (#6812) 2024-10-22 09:12:07 -05:00
jack-berg 8793935d8f
Add note about updating autoconfigure docs when releasing (#6811) 2024-10-22 09:11:41 -05:00
renovate[bot] 628db61339
fix(deps): update dependency com.google.errorprone:error_prone_annotations to v2.34.0 (#6804)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-19 11:40:36 -07:00
renovate[bot] 680c9406fd
fix(deps): update dependency com.uber.nullaway:nullaway to v0.12.0 (#6803)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-18 16:34:53 -07:00
jack-berg 62df132007
Set declarative config default OTLP protocol to http/protobuf (#6800) 2024-10-17 12:42:37 -05:00
Gregor Zeitlinger 1ac476b3b7
add stdout memory mode (#6774) 2024-10-17 10:49:01 -05:00
jack-berg 07b6903b85
Stabilize metric cardinality limits APIs (#6794) 2024-10-17 09:32:25 -05:00
jack-berg 537f5c4e79
Fix declarative config env substitution by disallowing '}' in default value (#6793) 2024-10-16 08:39:12 -05:00
Hervé Boutemy 8194c10b78
add Reproducible Builds badge (#6788) 2024-10-15 17:14:45 -07:00
Trask Stalnaker 83b30b5d0e
Bump config file format version (#6786) 2024-10-15 13:13:51 -05:00
renovate[bot] 3e650f00a1
fix(deps): update dependency io.opentelemetry.semconv:opentelemetry-semconv-incubating to v1.28.0-alpha (#6792)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-15 10:15:15 -05:00
OpenTelemetry Bot e4d5109c49
Post release for version 1.43.0 (#6785) 2024-10-11 17:01:39 -05:00
OpenTelemetry Bot 1554ccbf18
Update version to 1.44.0 (#6784) 2024-10-11 11:54:50 -05:00
jack-berg b1cd30ef7f
Prepare changelog for 1.43.0 release (#6782) 2024-10-11 11:01:55 -05:00
jason plumb b6badb2ca3
Adds Baggage.getEntry(String key) (#6765)
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2024-10-11 09:33:11 -05:00
renovate[bot] e6eceb5115
fix(deps): update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v2.0.21 (#6778)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-10 18:13:41 -07:00
Gregor Zeitlinger b927d9daf4
Stdout exporter for span and metrics (#6750) 2024-10-09 13:17:14 -05:00
Adriano Machado eb53fe3a61
Add helper class to capture context using ScheduledExecutorService (#6712)
Signed-off-by: Adriano Machado <60320+ammachado@users.noreply.github.com>
2024-10-07 10:08:21 -05:00
renovate[bot] 0f859b4385
chore(deps): update plugin com.gradleup.shadow to v8.3.3 (#6758)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-06 14:04:26 -07:00
renovate[bot] a7f950d7fd
fix(deps): update dependency com.google.api.grpc:proto-google-common-protos to v2.46.0 (#6766)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-06 12:22:53 -07:00
renovate[bot] 65af6511e5
fix(deps): update dependency com.toasttab.android:gummy-bears-api-21 to v0.10.0 (#6762)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-05 19:51:14 -07:00
renovate[bot] 503cc533f2
fix(deps): update dependency org.junit:junit-bom to v5.11.2 (#6764)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-05 13:25:03 -07:00
renovate[bot] 814e06401d
fix(deps): update dependency nl.jqno.equalsverifier:equalsverifier to v3.17.1 (#6760)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-04 18:48:07 -07:00
jack-berg a6a9acb1dd
Add getStructured default method, add empty StructuredConfigProperties (#6759) 2024-10-02 15:16:21 -05:00
renovate[bot] 361f035efe
chore(deps): update dependency ubuntu to v24 (#6751)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-01 15:48:54 -05:00
renovate[bot] 4aa7f57842
fix(deps): update dependency com.google.api.grpc:proto-google-common-protos to v2.45.1 (#6739)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-01 15:20:49 -05:00
renovate[bot] 6c7efe280b
fix(deps): update errorproneversion to v2.33.0 (#6754)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-01 15:20:19 -05:00
renovate[bot] 0260d82716
fix(deps): update dependency org.testcontainers:testcontainers-bom to v1.20.2 (#6755)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-01 15:20:00 -05:00
renovate[bot] 27f9868117
fix(deps): update dependency io.netty:netty-bom to v4.1.114.final (#6757)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-01 15:19:48 -05:00
renovate[bot] 7f8fbc9bbd
fix(deps): update dependency com.fasterxml.jackson:jackson-bom to v2.18.0 (#6752)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2024-09-30 14:53:51 -05:00
renovate[bot] 184685536e
fix(deps): update dependency com.google.guava:guava-bom to v33.3.1-jre (#6744)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-30 14:15:24 -05:00
renovate[bot] de6efccb99
fix(deps): update dependency nl.jqno.equalsverifier:equalsverifier to v3.17 (#6745)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-30 14:15:04 -05:00
renovate[bot] fa7db47889
fix(deps): update dependency checkstyle to v10.18.2 (#6753)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-30 14:14:37 -05:00
renovate[bot] d904b133e4
fix(deps): update dependency com.google.guava:guava to v33.3.1-jre (#6743)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-30 14:14:19 -05:00
renovate[bot] 94b7d25905
chore(deps): update dependency gradle to v8.10.2 (#6742)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-30 14:14:02 -05:00
viveksing 46b28eb45e
Fix ottracepropagation for short span ids (#6734) 2024-09-30 14:13:09 -05:00
jack-berg 2dbb8de349
Update to opentelemetry-configuration v0.3.0 (#6733) 2024-09-30 14:12:25 -05:00
renovate[bot] 697b4e0c70
fix(deps): update dependency org.junit:junit-bom to v5.11.1 (#6748)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-25 18:35:32 -07:00
renovate[bot] fa826fdef0
fix(deps): update dependency com.google.protobuf:protobuf-bom to v3.25.5 (#6730)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-23 11:07:08 -05:00
renovate[bot] a5de6d5cbb
chore(deps): update plugin org.jsonschema2pojo to v1.2.2 (#6736)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-23 11:06:51 -05:00
renovate[bot] c5f6218ded
fix(deps): update dependency com.uber.nullaway:nullaway to v0.11.3 (#6727)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-23 11:06:27 -05:00
jack-berg 325822ce85
Use autoconfigured ClassLoader to load declarative config (#6725) 2024-09-20 14:00:04 -05:00
renovate[bot] 39b24118a1
fix(deps): update dependency io.grpc:grpc-bom to v1.68.0 (#6735)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-20 12:05:58 -05:00
Jonathan Halliday af59cc4a0b
Add Marshalers for profiling signal type (#6680) 2024-09-20 11:52:06 -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
renovate[bot] de13ff183a
Update dependency io.zipkin.reporter2:zipkin-reporter-bom to v3.4.2 (#6704)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-19 18:10:20 -07:00
renovate[bot] 485c123a42
Update plugin com.gradle.develocity to v3.18.1 (#6708)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-18 16:17:07 -07:00
renovate[bot] 9c466f4a13
Update dependency org.snakeyaml:snakeyaml-engine to v2.8 (#6728)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-18 16:37:21 -05:00
renovate[bot] bd88acae57
Update dependency com.squareup.wire:wire-bom to v5.1.0 (#6710)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-18 16:37:01 -05:00
renovate[bot] 31e562f9a5
Update dependency com.squareup.okio:okio-bom to v3.9.1 (#6720)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-18 16:36:45 -05:00
Gregor Zeitlinger c9c857c908
add context info about wrong span or trace (#6703) 2024-09-18 16:36:30 -05:00
renovate[bot] d773f3bfe2
Update gradle/actions action to v4.1.0 (#6722)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-18 16:24:04 -05:00
renovate[bot] a63f9195a1
Update errorProneVersion to v2.32.0 (#6713)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-18 16:23:51 -05:00
renovate[bot] 5b421b6d57
Update plugin com.gradleup.shadow to v8.3.2 (#6705)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-18 16:23:13 -05:00
Teja 9249653f69
Adding model as suffix to generated classes. (#6721) 2024-09-18 16:02:06 -05:00
Gregor Zeitlinger d899702eab
add stdout log record exporter (#6675)
Co-authored-by: Jack Berg <jberg@newrelic.com>
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2024-09-18 16:00:44 -05:00
jack-berg 82b9e9b64d
Optimize advice with FilteredAttributes (#6633) 2024-09-18 15:07:31 -05:00
renovate[bot] 0132d5d98b
Update dependency com.linecorp.armeria:armeria-bom to v1.30.1 (#6701)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-17 18:22:23 -07:00
renovate[bot] 983800cc56
Update plugin org.graalvm.buildtools.native to v0.10.3 (#6702)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-16 20:43:42 -07:00
renovate[bot] 18d192d1fa
Update dependency com.google.api.grpc:proto-google-common-protos to v2.44.0 (#6697)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-12 18:16:33 -07:00
renovate[bot] 57f94cf92a
Update dependency gradle to v8.10.1 (#6694)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-11 20:34:15 -07:00
jack-berg 8fb169e934
Codify stance against using java-test-fixtures plugin (#6696) 2024-09-11 09:16:58 -05:00
OpenTelemetry Bot 0feca55ee2
Post release for version 1.42.0 (#6711) 2024-09-11 09:16:39 -05:00
OpenTelemetry Bot a55e9b6440
Merge change log updates from release/v1.42.x (#6707) 2024-09-10 10:25:06 -05:00
jack-berg 9ddccada89
Stop publishing test fixtures with opentelemetry-api (#6695) 2024-09-09 21:02:28 -05:00
OpenTelemetry Bot b0643fef38
Post release for version 1.42.0 (#6691) 2024-09-06 11:57:22 -05:00
OpenTelemetry Bot 0a47581b2e
Update version to 1.43.0 (#6689) 2024-09-06 10:40:39 -05:00
jack-berg fbdb90621b
Prepare 1.42.0 (#6688) 2024-09-06 10:04:55 -05:00
Gregor Zeitlinger f85a57b5b6
don't throw class cast exception when we have a noop tracer, meter, logger (#6617)
Co-authored-by: Jack Berg <jberg@newrelic.com>
2024-09-05 16:02:27 -05:00
jack-berg 1f6de3590d
Align GrpcSender contract with HttpSender (#6658) 2024-09-05 15:22:56 -05:00
jack-berg 00b0e9f87c
Declarative configuration missing pieces (#6677) 2024-09-05 15:08:18 -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
renovate[bot] aef4ca5b1e
Update dependency io.netty:netty-bom to v4.1.113.Final (#6685)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 13:50:06 -05:00
jason plumb e063b34a2a
Add asserts for event body fields (#6509) 2024-09-05 11:55:02 -05:00
renovate[bot] 5ca6177fcf
Update dependency org.owasp:dependency-check-gradle to v10.0.4 (#6679)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 14:29:36 -05:00
Drew Hammond 43be1e7f9d
change polling interval property name to match spec (#6672)
Co-authored-by: Jack Berg <jberg@newrelic.com>
2024-09-04 14:03:19 -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] bc2fad4cf3
Update dependency com.android.tools:desugar_jdk_libs to v2.1.2 (#6684)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 09:43:03 -07:00
renovate[bot] ee7fd27449
Update dependency com.android.tools:desugar_jdk_libs to v2.1.1 (#6671)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-01 10:07:15 -07: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
renovate[bot] 365fe8a443
Update dependency checkstyle to v10.18.1 (#6678)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-30 10:55:33 -05:00
jack-berg 649f963a1a
Stabilize log any value (#6591) 2024-08-30 10:22:38 -05:00
jack-berg d37c1c74e7
Add file configuration ComponentProvider support for propagators (#6624) 2024-08-28 15:18:19 -05:00
jack-berg 938b03dff6
Add file configuration ComponentProvider support for samplers (#6494) 2024-08-28 15:09:36 -05:00
jack-berg 8495996d54
Processor component provider (#6623) 2024-08-28 14:59:04 -05:00
jack-berg 05fe136cb3
Add file configuration ComponentProvider support for resources (#6625) 2024-08-28 14:42:37 -05:00
renovate[bot] 902c46e2a7
Update gradle/actions action to v4.0.1 (#6673)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-27 20:25:20 -07:00
Jarrod Robins 71124d2c5b
Return status code exceptions via CompletableResultCode in GrpcExporter and HttpExporter (#6645) 2024-08-27 14:49:11 -05:00
renovate[bot] 7522bfe141
Update dependency checkstyle to v10.18.0 (#6670)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: John Watson <jkwatson@gmail.com>
2024-08-25 12:57:30 -07:00
renovate[bot] c90175f1ae
Update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v2.0.20 (#6663)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-23 18:44:24 -07:00
renovate[bot] 97185c6fa0
Update dependency nl.jqno.equalsverifier:equalsverifier to v3.16.2 (#6667)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-23 18:39:22 -07:00
jack-berg 97b3fa42f1
Remove outdated ExtendedSpanBuilder javadoc example (#6659) 2024-08-20 20:05:51 -07:00
renovate[bot] dc4cc27009
Update dependency io.opentelemetry.semconv:opentelemetry-semconv-incubating to v1.27.0-alpha (#6660)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-20 16:16:11 -05:00
SylvainJuge d4b10a89a0
add ns and us for config duration units (#6654)
Co-authored-by: Jack Berg <jberg@newrelic.com>
2024-08-20 12:30:20 -05:00
renovate[bot] 3e8092d086
Update plugin com.gradle.develocity to v3.18 (#6656)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-19 15:59:42 -05:00
renovate[bot] d7626e32d4
Update dependency com.uber.nullaway:nullaway to v0.11.2 (#6657)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-19 15:59:23 -05:00
renovate[bot] df7bda64e6
Update dependency com.google.guava:guava to v33.3.0-jre (#6652)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-19 14:33:25 -05:00
renovate[bot] e94c0d133b
Update dependency com.google.api.grpc:proto-google-common-protos to v2.43.0 (#6651)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-19 14:33:13 -05:00
renovate[bot] 4751c07a19
Update dependency com.google.guava:guava-bom to v33.3.0-jre (#6653)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-19 14:32:48 -05:00
SylvainJuge 023c8cc291
Fix broken markdown links (#6655) 2024-08-19 13:58:23 -05:00
Chung Nguyen 581690ecac
supress zipkin exporters instrumentations (#6552) 2024-08-19 13:57:08 -05:00
renovate[bot] 32c8d66580
Update dependency gradle to v8.10 (#6647)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-19 13:55:08 -05:00
renovate[bot] ad120a5bff
Update dependency org.junit:junit-bom to v5.11.0 (#6646)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-14 19:06:49 -07:00
renovate[bot] dcdc6727f7
Update dependency com.linecorp.armeria:armeria-bom to v1.30.0 (#6643)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-12 19:22:08 -07:00
renovate[bot] 5af07a6b9d
Update slf4j monorepo to v2.0.16 (#6641)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-10 12:12:07 -07:00
jack-berg 94238acd71
New gradle shadow plugin location (#6637) 2024-08-09 17:25:33 -05:00
OpenTelemetry Bot 354e957b3e
Post release for version 1.41.0 (#6640) 2024-08-09 12:12:07 -05:00
OpenTelemetry Bot 5ec05db03b
Update version to 1.42.0 (#6639) 2024-08-09 10:50:51 -05:00
jack-berg f161a1e039
Prepare 1.41.0 (#6635) 2024-08-09 09:55:32 -05:00
jack-berg 910c7cc218
Retry ConnectException, add retry logging (#6614) 2024-08-09 09:39:37 -05:00
Abhishek Kumar e2936d4609
Add config to enable Default Exponential Histogram for Prometheus Exporter (#6541)
Co-authored-by: Jack Berg <jberg@newrelic.com>
2024-08-08 16:31:16 -05:00
jack-berg fc283ba763
Completable result code throwable (#6348) 2024-08-08 16:11:47 -05:00
jack-berg d16ba00e15
Avoid allocations when advice doesn't remove any attributes (#6629) 2024-08-08 15:34:16 -05:00
renovate[bot] b53c48a769
Update slf4j monorepo to v2.0.15 (#6622)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-08 15:30:31 -05:00
renovate[bot] e8b50c6887
Update gradle/actions action to v4 (#6618)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jason Plumb <jplumb@splunk.com>
2024-08-08 15:22:45 -05:00
renovate[bot] 4f9d1c9fc6
Update dependency io.grpc:grpc-bom to v1.66.0 (#6631)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-08 15:09:14 -05:00
jack-berg 56e7ebe669
Remove nullable from file config Factory contract (#6612) 2024-08-08 15:08:57 -05:00
renovate[bot] 04a2b0a841
Update dependency org.awaitility:awaitility to v4.2.2 (#6627)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-07 20:06:37 -07:00
renovate[bot] 5be177df55
Update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v2.0.10 (#6621)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-06 19:55:22 -07:00
renovate[bot] 477658a6ec
Update dependency org.testcontainers:testcontainers-bom to v1.20.1 (#6611)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-06 18:55:02 -07:00
jack-berg 0ffe15cf83
Fix broken link to community contributing guide (#6616) 2024-08-05 21:34:42 -05:00
jack-berg ea6e3ddb7e
Add file configuration ComponentProvider support for exporters (#6493) 2024-08-05 11:06:27 -05:00
renovate[bot] 6fc1d216ca
Update dependency com.linecorp.armeria:armeria-bom to v1.29.4 (#6606)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-30 19:37:41 -07:00
renovate[bot] 3a597446b3
Update dependency com.google.protobuf:protobuf-bom to v3.25.4 (#6602)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-30 09:36:45 -05:00
renovate[bot] ea14b9282b
Update dependency com.google.api.grpc:proto-google-common-protos to v2.42.0 (#6605)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-30 09:35:14 -05:00
renovate[bot] 1b5ce82b0a
Update dependency com.uber.nullaway:nullaway to v0.11.1 (#6608)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-30 09:34:54 -05:00
renovate[bot] c43835970c
Update dependency com.toasttab.android:gummy-bears-api-21 to v0.9.0 (#6600)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-28 18:11:24 -07:00
renovate[bot] be91b6fac1
Update plugin com.gradle.develocity to v3.17.6 (#6597)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-27 17:24:31 -07:00
Jonathan Halliday 26b3d41d72
Add Marshalers for profiling signal type (#6565) 2024-07-23 09:28:12 -05:00
Abhijeet V 468b528956
Use generateCertificates() of CertificateFactory to process certificates (#6579)
Signed-off-by: Abhijeet V <31417623+abvaidya@users.noreply.github.com>
Co-authored-by: ET <evantorrie@users.noreply.github.com>
2024-07-22 14:11:19 -05:00
renovate[bot] 685a3784d6
Update errorProneVersion to v2.29.2 (#6593)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-20 15:53:43 -07:00
renovate[bot] 35d1d383f5
Update dependency io.netty:netty-bom to v4.1.112.Final (#6595)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-19 19:14:28 -07:00
jack-berg 8fd45a771c
Enable retry by default for OTLP exporters (#6588) 2024-07-19 14:27:57 -05:00
jack-berg fa215ff242
Update stability status of opentelemetry-exporter-sender-jdk in readme (#6592) 2024-07-19 13:56:32 -05:00
renovate[bot] 0b513ad227
Update errorProneVersion to v2.29.1 (#6586)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-17 18:29:01 -07:00
SylvainJuge 8f3460ae43
suppress instrumentation: move to api + generic context key (#6546) 2024-07-17 14:38:32 -05:00
renovate[bot] 958b59be4d
Update dependency com.squareup.wire:wire-bom to v5 (#6580)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2024-07-17 14:38:02 -05:00
renovate[bot] 034c0c2ded
Update dependency org.owasp:dependency-check-gradle to v10.0.3 (#6585)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-17 14:26:47 -05:00
renovate[bot] 6dd000be25
Update dependency org.testcontainers:testcontainers-bom to v1.20.0 (#6590)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-17 14:26:13 -05:00
renovate[bot] dc1ec9cbed
Update gradle/actions action to v3.5.0 (#6582)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-16 19:13:49 -07:00
renovate[bot] 3fa57f9280
Update dependency io.grpc:grpc-bom to v1.65.1 (#6573)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-12 21:35:32 -07:00
renovate[bot] 82ad786856
Update dependency gradle to v8.9 (#6570)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-12 20:19:47 -07:00
John Watson fbb5ebb01e
PR 6524 with amendments (#6569)
Co-authored-by: junwense <970597653@qq.com>
Co-authored-by: SeanJ <44492651+junwense@users.noreply.github.com>
2024-07-12 20:09:03 -07: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
renovate[bot] 38aeffff14
Update dependency com.linecorp.armeria:armeria-bom to v1.29.2 (#6567)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-10 20:37:35 -07:00
shalk(xiao kun) 3aeb410ecc
rename open-telemetry-docs to opentelemetry-java-examples (#6564) 2024-07-09 18:14:08 -07:00
renovate[bot] 8ad5cacc16
Update dependency com.google.api.grpc:proto-google-common-protos to v2.41.0 (#6538)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-09 18:06:39 -07:00
renovate[bot] 0bc74744cb
Update dependency org.assertj:assertj-bom to v3.26.3 (#6566)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-09 13:04:07 -07:00
renovate[bot] 09c7c4a992
Update dependency com.fasterxml.jackson:jackson-bom to v2.17.2 (#6557)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-08 15:52:31 -07:00
renovate[bot] 13a11fb801
Update dependency io.opentelemetry.semconv:opentelemetry-semconv-incubating to v1.26.0-alpha (#6563)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-08 15:14:12 -07:00
HS.Zhang f1fc3cd17c
Update the Composing builds section in contributing.md (#6560)
Co-authored-by: Jack Berg <jberg@newrelic.com>
2024-07-08 15:12:37 -07:00
renovate[bot] 7b85775807
Update dependency org.owasp:dependency-check-gradle to v10 (#6547)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-08 16:55:02 -05:00
Jonathan Halliday 6b1092a89f
Add exporter data model impl for profiling signal type. (#6498) 2024-07-08 16:45:26 -05:00
renovate[bot] 5ebb37ac6f
Update dependency org.codehaus.mojo:animal-sniffer-annotations to v1.24 (#6553)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-08 16:23:12 -05:00
OpenTelemetry Bot 50d307c46e
Post release for version 1.40.0 (#6562) 2024-07-08 16:19:20 -05:00
John Watson 99c5b94004
Ignore the japicmp diff check for bot PRs (#6559) 2024-07-08 08:45:35 -07:00
OpenTelemetry Bot d7e7542c76
Update version to 1.41.0 (#6555)
Co-authored-by: Jack Berg <jberg@newrelic.com>
2024-07-05 17:19:49 -05:00
jack-berg c48fe94271
Prepare changelog for 1.40.0 release (#6554) 2024-07-05 12:07:00 -05:00
jack-berg 1f7d6a507e
Add APIs to determine if tracer, logger, instruments are enabled (#6502) 2024-07-03 15:34:18 -05:00
jack-berg 9fd6bcae9e
Fix build after recent collector release (#6548) 2024-07-02 15:25:23 -07:00
renovate[bot] b56af03b99
Update dependency io.opentelemetry.proto:opentelemetry-proto to v1.3.1-alpha (#6442)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2024-07-01 15:45:39 -05:00
renovate[bot] 22aaae8d44
Update dependency org.skyscreamer:jsonassert to v1.5.3 (#6535)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-29 15:43:36 -07:00
renovate[bot] c1ff34c2be
Update dependency net.ltgt.gradle:gradle-errorprone-plugin to v4.0.1 (#6533)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-28 12:44:33 -07:00
renovate[bot] ed46fa36d0
Update dependency com.linecorp.armeria:armeria-bom to v1.29.1 (#6543)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-28 09:21:03 -07:00
renovate[bot] 021e7fe470
Update dependency io.grpc:grpc-bom to v1.65.0 (#6544)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-28 09:18:23 -07:00
renovate[bot] 4086210ba9
Update dependency org.junit:junit-bom to v5.10.3 (#6542)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-27 10:49:08 -07:00
Sebastian Alfers fe8a7f4bab
Fix typo in java doc for setRetryPolicy (#6503)
Co-authored-by: Jack Berg <jberg@newrelic.com>
2024-06-26 13:49:18 -07:00
jack-berg 9bfb81b66b
Fix CollectorIntegrationTest (#6537) 2024-06-26 12:13:46 -05:00
Trask Stalnaker 0aacc55d1e
Narrow ExtendedSpanBuilder return types for chaining (#6514) 2024-06-24 15:07:42 -05:00
Jay DeLuca a09eff6100
Reference configuration documentation on opentelemetry.io (#6491)
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2024-06-24 13:44:24 -05:00
ICTylor cbac202044
Update README.md JDK Sender link to point to JDK sender instead of OkHttp one (#6532) 2024-06-21 08:57:56 -07:00
renovate[bot] 12eb62659d
Update gradle/actions action to v3.4.2 (#6527)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-18 20:52:04 -07:00
renovate[bot] b748a1dbaf
Update docker/build-push-action action to v6 (#6525)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-18 19:31:34 -07:00
Helen 0750660f6f
Fix #6499 Update dependency me.champeau.gradle:japicmp-gradle-plugin to v0.4.3 (#6522)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-15 10:49:21 -07:00
renovate[bot] 0bc911dc0a
Update gradle/actions action to v3.4.1 (#6523)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-15 10:48:13 -07:00
renovate[bot] cff8b81fd6
Update plugin com.gradle.develocity to v3.17.5 (#6519)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-15 10:47:39 -07:00
renovate[bot] a686280aaf
Update dependency com.linecorp.armeria:armeria-bom to v1.29.0 (#6516)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-12 09:02:42 -07:00
renovate[bot] 4680146024
Update dependency io.netty:netty-bom to v4.1.111.Final (#6515)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-11 10:29:56 -07:00
Shelby Huang 7ee367a57f
Fix the JMH task execution failure. (#6495) 2024-06-10 11:34:37 -07:00
OpenTelemetry Bot 5ad5b067f0
Post release for version 1.39.0 (#6512) 2024-06-09 20:04:13 -07:00
OpenTelemetry Bot be25f4ef0c
Update version to 1.40.0 (#6507) 2024-06-07 07:05:33 -05:00
jack-berg edbb475957
Prepare 1.39.0 (#6506)
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2024-06-07 06:40:17 -05:00
jack-berg 934da846f0
Fix incubator docs (#6505) 2024-06-06 16:10:50 -05:00
jack-berg d0b463dd6f
Refactor ExtendedTracer, ExtendedSpanBuilder to reflect incubating API conventions (#6497) 2024-06-06 09:42:01 -05:00
renovate[bot] 73646871e3
Update dependency net.ltgt.gradle:gradle-errorprone-plugin to v4 (#6501)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 10:37:25 -07:00
renovate[bot] 5a843989e2
Update dependency org.jctools:jctools-core to v4.0.5 (#6500)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 10:35:39 -07:00
renovate[bot] a68349e290
Update errorProneVersion to v2.28.0 (#6489)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 10:31:05 -07:00
renovate[bot] e15eedc1ed
Update dependency com.google.api.grpc:proto-google-common-protos to v2.40.0 (#6490)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 10:26:28 -07:00
renovate[bot] 88be482c8e
Update dependency gradle to v8.8 (#6488)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 10:08:49 -07:00
renovate[bot] 915cb4d0a1
Update dependency com.uber.nullaway:nullaway to v0.11.0 (#6487)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 10:07:53 -07:00
renovate[bot] 80c8d35614
Update autoValueVersion to v1.11.0 (#6485)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 09:59:29 -07:00
renovate[bot] aee034ae08
Update dependency com.google.auto.value:auto-value-annotations to v1.11.0 (#6486)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 09:57:47 -07:00
renovate[bot] a7a26f9a17
Update dependency com.google.guava:guava to v33.2.1-jre (#6483)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 09:55:21 -07:00
renovate[bot] 6d077c9344
Update dependency com.google.guava:guava-bom to v33.2.1-jre (#6484)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 09:54:59 -07:00
Lauri Tulmin 56c1879079
Use unsafe to speed up string marshaling (#6433) 2024-06-03 17:14:20 -05:00
jack-berg d9cef81e29
Define dedicated file configuration SPI ComponentProvider (#6457) 2024-06-03 12:49:41 -05:00
Jonathan Halliday 809457d2b0
Add exporter data classes for experimental profiling signal type. (#6374) 2024-06-03 10:02:43 -05:00
renovate[bot] 788347e262
Update dependency org.jctools:jctools-core to v4.0.4 (#6481)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-30 11:24:03 -07:00
jack-berg f57906131e
Make OTLP exporter memory mode API public (#6469) 2024-05-30 09:02:54 -05:00
Fabian Stäber 7da7037717
Make /metrics the only Prometheus metrics endpoint (#6476)
Signed-off-by: Fabian Stäber <fabian@fstab.de>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2024-05-29 16:41:53 -05:00
jack-berg 0f99d70d98
Remove android animalsniffer check from prometheus exporter (#6478) 2024-05-29 16:02:39 -05:00
Fabian Stäber cdcc58cb87
Update the Prometetheus metrics library (#6473)
Signed-off-by: Fabian Stäber <fabian@fstab.de>
2024-05-28 11:50:04 -05:00
Kyle Moore a1c72d17e0
Normalize timestamps and file ordering in jars, making the outputs reproducible (#6471) 2024-05-28 11:44:23 -05:00
renovate[bot] dab1a6cc8f
Update dependency checkstyle to v10.17.0 (#6477)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-28 09:31:56 -07:00
lizongwu d3e3bdf6ec
Start prometheus httpserver with daemon thread (#6472) 2024-05-28 09:05:16 -05:00
renovate[bot] b6c30bccac
Update dependency org.assertj:assertj-bom to v3.26.0 (#6475)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-26 09:51:05 -07:00
renovate[bot] a764419270
Update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v2 (#6468)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-22 11:17:34 -07:00
renovate[bot] bb56b537ab
Update dependency io.netty:netty-bom to v4.1.110.Final (#6470)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-22 10:54:35 -07:00
jack-berg c71c4d983c
Load file config YAML using core schema, ensure that env var substiut… (#6436) 2024-05-20 14:39:41 -05:00
renovate[bot] 7953048fe0
Update plugin org.graalvm.buildtools.native to v0.10.2 (#6466)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-18 21:29:28 -07:00
renovate[bot] 37740b6c72
Update plugin com.gradle.develocity to v3.17.4 (#6465)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-18 19:55:00 -07:00
renovate[bot] b1958e3fab
Update dependency org.owasp:dependency-check-gradle to v9.2.0 (#6462)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-17 09:38:46 -07:00
renovate[bot] d91b6e99d4
Update dependency com.google.api.grpc:proto-google-common-protos to v2.39.1 (#6463)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-16 15:30:20 -07:00
renovate[bot] 2e3e04c7e8
Update dependency io.grpc:grpc-bom to v1.64.0 (#6461)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-15 18:54:22 -07:00
crossoverJie 9543a34518
Update otel.exporter.otlp.protocol default value (#6444) 2024-05-10 18:17:31 -07:00
OpenTelemetry Bot 1049897b2f
Post release for version 1.38.0 (#6453) 2024-05-10 18:16:15 -07:00
John Watson 672d154d04
add any new apidiff files to the resulting PR 2024-05-10 14:58:47 -07:00
John Watson 8d85b580b2
use the correct versions to regen the japicmp files (#6451) 2024-05-10 14:42:10 -07:00
John Watson 2b5ac31a5b
install java when running the post-release PR generation (#6450) 2024-05-10 12:37:58 -07:00
John Watson 9810e09a95
GHA for generating the post-release pull request (#6449) 2024-05-10 11:26:04 -07:00
renovate[bot] 0cf28e9dc9
Update plugin com.gradle.develocity to v3.17.3 (#6445)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-10 08:34:20 -07:00
OpenTelemetry Bot f4121777fe
Update version to 1.39.0 (#6447) 2024-05-10 10:21:49 -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
Trask Stalnaker a855e1296e
Mention branch protection ordering (#6406)
Co-authored-by: Jack Berg <jberg@newrelic.com>
2024-05-09 13:23:44 -05:00
jack-berg c7d472ad36
Stabilize synchronous gauge (#6419) 2024-05-09 13:10:53 -05:00
Takamasa Matsui ca798212a2
Restrict space-only keys (#6431) 2024-05-09 13:05:04 -05:00
jack-berg 0d2d67efe4
Add memory mode support to OTLP exporters (#6430) 2024-05-09 12:51:53 -05:00
jack-berg 715211e98b
Low allocation OTLP logs marshaler (#6429) 2024-05-09 10:47:14 -05:00
jack-berg 5297306064
Add Lauri to approvers (#6440) 2024-05-09 10:34:51 -05:00
renovate[bot] 417f82c3ca
Update dependency org.testcontainers:testcontainers-bom to v1.19.8 (#6437)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-09 07:54:45 -07: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
renovate[bot] 2e746690a9
Update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v1.9.24 (#6435)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-07 08:22:33 -07:00
Lauri Tulmin 2454765174
Add private constructors for stateless marshalers (#6434) 2024-05-07 09:56:53 -05:00
Lauri Tulmin 996c9c321a
Low allocation OTLP metrics marshaler (#6422) 2024-05-07 09:56:01 -05:00
renovate[bot] 36bc703540
Update dependency com.fasterxml.jackson:jackson-bom to v2.17.1 (#6432)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-05 09:37:32 -07:00
Lauri Tulmin 2db5bb88d3
Marshal span status description without allocation (#6423) 2024-05-03 15:47:47 -05:00
renovate[bot] f8e6358b02
Update dependency com.uber.nullaway:nullaway to v0.10.26 (#6428)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-03 09:47:58 -07:00
renovate[bot] 83224d7079
Update dependency com.google.api.grpc:proto-google-common-protos to v2.39.0 (#6426)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-03 07:49:17 -07:00
renovate[bot] 414cc7be5d
Update dependency com.google.guava:guava-bom to v33.2.0-jre (#6425)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-02 11:42:26 -07:00
renovate[bot] 68efd95b58
Update dependency com.google.guava:guava to v33.2.0-jre (#6424)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-02 11:42:00 -07:00
renovate[bot] b5699ade3b
Update errorProneVersion to v2.27.1 (#6420)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-01 18:11:28 -07:00
jack-berg 9b67fe09dc
Use low precision Clock#now when computing timestamp for exemplars (#6417) 2024-05-01 11:24:17 -05:00
renovate[bot] bd92087068
Update errorProneVersion to v2.27.0 (#6412)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: John K Watson <jkwatson@gmail.com>
2024-05-01 08:37:58 -07:00
Lauri Tulmin 2e59f5477f
Low allocation OTLP trace marshaler (#6410) 2024-05-01 10:03:37 -05:00
jack-berg e1f707e8dc
Fix opencensus shim spanBuilderWithRemoteParent behavior (#6415) 2024-05-01 10:00:36 -05:00
Serkan ÖZAL 35bc345f7e
Ignore TLS components (SSLContext, TrustManager, KeyManager) if plain HTTP protocol is used for exporting (#6329) 2024-04-30 15:09:02 -05:00
renovate[bot] 9845ac94bd
Update gradle/actions action to v3.3.2 (#6407)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-29 18:02:02 -05:00
renovate[bot] 5781da1121
Update dependency com.linecorp.armeria:armeria-bom to v1.28.4 (#6414)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-29 08:03:24 -07:00
renovate[bot] 7e34b79593
Update dependency checkstyle to v10.16.0 (#6413)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-29 08:02:57 -07:00
renovate[bot] 51ff6bcf33
Update dependency com.linecorp.armeria:armeria-bom to v1.28.3 (#6408)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-26 12:53:10 -07:00
Lauri Tulmin 0e0f417760
Fix running tests with java 8 on macos (#6411)
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2024-04-26 11:21:35 -05:00
Alexander Wert da4cd931f8
Add is_remote_parent span flags to OTLP exported Spans and SpanLinks (#6388)
Signed-off-by: Alexander Wert <alexander.wert@elastic.co>
2024-04-23 09:27:09 -05:00
jack-berg 8f791f2c61
PrometheusHttpServer prevent concurrent reads when reusable memory mode (#6371) 2024-04-22 09:47:15 -05:00
jack-berg a5fc312d26
Add missing fields to OTLP metric exporters (#6402) 2024-04-22 09:46:06 -05:00
renovate[bot] 1960606bce
Update dependency com.google.api.grpc:proto-google-common-protos to v2.38.0 (#6399)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-20 10:44:02 -07:00
renovate[bot] e22c562fa7
Update dependency gradle.plugin.io.morethan.jmhreport:gradle-jmh-report to v0.9.6 (#6404)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-19 20:53:20 -07:00
renovate[bot] b499bdc4ec
Update gradle/actions action to v3.3.1 (#6398)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-18 17:04:12 -05:00
jack-berg c33febbea6
Scope config (#6375) 2024-04-18 16:36:40 -05:00
jack-berg 1623a80d4c
Add put(AttributeKey<T>, T) overload to EventBuilder (#6331) 2024-04-18 13:36:39 -05:00
jack-berg feef40813f
Rename otel.config.file to otel.experimental.config.file (#6396) 2024-04-18 13:36:29 -05:00
renovate[bot] 7128a8a5ab
Update gradle/wrapper-validation-action action to v3 (#6387)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jason plumb <75337021+breedx-splk@users.noreply.github.com>
2024-04-18 09:33:23 -05:00
renovate[bot] 9d955e6c0a
Update dependency io.zipkin.reporter2:zipkin-reporter-bom to v3.4.0 (#6386)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-18 09:32:33 -05:00
renovate[bot] ba9356192a
Update plugin com.gradle.develocity to v3.17.2 (#6393)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-18 09:32:22 -05:00
renovate[bot] 3b1092b3d5
Update dependency com.linecorp.armeria:armeria-bom to v1.28.2 (#6390)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-18 09:31:42 -05:00
renovate[bot] ecc8ffe09f
Update dependency io.netty:netty-bom to v4.1.109.Final (#6391)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-18 09:31:34 -05:00
jack-berg 7b4bb8fb0a
Add ReadableSpan#getAttributes (#6382) 2024-04-17 13:24:52 -05:00
renovate[bot] 8937a1009a
Update dependency com.linecorp.armeria:armeria-bom to v1.28.0 (#6384)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-13 11:09:52 -07:00
renovate[bot] 6c6b678c76
Update slf4j monorepo to v2.0.13 (#6385)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-13 11:09:33 -07:00
renovate[bot] 876408e7a7
Update gradle/wrapper-validation-action action to v2.1.3 (#6373)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-13 11:09:13 -07:00
renovate[bot] a85e888d82
Update dependency io.opentelemetry.proto:opentelemetry-proto to v1.2.0-alpha (#6365)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-11 14:53:10 -05:00
renovate[bot] 9e12dd60c4
Update dependency io.opentelemetry.semconv:opentelemetry-semconv-incubating to v1.25.0-alpha (#6366)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2024-04-11 13:01:53 -05:00
renovate[bot] 8242a4eb3e
Update plugin com.gradle.develocity to v3.17.1 (#6379)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-11 11:55:48 -05:00
renovate[bot] 63b91c6bd9
Update dependency io.zipkin.brave:brave-bom to v6.0.3 (#6376)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-11 11:54:59 -05:00
renovate[bot] bff0717a77
Update dependency com.tngtech.archunit:archunit-junit5 to v1.3.0 (#6380)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-11 11:54:41 -05:00
jason plumb 6c7770bb25
Add forward slash to InstrumentName log message (#6343) 2024-04-11 09:32:13 -05:00
jack-berg 1c64445cf6
Move away from deprecated gradle enterprise APIs (#6363) 2024-04-11 09:31:46 -05:00
jack-berg 7acc4e28f5
Mark opentelemetry-exporter-sender-jdk stable (#6357) 2024-04-10 17:18:23 -05:00
jack-berg 66cf1b6b28
Run build on java 21 (#6370) 2024-04-09 15:14:32 -05:00
renovate[bot] 92d659a17f
Update plugin io.github.gradle-nexus.publish-plugin to v2 (#6359)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-09 09:51:27 -05:00
jack-berg 001f34f170
Post release 1.37.0 (#6364) 2024-04-08 17:37:01 -05:00
renovate[bot] ab18dd6e55
Update dependency io.opentelemetry.semconv:opentelemetry-semconv to v1.24.0-alpha (#6362)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2024-04-08 13:42:18 -05:00
Trask Stalnaker bbcb2511d4
Tell renovate to update opentelemetry-proto and opentelemetry-semconv alpha artifacts (#6358) 2024-04-08 09:23:29 -05:00
jack-berg 572606ad50
Add additional API incubator docs (#6356) 2024-04-08 09:18:55 -05:00
OpenTelemetry Bot 1f80fe857d
Update version to 1.38.0 (#6354) 2024-04-05 13:02:57 -05:00
jack-berg 95b83564bc
Prepare 1.37.0 (#6353) 2024-04-05 12:30:22 -05:00
renovate[bot] 5ab678f7af
Update dependency io.prometheus:prometheus-metrics-exporter-httpserver to v1.2.1 (#6351)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-05 09:50:41 -05:00
jack-berg 4d8f4f3111
Metric exporter REUSABLE_DATA memory mode configuration options (#6304) 2024-04-05 09:46:51 -05:00
renovate[bot] ff0480c354
Update dependency io.grpc:grpc-bom to v1.63.0 (#6349)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-04 16:04:16 -05:00
renovate[bot] d1fef93e1c
Update dependency org.owasp:dependency-check-gradle to v9.1.0 (#6332)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-04 14:52:09 -05:00
renovate[bot] 7471fb8032
Update dependency checkstyle to v10.15.0 (#6335)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-04 14:51:44 -05:00
renovate[bot] f5490fbdb8
Update dependency com.squareup.wire:wire-bom to v4.9.9 (#6337)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-04 14:51:28 -05:00
renovate[bot] 7f3e3e3e64
Update dependency jacoco to v0.8.12 (#6338)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-04 14:49:35 -05:00
renovate[bot] 68cd649517
Update plugin com.gradle.enterprise to v3.17 (#6339)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-04 14:49:21 -05:00
jack-berg c8ca99c54e
Use getPrometheusName for Otel2PrometheusConverter map keys (#6308) 2024-04-04 12:40:21 -05:00
jack-berg d7370f3367
Promote Span addLink to stable API (#6317) 2024-04-04 12:09:17 -05:00
jack-berg b416aceeed
Move mateusz to emeritus (#6345)
Co-authored-by: John Watson <jkwatson@gmail.com>
2024-04-04 12:09:00 -05:00
renovate[bot] fc5469dc49
Update dependency nl.jqno.equalsverifier:equalsverifier to v3.16.1 (#6346)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-04 08:12:58 -07:00
jack-berg 6c11235f6f
Restore build fail on warning (#6347) 2024-04-04 09:42:37 -05:00
jack-berg 1dde2550b0
Use synchronized instead of reentrant lock in explicit bucket histogram (#6309) 2024-04-03 10:23:17 -05:00
Asaf Mesika bc5eb9ea24
Add toBuilder() at PrometheusHttpServer (#6333)
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2024-04-03 09:24:04 -05:00
Pranav Sharma 40d18f614a
Add GCP resource detector to ResourceProvider list (#6336) 2024-04-02 11:53:42 -05:00
Gregor Zeitlinger ec464079ee
service.instance.id implementation (#6226)
Co-authored-by: Jack Berg <jberg@newrelic.com>
2024-04-02 11:47:00 -05:00
renovate[bot] 98eded9f86
Update dependency com.squareup.wire:wire-bom to v4.9.8 (#6302)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-29 16:48:29 -05:00
jack-berg 622d977f87
Refactor Event API to reflect spec changes (#6318) 2024-03-29 16:48:12 -05:00
renovate[bot] 570d582730
Update dependency com.uber.nullaway:nullaway to v0.10.25 (#6330)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-29 15:51:38 -05:00
renovate[bot] 80971c1ff7
Update dependency io.netty:netty-bom to v4.1.108.Final (#6315)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-29 10:51:24 -05:00
renovate[bot] 101c0a80f2
Update gradle/wrapper-validation-action action to v2.1.2 (#6319)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-29 10:51:10 -05:00
renovate[bot] e688c256ac
Update dependency io.prometheus:prometheus-metrics-exporter-httpserver to v1.2.0 (#6322)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2024-03-29 10:50:59 -05:00
renovate[bot] 52bbd917f5
Update dependency nl.jqno.equalsverifier:equalsverifier to v3.16 (#6320)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-29 10:50:38 -05:00
renovate[bot] f95b9f50c1
Update dependency com.linecorp.armeria:armeria-bom to v1.27.3 (#6325)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-29 10:50:22 -05:00
Robert Lu 53fd6f063d
migrate gradle/gradle-build-action to gradle/actions/setup-gradle (#6326) 2024-03-28 16:36:35 -05:00
renovate[bot] 4f99e7cb4e
Update dependency gradle to v8.7 (#6321)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-28 09:49:48 -05:00
jack-berg 13ea3346a9
Rename EventEmitter and related classes to EventLogger (#6316) 2024-03-26 09:31:47 -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
renovate[bot] 434609a7bc
Update errorProneVersion to v2.26.1 (#6288)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-21 15:32:51 -05:00
Bogdan Drutu d8f26b221e
Check for Java 17 toolchain and fail if not found (#6303)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2024-03-21 15:32:37 -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
jack-berg 7926c45a5f
Update jaeger autoconfigure docs to point to OTLP (#6307) 2024-03-20 11:15:21 -05:00
jason plumb 8a73f45a2c
Fix copypasta artifact (#6311) 2024-03-20 11:03:20 -05:00
renovate[bot] 6e3d0873bc
Update dependency checkstyle to v10.14.2 (#6301)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-19 08:25:05 -07:00
renovate[bot] b2298ab4c0
Update dependency org.owasp:dependency-check-gradle to v9.0.10 (#6300)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-16 14:25:56 -07:00
renovate[bot] 970f95f2ec
Update dependency com.google.guava:guava-bom to v33.1.0-jre (#6294)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-16 14:25:23 -07:00
renovate[bot] b0ccf5ec7d
Update dependency com.squareup.okio:okio-bom to v3.9.0 (#6293)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-16 14:25:00 -07:00
renovate[bot] 2fc71ea8e3
Update dependency com.google.api.grpc:proto-google-common-protos to v2.37.1 (#6299)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-16 14:24:28 -07:00
renovate[bot] 1f22d1c46e
Update dependency com.google.guava:guava to v33.1.0-jre (#6296)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-16 14:24:08 -07:00
renovate[bot] dde0d6936c
Update dependency org.awaitility:awaitility to v4.2.1 (#6298)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-16 14:23:46 -07:00
jack-berg f83c020d4d
Use shared CODECOV_TOKEN (#6291) 2024-03-12 19:55:11 -07:00
renovate[bot] 4a4d9a6a6c
Update dependency com.fasterxml.jackson:jackson-bom to v2.17.0 (#6292)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-12 19:52:38 -07:00
jason plumb 34b64b1f77
Remove domain from event api. (#6253)
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2024-03-12 14:27:33 -05:00
renovate[bot] 7831f2ab2d
Update errorProneVersion to v2.26.0 (#6286)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-12 08:03:02 -07:00
jack-berg 7655192df5
Add autoconfigure console alias for logging exporter (#6027) 2024-03-12 09:43:19 -05:00
renovate[bot] 97609a9bdd
Update dependency checkstyle to v10.14.1 (#6283)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-11 13:04:03 -07:00
renovate[bot] a7423f6676
Update dependency com.fasterxml.jackson:jackson-bom to v2.16.2 (#6281)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-09 16:45:08 -08:00
jack-berg fdaf680454
Post release 1.36.0 (#6280) 2024-03-08 18:04:49 -06:00
OpenTelemetry Bot 05bd972f90
Update version to 1.37.0 (#6279) 2024-03-08 07:03:43 -06:00
jack-berg f032fc6703
Prepare 1.36.0 (#6276) 2024-03-08 06:44:26 -06:00
renovate[bot] c3ed1d5ee5
Update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v1.9.23 (#6275)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-07 06:49:27 -06:00
jack-berg e41470be43
Add basic proxy configuration to OtlpHttp{Signal}Exporters (#6270)
Co-authored-by: Marc Schumacher <schumi@zalando.de>
2024-03-07 06:48:36 -06:00
renovate[bot] f24acbdd7f
Update dependency org.testcontainers:testcontainers-bom to v1.19.7 (#6271)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-06 08:59:00 -06:00
renovate[bot] cd52950fae
Update dependency io.grpc:grpc-bom to v1.62.2 (#6254)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-06 08:58:44 -06:00
renovate[bot] 96bed03986
Update plugin de.undercouch.download to v5.6.0 (#6262)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-06 08:58:25 -06:00
Gregor Zeitlinger 56c11e529e
add ComponentLoader to support more auto configuration scenarios (#6217) 2024-03-06 08:57:52 -06:00
renovate[bot] 5eeb733dbd
Update dependency com.linecorp.armeria:armeria-bom to v1.27.2 (#6249)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-06 08:56:48 -06:00
renovate[bot] 5ef2cb9573
Update dependency checkstyle to v10.14.0 (#6261)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-06 08:56:30 -06:00
renovate[bot] 601d2885ff
Update dependency com.google.api.grpc:proto-google-common-protos to v2.36.0 (#6265)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-06 08:56:15 -06:00
renovate[bot] 12d3e0f1f0
Update dependency io.zipkin.brave:brave-bom to v6.0.2 (#6259)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-06 08:55:56 -06:00
renovate[bot] ff179ddc6b
Update dependency nl.jqno.equalsverifier:equalsverifier to v3.15.8 (#6267)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-06 08:55:39 -06:00
renovate[bot] 9f8ed8468a
Update dependency com.uber.nullaway:nullaway to v0.10.24 (#6269)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-06 08:55:24 -06:00
Liudmila Molkova 25afc3e910
Return AutoConfiguredOpenTelemetrySdkBuilder instead of the base type (#6248) 2024-03-06 08:40:28 -06:00
Asaf Mesika 62a4810145
Added MetricReader customizer for AutoConfiguredOpenTelemetrySdkBuilder (#6231) 2024-02-29 08:59:58 -06:00
jason plumb 6afb816f9e
Add note about draft PRs to CONTRIBUTING.md (#6247) 2024-02-28 16:53:34 -06:00
jack-berg 1d4a2f4a50
Add connectTimeout configuration option OtlpGrpc{Signal}Exporters (#6079) 2024-02-23 20:26:32 -08: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
renovate[bot] 4eb05c7c00
Update dependency io.netty:netty-bom to v4.1.107.Final (#6227)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-23 19:51:21 -08:00
renovate[bot] dec4e9b583
Update plugin org.graalvm.buildtools.native to v0.10.1 (#6239)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-23 18:48:19 -08:00
renovate[bot] 8e298b9b13
Update dependency org.testcontainers:testcontainers-bom to v1.19.6 (#6242)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-23 18:48:07 -08:00
renovate[bot] 31fc7d0f77
Update dependency nl.jqno.equalsverifier:equalsverifier to v3.15.7 (#6246)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-23 18:47:17 -08:00
renovate[bot] 01ff943683
Update dependency io.zipkin.brave:brave-bom to v6.0.1 (#6228)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-23 18:46:48 -08:00
renovate[bot] 77bb439422
Update dependency io.zipkin.reporter2:zipkin-reporter-bom to v3.3.0 (#6230)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2024-02-20 16:24:03 -06:00
renovate[bot] 5eaf4b290e
Update dependency net.ltgt.gradle:gradle-nullaway-plugin to v2 (#6237)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-17 09:46:25 -06:00
renovate[bot] 2dfbc242f7
Update gradle/gradle-build-action action to v3 (#6238)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-17 09:43:40 -06:00
jack-berg 47a390076f
Fix omission in readme overview (#6120) 2024-02-17 09:33:48 -06:00
renovate[bot] b0ec50575e
Update gradle/wrapper-validation-action action to v2.1.1 (#6220)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-17 09:21:08 -06:00
renovate[bot] 046baf9ca9
Update dependency com.squareup.okio:okio-bom to v3.8.0 (#6219)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-17 09:20:56 -06:00
renovate[bot] 11391d8b1a
Update dependency com.squareup.wire:wire-bom to v4.9.7 (#6223)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-17 09:20:39 -06:00
renovate[bot] f2b92832eb
Update dependency com.google.api.grpc:proto-google-common-protos to v2.34.0 (#6229)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-17 09:19:02 -06:00
renovate[bot] 620a264859
Update dependency com.uber.nullaway:nullaway to v0.10.23 (#6232)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-17 09:18:40 -06:00
renovate[bot] 82e4354be9
Update dependency com.google.protobuf:protobuf-bom to v3.25.3 (#6234)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-17 09:18:22 -06:00
renovate[bot] a903fa849f
Update errorProneVersion to v2.25.0 (#6236)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-17 09:18:06 -06:00
jack-berg 48d41d3a5a
Update docs post 1.35.0 release (#6218) 2024-02-12 10:15:12 -06:00
Asaf Mesika 0e84508905
Fix flaky InstrumentGarbageCollectionBenchmarkTest (#6221) 2024-02-12 09:35:03 -06:00
OpenTelemetry Bot 695ed5350b
Update version to 1.36.0 (#6216) 2024-02-09 09:56:03 -06:00
jack-berg e9e1feeae0
Prepare 1.35.0 release (#6213)
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2024-02-09 07:59:03 -06:00
Asaf Mesika a5d2065401
Allow Prometheus exporter to add resource attributes to metric attributes (#6179) 2024-02-08 16:09:13 -06:00
renovate[bot] 988dccaa5e
Update dependency org.testcontainers:testcontainers-bom to v1.19.5 (#6212)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-08 16:08:53 -06: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
Asaf Mesika c12779d960
Memory mode: Adding support for synchronous instruments - Last Value aggregation (#6196) 2024-02-08 09:29:16 -06:00
renovate[bot] c12bb736ca
Update dependency gradle to v8.6 (#6191)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-07 15:49:10 -06:00
renovate[bot] b8b804b68b
Update plugin org.graalvm.buildtools.native to v0.10.0 (#6188)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-07 15:48:56 -06:00
renovate[bot] fe7a1c58f8
Update dependency com.squareup.wire:wire-bom to v4.9.6 (#6189)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-07 15:47:46 -06:00
renovate[bot] 82bf8c3623
Update dependency org.junit:junit-bom to v5.10.2 (#6192)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-07 15:47:28 -06:00
renovate[bot] 3265f3289d
Update gradle/wrapper-validation-action action to v2.1.0 (#6200)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-07 15:46:59 -06:00
renovate[bot] 63b39e37e9
Update dependency org.assertj:assertj-bom to v3.25.3 (#6193)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-07 13:06:10 -06:00
renovate[bot] 001fa1cd38
Update slf4j monorepo to v2.0.12 (#6199)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-07 13:05:55 -06:00
renovate[bot] 715fbd678a
Update dependency com.linecorp.armeria:armeria-bom to v1.27.1 (#6202)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-07 13:05:24 -06:00
renovate[bot] 9e6d4a8dc3
Update dependency org.jctools:jctools-core to v4.0.3 (#6203)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-07 13:05:08 -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
renovate[bot] 3e7302e742
Update codecov/codecov-action action to v4 (#6183)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-05 17:44:38 -06:00
jack-berg 2d74bf263a
Define CODECOV token (#6186) 2024-02-05 17:44:17 -06:00
renovate[bot] eba8b847e9
Update dependency io.grpc:grpc-bom to v1.61.1 (#6190)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-03 20:49:18 -08:00
renovate[bot] e9266c8575
Update dependency checkstyle to v10.13.0 (#6178)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-01 15:03:06 -06:00
renovate[bot] 8e2a99a67d
Update dependency com.squareup.wire:wire-bom to v4.9.5 (#6177)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-01 15:02:53 -06:00
renovate[bot] 4f9b7314f2
Update dependency com.uber.nullaway:nullaway to v0.10.22 (#6180)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-01 15:02:26 -06:00
renovate[bot] c91f3f427e
Update dependency com.linecorp.armeria:armeria-bom to v1.27.0 (#6181)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-01 15:02:12 -06:00
renovate[bot] 697ae617be
Update gradle/wrapper-validation-action action to v2 (#6185)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-01 15:01:52 -06:00
renovate[bot] 6b613ddd36
Update dependency com.google.api.grpc:proto-google-common-protos to v2.33.0 (#6184)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-01 15:01:31 -06:00
Gregor Zeitlinger ecbd1f9d3d
header values are be expected to be W3C baggage encoded (#6164)
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2024-02-01 15:00:56 -06:00
jack-berg 8684882c06
Add Compressor SPI support to OtlpGrpc{Signal}Exporters (#6103) 2024-01-31 10:59:48 -06:00
Asaf Mesika 0aa223dcaf
Memory mode: Adding support for synchronous instruments - Counter (#6182) 2024-01-31 09:47:00 -06:00
jason plumb 196905916c
Include trace flags in otlp marshaller (#6167) 2024-01-31 09:45:28 -06:00
renovate[bot] f123d78909
Update plugin com.gradle.enterprise to v3.16.2 (#6175)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-26 10:57:54 -06:00
renovate[bot] 90e2fb4e38
Update dependency com.squareup.wire:wire-bom to v4.9.4 (#6176)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-26 10:42:21 -06:00
renovate[bot] 4a66431280
Update dependency com.google.api.grpc:proto-google-common-protos to v2.32.0 (#6165)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-26 10:42:03 -06:00
renovate[bot] 4657255d7b
Update spotless packages to v6.25.0 (#6169)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-26 10:08:24 -06:00
renovate[bot] 91a5dd9e8a
Update dependency org.assertj:assertj-bom to v3.25.2 (#6172)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-25 17:36:21 -06:00
renovate[bot] c8a968a99b
Update dependency org.testcontainers:testcontainers-bom to v1.19.4 (#6174)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-25 17:36:09 -06:00
Asaf Mesika 8d1cad2ae1
Memory mode: Adding support for synchronous instruments - explicit histogram (#6153)
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2024-01-25 12:18:28 -06:00
Asaf Mesika 737dfef4e6
Memory Mode: Adding 3rd and last part support for synchronous instruments - exponential histogram (#6136)
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2024-01-25 09:23:59 -06:00
Crypt Keeper 0e4986a073
Update dependency io.zipkin.reporter2:zipkin-reporter-bom to v3.2.1 (#6151)
Signed-off-by: Adrian Cole <adrian@tetrate.io>
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2024-01-24 16:52:57 -06:00
jack-berg ee6c9867d7
Align file configuration with latest changes to spec (#6088) 2024-01-23 16:57:45 -06:00
renovate[bot] e4b31cea3d
Update dependency io.netty:netty-bom to v4.1.106.Final (#6166)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-19 11:00:10 -06:00
jack-berg ede6a81a17
Stop including old artifacts in bom (#6157) 2024-01-18 16:06:08 -06:00
renovate[bot] 16d6e0e00a
Update dependency io.grpc:grpc-bom to v1.61.0 (#6161)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 15:38:42 -06:00
renovate[bot] 4407ee72d6
Update dependency io.netty:netty-bom to v4.1.105.Final (#6154)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-17 16:54:58 -06:00
renovate[bot] e337bd732e
Update dependency nl.jqno.equalsverifier:equalsverifier to v3.15.6 (#6133)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-17 16:54:40 -06:00
renovate[bot] 2f69bec428
Update spotless packages to v6.24.0 (#6162)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-17 16:14:18 -06:00
renovate[bot] 496965e1b4
Update dependency com.google.protobuf:protobuf-bom to v3.25.2 (#6137)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-17 15:56:06 -06:00
Crypt Keeper f0d6c82337
Update dependency io.zipkin.brave:brave-bom to 6.0.0 (#6131)
Signed-off-by: Adrian Cole <adrian@tetrate.io>
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2024-01-17 15:54:42 -06:00
renovate[bot] c5ca491dd6
Update dependency com.uber.nullaway:nullaway to v0.10.21 (#6150)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-17 15:52:47 -06:00
renovate[bot] 9faf11b605
Update dependency com.google.api.grpc:proto-google-common-protos to v2.30.0 (#6122)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-17 15:47:58 -06:00
renovate[bot] 870a6bf256
Update dependency org.owasp:dependency-check-gradle to v9.0.9 (#6126)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-17 15:47:37 -06:00
renovate[bot] 6a79e6f32c
Update slf4j monorepo to v2.0.11 (#6155)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-17 15:47:17 -06:00
Crypt Keeper 491de708e1
fixes link drift in sonatype (#6152)
Signed-off-by: Adrian Cole <adrian@tetrate.io>
2024-01-16 15:22:24 -06:00
jack-berg dbaba2fd91
Post release 1.34.1 (#6146) 2024-01-12 17:15:46 -06:00
Crypt Keeper 208118af18
Update dependency io.zipkin.reporter2:zipkin-reporter-bom to 3.1.1 (#6129)
Signed-off-by: Adrian Cole <adrian@tetrate.io>
2024-01-12 17:02:11 -06:00
Asaf Mesika 0641844059
Memory Mode: Adding 2nd part support for synchronous instruments - exponential histogram (#6058)
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2024-01-12 16:52:54 -06:00
jack-berg 30c75b4715
Delete jaeger exporters (#6119) 2024-01-12 16:52:32 -06:00
OpenTelemetry Bot 9c3af76ab9
Merge change log updates from release/v1.34.x (#6145) 2024-01-11 17:44:44 -06:00
jack-berg c1490728c9
Restore prometheus metric name mapper tests, fix regressions (#6138) 2024-01-11 15:53:10 -06:00
jack-berg 38b24890af
Fix graal (#6134) 2024-01-11 15:52:56 -06:00
jack-berg ff823f4346
Recreate graal RetryPolicy issue (#6139) 2024-01-11 15:52:44 -06:00
jack-berg d9f9812d43
Post release 1.34.0 (#6118) 2024-01-05 11:19:28 -06:00
OpenTelemetry Bot c9ea238121
Update version to 1.35.0 (#6116) 2024-01-05 09:39:00 -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
renovate[bot] f4b5bbe829
Update dependency org.assertj:assertj-bom to v3.25.1 (#6106)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-04 13:01:04 -06:00
jack-berg 3449c58ef5
Convert histogram measurements to double before passing recording exemplar reservoir (#6024)
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2024-01-04 11:43:42 -06:00
jack-berg 5a0dd7ef25
Base2ExponentialHistogramAggregation maxBuckets must be >= 2 (#6093) 2024-01-04 11:43:23 -06:00
jack-berg da7796b3b5
Use minimal fallback managed channel when none is specified (#6110) 2024-01-04 09:36:03 -06:00
jack-berg b4ed53211b
Propagate serialization IOException instead of rethrowing as runtime (#6082)
Co-authored-by: Ricardo Mestre <ricardom57@hotmail.com>
2024-01-03 17:06:47 -06:00
jack-berg 63fe7084d2
Only call SpanProcessor onStart / onEnd if required (#6112) 2024-01-03 15:32:08 -06:00
jack-berg bc0df3b4d5
Fix autoconfigure javadoc explaining behavior when disabled (#6109) 2024-01-03 15:29:26 -06:00
renovate[bot] 517ef88ca1
Update errorProneVersion to v2.24.1 (#6111)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-03 12:16:00 -06:00
jack-berg 17b8f4355d
Read normalized otel.config.file property (#6105)
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2024-01-03 11:50:38 -06:00
Fabian Stäber d45fb3f5dc
Exponential Histogram support to the Prometheus exporter (#6015)
Signed-off-by: Fabian Stäber <fabian@fstab.de>
2024-01-03 09:51:35 -06:00
jack-berg de65a4ba1e
Test OTLP exporters with different OkHttp versions (#6045) 2024-01-02 17:53:08 -06:00
jack-berg 42679988e2
Fix owasp dependency check (#6086) 2024-01-02 17:33:13 -06:00
jack-berg 60ae0af7f6
Add compressor SPI to support additional compression algos (#5990) 2024-01-02 15:00:54 -06:00
renovate[bot] e1b1963088
Update errorProneVersion to v2.24.0 (#6092)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2024-01-02 12:59:29 -06:00
renovate[bot] 0c436e0a29
Update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v1.9.22 (#6090)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-02 11:54:34 -06:00
renovate[bot] b48893bb9d
Update dependency io.grpc:grpc-bom to v1.60.1 (#6091)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-02 11:43:10 -06:00
renovate[bot] d81dabff4b
Update dependency com.uber.nullaway:nullaway to v0.10.19 (#6097)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-02 11:37:39 -06:00
renovate[bot] a265b288fd
Update dependency com.fasterxml.jackson:jackson-bom to v2.16.1 (#6096)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-02 11:37:19 -06:00
renovate[bot] fcd7812d77
Update slf4jVersion to v2.0.10 (#6099)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-02 11:36:58 -06:00
renovate[bot] 1b4f5aeab5
Update dependency checkstyle to v10.12.7 (#6101)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-02 11:34:11 -06:00
renovate[bot] e588eb8042
Update dependency org.assertj:assertj-bom to v3.25.0 (#6102)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-02 11:17:11 -06:00
Jean Bisutti 4f6cc700b5
Ability to access version.properties API file with GraalVM native (#6095) 2024-01-02 10:03:51 -06:00
renovate[bot] 227580ba09
Update dependency nl.jqno.equalsverifier:equalsverifier to v3.15.5 (#6094)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-22 15:53:29 -08:00
renovate[bot] eea1fe0e99
Update dependency com.google.guava:guava to v33 (#6085)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-20 08:30:03 -06:00
renovate[bot] 0b32fe2fda
Update dependency com.google.guava:guava-bom to v33 (#6083)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-18 16:57:42 -06:00
renovate[bot] d1e2d09fa4
Update plugin com.gradle.enterprise to v3.16.1 (#6060)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-18 16:09:56 -06:00
renovate[bot] 867d25be41
Update dependency com.squareup.okio:okio-bom to v3.7.0 (#6080)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-18 11:25:34 -06:00
renovate[bot] 2634bcad7a
Update dependency io.zipkin.reporter2:zipkin-reporter-bom to v2.17.1 (#6070)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-18 11:25:23 -06:00
renovate[bot] b3e6045a72
Update dependency io.netty:netty-bom to v4.1.104.Final (#6072)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-18 11:25:14 -06:00
renovate[bot] ecd11ea5db
Update github/codeql-action action to v3 (#6074)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-18 11:04:20 -06:00
renovate[bot] 6c6800a821
Update actions/upload-artifact action to v4 (#6077)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-18 11:03:44 -06:00
renovate[bot] 97386403ce
Update dependency org.owasp:dependency-check-gradle to v9.0.7 (#6073)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-18 11:02:52 -06:00
renovate[bot] 5412905f21
Update dependency io.zipkin.brave:brave-bom to v5.17.0 (#6081)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-18 11:02:23 -06:00
Asaf Mesika ffd53c7d56
Memory Mode: Adding first part support for synchronous instruments - storage (#5998)
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2023-12-14 16:21:39 -06:00
jack-berg 6e536238df
Post release 1.33.0 (#6068) 2023-12-08 21:50:39 -06:00
OpenTelemetry Bot 3086418d62
Update version to 1.34.0 (#6067) 2023-12-08 14:21:43 -06:00
jack-berg 3a6613f9a3
Prepare for 1.33.0 release (#6065) 2023-12-08 13:57:04 -06:00
renovate[bot] e90a6f636b
Update dependency com.linecorp.armeria:armeria-bom to v1.26.4 (#6062)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-08 09:15:35 -06:00
renovate[bot] 05db74f4f4
Update dependency org.owasp:dependency-check-gradle to v9.0.4 (#6064)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-08 08:40:20 -06:00
jack-berg 4c6039769a
Add OTLP header supplier configuration option (#6004) 2023-12-08 08:37:14 -06:00
Peter Findeisen 9f3456fd5d
Issue 6037 - Wrapping "invalid" SpanContexts in Span does not preserve SpanContext (#6044) 2023-12-08 08:24:36 -06:00
Chung Nguyen 3bb221fb5d
add hasAttributesSatisfying overload to AbstractPointAssert (#6048) 2023-12-08 08:24:09 -06:00
jack-berg f1fc1c75b8
Revert com.gradle.enterprise 3.16 upgrade (#6059) 2023-12-07 17:22:21 -06:00
jack-berg 902d68cf2a
Add connectTimeout configuration option OtlpHttp{Signal}Exporters (#5941) 2023-12-07 16:28:15 -06:00
Gregor Zeitlinger 2b33f9fb07
Extended tracer (#6017)
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2023-12-07 16:27:57 -06:00
Jonas Kunz c8e1e3619e
Improve autoconfiguration capabilities for adding, delaying or dropping spans (#5986) 2023-12-07 15:41:03 -06:00
renovate[bot] f36cc92b85
Update plugin com.gradle.enterprise to v3.16 (#6050)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 15:15:24 -06:00
renovate[bot] 377809536a
Update dependency org.owasp:dependency-check-gradle to v9.0.3 (#6036)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 14:55:12 -06:00
renovate[bot] d491facd83
Update dependency com.tngtech.archunit:archunit-junit5 to v1.2.1 (#6038)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 14:54:59 -06:00
renovate[bot] 4e1771605b
Update dependency io.grpc:grpc-bom to v1.60.0 (#6051)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 14:54:44 -06:00
renovate[bot] cf3b3901d9
Update dependency com.toasttab.android:gummy-bears-api-21 to v0.8.0 (#6041)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 14:54:29 -06:00
renovate[bot] 07413b15a5
Update dependency checkstyle to v10.12.6 (#6055)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 14:53:20 -06:00
renovate[bot] dc8b44f00b
Update actions/stale action to v9 (#6056)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-07 14:52:58 -06:00
jack-berg 9a3391d5e0
Serialize log body any value (#5938) 2023-12-07 13:29:41 -06:00
renovate[bot] 247ef4d26e
Update spotless packages to v6.23.3 (#6043)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-04 15:01:15 -06:00
jason plumb 3f1b9ed263
Group spotless renovate updates (#6042) 2023-12-04 13:40:56 -06:00
jason plumb e447e347e1
Allow for simpler creation of start-only and end-only SpanProcessors. (#5923) 2023-12-04 11:40:09 -06:00
renovate[bot] f1deb8ec78
Update dependency com.uber.nullaway:nullaway to v0.10.18 (#6033)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-30 17:00:42 -06:00
jack-berg 40325e56dd
Remove exception handling in TlsUtil#decodePem (#6034) 2023-11-30 17:00:20 -06:00
renovate[bot] 14eaa4cdf8
Update dependency com.diffplug.spotless:spotless-plugin-gradle to v6.23.0 (#6016)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2023-11-30 11:14:59 -06:00
renovate[bot] 537a4dfc1b
Update dependency nl.jqno.equalsverifier:equalsverifier to v3.15.4 (#6028)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-30 10:11:32 -06:00
renovate[bot] 0e9ca2b863
Update actions/setup-java action to v4 (#6030)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-30 10:11:02 -06:00
renovate[bot] 6867bd04bd
Update dependency com.google.api.grpc:proto-google-common-protos to v2.29.0 (#6032)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-30 10:10:03 -06:00
renovate[bot] 52958c8e91
Update dependency gradle to v8.5 (#6029)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-30 10:09:35 -06:00
renovate[bot] 433ad9462d
Update plugin com.diffplug.spotless to v6.23.2 (#6014)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-30 10:07:46 -06:00
renovate[bot] a7b2cc04fc
Update dependency io.netty:netty-bom to v4.1.101.Final (#5970)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 10:23:41 -06:00
renovate[bot] da2cc9f047
Update dependency io.grpc:grpc-bom to v1.59.1 (#6021)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 09:41:54 -06:00
renovate[bot] f9e0acba15
Update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v1.9.21 (#6008)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-27 20:14:37 -06:00
renovate[bot] c57ca65f7f
Update dependency com.toasttab.android:gummy-bears-api-21 to v0.7.0 (#6002)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-27 12:37:25 -06:00
renovate[bot] 1dcea73ea8
Update dependency org.jctools:jctools-core to v4.0.2 (#6006)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-27 12:36:40 -06:00
renovate[bot] 3382073239
Update dependency org.owasp:dependency-check-gradle to v9.0.1 (#6012)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-27 12:35:23 -06:00
renovate[bot] 675101a4ea
Update dependency com.squareup.wire:wire-bom to v4.9.3 (#6009)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-27 12:35:02 -06:00
renovate[bot] 28ff59de41
Update plugin org.graalvm.buildtools.native to v0.9.28 (#5793)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2023-11-23 08:36:18 -06:00
renovate[bot] ad7fc9e753
Update dependency org.owasp:dependency-check-gradle to v9 (#6007)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-22 14:19:35 -06:00
renovate[bot] 1e82b72f36
Update dependency org.testcontainers:testcontainers-bom to v1.19.3 (#6005)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-21 13:15:23 -06:00
jack-berg e6c7a0f264
Base64 encode AnyValue bytes in string representation (#6003) 2023-11-21 10:02:53 -06:00
renovate[bot] e2dd3e4404
Update dependency com.google.protobuf:protobuf-bom to v3.25.1 (#5991)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-20 15:35:48 -06:00
renovate[bot] 34cd3f9342
Update dependency checkstyle to v10.12.5 (#5985)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-20 14:20:11 -06:00
renovate[bot] a33de86cb6
Update dependency org.testcontainers:testcontainers-bom to v1.19.2 (#5989)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-20 14:19:58 -06:00
renovate[bot] 9a01f2e592
Update dependency org.owasp:dependency-check-gradle to v8.4.3 (#5988)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-20 14:19:39 -06:00
renovate[bot] 8e0f6124cf
Update dependency com.linecorp.armeria:armeria-bom to v1.26.3 (#5996)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-20 14:19:03 -06:00
renovate[bot] c7b2c8b00b
Update dependency com.fasterxml.jackson:jackson-bom to v2.16.0 (#5992)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-20 14:18:05 -06:00
renovate[bot] 0f60bd4215
Update dependency com.uber.nullaway:nullaway to v0.10.17 (#6000)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-20 14:17:44 -06:00
César f58a209e9a
Building animal sniffer signatures directly from android corelib (#5973) 2023-11-20 12:12:55 -06:00
Lauri Tulmin c87852c3d1
Target kotlin 1.4 in kotlin extension (#5910) 2023-11-17 13:54:13 -06:00
jack-berg 531898cd6b
Define language version compatibility requirements (#5983) 2023-11-16 17:01:23 -06:00
Asaf Mesika 514d0820b2
MetricsBenchmarks should share state between threads (#5984) 2023-11-16 16:53:54 -06:00
jack-berg 9ac678e81b
Fix SynchronousMetricStorageTest flake (#5981) 2023-11-14 10:23:42 -06:00
jack-berg 8901416207
Post release 1.32.0 (#5982) 2023-11-13 15:29:11 -08:00
OpenTelemetry Bot 320a4d32d8
Update version to 1.33.0 (#5979) 2023-11-13 12:04:20 -06:00
jack-berg cc5b70c737
Prepare 1.32.0 (#5977)
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2023-11-13 11:34:01 -06:00
renovate[bot] ab4379da25
Update dependency com.squareup.wire:wire-bom to v4.9.2 (#5978)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-13 11:33:49 -06:00
jack-berg 72a5bb151b
CAS and voltile approach to fix delta concurrency bug (#5976) 2023-11-13 09:43:27 -06:00
jack-berg aca4157d8f
Stop publishing announcement on release (#5971) 2023-11-10 11:55:58 -06:00
jack-berg f44d99108d
Expand the set of retryable exceptions in JdkHttpSender (#5942) 2023-11-10 09:30:03 -06:00
jack-berg 04f6d9cc46
Fix delta metric storage concurrency bug (#5932) 2023-11-10 09:00:56 -06:00
jason plumb 83993e03d3
Allow events to be emitted with timestamp (#5928)
Co-authored-by: Jack Berg <jberg@newrelic.com>
2023-11-09 15:58:58 -06:00
jack-berg b03ec3aa62
Add log support to junit extensions (#5966) 2023-11-09 10:03:36 -06:00
renovate[bot] efcce14ba9
Update dependency org.junit:junit-bom to v5.10.1 (#5962)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-09 09:20:15 -06:00
renovate[bot] a9dfcd0cf0
Update dependency com.tngtech.archunit:archunit-junit5 to v1.2.0 (#5963)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-09 09:19:45 -06:00
renovate[bot] 59f3eb8eef
Update dependency com.linecorp.armeria:armeria-bom to v1.26.2 (#5968)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-09 09:19:24 -06:00
jack-berg f2f3ab33b7
Autoconfigure listener (#5931) 2023-11-09 08:49:21 -06:00
César f99e4961cb
Identifying otel http calls (#5918)
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2023-11-09 08:49:06 -06:00
Lauri Tulmin f9be6821a5
Use a custom output stream in marshaling jmh benchmarks (#5964) 2023-11-07 10:01:41 -06:00
Lauri Tulmin 1ecc9197be
Add null check to StrictContextStorage (#5954) 2023-11-06 11:12:29 -06:00
jack-berg 19196a0251
Stabilize explicit bucket boundaries advice API (#5897) 2023-11-06 10:58:34 -06:00
Lauri Tulmin 7fd46f0583
Fix flaky jaeger remote sampler test (#5955) 2023-11-03 16:26:01 -05:00
renovate[bot] e2c76320ed
Update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v1.9.20 (#5949)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-03 16:21:01 -05:00
renovate[bot] c0cf5dd95f
Update dependency com.google.api.grpc:proto-google-common-protos to v2.28.0 (#5951)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-03 16:20:43 -05:00
renovate[bot] 0263e62b42
Update dependency nl.jqno.equalsverifier:equalsverifier to v3.15.3 (#5953)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-03 16:19:41 -05:00
renovate[bot] 35ecf7a461
Update dependency com.uber.nullaway:nullaway to v0.10.16 (#5956)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-03 16:19:21 -05:00
renovate[bot] 9d55f25386
Update dependency com.google.protobuf:protobuf-bom to v3.25.0 (#5957)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-03 16:19:01 -05:00
jack-berg efa46a5dcc
Experimental support for Log AnyValue body (#5880) 2023-10-31 15:05:36 -05:00
Abdolsamad Montazeri Shahtoori ccb2e04237
Fix opentracing header name issue (#5840) 2023-10-31 13:30:34 -05:00
renovate[bot] 33d3a9213c
Update dependency com.linecorp.armeria:armeria-bom to v1.26.1 (#5947)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-30 16:52:19 -05:00
renovate[bot] 976edfde50
Update dependency com.linecorp.armeria:armeria-bom to v1.26.0 (#5943)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-27 14:45:48 -05:00
renovate[bot] 6c931951b3
Update dependency me.champeau.jmh:jmh-gradle-plugin to v0.7.2 (#5946)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-27 14:45:28 -05:00
jack-berg e06d35add5
JdkHttpSender should retry on connect exceptions (#5867) 2023-10-23 11:03:50 -05:00
renovate[bot] 82a0e03add
Update dependency com.google.api.grpc:proto-google-common-protos to v2.27.0 (#5933)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 11:03:10 -05: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
renovate[bot] c3a2e94579
Update dependency io.grpc:grpc-bom to v1.59.0 (#5934)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 10:29:49 -05:00
renovate[bot] 70cb2c9235
Update dependency org.owasp:dependency-check-gradle to v8.4.2 (#5935)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 10:29:37 -05:00
jack-berg e592d5dbfd
Add env var substitution support to file configuration (#5914) 2023-10-23 10:29:01 -05:00
renovate[bot] 5740c3ceaf
Update dependency com.squareup.okhttp3:okhttp-bom to v4.12.0 (#5921)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-19 10:06:04 -05:00
renovate[bot] a77e1f9af3
Update dependency com.uber.nullaway:nullaway to v0.10.15 (#5929)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-19 09:26:55 -05:00
renovate[bot] 1bff69a663
Update dependency jacoco to v0.8.11 (#5919)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-19 09:22:44 -05:00
jason plumb 57d8334417
Dismantle AbstractInstrumentBuilder inheritance hierarchy (#5820) 2023-10-13 14:24:05 -05:00
jack-berg a9da20f831
Cleanup opencensus shim (#5858) 2023-10-13 10:50:12 -05:00
renovate[bot] 1453f3f181
Update dependency com.fasterxml.jackson:jackson-bom to v2.15.3 (#5913)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-13 10:36:49 -05:00
jack-berg 6bc24f4263
Stop setting Resource schemaUrl in autoconfigure (#5911) 2023-10-13 10:36:29 -05:00
Lauri Tulmin ae770ec442
Enable checking javadoc.io links (#5908) 2023-10-12 09:50:46 -05:00
Lauri Tulmin 8b7780b7c4
Remove obsolete comment (#5909) 2023-10-12 09:50:32 -05:00
renovate[bot] 3827ee1e5b
Update dependency com.google.api.grpc:proto-google-common-protos to v2.26.0 (#5894)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-11 14:05:39 -05:00
Lauri Tulmin 3c52cdf7f7
Prometheus exporter: omit empty otel_scope_info and otel_target_info metrics (#5887) 2023-10-11 13:42:06 -05:00
renovate[bot] cc8774fa0f
Update dependency io.netty:netty-bom to v4.1.100.Final (#5898)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-11 13:21:52 -05:00
renovate[bot] 311fc0a7be
Update dependency com.google.guava:guava to v32.1.3-jre (#5900)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-11 13:20:53 -05:00
renovate[bot] b60eff3698
Update dependency com.google.guava:guava-bom to v32.1.3-jre (#5901)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-11 13:20:26 -05:00
jack-berg 1523dedb55
Update to opentelemetry-configuration v0.1.0 (#5899) 2023-10-11 10:24:32 -05:00
jack-berg ef3fef9f42
Add file configuration to autoconfigure (#5831) 2023-10-09 09:41:26 -05:00
jack-berg 3c0bf72a5e
Post release 1.31.0 (#5892) 2023-10-09 09:24:11 -05:00
OpenTelemetry Bot 905184fb95
Update version to 1.32.0 (#5890) 2023-10-06 15:51:00 -05:00
jack-berg bf37a4ca58
Prepare 1.31.0 (#5888) 2023-10-06 15:10:48 -05:00
jack-berg 92abcb823b
Refactor advice API (#5848) 2023-10-06 13:33:10 -05:00
Lauri Tulmin 533c30ae02
Fix flaky MetricExporterConfigurationTest (#5877) 2023-10-05 14:19:18 -05:00
renovate[bot] c39ebfee25
Update dependency com.google.protobuf:protobuf-bom to v3.24.4 (#5879)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-05 14:18:45 -05:00
renovate[bot] 4addd7f4a1
Update plugin com.gradle.enterprise to v3.15.1 (#5882)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-05 14:18:26 -05:00
renovate[bot] 80201515e9
Update dependency gradle to v8.4 (#5881)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-05 14:18:07 -05:00
Tyler Benson 847d117db1
Move data dir to `benchmarks` (#5874) 2023-10-05 14:16:58 -05:00
renovate[bot] 1ad621b3f0
Update dependency org.testcontainers:testcontainers-bom to v1.19.1 (#5871)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-05 13:43:24 -05:00
Lauri Tulmin 7310b90530
Ignore javadoc.io links (#5878) 2023-10-05 13:34:19 -05:00
renovate[bot] 5ccc7fccb3
Update dependency checkstyle to v10.12.4 (#5868)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-02 10:42:36 -05:00
renovate[bot] 1ef437785a
Update dependency com.squareup.okio:okio-bom to v3.6.0 (#5869)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-02 10:17:41 -05:00
jack-berg 7e67a84ed3
Drop NaN measurements to metric instruments (#5859) 2023-10-02 10:17:27 -05:00
renovate[bot] bb4c2193aa
Update plugin com.diffplug.spotless to v6.22.0 (#5864)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-29 12:39:57 -05:00
renovate[bot] bac9941a58
Update dependency com.diffplug.spotless:spotless-plugin-gradle to v6.22.0 (#5863)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-29 11:56:44 -05:00
renovate[bot] c66a51c468
Update dependency io.netty:netty-bom to v4.1.99.Final (#5845)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-29 11:56:19 -05:00
jack-berg bdeb1e95cd
Add breedx-splk as approver (#5860) 2023-09-28 11:00:02 -05:00
Stephen Cprek 15fbac58f4
Add clearer docs around coroutine support with an example (#5799) 2023-09-28 10:31:36 -05:00
Pierre Tessier 8d27e24b21
Unify `queueSize` metric description and attribute (#5836) 2023-09-28 10:30:49 -05:00
jack-berg 1bd41e2b79
Remove semconv (#5807) 2023-09-27 14:42:04 -05:00
Tyler Benson aff4e12425
Add Benchmark workflows (#5842) 2023-09-27 14:00:39 -05:00
jack-berg f421ef1e73
Stabilize MetricProducer, allow custom MetricReaders (#5835) 2023-09-27 13:55:41 -05:00
jack-berg 6c8f5435db
Cleanup a few typos (#5855) 2023-09-26 15:37:28 -05:00
jason plumb 3f4793407d
Add addAllAttributes() to ReadWriteLogRecord. (#5825) 2023-09-26 13:45:25 -05:00
renovate[bot] 0f6b894f34
Update dependency com.squareup.wire:wire-bom to v4.9.1 (#5843)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-26 13:23:56 -05:00
renovate[bot] 4b4e894f0e
Update errorProneVersion to v2.22.0 (#5850)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-26 13:23:39 -05:00
renovate[bot] f09487a6fb
Update dependency com.google.api.grpc:proto-google-common-protos to v2.25.1 (#5851)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-26 13:23:21 -05:00
renovate[bot] 7083f440b9
Update dependency nl.jqno.equalsverifier:equalsverifier to v3.15.2 (#5852)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-26 13:23:04 -05:00
Asaf Mesika b0c337b075
Memory Mode support: Adding memory mode, and implementing it for Asynchronous Instruments (#5709)
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2023-09-26 13:21:46 -05:00
David Ashpole 9a931556fb
Prometheus exporter: handle colliding metric attribute keys (#5717)
Co-authored-by: Jack Berg <jberg@newrelic.com>
2023-09-20 15:12:15 -05:00
jason plumb 9b081e1933
Allow instrument names to contain a forward slash (#5824) 2023-09-15 15:15:35 -05:00
renovate[bot] e3cc1f0edb
Update docker/build-push-action action to v5 (#5821)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-15 12:58:39 -05:00
renovate[bot] 766e055879
Update docker/login-action action to v3 (#5822)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-15 12:58:24 -05:00
renovate[bot] 736b0ceb6f
Update plugin com.gradle.enterprise to v3.15 (#5826)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-15 12:58:13 -05:00
jack-berg 5d5093636b
ConfigurationReader handles null values as empty (#5829) 2023-09-15 10:48:51 -05:00
jack-berg 96c895893c
Post release v1.30.1 (#5817) 2023-09-11 17:42:20 -05:00
OpenTelemetry Bot 80335e35bd
Merge change log updates from release/v1.30.x (#5816) 2023-09-11 11:27:36 -05:00
renovate[bot] e242c1bbf7
Update autoValueVersion to v1.10.4 (#5808)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-11 10:21:02 -05:00
renovate[bot] b9b1e817ef
Update dependency com.google.auto.value:auto-value-annotations to v1.10.4 (#5809)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-11 10:20:43 -05:00
jack-berg 4a44474ff0
Delete PrometheusCustomizerProvider (#5811) 2023-09-11 10:00:07 -05:00
jack-berg d204124134
Post release 1.30.0 (#5805) 2023-09-11 09:32:13 -05:00
renovate[bot] a59b516f1b
Update dependency com.google.api.grpc:proto-google-common-protos to v2.24.0 (#5804)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-08 14:07:55 -05:00
Trask Stalnaker 3dd2f41037
Less renovate (pin docker/build-push-action@v4) (#5800) 2023-09-08 11:46:09 -05:00
OpenTelemetry Bot 07c8bfb4e2
Update version to 1.31.0 (#5802) 2023-09-08 11:28:54 -05:00
jack-berg d2fc9390ec
Prepare for 1.30.0 release (#5797) 2023-09-08 10:51:22 -05:00
jack-berg a438127c37
Deprecate semconv module (#5786) 2023-09-08 10:43:42 -05:00
renovate[bot] 0660781ed2
Update docker/build-push-action action to v4.2.1 (#5798)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-08 10:10:26 -05:00
renovate[bot] aa303d278a
Update dependency com.google.protobuf:protobuf-bom to v3.24.3 (#5796)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-07 17:57:06 -05:00
renovate[bot] c96285a7b0
Update dependency com.uber.nullaway:nullaway to v0.10.14 (#5794)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-07 16:35:57 -05:00
jack-berg a5889a685d
Add experimental synchronous gauge (#5506) 2023-09-07 14:58:51 -05:00
renovate[bot] 43ee51ca4a
Update dependency io.grpc:grpc-bom to v1.58.0 (#5792)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2023-09-07 11:01:55 -05:00
jack-berg 3f152ebe29
DefaultConfigProperties#getMap filters entries with blank values intead of throwing (#5784) 2023-09-06 20:32:32 -05:00
renovate[bot] 1cb4f1d356
Update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v1.9.10 (#5764)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-06 09:13:29 -05:00
jack-berg 1b9855748b
Fix README.md CI link, tweak status phrasing (#5791) 2023-09-05 15:14:37 -05:00
renovate[bot] 9cf3a59542
Update dependency com.uber.nullaway:nullaway to v0.10.13 (#5787)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-05 11:44:08 -05:00
renovate[bot] ffb4d23939
Update slf4jVersion to v2.0.9 (#5788)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-05 11:43:49 -05:00
renovate[bot] 1a719d42f9
Update actions/checkout action to v4 (#5789)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-05 11:42:37 -05:00
David Ashpole 2e2c308293
prometheus exporter: add units to metric names in TYPE and HELP comments (#5718) 2023-09-01 13:30:49 -05:00
Trask Stalnaker 14f16b002e
Increase metric name maximum length from 63 to 255 characters (#5697) 2023-08-31 10:24:24 -05:00
renovate[bot] 409976a422
Update dependency checkstyle to v10.12.3 (#5777)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-30 15:32:53 -05:00
renovate[bot] d2ce24a07b
Update plugin de.undercouch.download to v5.5.0 (#5776)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-30 15:30:30 -05:00
jack-berg da7927883c
General attribute limits configuration factory (#5779) 2023-08-30 14:31:05 -05:00
jack-berg 68d7ab5763
Fix prometheus integration test (#5783) 2023-08-30 13:27:47 -05:00
jack-berg 73faa33b99
Config properties from map (#5782) 2023-08-30 09:33:39 -05:00
renovate[bot] 5aa83c87fe
Update plugin com.diffplug.spotless to v6.21.0 (#5781)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-29 10:48:56 -05:00
renovate[bot] 37b2984b96
Update dependency com.diffplug.spotless:spotless-plugin-gradle to v6.21.0 (#5780)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-29 10:48:46 -05:00
jack-berg ce7323ee3d
Add SpanExporterFactory support for zipkin exporter (#5771) 2023-08-28 14:49:33 -05:00
jack-berg 01503efe97
Meter provider configuration factory (#5773) 2023-08-28 14:22:03 -05:00
renovate[bot] 7229c45513
Update dependency org.snakeyaml:snakeyaml-engine to v2.7 (#5775)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-28 14:21:47 -05:00
renovate[bot] 5d5c73416b
Update dependency com.google.protobuf:protobuf-bom to v3.24.2 (#5774)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-28 14:19:30 -05:00
jack-berg 2deb6d12ef
Add AttributesProcessor toString, add attribute filter helper (#5765) 2023-08-25 12:53:14 -05:00
jack-berg 2f7b3c2bb2
Update to latest opentelemetry-configuration, add disabled support (#5766) 2023-08-25 10:31:58 -05:00
renovate[bot] 7b51d4bbf8
Update plugin org.graalvm.buildtools.native to v0.9.25 (#5770)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-25 10:08:45 -05:00
jack-berg 3a709a7059
Add Sampler configuration factory (#5763) 2023-08-25 10:01:32 -05:00
renovate[bot] 604bdbd92a
Update dependency com.linecorp.armeria:armeria-bom to v1.25.2 (#5768)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-25 10:01:19 -05:00
jack-berg e0a0b7768e
Add ConfigurableMetricReaderProvider SPI (#5755) 2023-08-24 12:54:24 -05:00
jack-berg 4fdd2ed81e
Add Resource configuration factory (#5757) 2023-08-24 10:57:23 -05:00
renovate[bot] b78145fa3c
Update dependency com.linecorp.armeria:armeria-bom to v1.25.1 (#5761)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-24 10:47:42 -05:00
jack-berg d64793ab55
Add ContextPropagators configuration factory (#5758) 2023-08-24 10:43:35 -05:00
Mateusz Rzeszutek 4aacac4707
Revert kotlin upgrade; the newest version does not agree with CodeQL (#5762) 2023-08-24 10:15:54 -05:00
jack-berg d855771dc3
Fix gradle build deprecation warnings (#5759) 2023-08-24 08:58:44 -05:00
jack-berg 3b1c6d9108
Remove lingering zpages images (#5756) 2023-08-23 15:23:59 -05:00
jack-berg 8e04a6887f
Add SdkTracerProvider configuration factory (#5751) 2023-08-23 12:29:22 -05:00
renovate[bot] 1b2307ba70
Update dependency io.netty:netty-bom to v4.1.97.Final (#5754)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-23 11:25:56 -05:00
renovate[bot] 01ddfc5bbe
Update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v1.9.10 (#5753)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-23 11:25:45 -05:00
Mateusz Rzeszutek 4b06f09504
Implement attributes advice for the rest of the instruments (#5722) 2023-08-23 11:25:35 -05:00
renovate[bot] 32d591ae53
Update dependency com.linecorp.armeria:armeria-bom to v1.25.0 (#5748)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2023-08-22 14:30:40 -05:00
renovate[bot] 3c9eb62bd2
Update dependency org.testcontainers:testcontainers-bom to v1.19.0 (#5747)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-22 13:47:15 -05:00
jack-berg 733a2eec60
Initialize configuration factory (#5687) 2023-08-22 13:45:54 -05:00
jack-berg 917d75d637
Retry requests in PrometheusHttpServerTest (#5750) 2023-08-22 12:47:52 -05:00
David Ashpole 3669e7a2ae
prometheus exporter: remove non-ucum units from conversion (#5719) 2023-08-21 18:16:31 -05:00
renovate[bot] 6999ebd1f1
Update dependency checkstyle to v10 (#5736)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2023-08-21 18:15:36 -05:00
renovate[bot] fa7f704c73
Update dependency com.google.protobuf:protobuf-bom to v3.24.1 (#5740)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-21 16:57:18 -05:00
jack-berg 6a572bbc47
Remove dependabot gradle wrapper (#5746) 2023-08-21 16:44:21 -05:00
renovate[bot] 91713f440c
Update dependency checkstyle to v8.45.1 (#5735)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2023-08-21 16:44:11 -05:00
renovate[bot] 392116ddd5
Update dependency com.squareup.wire:wire-bom to v4.8.1 (#5739)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-21 13:29:37 -05:00
renovate[bot] 0da729ff57
Update dependency org.owasp:dependency-check-gradle to v8.4.0 (#5741)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-21 13:29:08 -05:00
renovate[bot] c0f0ff8bca
Update dependency jacoco to v0.8.10 (#5734)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-18 15:42:40 -05:00
renovate[bot] a85feae1ef
Update dependency ubuntu to v22 (#5737)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-18 15:34:41 -05:00
Trask Stalnaker 35cdb5e979
Use squareup wire bom (#5738) 2023-08-18 15:34:27 -05:00
renovate[bot] 3ff34ceb43
Configure Renovate (#5726)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2023-08-18 10:47:11 -05:00
github-actions[bot] 97dd4192ce
Update Gradle Wrapper from 8.2.1 to 8.3 (#5728)
Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc>
Co-authored-by: gradle-update-robot <gradle-update-robot@regolo.cc>
2023-08-18 10:44:58 -05:00
Trask Stalnaker 666bef3019
Add renovate/**/** branch protection rule (#5725) 2023-08-17 10:18:57 -05:00
jack-berg 0e6344798d
Remove unused com.github.ben-manes.versions plugin (#5720) 2023-08-16 16:52:58 -05:00
jack-berg d8407320df
Fix build from bad merge (#5721) 2023-08-16 15:56:20 -05:00
dependabot[bot] d61c74b4e7
Bump autoValueVersion from 1.10.2 to 1.10.3 (#5713)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-16 14:20:25 -05:00
dependabot[bot] 223e615e7e
Bump io.grpc:grpc-bom from 1.57.1 to 1.57.2 (#5714)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-16 14:20:10 -05:00
Mateusz Rzeszutek 35b41ab484
Add attributes advice API (just `DoubleCounter` for now) (#5677) 2023-08-16 14:20:00 -05:00
jack-berg ff79bb7094
Update build to use ubuntu-latest, java 20 (#5711) 2023-08-15 16:59:11 -05:00
jack-berg bebf684436
Add missing OTLP logging exporter to README (#5708) 2023-08-13 20:47:36 -05:00
jack-berg b3376a25d0
Post release 1.29.0 (#5707) 2023-08-11 15:39:57 -05:00
OpenTelemetry Bot bb55bcc736
Update version to 1.30.0 (#5704) 2023-08-11 11:15:31 -05:00
jack-berg f7dc1dc686
Prepare for 1.29.0 release (#5698) 2023-08-11 10:54:22 -05:00
jack-berg 7ee92eb365
Instruments with names which are case-insensitive equal contribute to… (#5701) 2023-08-11 10:20:23 -05:00
jack-berg ebf96dc5de
Fix owasp dependency check (#5702) 2023-08-10 15:56:56 -05:00
jack-berg 288c5df620
Add hasResourceSatisfying to LogRecordDataAssert (#5690) 2023-08-10 09:32:37 -05:00
dependabot[bot] e42bd2fb10
Bump com.tngtech.archunit:archunit-junit5 from 1.0.1 to 1.1.0 (#5700)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-10 09:32:21 -05:00
Trask Stalnaker ea7b761757
Enforce build-graal success in required status check (#5696) 2023-08-09 15:34:21 -05:00
jack-berg a3bf8af42e
Break out GrpcSender, GrpcSenderProvider (#5617) 2023-08-09 14:45:31 -05:00
dependabot[bot] c5cdc8041a
Bump org.graalvm.buildtools.native from 0.9.23 to 0.9.24 (#5692)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-09 14:45:20 -05:00
dependabot[bot] 076115ee6b
Bump com.google.protobuf:protobuf-bom from 3.23.4 to 3.24.0 (#5695)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-09 14:08:45 -05:00
jason plumb 877070329e
Add LongHistogramAdviceConfigurer to improve api surface types (#5689) 2023-08-09 13:49:41 -05:00
jack-berg f27280af7d
Add experimental autoconfigure support for customizing cardinality limit (#5659) 2023-08-09 13:48:56 -05:00
jack-berg 37f901afbc
Add toString to OTLP exporters (#5686)
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2023-08-09 13:39:38 -05:00
dependabot[bot] e980e8b97d
Bump errorProneVersion from 2.21.0 to 2.21.1 (#5684)
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-08-09 12:49:13 -05:00
Parth Dadhaniya f52050bc2d
Merge the current Resource object with custom Resource Object. (#5619) 2023-08-09 10:28:25 -05:00
Trask Stalnaker 88c80b1378
Switch from snakeyaml to snakeyaml engine (#5691) 2023-08-08 15:14:47 -05:00
dependabot[bot] d4a3b3b680
Bump org.yaml:snakeyaml from 2.0 to 2.1 (#5685)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-07 10:50:10 -05:00
jack-berg 7eaffc8f83
Refactor SpiUtil to improve mocking (#5679) 2023-08-07 10:45:38 -05:00
jack-berg 50a81fae9c
Add OtlpGrpc{Signal}Exporter#toBuilder() methods (#5680) 2023-08-07 10:45:26 -05:00
dependabot[bot] 80de3281fb
Bump org.yaml:snakeyaml from 1.31 to 2.0 (#5682)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-04 13:37:49 -05:00
dependabot[bot] e68a3e70c6
Bump jmhVersion from 1.36 to 1.37 (#5681)
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 <34418638+jack-berg@users.noreply.github.com>
2023-08-04 13:32:40 -05:00
dependabot[bot] 6ea0e80a0b
Bump io.grpc:grpc-bom from 1.56.1 to 1.57.1 (#5672)
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 13:32:27 -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
dependabot[bot] 075e3cb862
Bump com.google.api.grpc:proto-google-common-protos from 2.22.1 to 2.23.0 (#5671)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-03 18:16:39 -05:00
dependabot[bot] f0136a12f6
Bump com.squareup.okio:okio-bom from 3.4.0 to 3.5.0 (#5676)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-03 18:16:11 -05:00
dependabot[bot] f15937974b
Bump com.uber.nullaway:nullaway from 0.10.11 to 0.10.12 (#5675)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-03 18:16:01 -05:00
dependabot[bot] 4841b50f17
Bump nl.jqno.equalsverifier:equalsverifier from 3.15 to 3.15.1 (#5674)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-03 18:15:49 -05:00
dependabot[bot] d38970886b
Bump org.junit:junit-bom from 5.9.3 to 5.10.0 (#5646)
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-03 18:15:37 -05:00
jack-berg a9b285de3b
Reorganize autoconfigure docs by signal (#5665) 2023-08-03 15:38:05 -05:00
jack-berg d03b485415
Add OtlpHttp{Signal}Exporter#toBuilder() methods (#5652) 2023-08-03 15:22:52 -05:00
jack-berg 90ab3665dc
Initialize file configuration (#5399) 2023-08-03 10:41:43 -05:00
Aaron Abbott c5c9fdd882
Change OpenCensus shim default sampling to defer to OpenTelemetry (#5604) 2023-08-02 08:34:34 -07:00
dependabot[bot] 7ae32c90e0
Bump io.netty:netty-bom from 4.1.95.Final to 4.1.96.Final (#5660)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-01 15:02:29 -05:00
dependabot[bot] 877b5e4782
Bump com.google.guava:guava-bom from 32.1.1-jre to 32.1.2-jre (#5666)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-01 15:00:34 -05:00
dependabot[bot] fb26704401
Bump me.champeau.gradle:japicmp-gradle-plugin from 0.4.1 to 0.4.2 (#5667)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-01 14:59:45 -05:00
dependabot[bot] dc1b47413e
Bump com.google.guava:guava from 32.1.1-jre to 32.1.2-jre (#5668)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-01 14:59:33 -05:00
dependabot[bot] ad6cbfc4b4
Bump com.linecorp.armeria:armeria-bom from 1.24.2 to 1.24.3 (#5653)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-27 16:21:19 -05:00
dependabot[bot] 9ea8324ad8
Bump io.opentelemetry.proto:opentelemetry-proto from 0.20.0-alpha to 1.0.0-alpha (#5657)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-27 16:20:58 -05:00
dependabot[bot] f79f1566fd
Bump com.gradle.enterprise from 3.14 to 3.14.1 (#5658)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-27 16:19:27 -05:00
dependabot[bot] 4e745f36f2
Bump com.squareup.wire:wire-compiler from 4.7.2 to 4.8.0 (#5648)
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 <34418638+jack-berg@users.noreply.github.com>
2023-07-24 18:22:44 -05:00
dependabot[bot] 70185661f2
Bump com.squareup.wire:wire-gradle-plugin from 4.7.2 to 4.8.0 (#5647)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-24 16:34:04 -05:00
dependabot[bot] fab7d13376
Bump gradle/wrapper-validation-action from 1.0.6 to 1.1.0 (#5645)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-24 16:33:42 -05:00
dependabot[bot] 4c6a493eeb
Bump io.netty:netty-bom from 4.1.94.Final to 4.1.95.Final (#5644)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-24 16:33:26 -05:00
dependabot[bot] 7731460a9a
Bump com.google.api.grpc:proto-google-common-protos from 2.22.0 to 2.22.1 (#5643)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-24 16:33:15 -05:00
dependabot[bot] 2d6b26b10d
Bump com.gradle.enterprise from 3.13.4 to 3.14 (#5638)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-19 08:30:26 -07:00
Keith W. Campbell abada81018
Refer to Adoptium/Temurin instead of AdoptOpenJDK (#5636)
Signed-off-by: Keith W. Campbell <keithc@ca.ibm.com>
2023-07-18 16:50:15 -07:00
jack-berg 0924684d22
Remove reference to dead link in RELEASING.md (#5625) 2023-07-18 12:20:13 -05:00
jack-berg 81876ab38a
Fix gradle java version requirement warning (#5624) 2023-07-18 12:20:02 -05:00
jack-berg 0830039dcf
Remove redundant gradle dependencies (#5621) 2023-07-18 12:19:44 -05:00
dependabot[bot] 017afb893e
Bump com.diffplug.spotless:spotless-plugin-gradle from 6.19.0 to 6.20.0 (#5634)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-18 12:19:21 -05:00
dependabot[bot] e11d7a9252
Bump com.diffplug.spotless from 6.19.0 to 6.20.0 (#5635)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-18 12:19:10 -05:00
jack-berg b0c5c04181
Use OtelVersionClassPlugin instead of reading version from resource (#5622) 2023-07-11 19:51:29 -05:00
jason plumb 16e7113dcc
Update javadoc to allow null/empty attr values (#5616) 2023-07-11 12:41:43 -05:00
jack-berg a781ba8fa9
Suppress test logs (#5620) 2023-07-11 12:19:56 -05:00
github-actions[bot] 61a1898a3f
Update Gradle Wrapper from 8.2 to 8.2.1 (#5618)
Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc>
Co-authored-by: gradle-update-robot <gradle-update-robot@regolo.cc>
2023-07-11 10:43:27 -05:00
jack-berg 9ecc6f08d8
Delete zpages (#5611) 2023-07-10 17:32:16 -05:00
dependabot[bot] 9b9efa64a7
Bump com.google.api.grpc:proto-google-common-protos from 2.21.0 to 2.22.0 (#5612)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 09:38:34 -05:00
dependabot[bot] 8e9f04eba0
Bump com.squareup.okio:okio-bom from 3.3.0 to 3.4.0 (#5613)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 09:38:16 -05:00
dependabot[bot] fdf3a93466
Bump nl.jqno.equalsverifier:equalsverifier from 3.14.3 to 3.15 (#5614)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 09:37:50 -05:00
jack-berg 9dca081eb5
Post release 1.28.0 (#5610) 2023-07-07 12:39:37 -05:00
OpenTelemetry Bot faa946539d
Update version to 1.29.0 (#5607) 2023-07-07 07:22:48 -05:00
jack-berg 087a4f1ac6
Prepare 1.28.0 (#5602) 2023-07-07 06:57:26 -05:00
dependabot[bot] 11a23d4d34
Bump org.jetbrains.kotlin:kotlin-gradle-plugin from 1.8.22 to 1.9.0 (#5606)
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-07-07 06:53:39 -05:00
dependabot[bot] 0f0f988410
Bump com.google.protobuf:protobuf-bom from 3.23.2 to 3.23.4 (#5605)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-07 06:25:18 -05:00
jack-berg aab7159327
Add experimental JdkHttpSender (#5557) 2023-07-06 15:42:08 -05:00
jack-berg cb4d13de47
Add Gregor Zeitlinger as triager (#5601) 2023-07-06 15:34:26 -05:00
jack-berg 7bd06ef189
Stabilize RetryPolicy API for OTLP exporters (#5524) 2023-07-06 09:52:18 -05:00
jack-berg b5b02eb044
After cardinality limit exceeded record measurements to overflow series (#5560) 2023-07-06 08:14:31 -05:00
dependabot[bot] d5579fa7fa
Bump ru.vyarus:gradle-animalsniffer-plugin from 1.7.0 to 1.7.1 (#5599)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-06 08:14:15 -05:00
Trask Stalnaker f20ee6ccbf
Delete old bot account (#5590) 2023-07-05 05:47:51 -05:00
Trask Stalnaker 1e46732774
Make gradle update PRs run workflows (#5591) 2023-07-05 05:47:21 -05:00
dependabot[bot] eec86a495c
Bump io.grpc:grpc-bom from 1.56.0 to 1.56.1 (#5593)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-05 05:46:32 -05:00
dependabot[bot] 03b3f05892
Bump com.google.guava:guava from 32.1.0-jre to 32.1.1-jre (#5592)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-05 05:46:22 -05:00
dependabot[bot] 47efe8512a
Bump com.google.guava:guava-bom from 32.1.0-jre to 32.1.1-jre (#5594)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-05 05:46:11 -05:00
github-actions[bot] eee809a514
Update Gradle Wrapper from 8.1.1 to 8.2 (#5589)
Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc>
Co-authored-by: gradle-update-robot <gradle-update-robot@regolo.cc>
2023-07-05 05:45:48 -05:00
jack-berg 749d3164cc
Deprecate jaeger exporters (#5190) 2023-07-01 07:23:18 -05:00
dependabot[bot] 187272484e
Bump com.google.guava:guava-bom from 32.0.1-jre to 32.1.0-jre (#5585)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-30 09:24:21 -05:00
dependabot[bot] fb503b4c53
Bump com.google.guava:guava from 32.0.1-jre to 32.1.0-jre (#5586)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-30 09:23:56 -05:00
jack-berg 06d26562f7
Rename artifact to opentelemetry-exporter-sender-okhttp (#5582) 2023-06-30 08:58:10 -05:00
jack-berg f0f78cc9bd
Fix batch log record processor default (#5584) 2023-06-30 08:55:57 -05:00
Gregor Zeitlinger 45fc05d8ca
fix comment for registerView (#5587) 2023-06-30 08:55:47 -05:00
jack-berg 879f2fb8cf
Fix more gradle warnings (#5583) 2023-06-29 17:03:41 -05:00
dependabot[bot] 83de956128
Bump autoValueVersion from 1.10.1 to 1.10.2 (#5579)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-29 10:34:42 -05:00
dependabot[bot] 3f9f983a70
Bump com.linecorp.armeria:armeria-bom from 1.24.1 to 1.24.2 (#5580)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-29 10:34:22 -05:00
jack-berg 2a73a6f992
Deprecate zpages from opentelemetry-sdk-extension-incubator (#5578) 2023-06-29 10:14:00 -05:00
jack-berg 6ab37f1a3b
Mark opentelemetry-sdk-extension-autoconfigure as stable (#5577) 2023-06-28 10:40:06 -05:00
Tyler Benson 655b77f679
Add support for low memory metric temporality setting (#5558) 2023-06-27 16:59:59 -05:00
jack-berg 73597b1332
Move autoconfigure getConfig to internal, remove getResource (#5467) 2023-06-27 12:45:53 -05:00
dependabot[bot] ddb47e14c8
Bump nl.jqno.equalsverifier:equalsverifier from 3.14.2 to 3.14.3 (#5574)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-26 11:38:31 -05:00
jack-berg 8c8bf06098
Remove redundant SPI dependencies (#5573) 2023-06-26 11:05:19 -05:00
dependabot[bot] 9fb6403717
Bump org.owasp:dependency-check-gradle from 8.2.1 to 8.3.1 (#5568)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-23 13:24:02 -05:00
dependabot[bot] b70e7dc030
Bump com.uber.nullaway:nullaway from 0.10.10 to 0.10.11 (#5567)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-23 13:23:54 -05:00
dependabot[bot] 68d373018a
Bump com.google.api.grpc:proto-google-common-protos from 2.20.0 to 2.21.0 (#5566)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-23 13:23:45 -05:00
jack-berg bcec7e9380
Add public API to access environment resource (#5554) 2023-06-22 16:28:21 -05:00
jack-berg 0e318fb84c
AutoConfiguredOpenTelemetrySdkBuilder does not set GlobalOpenTelemetry by default (#5564) 2023-06-22 16:14:24 -05:00
jack-berg cb6d7133ac
Refactor autoconfigure registerShutdownHook(boolean) to disableShutdownHook() (#5565) 2023-06-22 16:02:32 -05:00
dependabot[bot] 4fdfc15633
Bump com.linecorp.armeria:armeria-bom from 1.24.0 to 1.24.1 (#5562)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-22 10:02:19 -05:00
dependabot[bot] 93eac2538c
Bump com.squareup.wire:wire-compiler from 4.7.0 to 4.7.2 (#5550)
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-06-21 16:32:13 -05:00
dependabot[bot] c119554526
Bump io.netty:netty-bom from 4.1.93.Final to 4.1.94.Final (#5559)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-21 16:29:20 -05:00
jack-berg fec52b431c
Fix prometheus integration test (#5561) 2023-06-21 15:53:16 -05:00
jack-berg 07a1bb4419
Fix various gradle warnings (#5556) 2023-06-21 11:15:05 -05:00
dependabot[bot] e5e3f915f0
Bump org.graalvm.buildtools.native from 0.9.22 to 0.9.23 (#5547)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-20 09:51:59 -05:00
dependabot[bot] 5fc9c0e852
Bump com.gradle.enterprise from 3.13.3 to 3.13.4 (#5552)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-20 09:51:40 -05:00
jack-berg 8f1a7b1c95
Add HttpSenderProvider SPI (#5533) 2023-06-16 16:41:59 -05:00
Gregor Zeitlinger c42f3df806
show duplicated metric tags (#5542) 2023-06-16 08:47:04 -05:00
dependabot[bot] b558a01262
Bump com.linecorp.armeria:armeria-bom from 1.23.1 to 1.24.0 (#5545)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-16 08:35:04 -05:00
Mateusz Rzeszutek 26dd5d8fdf
Fix OTLP exporter artifact name in an error message (#5541) 2023-06-15 14:02:02 -05:00
jack-berg 0530e63579
Remove uneecessary :exporter:otlp:common dependencies (#5535) 2023-06-14 11:05:59 -05:00
Bogdan Drutu cf3b0efdaf
Make Advice proper immutable class (#5532)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2023-06-14 10:11:13 -05:00
dependabot[bot] 89a2ece43d
Bump docker/build-push-action from 4.1.0 to 4.1.1 (#5536)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-14 10:10:57 -05:00
dependabot[bot] 255d1385a4
Bump io.grpc:grpc-bom from 1.55.1 to 1.56.0 (#5537)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-14 10:10:40 -05:00
jack-berg 1a8a02c991
Try to improve build scan reliability (#5539) 2023-06-14 10:04:31 -05:00
damian-les a7a70aa7c1
Update JavaDoc of SystemClock class (#5477)
Co-authored-by: Jack Berg <jberg@newrelic.com>
2023-06-14 09:18:37 -05:00
github-actions[bot] 04f5255245
Update Gradle Wrapper from 8.0.1 to 8.1.1 (#5531)
Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc>
Co-authored-by: gradle-update-robot <gradle-update-robot@regolo.cc>
2023-06-14 09:13:52 -05:00
jack-berg b8758d42fc
Document github actions secrets (#5534) 2023-06-14 09:07:49 -05:00
jack-berg 0a2dd9e569
Add new branch rule for gradlew-update-* (#5530) 2023-06-13 15:36:25 -05:00
jack-berg f89fc05f84
Add HttpSender abstraction (#5505) 2023-06-13 13:20:33 -05:00
dependabot[bot] ac0b4e4f3f
Bump com.github.ben-manes.versions from 0.46.0 to 0.47.0 (#5527)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-13 10:34:48 -05:00
dependabot[bot] 82f37672d6
Bump docker/build-push-action from 4.0.0 to 4.1.0 (#5526)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-13 10:34:13 -05:00
jack-berg b23ef1855e
Add action to auto update gradle wrapper (#5511) 2023-06-09 16:49:45 -05:00
jack-berg 2819f72745
Update version in docs (#5523) 2023-06-09 14:15:36 -05:00
jack-berg 401b30418c
Publish build scans to ge.opentelemetry.io (#5510) 2023-06-09 12:07:48 -05:00
OpenTelemetry Bot a1df5269c8
Update version to 1.28.0 (#5520) 2023-06-09 11:36:17 -05:00
jack-berg 5518060d17
Prepare for 1.27.0 release (#5514) 2023-06-09 10:52:41 -05:00
dependabot[bot] f65083628f
Bump com.google.guava:guava-bom from 32.0.0-jre to 32.0.1-jre (#5516)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-09 10:10:19 -05:00
dependabot[bot] 8d96280ce5
Bump com.google.guava:guava from 32.0.0-jre to 32.0.1-jre (#5515)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-09 10:09:50 -05:00
jack-berg 331c6af8d6
Experimental metric reader and view cardinality limits (#5494) 2023-06-08 13:20:19 -05:00
Pranav Sharma 4d034b08e8
Append unit to prometheus metric names (#5400) 2023-06-08 13:20:04 -05:00
jack-berg 951221efcc
Reset exponential aggregator scale after collection (#5496) 2023-06-08 13:19:32 -05:00
dependabot[bot] 1b2c7db3b0
Bump org.jetbrains.kotlin:kotlin-gradle-plugin from 1.8.21 to 1.8.22 (#5512)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-08 10:41:38 -05:00
dependabot[bot] f6e3e43467
Bump io.opentelemetry.proto:opentelemetry-proto from 0.19.0-alpha to 0.20.0-alpha (#5513)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-08 10:04:59 -05:00
dependabot[bot] 7b8608591e
Bump com.google.protobuf:protobuf-bom from 3.23.1 to 3.23.2 (#5483)
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-06-07 15:01:11 -05:00
dependabot[bot] 3120a8d0bf
Bump com.google.api.grpc:proto-google-common-protos from 2.19.1 to 2.20.0 (#5508)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-07 11:20:35 -05:00
jack-berg bbd3246896
Fix log sdk status typo in readme (#5507) 2023-06-07 10:12:46 -05:00
jack-berg 9bc34d7621
Update to semconv 1.20.0 (#5497) 2023-06-02 12:35:47 -07:00
jack-berg e637e5121a
Ensure correct compiled output and sources are included in multi version jar (#5487) 2023-06-02 10:34:42 -07:00
dependabot[bot] 97415aaf7c
Bump io.github.netmikey.logunit:logunit-jul from 1.1.3 to 2.0.0 (#5502)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-02 09:51:59 -05:00
dependabot[bot] 60bb0a7025
Bump org.testcontainers:testcontainers-bom from 1.18.2 to 1.18.3 (#5499)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-01 16:50:06 -05:00
dependabot[bot] 4a370a20d3
Bump nl.jqno.equalsverifier:equalsverifier from 3.14.1 to 3.14.2 (#5498)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-01 16:49:56 -05:00
Maksym Ochenashko 0ab6915b3c
Add meaningful `.toString` to `NoopLogRecordProcessor` and `DefaultOpenTelemetry` (#5493) 2023-06-01 06:20:13 -07: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] 4850f471cf
Bump org.testcontainers:testcontainers-bom from 1.18.1 to 1.18.2 (#5492)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-31 09:53:55 -07:00
dependabot[bot] c790530eaa
Bump com.fasterxml.jackson:jackson-bom from 2.15.1 to 2.15.2 (#5491)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-31 09:53:22 -07:00
jack-berg bbf7822e67
Use managed guava version in :sdk-extensions:jaeger-remote-sampler (#5486) 2023-05-31 06:51:58 -05:00
dependabot[bot] 83f91444c3
Bump com.squareup.wire:wire-compiler from 4.6.2 to 4.7.0 (#5480)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-30 13:33:27 -05:00
dependabot[bot] ca32c02509
Bump com.gradle.enterprise from 3.13.2 to 3.13.3 (#5478)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-30 13:02:09 -05:00
dependabot[bot] 958970744f
Bump com.google.api.grpc:proto-google-common-protos from 2.18.0 to 2.19.1 (#5479)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-30 13:01:54 -05:00
dependabot[bot] a6eb30f97d
Bump com.squareup.wire:wire-gradle-plugin from 4.6.2 to 4.7.0 (#5472)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-30 13:01:21 -05:00
dependabot[bot] a91a4a66be
Bump io.netty:netty-bom from 4.1.92.Final to 4.1.93.Final (#5481)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-30 12:58:24 -05:00
dependabot[bot] 43cc261df4
Bump com.google.guava:guava-bom from 31.1-jre to 32.0.0-jre (#5484)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-30 12:58:13 -05:00
dependabot[bot] e05e4fed87
Bump com.google.guava:guava from 31.1-jre to 32.0.0-jre (#5485)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-30 12:05:21 -05:00
dependabot[bot] c201396f57
Bump com.diffplug.spotless from 6.18.0 to 6.19.0 (#5470)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-24 08:34:01 -07:00
Ken Finnigan 93bcdf2870
Update Contribution guidelines with Java version for building (#5466) 2023-05-18 13:22:41 -07:00
dependabot[bot] 78dfa21084
Bump com.fasterxml.jackson:jackson-bom from 2.15.0 to 2.15.1 (#5459)
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-05-18 09:45:13 -05:00
dependabot[bot] 9384baf1cf
Bump com.google.protobuf:protobuf-bom from 3.23.0 to 3.23.1 (#5461)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-18 08:24:34 -05:00
Mateusz Rzeszutek 5676f466d0
Add a `hasBucketBoundaries()` variant that allows specifying precision (#5457) 2023-05-18 08:21:58 -05:00
jack-berg 0bad3c982a
Add exemplar to otlp integration test (#5460) 2023-05-17 17:22:42 -05:00
dependabot[bot] 0230d9d133
Bump errorProneVersion from 2.18.0 to 2.19.1 (#5443)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-17 09:59:17 -05:00
jack-berg 85f3fd8545
Enable otlp logs by default (#5433) 2023-05-17 09:19:36 -05:00
lu-xiaoshuang bf8be57253
fix doc for OpenTelemetry class (#5454) 2023-05-16 16:57:07 -07:00
dependabot[bot] a5e04aae6d
Bump net.ltgt.gradle:gradle-nullaway-plugin from 1.5.0 to 1.6.0 (#5452)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-16 16:56:35 -07:00
jack-berg 06cc7c1d67
Merge otlp logs (#5432) 2023-05-15 07:14:35 -05:00
jack-berg 7df86527ce
Fix broken link (#5451) 2023-05-14 13:10:01 -07:00
dependabot[bot] d45dce3b2a
Bump errorProneVersion from 2.18.0 to 2.19.0 (#5435)
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-05-12 15:59:51 -05:00
jack-berg d67faf2aef
Merge sdk logs testing (#5431) 2023-05-12 15:59:12 -05:00
dependabot[bot] d5e715aaa8
Bump com.squareup.wire:wire-compiler from 4.6.0 to 4.6.2 (#5445)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-12 08:29:32 -05:00
dependabot[bot] 1e2dd6a846
Bump org.testcontainers:testcontainers-bom from 1.18.0 to 1.18.1 (#5448)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-12 07:30:24 -05:00
dependabot[bot] 355e29a02f
Bump io.zipkin.brave:brave-bom from 5.15.1 to 5.16.0 (#5446)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-12 07:30:02 -05:00
dependabot[bot] 3ca54944cb
Bump org.graalvm.buildtools.native from 0.9.21 to 0.9.22 (#5447)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-12 07:28:09 -05:00
dependabot[bot] 6cac13fc6c
Bump com.squareup.wire:wire-gradle-plugin from 4.6.1 to 4.6.2 (#5449)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-12 07:27:24 -05:00
dependabot[bot] 03b672c017
Bump com.squareup.wire:wire-gradle-plugin from 4.6.0 to 4.6.1 (#5444)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-11 15:45:27 -05:00
dependabot[bot] 47ee573f07
Bump com.google.api.grpc:proto-google-common-protos from 2.17.0 to 2.18.0 (#5439)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-10 06:46:01 -05:00
dependabot[bot] eca8de991f
Bump com.gradle.enterprise from 3.13.1 to 3.13.2 (#5438)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-10 06:45:39 -05:00
jack-berg 8a917e036c
Promote log API / SDK to stable (#5341) 2023-05-10 06:45:20 -05:00
dependabot[bot] 48785a358d
Bump io.grpc:grpc-bom from 1.54.1 to 1.55.1 (#5434)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-09 18:05:37 -05:00
dependabot[bot] 862f301188
Bump com.google.protobuf:protobuf-bom from 3.22.4 to 3.23.0 (#5436)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-09 18:05:22 -05:00
jack-berg 7812ad82e2
Post release 1.26.0 (#5430) 2023-05-05 16:48:41 -05:00
OpenTelemetry Bot 287fae63d7
Update version to 1.27.0 (#5427) 2023-05-05 14:36:06 -05:00
jack-berg 37b6fc909e
Prepare 1.26.0 (#5424) 2023-05-05 14:12:01 -05:00
jack-berg 030d966c0a
Log Bridge API / SDK cleanup (#5420) 2023-05-05 13:37:55 -05:00
Francisco Bento db8ade397f
Add new TLS related APIs on Jaeger buiders. (#5422) 2023-05-05 13:35:48 -05:00
jack-berg a91995e5af
Rename misnamed setSslContext method (#5425) 2023-05-05 09:02:48 -05:00
dependabot[bot] 951c46e92f
Bump com.google.protobuf:protobuf-bom from 3.22.3 to 3.22.4 (#5423)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-05 07:56:53 -05:00
DondekarShraddha 4af30515a4
fixes jaeger remote sampler service strategies bug (#5418) 2023-05-05 07:23:25 -05:00
dependabot[bot] 23c5516252
Bump com.gradle.enterprise from 3.13 to 3.13.1 (#5419)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-04 07:27:55 -05:00
dependabot[bot] 29e675b566
Bump com.squareup.wire:wire-compiler from 4.5.6 to 4.6.0 (#5415)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-04 07:27:28 -05:00
dependabot[bot] 09ee0d2715
Bump com.squareup.wire:wire-gradle-plugin from 4.5.6 to 4.6.0 (#5416)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-03 20:54:50 -05:00
dependabot[bot] 010692cb2f
Bump io.zipkin.reporter2:zipkin-reporter-bom from 2.16.3 to 2.16.4 (#5414)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-03 20:54:41 -05:00
jack-berg a96fd683ac
Mark opentracing-shim as stable (#5371) 2023-05-03 20:34:05 -05:00
jason plumb 5f9dc3f669
Add new TLS related APIs on OTLP exporter builders. (#5280) 2023-05-03 20:29:30 -05:00
jack-berg f4184dfde8
Update prometheus test to reflect new collector behavior (#5417) 2023-05-03 18:50:44 -05:00
SSpirits 6ba5919229
Add check for metrics name to prevent add duplicated _total suffix (#5308) 2023-05-02 10:11:56 -05:00
chukun 034d65bfc1
Fix a typo in autoconfigure-spi module. (#5409) 2023-04-27 07:30:22 -05:00
Donnerbart 85fb3906e0
Add missing links to deprecated constants in SemanticAttributes (#5406) 2023-04-27 07:29:40 -05:00
dependabot[bot] 5165ec7ffe
Bump org.junit:junit-bom from 5.9.2 to 5.9.3 (#5410)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-27 07:29:21 -05:00
dependabot[bot] c31314c70b
Bump com.fasterxml.jackson:jackson-bom from 2.14.2 to 2.15.0 (#5398)
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-26 09:26:00 -05:00
dependabot[bot] 6b88f7c42e
Bump com.squareup.wire:wire-gradle-plugin from 4.5.5 to 4.5.6 (#5402)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-26 08:05:11 -05:00
dependabot[bot] c661673337
Bump com.google.api.grpc:proto-google-common-protos from 2.16.0 to 2.17.0 (#5401)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-26 07:46:05 -05:00
dependabot[bot] 3d760ffe17
Bump com.squareup.wire:wire-compiler from 4.5.5 to 4.5.6 (#5404)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-26 07:45:13 -05:00
dependabot[bot] 1bd35af649
Bump org.jetbrains.kotlin:kotlin-gradle-plugin from 1.8.20 to 1.8.21 (#5405)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-26 07:44:35 -05:00
dependabot[bot] 193a5c466e
Bump io.netty:netty-bom from 4.1.91.Final to 4.1.92.Final (#5403)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-26 07:44:23 -05:00
dependabot[bot] 9f600741ed
Bump net.ltgt.gradle:gradle-errorprone-plugin from 3.0.1 to 3.1.0 (#5396)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-24 10:48:42 -05:00
dependabot[bot] 5a18135435
Bump com.squareup.okhttp3:okhttp-bom from 4.10.0 to 4.11.0 (#5397)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-24 10:48:30 -05:00
Trask Stalnaker f92e02e4ca
Update stale workflow (#5381) 2023-04-20 14:00:00 -05:00
dependabot[bot] 3e284ed7cd
Bump me.champeau.jmh:jmh-gradle-plugin from 0.7.0 to 0.7.1 (#5390)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-19 20:08:08 -05:00
jack-berg ed43936219
Add additional test for authenticator (#5391) 2023-04-19 20:07:32 -05:00
dependabot[bot] 106941f1f1
Bump io.grpc:grpc-bom from 1.54.0 to 1.54.1 (#5388)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-17 08:44:19 -05:00
dependabot[bot] 4fd5a8aa09
Bump io.zipkin.brave:brave-bom from 5.15.0 to 5.15.1 (#5387)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-17 08:43:50 -05:00
jack-berg fb3dce4593
Fix flakey JaegerRemoteSamplerGrpcNettyTest (#5385) 2023-04-16 21:15:00 -05:00
jack-berg da38225135
Serialize observed timestamp (#5382) 2023-04-16 12:43:12 -05:00
jack-berg 8136639d2a
OWASP dependencyCheck skips jmh configurations (#5384) 2023-04-16 12:42:42 -05:00
jack-berg d0f78b0805
Skip OWASP dependencyCheck on test modules (#5383) 2023-04-15 17:35:38 -05:00
jason plumb 75b83db960
Create OtelVersion class at build time. (#5365)
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2023-04-15 08:31:55 -05:00
jack-berg bce7d96b0c
Add LogRecord observed timestamp field (#5370) 2023-04-15 08:30:28 -05:00
jack-berg 76eaea2959
Add skaffolding for low level exporter SSL API (#5362) 2023-04-14 15:46:03 -05:00
jack-berg cbbba71b78
Remove log record timestamp default (#5374) 2023-04-14 15:30:29 -05:00
dependabot[bot] 8f6f9e712d
Bump com.google.protobuf:protobuf-bom from 3.22.2 to 3.22.3 (#5378)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-13 13:57:38 -05:00
dependabot[bot] e5a088be4c
Bump org.graalvm.buildtools.native from 0.9.20 to 0.9.21 (#5377)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-13 13:42:08 -05:00
dependabot[bot] 2d532c4547
Bump com.google.api.grpc:proto-google-common-protos from 2.15.0 to 2.16.0 (#5373)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-13 13:41:18 -05:00
dependabot[bot] 4feacc18ad
Bump com.gradle.enterprise from 3.12.6 to 3.13 (#5376)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-13 13:40:56 -05:00
dependabot[bot] c43b4ff27f
Bump com.squareup.wire:wire-gradle-plugin from 4.5.4 to 4.5.5 (#5375)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-13 13:40:23 -05:00
dependabot[bot] e9bc26ad0b
Bump com.squareup.wire:wire-compiler from 4.5.4 to 4.5.5 (#5379)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-13 10:16:20 -05:00
jack-berg 2870209fdb
Prototype histogram advice API (i.e. Hints) (#5217) 2023-04-11 17:03:55 -05:00
jack-berg 0a34867a57
Rename setEpoch to setTimestamp (#5368) 2023-04-11 10:24:46 -05:00
jack-berg ecc41c7f5a
Align BatchLogRecordProcessor defaults with specification (#5364) 2023-04-10 14:21:34 -05:00
dependabot[bot] 23643473e5
Bump com.linecorp.armeria:armeria-bom from 1.22.1 to 1.23.1 (#5363)
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-10 14:21:22 -05:00
jack-berg 9139becc50
Drop create website pull request release step (#5361) 2023-04-07 19:40:19 -07:00
jack-berg e1fcd15ed3
Post 1.25.0 release (#5360) 2023-04-07 17:08:12 -05:00
OpenTelemetry Bot 0a41e54894
Update version to 1.26.0 (#5357) 2023-04-07 09:41:33 -05:00
jack-berg d8d533a7c6
Prepare changelog for 1.25.0 release (#5356) 2023-04-07 09:21:55 -05:00
Trask Stalnaker 7dee67d32e
Update squash merge commit message (#5355) 2023-04-06 16:44:22 -05: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
dependabot[bot] 79e0a7219c
Bump com.diffplug.spotless from 6.17.0 to 6.18.0 (#5353)
Bumps com.diffplug.spotless from 6.17.0 to 6.18.0.

---
updated-dependencies:
- dependency-name: com.diffplug.spotless
  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>
2023-04-06 14:49:23 -05:00
dependabot[bot] f4d464a1c0
Bump com.squareup.wire:wire-gradle-plugin from 4.5.2 to 4.5.3 (#5323)
* Bump com.squareup.wire:wire-gradle-plugin from 4.5.2 to 4.5.3

Bumps [com.squareup.wire:wire-gradle-plugin](https://github.com/square/wire) from 4.5.2 to 4.5.3.
- [Release notes](https://github.com/square/wire/releases)
- [Changelog](https://github.com/square/wire/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/wire/compare/4.5.2...4.5.3)

---
updated-dependencies:
- dependency-name: com.squareup.wire:wire-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* Remove newly redundant gradle config

* jApiCmp

* Bump to 4.5.4

---------

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-04 16:11:14 -05:00
jack-berg 97decbd4e4
Move kotlin plugin dependency to buildsrc (#5349) 2023-04-04 15:34:35 -05:00
dependabot[bot] 06f4cc2445
Bump org.testcontainers:testcontainers-bom from 1.17.6 to 1.18.0 (#5348)
Bumps [org.testcontainers:testcontainers-bom](https://github.com/testcontainers/testcontainers-java) from 1.17.6 to 1.18.0.
- [Release notes](https://github.com/testcontainers/testcontainers-java/releases)
- [Changelog](https://github.com/testcontainers/testcontainers-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testcontainers/testcontainers-java/compare/1.17.6...1.18.0)

---
updated-dependencies:
- dependency-name: org.testcontainers:testcontainers-bom
  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>
2023-04-04 12:24:40 -07:00
Dan Markwat 9bd1a5198c
Adds version to otel tracer instrumentation scope (#5336)
* Adds version to otel tracer instrumentation scope

* spotless

* while I'm here

* fix tests

* spotless

* use version properties
2023-04-04 14:05:06 -05:00
dependabot[bot] 8e3c29538f
Bump io.netty:netty-bom from 4.1.90.Final to 4.1.91.Final (#5346)
Bumps [io.netty:netty-bom](https://github.com/netty/netty) from 4.1.90.Final to 4.1.91.Final.
- [Release notes](https://github.com/netty/netty/releases)
- [Commits](https://github.com/netty/netty/compare/netty-4.1.90.Final...netty-4.1.91.Final)

---
updated-dependencies:
- dependency-name: io.netty:netty-bom
  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>
2023-04-04 14:03:19 -05:00
dependabot[bot] 8e15a4b68f
Bump com.squareup.wire:wire-compiler from 4.5.3 to 4.5.4 (#5344)
Bumps [com.squareup.wire:wire-compiler](https://github.com/square/wire) from 4.5.3 to 4.5.4.
- [Release notes](https://github.com/square/wire/releases)
- [Changelog](https://github.com/square/wire/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/wire/compare/4.5.3...4.5.4)

---
updated-dependencies:
- dependency-name: com.squareup.wire:wire-compiler
  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>
2023-04-03 13:02:14 -05:00
jack-berg 23107f8ecd
Delete unused exponential histogram mergeInto (#5342) 2023-04-02 18:58:37 -07:00
dependabot[bot] 25d767f899
Bump org.jetbrains.kotlin.jvm from 1.8.11 to 1.8.20 (#5337)
Bumps org.jetbrains.kotlin.jvm from 1.8.11 to 1.8.20.

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin.jvm
  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>
2023-03-31 09:52:28 -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
dependabot[bot] 0b6a6b9920
Bump io.grpc:grpc-bom from 1.53.0 to 1.54.0 (#5328)
* Bump io.grpc:grpc-bom from 1.53.0 to 1.54.0

Bumps [io.grpc:grpc-bom](https://github.com/grpc/grpc-java) from 1.53.0 to 1.54.0.
- [Release notes](https://github.com/grpc/grpc-java/releases)
- [Commits](https://github.com/grpc/grpc-java/compare/v1.53.0...v1.54.0)

---
updated-dependencies:
- dependency-name: io.grpc:grpc-bom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* jApiCmp

* jApiCmp

---------

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-03-30 08:34:17 -07:00
jack-berg c2008311f1
Expand otlp benchmark to include otlp http case (#5327) 2023-03-30 08:30:53 -07:00
dependabot[bot] 696eea7903
Bump com.gradle.enterprise from 3.12.5 to 3.12.6 (#5330)
Bumps com.gradle.enterprise from 3.12.5 to 3.12.6.

---
updated-dependencies:
- dependency-name: com.gradle.enterprise
  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>
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2023-03-29 16:29:17 -05:00
dependabot[bot] 1996a35bd1
Bump slf4jVersion from 2.0.6 to 2.0.7 (#5310)
Bumps `slf4jVersion` from 2.0.6 to 2.0.7.

Updates `org.slf4j:slf4j-simple` from 2.0.6 to 2.0.7
- [Release notes](https://github.com/qos-ch/slf4j/releases)
- [Commits](https://github.com/qos-ch/slf4j/commits)

Updates `org.slf4j:jul-to-slf4j` from 2.0.6 to 2.0.7
- [Release notes](https://github.com/qos-ch/slf4j/releases)
- [Commits](https://github.com/qos-ch/slf4j/commits)

---
updated-dependencies:
- dependency-name: org.slf4j:slf4j-simple
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.slf4j:jul-to-slf4j
  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>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2023-03-29 16:18:07 -05:00
dependabot[bot] 250a020985
Bump com.github.johnrengelman.shadow from 8.1.0 to 8.1.1 (#5315)
Bumps com.github.johnrengelman.shadow from 8.1.0 to 8.1.1.

---
updated-dependencies:
- dependency-name: com.github.johnrengelman.shadow
  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>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2023-03-29 15:59:10 -05:00
dependabot[bot] 81cc0ae358
Bump org.jetbrains.kotlin.jvm from 1.8.0 to 1.8.10 (#5264)
Bumps org.jetbrains.kotlin.jvm from 1.8.0 to 1.8.10.

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin.jvm
  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>
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2023-03-29 15:55:38 -05:00
dependabot[bot] 4695eb6d5b
Bump com.google.api.grpc:proto-google-common-protos (#5332)
Bumps [com.google.api.grpc:proto-google-common-protos](https://github.com/googleapis/gapic-generator-java) from 2.14.3 to 2.15.0.
- [Release notes](https://github.com/googleapis/gapic-generator-java/releases)
- [Changelog](https://github.com/googleapis/gapic-generator-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/gapic-generator-java/commits/v2.15.0)

---
updated-dependencies:
- dependency-name: com.google.api.grpc:proto-google-common-protos
  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>
2023-03-29 15:44:54 -05:00
dependabot[bot] 116e305bb3
Bump org.codehaus.mojo:animal-sniffer-annotations from 1.22 to 1.23 (#5329)
Bumps [org.codehaus.mojo:animal-sniffer-annotations](https://github.com/mojohaus/animal-sniffer) from 1.22 to 1.23.
- [Release notes](https://github.com/mojohaus/animal-sniffer/releases)
- [Commits](https://github.com/mojohaus/animal-sniffer/compare/animal-sniffer-parent-1.22...1.23)

---
updated-dependencies:
- dependency-name: org.codehaus.mojo:animal-sniffer-annotations
  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>
2023-03-29 15:43:43 -05:00
jack-berg fcfbb32fcc
Logging OTLP sdk dependencies (#5291) 2023-03-29 15:43:17 -05:00
Brent Douglas aad95f8f64
Remove streams from B3Propagator (#5326)
They are expensive in this context
2023-03-29 15:13:36 -05:00
dependabot[bot] ba06aa777c
Bump com.squareup.wire:wire-compiler from 4.5.2 to 4.5.3 (#5322)
Bumps [com.squareup.wire:wire-compiler](https://github.com/square/wire) from 4.5.2 to 4.5.3.
- [Release notes](https://github.com/square/wire/releases)
- [Changelog](https://github.com/square/wire/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/wire/compare/4.5.2...4.5.3)

---
updated-dependencies:
- dependency-name: com.squareup.wire:wire-compiler
  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>
2023-03-27 10:57:23 -07:00
dependabot[bot] a74531402a
Bump actions/stale from 7 to 8 (#5321)
Bumps [actions/stale](https://github.com/actions/stale) from 7 to 8.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v7...v8)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-24 13:36:16 -05:00
jack-berg fa36775d55
JaegerRemoteSampler use upstream grpc implementation if ManagedChannel is set (#5287)
* JaegerRemoteSampler only uses upstream grpc implementation if ManagedChannel is set

* Restore builder constructor
2023-03-24 13:35:48 -05:00
dependabot[bot] cbd17147b4
Bump org.owasp:dependency-check-gradle from 8.2.0 to 8.2.1 (#5324)
Bumps org.owasp:dependency-check-gradle from 8.2.0 to 8.2.1.

---
updated-dependencies:
- dependency-name: org.owasp:dependency-check-gradle
  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>
2023-03-24 13:35:35 -05:00
jack-berg c769d539aa
Fix marshaler self suppression error (#5318)
* Fix marshaler self suppression error

* spotless

* PR feedback
2023-03-23 13:15:10 -07:00
dependabot[bot] 29d9ebf108
Bump org.owasp:dependency-check-gradle from 8.1.2 to 8.2.0 (#5319)
Bumps org.owasp:dependency-check-gradle from 8.1.2 to 8.2.0.

---
updated-dependencies:
- dependency-name: org.owasp:dependency-check-gradle
  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>
2023-03-23 10:45:42 -05:00
dependabot[bot] 99593bcfd7
Bump com.gradle.enterprise from 3.12.4 to 3.12.5 (#5316)
Bumps com.gradle.enterprise from 3.12.4 to 3.12.5.

---
updated-dependencies:
- dependency-name: com.gradle.enterprise
  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>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2023-03-22 15:40:57 -05:00
Abhinandan Seshadri d95bc83542
Make the Executor for PrometheusHttpServer configurable (#5296)
* Add executor to builder

* Add tests

* Fix static imports

* Add javadoc comment

* Fix formatting

* Fix formatting

* Use random port

* Update exporters/prometheus/src/test/java/io/opentelemetry/exporter/prometheus/PrometheusHttpServerTest.java

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>

* Remove executor assignment from constructor

* Fix import statements

* Use try-with-resources

---------

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2023-03-22 10:49:38 -07:00
jack-berg 38bf4d8ec0
Use markdown-link-check@3.10.3 (#5314) 2023-03-21 10:46:33 -05:00
Anuraag Agrawal ff79d892a3
Remove dead code from java-conventions (#5306) 2023-03-20 11:03:20 -05:00
jack-berg 3581d6e642
Cache ImmutableKeyValuePairs#hashCode (#5307) 2023-03-18 13:31:58 -05:00
dependabot[bot] 7f9c0ddcd9
Bump nl.jqno.equalsverifier:equalsverifier from 3.14 to 3.14.1 (#5309)
Bumps [nl.jqno.equalsverifier:equalsverifier](https://github.com/jqno/equalsverifier) from 3.14 to 3.14.1.
- [Release notes](https://github.com/jqno/equalsverifier/releases)
- [Changelog](https://github.com/jqno/equalsverifier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jqno/equalsverifier/compare/equalsverifier-3.14...equalsverifier-3.14.1)

---
updated-dependencies:
- dependency-name: nl.jqno.equalsverifier:equalsverifier
  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>
2023-03-17 10:43:09 -05:00
jack-berg 218b421af7
Drop japicmp protobuf 3.22.0 exception (#5289) 2023-03-17 10:42:38 -05:00
jack-berg ca0716335a
Stop validating instrument unit (#5279) 2023-03-17 09:39:28 -05:00
jack-berg 267f9a6365
Remove unused StressTestRunner code (#5292) 2023-03-16 18:21:04 -07:00
jack-berg e2817eba4d
Drop OTLP exponential histogram environment variable option (#5290) 2023-03-16 18:20:25 -07:00
Michael Bazos 302f889ed9
Fixing up javadoc to reflect how to create a junit4 OpenTelemetryRule (#5299) 2023-03-15 16:44:38 -05:00
dependabot[bot] 145fb8c098
Bump io.netty:netty-bom from 4.1.89.Final to 4.1.90.Final (#5302)
Bumps [io.netty:netty-bom](https://github.com/netty/netty) from 4.1.89.Final to 4.1.90.Final.
- [Release notes](https://github.com/netty/netty/releases)
- [Commits](https://github.com/netty/netty/compare/netty-4.1.89.Final...netty-4.1.90.Final)

---
updated-dependencies:
- dependency-name: io.netty:netty-bom
  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>
2023-03-15 16:43:57 -05:00
dependabot[bot] b16637e3b4
Bump com.google.api.grpc:proto-google-common-protos (#5301)
Bumps [com.google.api.grpc:proto-google-common-protos](https://github.com/googleapis/gapic-generator-java) from 2.14.2 to 2.14.3.
- [Release notes](https://github.com/googleapis/gapic-generator-java/releases)
- [Changelog](https://github.com/googleapis/gapic-generator-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/gapic-generator-java/commits)

---
updated-dependencies:
- dependency-name: com.google.api.grpc:proto-google-common-protos
  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>
2023-03-15 09:49:46 -05:00
dependabot[bot] 3d5424a54a
Bump com.diffplug.spotless from 6.16.0 to 6.17.0 (#5297)
Bumps com.diffplug.spotless from 6.16.0 to 6.17.0.

---
updated-dependencies:
- dependency-name: com.diffplug.spotless
  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>
2023-03-14 09:25:27 -05:00
dependabot[bot] 730dee9a24
Bump com.diffplug.spotless:spotless-plugin-gradle from 6.16.0 to 6.17.0 (#5298)
Bumps [com.diffplug.spotless:spotless-plugin-gradle](https://github.com/diffplug/spotless) from 6.16.0 to 6.17.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.16.0...gradle/6.17.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-14 09:25:14 -05:00
dependabot[bot] 2b2378e288
Bump com.google.protobuf:protobuf-bom from 3.22.0 to 3.22.2 (#5295)
Bumps [com.google.protobuf:protobuf-bom](https://github.com/protocolbuffers/protobuf) from 3.22.0 to 3.22.2.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.22.0...v3.22.2)

---
updated-dependencies:
- dependency-name: com.google.protobuf:protobuf-bom
  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>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2023-03-13 16:12:05 -05:00
jack-berg 351108ee31
Post release 1.24.0 (#5286)
* Update version in docs

* Update japicmp
2023-03-13 10:02:34 -05:00
OpenTelemetry Bot 9ed3c5b366
Update version to 1.25.0 (#5281) 2023-03-10 10:06:40 -06:00
jack-berg 102a03a167
Prepare for 1.24.0 (#5278)
* Prepare changelog for 1.24.0 release

* Add missing since annotations
2023-03-10 09:36:08 -06:00
Francisco Bento 2babc69924
Introduce mTLS support for JaegerRemoteSamplerBuilder (#5209) (#5248) 2023-03-09 10:11:36 -06:00
Dan Markwat 4532648bbc
Addresses opencensus-shim trace issues under otel javaagent (#4900)
* Improves opencensus-shim javaagent interop

* Fix name

* relocate to opencensusshim package

* unit tests for ProxyingSpan

* cleans up unnecessary tests and adds comments

* restrict non-public interfaces

* PR feedback
2023-03-09 09:07:18 -06:00
dependabot[bot] 02989891ca
Bump com.uber.nullaway:nullaway from 0.10.9 to 0.10.10 (#5277)
Bumps [com.uber.nullaway:nullaway](https://github.com/uber/NullAway) from 0.10.9 to 0.10.10.
- [Release notes](https://github.com/uber/NullAway/releases)
- [Changelog](https://github.com/uber/NullAway/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uber/NullAway/compare/v0.10.9...v0.10.10)

---
updated-dependencies:
- dependency-name: com.uber.nullaway:nullaway
  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>
2023-03-09 08:56:01 -06:00
jason plumb dd40fbeab7
Remove validations for noop instrument names and units (#5146)
* remove validations for noop implementation

* remove unwanted tests

* remove unused

* remove instrument unit checks from ValidationUtil and move temporarily to AbstractInstrumentBuilder.

* move tests

* rename ValidationUtil to ApiUsageLogger

* fix tests by removing logs check (not important here)
2023-03-08 14:07:07 -06:00
dependabot[bot] 018a76670c
Bump com.google.protobuf:protobuf-bom from 3.21.12 to 3.22.0 (#5237)
* Bump com.google.protobuf:protobuf-bom from 3.21.12 to 3.22.0

Bumps [com.google.protobuf:protobuf-bom](https://github.com/protocolbuffers/protobuf) from 3.21.12 to 3.22.0.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.21.12...v3.22.0)

---
updated-dependencies:
- dependency-name: com.google.protobuf:protobuf-bom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Fix dependencies

* Add japicmp exception for protobuf 3.22 upgrade

* Delete compatibility test

---------

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-03-08 09:35:09 -06:00
Carlos Alberto Cortez f797537cc6
OpenTracing Shim: Update Tracer.close() (#5151)
* Update the Tracer.close() implementation.

* Unobfuscate SdkTracerProvider

* Use AtomicBoolean instead of volatile

---------

Co-authored-by: Jack Berg <jberg@newrelic.com>
2023-03-07 16:08:43 -06:00
dependabot[bot] b5e8bc680e
Bump com.squareup.wire:wire-compiler from 4.5.1 to 4.5.2 (#5272)
Bumps [com.squareup.wire:wire-compiler](https://github.com/square/wire) from 4.5.1 to 4.5.2.
- [Release notes](https://github.com/square/wire/releases)
- [Changelog](https://github.com/square/wire/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/wire/compare/4.5.1...4.5.2)

---
updated-dependencies:
- dependency-name: com.squareup.wire:wire-compiler
  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>
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2023-03-07 16:00:41 -06:00
dependabot[bot] 018b1f5726
Bump io.github.gradle-nexus.publish-plugin from 1.2.0 to 1.3.0 (#5271)
Bumps io.github.gradle-nexus.publish-plugin from 1.2.0 to 1.3.0.

---
updated-dependencies:
- dependency-name: io.github.gradle-nexus.publish-plugin
  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>
2023-03-07 14:19:34 -06:00
jason plumb 895075f9e5
Add TlsConfigHelper for additional TLS configurability (#5246)
* add TlsConfigHelper for additional TLS configurability and wire up internal builders.

* add javadoc and spotless

* add keys for "validity" testing.

* fix tests

* fix tests

* address code review comments

* fix typo

* allow keymanager to be nullable.

* fix test

* so....much...null......away

* backfill tests

* checkstyle

* test coverage

* address code review comments
2023-03-07 12:54:26 -06:00
dependabot[bot] e871805ee2
Bump com.squareup.wire:wire-gradle-plugin from 4.5.1 to 4.5.2 (#5273)
Bumps [com.squareup.wire:wire-gradle-plugin](https://github.com/square/wire) from 4.5.1 to 4.5.2.
- [Release notes](https://github.com/square/wire/releases)
- [Changelog](https://github.com/square/wire/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/wire/compare/4.5.1...4.5.2)

---
updated-dependencies:
- dependency-name: com.squareup.wire:wire-gradle-plugin
  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>
2023-03-07 09:18:15 -08:00
jack-berg 328dcf075a
Fix code ql (#5270) 2023-03-06 18:24:54 -06:00
Anuraag Agrawal e185416cb3
Fix case of bug label in open issue workflow (#5268) 2023-03-06 11:03:42 -06:00
jack-berg 06158ffc2d
Cleanup readmes (#5263) 2023-03-06 09:39:34 -06:00
dependabot[bot] ed8b448454
Bump com.gradle.enterprise from 3.12.3 to 3.12.4 (#5265)
Bumps com.gradle.enterprise from 3.12.3 to 3.12.4.

---
updated-dependencies:
- dependency-name: com.gradle.enterprise
  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>
2023-03-03 08:29:49 -06:00
jack-berg f2fe65cf9f
Downgrade kotlin to 1.8.0 (#5261) 2023-03-02 10:24:32 -06:00
dependabot[bot] 9c6f01cf26
Bump com.google.api.grpc:proto-google-common-protos (#5260)
Bumps [com.google.api.grpc:proto-google-common-protos](https://github.com/googleapis/gapic-generator-java) from 2.14.1 to 2.14.2.
- [Release notes](https://github.com/googleapis/gapic-generator-java/releases)
- [Changelog](https://github.com/googleapis/gapic-generator-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/gapic-generator-java/commits)

---
updated-dependencies:
- dependency-name: com.google.api.grpc:proto-google-common-protos
  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>
2023-03-01 09:18:55 -06:00
dependabot[bot] a3a638ecdf
Bump org.owasp:dependency-check-gradle from 8.1.1 to 8.1.2 (#5259)
Bumps org.owasp:dependency-check-gradle from 8.1.1 to 8.1.2.

---
updated-dependencies:
- dependency-name: org.owasp:dependency-check-gradle
  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>
2023-03-01 09:17:51 -06:00
dependabot[bot] 060e422969
Bump com.github.johnrengelman.shadow from 7.1.2 to 8.1.0 (#5253)
Bumps com.github.johnrengelman.shadow from 7.1.2 to 8.1.0.

---
updated-dependencies:
- dependency-name: com.github.johnrengelman.shadow
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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-03-01 09:17:21 -06:00
jack-berg a483171f75
Allow views to select on instrument unit (#5255) 2023-03-01 09:17:05 -06:00
jack-berg 0d3a04669e
Upgrade to gradle 8.0.1 (#5256)
* Upgrade to gradle 8.0.1

* Revert

* Revert "Revert"

This reverts commit dfa37497f8.

* Use java 17 version of graal
2023-02-28 18:02:54 -06:00
dependabot[bot] 24468fd1e3
Bump com.diffplug.spotless from 6.15.0 to 6.16.0 (#5258)
Bumps com.diffplug.spotless from 6.15.0 to 6.16.0.

---
updated-dependencies:
- dependency-name: com.diffplug.spotless
  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>
2023-02-28 11:30:51 -06:00
dependabot[bot] 655bf470ed
Bump com.diffplug.spotless:spotless-plugin-gradle from 6.15.0 to 6.16.0 (#5257)
Bumps [com.diffplug.spotless:spotless-plugin-gradle](https://github.com/diffplug/spotless) from 6.15.0 to 6.16.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.15.0...gradle/6.16.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-28 07:50:35 -08:00
dependabot[bot] dfcef52b42
Bump nl.jqno.equalsverifier:equalsverifier from 3.13.2 to 3.14 (#5252)
Bumps [nl.jqno.equalsverifier:equalsverifier](https://github.com/jqno/equalsverifier) from 3.13.2 to 3.14.
- [Release notes](https://github.com/jqno/equalsverifier/releases)
- [Changelog](https://github.com/jqno/equalsverifier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jqno/equalsverifier/compare/equalsverifier-3.13.2...equalsverifier-3.14)

---
updated-dependencies:
- dependency-name: nl.jqno.equalsverifier:equalsverifier
  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>
2023-02-27 17:05:59 -06:00
dependabot[bot] fdc25cdc22
Bump org.owasp:dependency-check-gradle from 8.1.0 to 8.1.1 (#5254)
Bumps org.owasp:dependency-check-gradle from 8.1.0 to 8.1.1.

---
updated-dependencies:
- dependency-name: org.owasp:dependency-check-gradle
  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>
2023-02-27 17:05:40 -06:00
dependabot[bot] dfaa681b22
Bump me.champeau.jmh:jmh-gradle-plugin from 0.6.8 to 0.7.0 (#5247)
Bumps me.champeau.jmh:jmh-gradle-plugin from 0.6.8 to 0.7.0.

---
updated-dependencies:
- dependency-name: me.champeau.jmh:jmh-gradle-plugin
  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>
2023-02-24 15:41:32 -06:00
jack-berg 696d3f0833
Optimize DefaultSynchronousMetricStorage iteration (#5183)
* Optimize DefaultSynchronousMetricStorage iteration

* Switch to foreach
2023-02-22 08:08:59 -08:00
dependabot[bot] 411d5dee28
Bump io.github.gradle-nexus.publish-plugin from 1.1.0 to 1.2.0 (#5244)
Bumps io.github.gradle-nexus.publish-plugin from 1.1.0 to 1.2.0.

---
updated-dependencies:
- dependency-name: io.github.gradle-nexus.publish-plugin
  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>
2023-02-22 08:07:22 -08:00
dependabot[bot] d72a16dd91
Bump com.github.ben-manes.versions from 0.45.0 to 0.46.0 (#5242)
Bumps com.github.ben-manes.versions from 0.45.0 to 0.46.0.

---
updated-dependencies:
- dependency-name: com.github.ben-manes.versions
  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>
2023-02-22 08:06:44 -08:00
dependabot[bot] a3171ec852
Bump gradle/wrapper-validation-action from 1.0.5 to 1.0.6 (#5241) 2023-02-20 06:57:37 -08:00
Lin Lin ce18841b5d
Fixed example resource provider classname. (#5235) 2023-02-17 10:39:13 -08:00
dependabot[bot] fcb963dae0
Bump nl.jqno.equalsverifier:equalsverifier from 3.13.1 to 3.13.2 (#5236)
Bumps [nl.jqno.equalsverifier:equalsverifier](https://github.com/jqno/equalsverifier) from 3.13.1 to 3.13.2.
- [Release notes](https://github.com/jqno/equalsverifier/releases)
- [Changelog](https://github.com/jqno/equalsverifier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jqno/equalsverifier/compare/equalsverifier-3.13.1...equalsverifier-3.13.2)

---
updated-dependencies:
- dependency-name: nl.jqno.equalsverifier:equalsverifier
  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>
2023-02-16 20:57:05 -08:00
Bogdan Drutu d7327abeaf
Switch to use assertj-bom instead of direct dependency (#5234)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2023-02-16 19:49:09 -08:00
Bogdan Drutu 2a30803ae2
Remove unused disruptor dependency (#5233)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2023-02-16 10:09:06 -08:00
dependabot[bot] 7e0299bd16
Bump com.google.api.grpc:proto-google-common-protos (#5232) 2023-02-16 06:11:37 -08:00
jack-berg 98bfb48d63
Update version in docs (#5229) 2023-02-15 18:23:01 -06:00
jack-berg 793cb9db8c
Fix test flake in FullConfigTest (#5230)
* Fix test flake in FullConfigTest

* spotless
2023-02-15 18:22:49 -06:00
OpenTelemetry Bot 995538c600
Merge change log updates from release/v1.23.x (#5228) 2023-02-15 15:14:21 -06:00
jack-berg 219729a45d
Fix autoconfigure shutdown hook (#5221)
* Fix autoconfigure shutdown hook

* Add unit test
2023-02-15 12:27:40 -06:00
dependabot[bot] 84feb47d90
Bump org.graalvm.buildtools.native from 0.9.19 to 0.9.20 (#5219)
Bumps [org.graalvm.buildtools.native](https://github.com/graalvm/native-build-tools) from 0.9.19 to 0.9.20.
- [Release notes](https://github.com/graalvm/native-build-tools/releases)
- [Commits](https://github.com/graalvm/native-build-tools/commits)

---
updated-dependencies:
- dependency-name: org.graalvm.buildtools.native
  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>
2023-02-15 07:56:39 -06:00
dependabot[bot] ad98420b38
Bump com.linecorp.armeria:armeria-bom from 1.22.0 to 1.22.1 (#5220)
Bumps [com.linecorp.armeria:armeria-bom](https://github.com/line/armeria) from 1.22.0 to 1.22.1.
- [Release notes](https://github.com/line/armeria/releases)
- [Changelog](https://github.com/line/armeria/blob/master/.post-release-msg)
- [Commits](https://github.com/line/armeria/compare/armeria-1.22.0...armeria-1.22.1)

---
updated-dependencies:
- dependency-name: com.linecorp.armeria:armeria-bom
  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>
2023-02-15 07:56:17 -06:00
jack-berg 5d2855b663
Stop ignoring long measurements in HistogramExemplarReservoir (#5216) 2023-02-15 07:55:39 -06:00
dependabot[bot] f1831146d5
Bump org.owasp:dependency-check-gradle from 8.0.2 to 8.1.0 (#5214)
Bumps org.owasp:dependency-check-gradle from 8.0.2 to 8.1.0.

---
updated-dependencies:
- dependency-name: org.owasp:dependency-check-gradle
  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>
2023-02-14 15:22:13 -06:00
dependabot[bot] e6a83f2345
Bump io.netty:netty-bom from 4.1.87.Final to 4.1.89.Final (#5215)
Bumps [io.netty:netty-bom](https://github.com/netty/netty) from 4.1.87.Final to 4.1.89.Final.
- [Release notes](https://github.com/netty/netty/releases)
- [Commits](https://github.com/netty/netty/compare/netty-4.1.87.Final...netty-4.1.89.Final)

---
updated-dependencies:
- dependency-name: io.netty:netty-bom
  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>
2023-02-14 10:11:35 -06:00
dependabot[bot] d0def77481
Bump com.squareup.wire:wire-compiler from 4.5.0 to 4.5.1 (#5204)
Bumps [com.squareup.wire:wire-compiler](https://github.com/square/wire) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/square/wire/releases)
- [Changelog](https://github.com/square/wire/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/wire/compare/4.5.0...4.5.1)

---
updated-dependencies:
- dependency-name: com.squareup.wire:wire-compiler
  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>
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2023-02-13 09:56:16 -06:00
dependabot[bot] d22567480c
Bump com.squareup.wire:wire-gradle-plugin from 4.5.0 to 4.5.1 (#5206)
Bumps [com.squareup.wire:wire-gradle-plugin](https://github.com/square/wire) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/square/wire/releases)
- [Changelog](https://github.com/square/wire/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/wire/compare/4.5.0...4.5.1)

---
updated-dependencies:
- dependency-name: com.squareup.wire:wire-gradle-plugin
  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>
2023-02-13 07:33:50 -06:00
dependabot[bot] d50210d12f
Bump com.diffplug.spotless:spotless-plugin-gradle from 6.14.1 to 6.15.0 (#5208)
Bumps [com.diffplug.spotless:spotless-plugin-gradle](https://github.com/diffplug/spotless) from 6.14.1 to 6.15.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.14.1...gradle/6.15.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-13 07:32:57 -06:00
dependabot[bot] 1e3fbee1bf
Bump com.diffplug.spotless from 6.14.1 to 6.15.0 (#5207)
Bumps com.diffplug.spotless from 6.14.1 to 6.15.0.

---
updated-dependencies:
- dependency-name: com.diffplug.spotless
  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>
2023-02-13 07:32:26 -06:00
dependabot[bot] 60c1fc7753
Bump nl.jqno.equalsverifier:equalsverifier from 3.13 to 3.13.1 (#5203)
Bumps [nl.jqno.equalsverifier:equalsverifier](https://github.com/jqno/equalsverifier) from 3.13 to 3.13.1.
- [Release notes](https://github.com/jqno/equalsverifier/releases)
- [Changelog](https://github.com/jqno/equalsverifier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jqno/equalsverifier/compare/equalsverifier-3.13...equalsverifier-3.13.1)

---
updated-dependencies:
- dependency-name: nl.jqno.equalsverifier:equalsverifier
  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>
2023-02-13 07:31:27 -06:00
jack-berg c07642ee17
Avoid exemplar allocations if there are no measurements (#5182) 2023-02-11 20:46:41 -06:00
jack-berg 7bb2f0d832
Remove boxed primitives from aggregations (#5184) 2023-02-11 20:46:27 -06:00
jack-berg 8f5ddf26e5
Post release 1.23.0 (#5202)
* Update version in docs

* Update japicmp
2023-02-10 19:15:59 -06:00
OpenTelemetry Bot 8064df9e4d
Update version to 1.24.0 (#5198) 2023-02-10 14:30:06 -06:00
jack-berg 9b10152cf8
Prepare for 1.23.0 release (#5189)
* Prepare changelog for 1.23.0 release

* Add missing since annotations

* Adjust releasing docs

* Add new changelog entries, add event API artifact to readme

* PR feedback

* PR feedback
2023-02-10 14:07:48 -06:00
dependabot[bot] 7bbd5af0c9
Bump io.grpc:grpc-bom from 1.52.1 to 1.53.0 (#5194)
Bumps [io.grpc:grpc-bom](https://github.com/grpc/grpc-java) from 1.52.1 to 1.53.0.
- [Release notes](https://github.com/grpc/grpc-java/releases)
- [Commits](https://github.com/grpc/grpc-java/compare/v1.52.1...v1.53.0)

---
updated-dependencies:
- dependency-name: io.grpc:grpc-bom
  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>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2023-02-10 14:06:16 -06:00
dependabot[bot] d1cc20f1ac
Bump com.linecorp.armeria:armeria-bom from 1.21.0 to 1.22.0 (#5193)
Bumps [com.linecorp.armeria:armeria-bom](https://github.com/line/armeria) from 1.21.0 to 1.22.0.
- [Release notes](https://github.com/line/armeria/releases)
- [Changelog](https://github.com/line/armeria/blob/master/.post-release-msg)
- [Commits](https://github.com/line/armeria/compare/armeria-1.21.0...armeria-1.22.0)

---
updated-dependencies:
- dependency-name: com.linecorp.armeria:armeria-bom
  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>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2023-02-10 14:06:05 -06:00
dependabot[bot] 3d73283a71
Bump ru.vyarus:gradle-animalsniffer-plugin from 1.6.0 to 1.7.0 (#5192)
Bumps ru.vyarus:gradle-animalsniffer-plugin from 1.6.0 to 1.7.0.

---
updated-dependencies:
- dependency-name: ru.vyarus:gradle-animalsniffer-plugin
  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>
2023-02-10 09:24:47 -06:00
Mateusz Rzeszutek 08d8860e66
Fix collector config (#5195)
* Fix collector config

* use verbosity instead of loglevel
2023-02-10 09:23:49 -06:00
Trask Stalnaker 80a1f70214
Suppress spotless configuration in cve check (#5191) 2023-02-10 07:12:24 -06:00
jack-berg 358ad6cba1
Update semconv to 1.18.0 (#5188) 2023-02-09 15:25:34 -06:00
Donnerbart 2b7fe75826
Add resource assertion methods to SpanDataAssert and MetricAssert (#5160)
* Fix nullable warning in AttributeAssertion

* Fix warnings in assertion tests

* Add missing test for MetricAssert.hasSummarySatisfying() type check failure

* Add hasResourceSatisfying() method to SpanDataAssert and MetricAssert
2023-02-09 15:25:11 -06:00
Trask Stalnaker 43c88b911d
Use latest netty (#5185) 2023-02-08 09:03:31 -08:00
jack-berg feb0297c7b
Add Base2 prefix to internal exponential histogram classes (#5179) 2023-02-07 10:14:10 -06:00
Trask Stalnaker 07e5654285
Add OWASP dependency check (#5177) 2023-02-06 17:06:50 -08:00
dependabot[bot] 47ab46ea2a
Bump com.diffplug.spotless from 6.14.0 to 6.14.1 (#5181) 2023-02-06 06:37:56 -08:00
dependabot[bot] a8f2e6cd61
Bump com.diffplug.spotless:spotless-plugin-gradle from 6.14.0 to 6.14.1 (#5180) 2023-02-06 06:37:21 -08:00
jack-berg 92403b01b7
Add base2ExponentialHistogram to Aggregation (#5143) 2023-02-05 10:54:44 -06:00
jack-berg 33e6bf30c5
Reuse aggregation handles for delta temporality (#5176)
* Reuse aggregation handles for delta temporality

* Add test code
2023-02-05 08:15:40 -06:00
Bruno Medeiros cdf13a7c10
docs(readme): fix resource providers property docs (#5135) 2023-02-04 08:07:08 -08:00
jack-berg 249d09747f
Delete bound instruments (#5157)
* Delete bound instruments

* Remove outdated comments
2023-02-03 17:30:39 -06:00
jack-berg 0ac01c6cec
Event emitter provider (#5049)
* Split out :api:events

* Remove events from :api:logs

* Log SDK also implements Events API

* Fix example

* Add SdkEventEmitterProvider which delegates to LoggerProvider

* Make eventDomain argument optional
2023-02-03 15:45:40 -06:00
dependabot[bot] 4bd1869799
Bump com.squareup.wire:wire-gradle-plugin from 4.4.3 to 4.5.0 (#5171)
Bumps [com.squareup.wire:wire-gradle-plugin](https://github.com/square/wire) from 4.4.3 to 4.5.0.
- [Release notes](https://github.com/square/wire/releases)
- [Changelog](https://github.com/square/wire/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/wire/compare/4.4.3...4.5.0)

---
updated-dependencies:
- dependency-name: com.squareup.wire:wire-gradle-plugin
  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>
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2023-02-03 12:01:56 -06:00
jack-berg 9cfdf67a49
Delete notion of accumulation (#5154) 2023-02-03 10:56:17 -06:00
dependabot[bot] f43905a535
Bump org.jetbrains.kotlin.jvm from 1.8.0 to 1.8.10 (#5170)
Bumps org.jetbrains.kotlin.jvm from 1.8.0 to 1.8.10.

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin.jvm
  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>
2023-02-03 10:49:32 -06:00
dependabot[bot] 3d1c04ae59
Bump com.squareup.wire:wire-compiler from 4.4.3 to 4.5.0 (#5173)
Bumps [com.squareup.wire:wire-compiler](https://github.com/square/wire) from 4.4.3 to 4.5.0.
- [Release notes](https://github.com/square/wire/releases)
- [Changelog](https://github.com/square/wire/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/wire/compare/4.4.3...4.5.0)

---
updated-dependencies:
- dependency-name: com.squareup.wire:wire-compiler
  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>
2023-02-03 10:49:00 -06:00
dependabot[bot] 4ae7e380ad
Bump com.google.api.grpc:proto-google-common-protos (#5174)
Bumps [com.google.api.grpc:proto-google-common-protos](https://github.com/googleapis/gapic-generator-java) from 2.13.0 to 2.14.0.
- [Release notes](https://github.com/googleapis/gapic-generator-java/releases)
- [Changelog](https://github.com/googleapis/gapic-generator-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/gapic-generator-java/compare/v2.13.0...v2.14.0)

---
updated-dependencies:
- dependency-name: com.google.api.grpc:proto-google-common-protos
  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>
2023-02-03 10:48:47 -06:00
Mateusz Rzeszutek e5bfc1dd52
Limit junit-pioneer to 1.x (#5175) 2023-02-03 07:57:34 -08:00
dependabot[bot] 0ce6a015f2
Bump nl.jqno.equalsverifier:equalsverifier from 3.12.4 to 3.13 (#5172) 2023-02-03 06:30:54 -08:00
dependabot[bot] 7068cb3c09
Bump io.zipkin.brave:brave-bom from 5.14.1 to 5.15.0 (#5168)
Bumps [io.zipkin.brave:brave-bom](https://github.com/openzipkin/brave) from 5.14.1 to 5.15.0.
- [Release notes](https://github.com/openzipkin/brave/releases)
- [Changelog](https://github.com/openzipkin/brave/blob/master/RELEASE.md)
- [Commits](https://github.com/openzipkin/brave/compare/5.14.1...5.15.0)

---
updated-dependencies:
- dependency-name: io.zipkin.brave:brave-bom
  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>
2023-02-02 08:28:55 -06:00
dependabot[bot] 6a822adcee
Bump com.uber.nullaway:nullaway from 0.10.8 to 0.10.9 (#5167) 2023-02-02 06:23:35 -08:00
dependabot[bot] 0a9794ad41
Bump com.github.ben-manes.versions from 0.44.0 to 0.45.0 (#5161)
Bumps com.github.ben-manes.versions from 0.44.0 to 0.45.0.

---
updated-dependencies:
- dependency-name: com.github.ben-manes.versions
  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>
2023-02-01 08:46:14 -08:00
dependabot[bot] 1775e4a48e
Bump docker/build-push-action from 3.3.0 to 4.0.0 (#5158)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3.3.0 to 4.0.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3.3.0...v4.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-31 09:45:19 -06:00
dependabot[bot] 87c1ef242e
Bump com.gradle.enterprise from 3.12.2 to 3.12.3 (#5159)
Bumps com.gradle.enterprise from 3.12.2 to 3.12.3.

---
updated-dependencies:
- dependency-name: com.gradle.enterprise
  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>
2023-01-31 09:44:11 -06:00
jack-berg f70ae76f8c
Reuse AggregatorHandle with cumulative temporality (#5142)
* Resuse AggregatorHandle with cumulative temporality

* Remove Aggregator#merge

* Restore test coverage, rename methods
2023-01-30 09:57:37 -06:00
dependabot[bot] eca5ce03f0
Bump equalsverifier from 3.12.3 to 3.12.4 (#5156) 2023-01-29 21:40:28 -08:00
dependabot[bot] 3c2d58de58
Bump jackson-bom from 2.14.1 to 2.14.2 (#5155) 2023-01-29 21:39:25 -08:00
dependabot[bot] eb0b316359
Bump com.diffplug.spotless from 6.13.0 to 6.14.0 (#5150) 2023-01-27 06:27:25 -08:00
dependabot[bot] ff0df1e893
Bump spotless-plugin-gradle from 6.13.0 to 6.14.0 (#5149) 2023-01-27 06:27:11 -08:00
jason plumb 8b01e78f42
Switch from snakeyaml to snakeyaml-engine (#5138)
* switch from snakeyaml to snakeyaml-engine

* spotless
2023-01-26 15:29:08 -08:00
jack-berg 59043802e6
Merge :sdk:metrics-testing into :sdk:testing (#5144) 2023-01-24 08:42:04 -08:00
jack-berg ae7b0a917b
Fix opentracing docs (#5145) 2023-01-24 08:31:53 -08: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 c427bf2132
Promote exponential histogram data interfaces to stable package (#5120)
* Promote exponential histogram data interfaces to stable package

* Spotless
2023-01-21 08:10:29 -06:00
Fabio Salvini f28e0ada45
Support parentbased_jaeger_remote sampler. (#5123) 2023-01-20 20:05:36 -08:00
jack-berg 299cfad6e6
Close OpenTelemetrySdk after all tests (#5139) 2023-01-20 20:02:33 -08:00
John Watson a3ac819a0b
support the "none" option for propagator configuration (#5121) 2023-01-20 06:27:54 -08:00
dependabot[bot] 68b5e4685a
Bump proto-google-common-protos from 2.12.0 to 2.13.0 (#5140) 2023-01-19 21:36:06 -08:00
John Watson e25120ad08
Update the semantic conventions to v1.17.0 (#5134)
* Update the semantic conventions to v1.17.0

* add a few more deprecated items
2023-01-18 18:24:43 -08:00
jack-berg 2360de9add
Make implicit gradle dependencies explicit (#5137) 2023-01-18 16:12:55 -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
dependabot[bot] 04db62f04b
Bump com.diffplug.spotless from 6.12.1 to 6.13.0 (#5129)
* Bump com.diffplug.spotless from 6.12.1 to 6.13.0

Bumps com.diffplug.spotless from 6.12.1 to 6.13.0.

---
updated-dependencies:
- dependency-name: com.diffplug.spotless
  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-01-17 13:24:34 -06:00
jack-berg c475798cf1
Ignore updates to mockito 5 (#5132) 2023-01-17 10:45:07 -06:00
dependabot[bot] 33faf8bdf6
Bump errorProneVersion from 2.15.0 to 2.18.0 (#5125)
* Bump errorProneVersion from 2.15.0 to 2.18.0

Bumps `errorProneVersion` from 2.15.0 to 2.18.0.

Updates `error_prone_annotations` from 2.15.0 to 2.18.0
- [Release notes](https://github.com/google/error-prone/releases)
- [Commits](https://github.com/google/error-prone/compare/v2.15.0...v2.18.0)

Updates `error_prone_core` from 2.15.0 to 2.18.0
- [Release notes](https://github.com/google/error-prone/releases)
- [Commits](https://github.com/google/error-prone/compare/v2.15.0...v2.18.0)

---
updated-dependencies:
- dependency-name: com.google.errorprone:error_prone_annotations
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.errorprone:error_prone_core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Fix and surpress complaints

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 08:42:43 -08:00
dependabot[bot] 7f3c9cac05
Bump assertj-core from 3.24.1 to 3.24.2 (#5131)
Bumps assertj-core from 3.24.1 to 3.24.2.

---
updated-dependencies:
- dependency-name: org.assertj:assertj-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-17 09:31:05 -06:00
dependabot[bot] 2b34574bd9
Bump grpc-bom from 1.52.0 to 1.52.1 (#5130)
Bumps [grpc-bom](https://github.com/grpc/grpc-java) from 1.52.0 to 1.52.1.
- [Release notes](https://github.com/grpc/grpc-java/releases)
- [Commits](https://github.com/grpc/grpc-java/compare/v1.52.0...v1.52.1)

---
updated-dependencies:
- dependency-name: io.grpc:grpc-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 12:18:00 -08:00
dependabot[bot] 2eae08bef5
Bump nullaway from 0.10.7 to 0.10.8 (#5127)
Bumps [nullaway](https://github.com/uber/NullAway) from 0.10.7 to 0.10.8.
- [Release notes](https://github.com/uber/NullAway/releases)
- [Changelog](https://github.com/uber/NullAway/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uber/NullAway/compare/v0.10.7...v0.10.8)

---
updated-dependencies:
- dependency-name: com.uber.nullaway:nullaway
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 12:17:34 -08:00
dependabot[bot] f1b74539c8
Bump docker/build-push-action from 3.2.0 to 3.3.0 (#5124)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3.2.0...v3.3.0)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 11:19:46 -08:00
Trask Stalnaker 161273e709
Remove workaround (#5122) 2023-01-15 08:22:11 -06:00
jack-berg e82ab27582
Add proper shutdown implementations for all exporters (#5113) 2023-01-13 19:27:03 -08:00
John Watson 40d9c64164
fix the link to misspell installation script (#5118) 2023-01-13 18:01:45 -08:00
Trask Stalnaker bb058674e8
More dependabot (#5119) 2023-01-13 16:08:08 -08:00
jack-berg e9c38b6309
Javadoc (#5116)
* update OtlpGrpcSpanExporter.getDefault javadoc to correct a misleading description of its behavior

* Apply javadoc to all OTLP exporters, link to autoconfigure docs

Co-authored-by: Brian Holt <bholt@dwolla.com>
2023-01-13 07:46:34 -06:00
jack-berg f981ad2552
Minimize public surface area of OpenTracingShim (#5110) 2023-01-12 17:35:15 -06:00
dependabot[bot] 38c6e56e1e
Bump grpc-bom from 1.51.1 to 1.52.0 (#5115)
Bumps [grpc-bom](https://github.com/grpc/grpc-java) from 1.51.1 to 1.52.0.
- [Release notes](https://github.com/grpc/grpc-java/releases)
- [Commits](https://github.com/grpc/grpc-java/compare/v1.51.1...v1.52.0)

---
updated-dependencies:
- dependency-name: io.grpc:grpc-bom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-12 10:23:24 -06:00
jack-berg 727850e94f
Shutdown ManagedChannel resources in tests (#5114) 2023-01-11 18:33:03 -08:00
jack-berg f3b1f4a520
Fix broken link (#5112) 2023-01-11 06:34:09 -08:00
jack-berg 1915f1fb60
Add close method to MetricReader (#5109) 2023-01-11 07:47:38 -06:00
dependabot[bot] b300e72dab
Bump junit-bom from 5.9.1 to 5.9.2 (#5111)
Bumps [junit-bom](https://github.com/junit-team/junit5) from 5.9.1 to 5.9.2.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.9.1...r5.9.2)

---
updated-dependencies:
- dependency-name: org.junit:junit-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-10 19:52:09 -08:00
jack-berg b8f7a87e8b
Remove BaseShimObject, TelemetryInfo (#5087) 2023-01-10 16:06:10 -06:00
Gregor Zeitlinger 67127c791f
sort spans by start time (parents before children as tiebreaker) to avoid common causes for flaky tests (#5026) 2023-01-10 16:05:36 -06:00
jack-berg 4df4a0ae09
Add shutdown / close to OpenTelemetrySdk (#5100)
* Add shutdown / close to OpenTelemetrySdk

* Shutdown hook closes instead of shutdown
2023-01-10 16:05:21 -06:00
jack-berg 50e7a17309
Remove deprecated autoconfigure options (#5098) 2023-01-09 10:45:30 -06:00
dependabot[bot] 005359197c
Bump proto-google-common-protos from 2.11.0 to 2.12.0 (#5102) 2023-01-08 20:50:20 -08:00
dependabot[bot] 164311a640
Bump assertj-core from 3.24.0 to 3.24.1 (#5101) 2023-01-08 20:49:34 -08:00
jack-berg d341f3bcce
Update version in docs, update japicmp (#5097) 2023-01-07 21:32:28 -08:00
jack-berg 7fef6006ae
Upgrade to gradle 7.6 (#5099) 2023-01-07 21:31:53 -08:00
dependabot[bot] 5e74487e1f
Bump assertj-core from 3.23.1 to 3.24.0 (#5091)
Bumps assertj-core from 3.23.1 to 3.24.0.

---
updated-dependencies:
- dependency-name: org.assertj:assertj-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-06 10:01:25 -06:00
jack-berg b08edb6504
Add MaxScale config parameter to ExponentialHistogram (#5044) 2023-01-06 09:36:48 -06:00
jack-berg 49f4cf093d
Move graal build into build.yml (#5089)
* Move graal build into build.yml

* Update .github/workflows/build.yml

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>

* Include build-graal in required status check

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2023-01-06 09:29:43 -06:00
OpenTelemetry Bot 3681304fb4
Update version to 1.23.0 (#5094) 2023-01-06 09:08:11 -06:00
jack-berg b1edb98f6c
Update changelog for 1.22.0 release (#5088) 2023-01-06 08:47:25 -06:00
dependabot[bot] b091536c47
Bump com.gradle.enterprise from 3.12.1 to 3.12.2 (#5082)
Bumps com.gradle.enterprise from 3.12.1 to 3.12.2.

---
updated-dependencies:
- dependency-name: com.gradle.enterprise
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-05 09:40:55 -06:00
jack-berg 25129e510c
PrometheusHttpServer drops metrics with same name and different type (#5078)
* PrometheusHttpServer drops metrics with same name and different type

* Switch to concurrent hash set

* Animal sniffer

* Fix typo

* PR feedback
2023-01-05 09:26:32 -06:00
dependabot[bot] cc40dbd590
Bump nullaway from 0.10.6 to 0.10.7 (#5083)
Bumps [nullaway](https://github.com/uber/NullAway) from 0.10.6 to 0.10.7.
- [Release notes](https://github.com/uber/NullAway/releases)
- [Changelog](https://github.com/uber/NullAway/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uber/NullAway/compare/v0.10.6...v0.10.7)

---
updated-dependencies:
- dependency-name: com.uber.nullaway:nullaway
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-05 09:26:20 -06:00
jack-berg a0f4647597
Replace OTLP User-Agent spaces with dashes (#5080) 2023-01-05 09:25:59 -06:00
Vasi Vasireddy 1f975b303d
chore(GHA): Update the usage of set-output command in GH actions (#5074) 2023-01-04 11:35:45 -06:00
jack-berg b6107f08b4
Add repository settings (#5056) 2023-01-04 11:03:52 -06:00
dependabot[bot] 76f7a96029
Bump spotless-plugin-gradle from 6.12.0 to 6.12.1 (#5076)
* Bump spotless-plugin-gradle from 6.12.0 to 6.12.1

Bumps [spotless-plugin-gradle](https://github.com/diffplug/spotless) from 6.12.0 to 6.12.1.
- [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.0...gradle/6.12.1)

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

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

* Fix 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-01-03 13:15:22 -06:00
dependabot[bot] 705a32292f
Bump com.diffplug.spotless from 6.12.0 to 6.12.1 (#5075)
* Bump com.diffplug.spotless from 6.12.0 to 6.12.1

Bumps com.diffplug.spotless from 6.12.0 to 6.12.1.

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

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

* Fix 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-01-03 12:32:35 -06:00
dependabot[bot] 7b92428281
Bump armeria-bom from 1.20.3 to 1.21.0 (#5065)
* Bump armeria-bom from 1.20.3 to 1.21.0

Bumps [armeria-bom](https://github.com/line/armeria) from 1.20.3 to 1.21.0.
- [Release notes](https://github.com/line/armeria/releases)
- [Changelog](https://github.com/line/armeria/blob/master/.post-release-msg)
- [Commits](https://github.com/line/armeria/compare/armeria-1.20.3...armeria-1.21.0)

---
updated-dependencies:
- dependency-name: com.linecorp.armeria:armeria-bom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Fix PrometheusHttpServerTest

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-03 12:09:03 -06:00
jack-berg ad2013ffbd
Add toString to SdkMeter, SdkObservableInstrument, AbstractInstrumentBuilder (#5072) 2023-01-01 13:49:28 -06:00
dependabot[bot] 02a834c0eb
Bump nullaway from 0.10.5 to 0.10.6 (#5073) 2022-12-30 07:36:52 -08:00
jack-berg 037d7cc293
Cleanup autoconfigure tests (#5070)
* Cleanup global and surpress logs

* Move SPI implementations to provider package
2022-12-29 16:42:48 -06:00
jack-berg 74cf7ac297
Drop PrometheusCollector test code (#5071) 2022-12-29 16:42:32 -06:00
Liudmila Molkova 19e2ce0db1
Make closing scope idempotent and noop when different context is active (#5061)
* Make closing scope idempotent and noop when different context is active

* changelog

* notnull
2022-12-29 11:14:50 -06:00
jack-berg 17e81063ba
Align exemplar filter names with spec (#5063)
* Align exemplar filter names with spec

* coverage

* spotless
2022-12-29 11:11:39 -06:00
jack-berg 2834b03b88
Move autoconfigure otlp tests (#5060)
* Unify OtlpHttp{Signal}Exporter testing

* Add header and compression tests

* Move SPI otlp tests to :exporters:otlp

* Improve test coverage

* Improve test coverage
2022-12-29 11:07:47 -06:00
dependabot[bot] 50b6b3fb6b
Bump org.jetbrains.kotlin.jvm from 1.7.22 to 1.8.0 (#5069)
Bumps org.jetbrains.kotlin.jvm from 1.7.22 to 1.8.0.

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin.jvm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-29 08:01:07 -08:00
jack-berg e8984793d1
Drop delta metrics in prometheus exporter (#5062)
* Drop delta metrics in prometheus exporter

* Adjust switch
2022-12-27 08:41:31 -06:00
jack-berg 16a02b2bbe
Prometheus compatibility (#5039)
* PrometheusHttpServer serializes resource attributes in target_info

* PrometheusHttpServer serializes scope as otel_scope_info
2022-12-22 11:06:16 -06:00
dependabot[bot] 4cf3f654ad
Bump com.gradle.enterprise from 3.12 to 3.12.1 (#5059)
Bumps com.gradle.enterprise from 3.12 to 3.12.1.

---
updated-dependencies:
- dependency-name: com.gradle.enterprise
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-21 17:00:55 -06:00
jack-berg 9dfb00249e
Implement prometheus exporter provider (#5053)
* Implement prometheus exporter provider

* Remove stray comment

* Adjust method visibility

* Delete ClasspathUtil
2022-12-21 09:52:42 -06:00
jack-berg 7f0889a6a3
Move autoconfigure exporter tests (#5051)
* Move SPI logging-otlp tests to :exporters:logging-otlp

* Move SPI zipkin tests to :exporters:zipkin

* Move SPI jaeger tests to :exporters:jaeger

* Spotless
2022-12-21 08:23:21 -06:00
dependabot[bot] 2fbdd94a33
Bump actions/stale from 6 to 7 (#5058)
Bumps [actions/stale](https://github.com/actions/stale) from 6 to 7.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-20 19:14:30 -08:00
Rajat Arora e524f1aebf
Added slack link in readme (#5054) 2022-12-20 09:16:43 -06:00
jack-berg 5b497b115d
Implement otlp exporter providers (#5003)
* Implement otlp exporter providers

* Remove redundant else

* Restore unsupported protocol test
2022-12-18 07:57:55 -06:00
jack-berg ece93b77a1
Use ConfigUtil internally (#5048) 2022-12-17 16:10:46 -06:00
jack-berg 10e32fe80c
Implement jaeger exporter provider (#5002) 2022-12-17 15:20:14 -06:00
jack-berg 551e764df8
JIT exporter metrics (#4993)
* Build ExporterMetrics instruments just in time

* Exporters use GlobalOpenTelemetry#getMeterProvider() if meter provider is not set

* FullConfigTest reset GlobalOpenTelemetry

* MetricExporters use MeterProvider.noop()
2022-12-17 15:19:00 -06:00
jack-berg fdc56b354d
Delete MapCounter alternative histogram implementation (#5047) 2022-12-17 15:18:13 -06:00
jack-berg 34f2601347
Update LoggerBuilder, MeterBuilder, TracerBuilder javadoc (#5050) 2022-12-17 13:16:02 -08:00
dependabot[bot] 57595b033c
Bump protobuf-bom from 3.21.11 to 3.21.12 (#5045)
Bumps [protobuf-bom](https://github.com/protocolbuffers/protobuf) from 3.21.11 to 3.21.12.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.21.11...v3.21.12)

---
updated-dependencies:
- dependency-name: com.google.protobuf:protobuf-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-15 10:30:00 -06:00
dependabot[bot] 5bfa862d74
Bump equalsverifier from 3.12.2 to 3.12.3 (#5046)
Bumps [equalsverifier](https://github.com/jqno/equalsverifier) from 3.12.2 to 3.12.3.
- [Release notes](https://github.com/jqno/equalsverifier/releases)
- [Changelog](https://github.com/jqno/equalsverifier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jqno/equalsverifier/commits)

---
updated-dependencies:
- dependency-name: nl.jqno.equalsverifier:equalsverifier
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-15 10:29:43 -06:00
jack-berg 7c6f1bd73e
GlobalOpenTelemetry trigger of autoconfiguration is opt-in (#5010)
* Do not initialize AutoConfiguredOpenTelemetrySdk in OpenTelemetry.get

* GlobalOpenTelemetry triggers autoconfigure based on env var / system property
2022-12-14 15:10:55 -06:00
dependabot[bot] ea51e645dd
Bump grpc-bom from 1.51.0 to 1.51.1 (#5041)
Bumps [grpc-bom](https://github.com/grpc/grpc-java) from 1.51.0 to 1.51.1.
- [Release notes](https://github.com/grpc/grpc-java/releases)
- [Commits](https://github.com/grpc/grpc-java/compare/v1.51.0...v1.51.1)

---
updated-dependencies:
- dependency-name: io.grpc:grpc-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-14 09:37:11 -08:00
jack-berg 86853f52dd
Lazily initialize exponential histogram buckets (#5023) 2022-12-14 09:43:03 -06:00
Will Li 4eb968e0d4
add missing createTracerShim function (#4988)
* add missing createTracerShim function

Signed-off-by: Cuichen Li <cuichli@cisco.com>

* update based on comment

Signed-off-by: Cuichen Li <cuichli@cisco.com>
2022-12-13 08:44:34 -08:00
jack-berg 84170709c4
Post release 1.21.0 (#5038)
* Update version in docs

* Update japicmp

* Update RELEASING.md to reflect current workflow

* Revert formatting changes

* remove unused link
2022-12-10 08:40:47 -06:00
jack-berg 2c6a97044e
Fix semconv version in changelog (#5037) 2022-12-09 12:22:40 -08:00
OpenTelemetry Bot ba42ce858a
Update version to 1.22.0 (#5034)
* Update version to 1.22.0

* Fix version-dependent test

Co-authored-by: Jack Berg <jberg@newrelic.com>
2022-12-09 13:57:27 -06:00
jack-berg ca18354115
Prepare for 1.21.0 release (#5028)
* Update bom to point to opentelemetry-extension-aws:1.20.1

* Update changelog for 1.21.0 release

* Add missing since annotations

* Spotless

* Include 1.16.0 semantic convention update in changelog

* Add attribute assertions change
2022-12-09 13:22:51 -06:00
dependabot[bot] 6a793baa0e
Bump protobuf-bom from 3.21.10 to 3.21.11 (#5029)
Bumps [protobuf-bom](https://github.com/protocolbuffers/protobuf) from 3.21.10 to 3.21.11.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.21.10...v3.21.11)

---
updated-dependencies:
- dependency-name: com.google.protobuf:protobuf-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-09 12:51:26 -06:00
jason plumb 79a601d7d7
Attribute assertions should always contain the attr key (#5027)
* improve attribute assertions to alwyas contain the attr key

* spotless

* change assertion

* Update sdk/testing/src/test/java/io/opentelemetry/sdk/testing/assertj/AttributeAssertionTest.java

Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>

* fix build

Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2022-12-09 12:51:07 -06:00
John Watson ea500962d6
update generated semantic convention classes to v1.16.0 (#5033) 2022-12-09 08:01:28 -06:00
dependabot[bot] 4633cfeee1
Bump com.gradle.enterprise from 3.11.4 to 3.12 (#5031)
Bumps com.gradle.enterprise from 3.11.4 to 3.12.

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-09 07:47:49 -06:00
dependabot[bot] 7470435b84
Bump equalsverifier from 3.12.1 to 3.12.2 (#5030)
Bumps [equalsverifier](https://github.com/jqno/equalsverifier) from 3.12.1 to 3.12.2.
- [Release notes](https://github.com/jqno/equalsverifier/releases)
- [Changelog](https://github.com/jqno/equalsverifier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jqno/equalsverifier/compare/equalsverifier-3.12.1...equalsverifier-3.12.2)

---
updated-dependencies:
- dependency-name: nl.jqno.equalsverifier:equalsverifier
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-09 07:46:08 -06:00
jack-berg 738d9988ae
Stop extra copy of exponential histogram buckets (#5020) 2022-12-07 09:19:15 -06:00
Carlos Alberto Cortez c6d1ec1e9e
Do not map semconv values from OT to OTel. (#5016) 2022-12-05 09:36:07 -08:00
dependabot[bot] ab318285f0
Bump equalsverifier from 3.12 to 3.12.1 (#5018)
Bumps [equalsverifier](https://github.com/jqno/equalsverifier) from 3.12 to 3.12.1.
- [Release notes](https://github.com/jqno/equalsverifier/releases)
- [Changelog](https://github.com/jqno/equalsverifier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jqno/equalsverifier/compare/equalsverifier-3.12...equalsverifier-3.12.1)

---
updated-dependencies:
- dependency-name: nl.jqno.equalsverifier:equalsverifier
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-05 11:03:47 -06:00
dependabot[bot] b802402068
Bump org.graalvm.buildtools.native from 0.9.18 to 0.9.19 (#5017)
Bumps [org.graalvm.buildtools.native](https://github.com/graalvm/native-build-tools) from 0.9.18 to 0.9.19.
- [Release notes](https://github.com/graalvm/native-build-tools/releases)
- [Commits](https://github.com/graalvm/native-build-tools/compare/0.9.18...0.9.19)

---
updated-dependencies:
- dependency-name: org.graalvm.buildtools.native
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-05 09:27:17 -06:00
Carlos Alberto Cortez 88a77816a6
Log invalid arguments rather than throwing exceptions. (#5012) 2022-12-03 10:45:52 -08:00
jack-berg f490ba8ee6
Ignore dependabot updates to kotlinx-coroutines-core (#4812) 2022-12-01 10:03:18 -06:00
dependabot[bot] 9bb9f274ae
Bump equalsverifier from 3.11.1 to 3.12 (#5007)
Bumps [equalsverifier](https://github.com/jqno/equalsverifier) from 3.11.1 to 3.12.
- [Release notes](https://github.com/jqno/equalsverifier/releases)
- [Changelog](https://github.com/jqno/equalsverifier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jqno/equalsverifier/commits)

---
updated-dependencies:
- dependency-name: nl.jqno.equalsverifier:equalsverifier
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-01 09:29:40 -06:00
dependabot[bot] ac2aae27da
Bump junit-pioneer from 1.9.0 to 1.9.1 (#5009)
Bumps [junit-pioneer](https://github.com/junit-pioneer/junit-pioneer) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/junit-pioneer/junit-pioneer/releases)
- [Commits](https://github.com/junit-pioneer/junit-pioneer/compare/v1.9.0...v1.9.1)

---
updated-dependencies:
- dependency-name: org.junit-pioneer:junit-pioneer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-01 09:21:21 -06:00
dependabot[bot] 712f30d0f3
Bump proto-google-common-protos from 2.10.0 to 2.11.0 (#5008)
Bumps [proto-google-common-protos](https://github.com/googleapis/java-iam) from 2.10.0 to 2.11.0.
- [Release notes](https://github.com/googleapis/java-iam/releases)
- [Changelog](https://github.com/googleapis/java-iam/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/java-iam/commits)

---
updated-dependencies:
- dependency-name: com.google.api.grpc:proto-google-common-protos
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-01 09:21:00 -06:00
dependabot[bot] 7946cc5c7a
Bump protobuf-bom from 3.21.9 to 3.21.10 (#5006)
Bumps [protobuf-bom](https://github.com/protocolbuffers/protobuf) from 3.21.9 to 3.21.10.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.21.9...v3.21.10)

---
updated-dependencies:
- dependency-name: com.google.protobuf:protobuf-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-01 09:20:38 -06:00
jack-berg e73232898f
Add ExponentialHistogramIndexerBenchmark (#4989) 2022-12-01 09:20:19 -06:00
jack-berg 14b64fc8bc
Add histogram collection benchmark (#4912) 2022-11-30 13:30:22 -06:00
jack-berg 2a231d76f8
Move DefaultConfigProperties to autoconfigure-spi (#5001) 2022-11-30 10:18:53 -06:00
Matt Spataro 568bdb41be
handle noop (#4968)
Co-authored-by: Jack Berg <jberg@newrelic.com>
2022-11-29 14:31:31 -06:00
Łukasz Monkiewicz ac2ba4a2df
Adjustment of behaviour of hasXAttributesSatisfying and hasXAttribute… (#4882)
* Adjustment of behaviour of hasXAttributesSatisfying and hasXAttributesSatisfyingExactly assertions

* Cleanup

* Additional test coverage for new assertion method

* Added javadoc on assertions

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-11-29 13:47:15 -06:00
jack-berg e79aad8dcd
Implement logging-otlp exporter providers (#4992) 2022-11-29 10:39:35 -06:00
jack-berg 0973a7c426
Fix out of date zipkin exporter docs (#4995) 2022-11-29 10:38:37 -06:00
jack-berg 5fb50c1d5e
Add toString implementation to various propagator components (#4996) 2022-11-29 10:37:31 -06:00
dependabot[bot] 5442ea0b30
Bump org.jetbrains.kotlin.jvm from 1.7.21 to 1.7.22 (#4997) 2022-11-29 06:31:35 -08:00
Jonatan Ivanov df74d4cca5
Populate Zipkin remoteEndpoint (#4933)
* Populate Zipkin remoteEndpoint
fixes gh-4932

* Add conditions for creating zipkin remote endpoint

* Parameterize remote endpoint tests with span kind

* Verify INTERNAL span kind too
2022-11-28 14:16:14 -06:00
jack-berg 0fc41d4c30
Implement zipkin exporter provider (#4991) 2022-11-28 14:08:13 -06:00
Ben Roling 7dd5c1ccd7
Add auto-configure support for logging-otlp (#4879)
* Add autoconfigure support for logging-otlp

* Add NotOnClasspath tests

* Fix formatting

* Declare logging-otlp as experimental, add unit test

* Spotless

Co-authored-by: Jack Berg <jberg@newrelic.com>
2022-11-28 11:15:31 -06:00
jack-berg cbd629c579
Implement logging exporter providers (#4950) 2022-11-28 10:14:44 -06:00
jack-berg ee2d981bdc
Remove support for otel.experimental.sdk.enabled (#4973) 2022-11-26 09:16:59 -06:00
jack-berg c2947bf046
Add toString implementation to various log SDK components (#4979) 2022-11-26 09:10:35 -06:00
dependabot[bot] 44975c2853
Bump spotless-plugin-gradle from 6.11.0 to 6.12.0 (#4987)
Bumps [spotless-plugin-gradle](https://github.com/diffplug/spotless) from 6.11.0 to 6.12.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.11.0...gradle/6.12.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-25 13:11:45 -08:00
Trask Stalnaker 1209826ef1
GitHub actions sync (#4966)
* Sync

* Sync

* chmod

* Fix misspelling
2022-11-25 13:11:32 -08:00
dependabot[bot] c8a382618e
Bump com.diffplug.spotless from 6.11.0 to 6.12.0 (#4986)
Bumps com.diffplug.spotless from 6.11.0 to 6.12.0.

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-25 13:06:56 -08:00
Carlos Alberto Cortez 41c5fbc19a
OpenTracing Shim: Properly set the status based on the error tag. (#4962) 2022-11-24 10:53:09 -08:00
jack-berg f6deb4c1b7
Remove japicmp exception for log SDK changes (#4977) 2022-11-22 13:55:27 -06:00
jack-berg 25c92fb6ac
Remove outdated todo (#4978) 2022-11-22 12:58:44 -06:00
dependabot[bot] c95723e526
Bump jackson-bom from 2.14.0 to 2.14.1 (#4975)
Bumps [jackson-bom](https://github.com/FasterXML/jackson-bom) from 2.14.0 to 2.14.1.
- [Release notes](https://github.com/FasterXML/jackson-bom/releases)
- [Commits](https://github.com/FasterXML/jackson-bom/compare/jackson-bom-2.14.0...jackson-bom-2.14.1)

---
updated-dependencies:
- dependency-name: com.fasterxml.jackson:jackson-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-22 09:47:48 -06:00
dependabot[bot] 292c11e91f
Bump archunit-junit5 from 1.0.0 to 1.0.1 (#4974)
Bumps [archunit-junit5](https://github.com/TNG/ArchUnit) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/TNG/ArchUnit/releases)
- [Commits](https://github.com/TNG/ArchUnit/compare/v1.0.0...v1.0.1)

---
updated-dependencies:
- dependency-name: com.tngtech.archunit:archunit-junit5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-22 09:15:31 -06:00
dependabot[bot] 8e3e14ad29
Bump org.graalvm.buildtools.native from 0.9.17 to 0.9.18 (#4976)
Bumps [org.graalvm.buildtools.native](https://github.com/graalvm/native-build-tools) from 0.9.17 to 0.9.18.
- [Release notes](https://github.com/graalvm/native-build-tools/releases)
- [Commits](https://github.com/graalvm/native-build-tools/compare/0.9.17...0.9.18)

---
updated-dependencies:
- dependency-name: org.graalvm.buildtools.native
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-22 09:14:03 -06:00
jack-berg c4d0d862ba
Add support for EC mTLS keys (#4920)
* Add support for EC mTlS keys

* Revert change to integration test
2022-11-22 08:40:21 -06:00
jason plumb e61d7c84a3
Zipkin exporter: Serialize EventData attributes as JSON (#4934)
* serialize EventData attributes to json

* remove import

* fix test

* address code review comments.

* safety first
2022-11-21 16:53:52 -06:00
dependabot[bot] f004af9a14
Bump auto-value-annotations from 1.10 to 1.10.1 (#4969)
Bumps [auto-value-annotations](https://github.com/google/auto) from 1.10 to 1.10.1.
- [Release notes](https://github.com/google/auto/releases)
- [Commits](https://github.com/google/auto/compare/auto-value-1.10...auto-value-1.10.1)

---
updated-dependencies:
- dependency-name: com.google.auto.value:auto-value-annotations
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-21 10:20:10 -06:00
dependabot[bot] c9053b6735
Bump nullaway from 0.10.4 to 0.10.5 (#4971) 2022-11-21 06:37:54 -08:00
dependabot[bot] 16054964e0
Bump equalsverifier from 3.11 to 3.11.1 (#4970) 2022-11-21 06:37:37 -08:00
Trask Stalnaker 4c95521faa
Update apidiff to check newly created files too (#4967) 2022-11-17 17:45:46 -06:00
dependabot[bot] 0e41b1469d
Bump grpc-bom from 1.50.2 to 1.51.0 (#4964)
Bumps [grpc-bom](https://github.com/grpc/grpc-java) from 1.50.2 to 1.51.0.
- [Release notes](https://github.com/grpc/grpc-java/releases)
- [Commits](https://github.com/grpc/grpc-java/compare/v1.50.2...v1.51.0)

---
updated-dependencies:
- dependency-name: io.grpc:grpc-bom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-17 10:00:08 -06:00
dependabot[bot] dd012d94c3
Bump testcontainers-bom from 1.17.5 to 1.17.6 (#4963)
Bumps [testcontainers-bom](https://github.com/testcontainers/testcontainers-java) from 1.17.5 to 1.17.6.
- [Release notes](https://github.com/testcontainers/testcontainers-java/releases)
- [Changelog](https://github.com/testcontainers/testcontainers-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testcontainers/testcontainers-java/compare/1.17.5...1.17.6)

---
updated-dependencies:
- dependency-name: org.testcontainers:testcontainers-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-17 09:59:45 -06:00
jack-berg 08e19e38c6
Stop publishing opentelemetry-extension-aws artifact (#4945) 2022-11-17 09:40:29 -06:00
OpenTelemetry Bot 6c7637b96e
Copy change log updates from release/v1.20.x (#4959) 2022-11-16 11:51:48 -06:00
jack-berg 59702a79a5
Post release 1.20.1 (#4960)
* Update version in docs

* Reset japicmp
2022-11-15 17:11:21 -06:00
jack-berg 6c7047e71a
Disable japicmp when base_ref is release (#4957) 2022-11-15 14:27:58 -06:00
jack-berg cc1d6ae78a
Disable jApiCmp diff check on release branches (#4955) 2022-11-15 11:49:58 -06:00
jack-berg bd8b5650ac
Fix concurrent modification exception in ComponentRegistry (#4951)
* Fix concurrent modification exception in ComponentRegistry

* Reduce number of threads and iterations
2022-11-15 11:15:50 -06:00
dependabot[bot] 2cca0fb96c
Bump junit-pioneer from 1.8.0 to 1.9.0 (#4952)
Bumps [junit-pioneer](https://github.com/junit-pioneer/junit-pioneer) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/junit-pioneer/junit-pioneer/releases)
- [Commits](https://github.com/junit-pioneer/junit-pioneer/compare/v1.8.0...v1.9.0)

---
updated-dependencies:
- dependency-name: org.junit-pioneer:junit-pioneer
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-15 10:55:24 -06:00
Carlos Alberto Cortez ef4150ce37
OpenTracing Shim: Handle unsupported types when setting Attributes. (#4939)
* OpenTracing Shim: Handle unsupported types when setting Attributes.

This happens through:
* SpanBuilder.withTag()
* Span.setTag()

* Simplify BigInteger conversion assertions.
2022-11-14 10:14:13 -06:00
dependabot[bot] ab1064e80b
Bump com.github.ben-manes.versions from 0.43.0 to 0.44.0 (#4947)
Bumps com.github.ben-manes.versions from 0.43.0 to 0.44.0.

---
updated-dependencies:
- dependency-name: com.github.ben-manes.versions
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-14 10:13:32 -06:00
jack-berg fa3d292879
Fix misleading javadoc (#4946) 2022-11-13 08:53:42 -06:00
John Watson ea7883be20
Update semantic and resource attributes for spec v0.15.0 (#4938)
* Update semantic and resource attributes for spec v0.15.0

* explicitly exclude resource attributes

* remove more resources, include deprecated tags and attributes
2022-11-12 15:06:49 -08:00
jason plumb 61b117079d
De-singleton ZPageServer implementation (#4935)
* remove the static/singleton nature from ZPageServer

* add convenience method for creating zpages-based sdktracerprovider

* update readme for zpageserver

* oh checkstyle.

* overload build and add test
2022-11-12 08:49:56 -06:00
jack-berg aadcca8cf3
Stop trying to update opentelemetry-java-instrumentation on release (#4943) 2022-11-11 16:05:21 -06:00
jack-berg 1cb71c1445
Post release 1.20.0 (#4944)
* Update version in docs

* Reset japicmp
2022-11-11 16:04:58 -06:00
OpenTelemetry Bot 02f35ad004
Update version to 1.21.0 (#4941) 2022-11-11 13:15:52 -06:00
jack-berg c252fdfc7b
Prepare release 1.20.0 (#4931)
* Add changelog for 1.20.0

* Add missing since annotations
2022-11-11 12:55:30 -06:00
dependabot[bot] 362bc0ae91
Bump junit-pioneer from 1.7.2 to 1.8.0 (#4937)
Bumps [junit-pioneer](https://github.com/junit-pioneer/junit-pioneer) from 1.7.2 to 1.8.0.
- [Release notes](https://github.com/junit-pioneer/junit-pioneer/releases)
- [Commits](https://github.com/junit-pioneer/junit-pioneer/compare/v1.7.2...v1.8.0)

---
updated-dependencies:
- dependency-name: org.junit-pioneer:junit-pioneer
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-10 20:54:17 -08:00
dependabot[bot] 8f2c0d231f
Bump armeria-bom from 1.20.2 to 1.20.3 (#4936)
Bumps [armeria-bom](https://github.com/line/armeria) from 1.20.2 to 1.20.3.
- [Release notes](https://github.com/line/armeria/releases)
- [Changelog](https://github.com/line/armeria/blob/master/.post-release-msg)
- [Commits](https://github.com/line/armeria/compare/armeria-1.20.2...armeria-1.20.3)

---
updated-dependencies:
- dependency-name: com.linecorp.armeria:armeria-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-10 20:53:42 -08:00
Łukasz Monkiewicz e8146020cc
Adds '+' character to allowed characters in baggage value (#4898)
* Adds '+' character to allowed characters in baggade value

* Formatting fix

* Adda BaggageCodec implementation

* Additional cleanup

* Removal of Nullable method parameters.

* Additional tests for baggage decoding
2022-11-10 12:13:31 -06:00
dependabot[bot] 4b6df42f5c
Bump junit-pioneer from 1.7.1 to 1.7.2 (#4930)
Bumps [junit-pioneer](https://github.com/junit-pioneer/junit-pioneer) from 1.7.1 to 1.7.2.
- [Release notes](https://github.com/junit-pioneer/junit-pioneer/releases)
- [Commits](https://github.com/junit-pioneer/junit-pioneer/compare/v1.7.1...v1.7.2)

---
updated-dependencies:
- dependency-name: org.junit-pioneer:junit-pioneer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-10 07:56:26 -08:00
Ragnar Rova 36adb27cf8
Allow SDK to run in environments prohibiting use of sun.misc.Unsafe (#4902)
Some applications run under strict java.security permissions
which do not allow access to sun.misc.Unsafe.

BatchSpanProcessor uses Unsafe via jctools, but has a fallback to
ArrayBlockingQueue. Extending that fallback rule to cover
java security exceptions as well.

Co-authored-by: Jack Berg <jberg@newrelic.com>
2022-11-09 17:35:33 -06:00
Carlos Alberto Cortez f83def7a4f
OpenTracing Shim: Full multiple parent support. (#4916)
* Full multiple parent support.

This includes:

* The Baggage union of ALL parents is used.
* All parents are added as Links, in order to preserve
  the OpenTracing reference type as an attribute
  (either CHILD_OF or FOLLOWS_FROM).

* Update opentracing-shim/src/main/java/io/opentelemetry/opentracingshim/SpanBuilderShim.java

Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>

* Update opentracing-shim/src/main/java/io/opentelemetry/opentracingshim/SpanBuilderShim.java

Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>

* Update opentracing-shim/src/main/java/io/opentelemetry/opentracingshim/SpanBuilderShim.java

Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>

* Apply feedback.

* More feedback.

Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2022-11-09 17:02:28 -06:00
jack-berg ef076c2880
Fix LogsBenchmarks (#4929) 2022-11-09 16:54:18 -06:00
dependabot[bot] 4b601ade98
Bump org.jetbrains.kotlin.jvm from 1.7.20 to 1.7.21 (#4927)
Bumps org.jetbrains.kotlin.jvm from 1.7.20 to 1.7.21.

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin.jvm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-09 11:59:33 -06:00
jack-berg b60f4e20b8
Add context argument to LogRecordProcessor#onEmit (#4889)
* Add context argument to LogRecordProcessor#onEmit

* Change argument order
2022-11-09 11:59:06 -06:00
dependabot[bot] 2e9deb480a
Bump com.gradle.enterprise from 3.11.3 to 3.11.4 (#4928)
Bumps com.gradle.enterprise from 3.11.3 to 3.11.4.

---
updated-dependencies:
- dependency-name: com.gradle.enterprise
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-09 09:20:14 -08: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
dependabot[bot] 112b891602
Bump gradle-nullaway-plugin from 1.4.0 to 1.5.0 (#4925)
Bumps gradle-nullaway-plugin from 1.4.0 to 1.5.0.

---
updated-dependencies:
- dependency-name: net.ltgt.gradle:gradle-nullaway-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-08 13:45:19 -06:00
dependabot[bot] 68ab2f6840
Bump armeria-bom from 1.20.1 to 1.20.2 (#4924)
Bumps [armeria-bom](https://github.com/line/armeria) from 1.20.1 to 1.20.2.
- [Release notes](https://github.com/line/armeria/releases)
- [Changelog](https://github.com/line/armeria/blob/master/.post-release-msg)
- [Commits](https://github.com/line/armeria/compare/armeria-1.20.1...armeria-1.20.2)

---
updated-dependencies:
- dependency-name: com.linecorp.armeria:armeria-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-08 13:27:52 -06:00
dependabot[bot] 18bc8b8438
Bump proto-google-common-protos from 2.9.6 to 2.10.0 (#4923)
Bumps [proto-google-common-protos](https://github.com/googleapis/java-iam) from 2.9.6 to 2.10.0.
- [Release notes](https://github.com/googleapis/java-iam/releases)
- [Changelog](https://github.com/googleapis/java-iam/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/java-iam/commits)

---
updated-dependencies:
- dependency-name: com.google.api.grpc:proto-google-common-protos
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-08 10:54:03 -06:00
dependabot[bot] 148638981c
Bump org.graalvm.buildtools.native from 0.9.16 to 0.9.17 (#4922)
Bumps [org.graalvm.buildtools.native](https://github.com/graalvm/native-build-tools) from 0.9.16 to 0.9.17.
- [Release notes](https://github.com/graalvm/native-build-tools/releases)
- [Commits](https://github.com/graalvm/native-build-tools/compare/0.9.16...0.9.17)

---
updated-dependencies:
- dependency-name: org.graalvm.buildtools.native
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-08 10:53:32 -06:00
dependabot[bot] 4c384627cf
Bump jackson-bom from 2.13.4.20221013 to 2.14.0 (#4921)
Bumps [jackson-bom](https://github.com/FasterXML/jackson-bom) from 2.13.4.20221013 to 2.14.0.
- [Release notes](https://github.com/FasterXML/jackson-bom/releases)
- [Commits](https://github.com/FasterXML/jackson-bom/compare/jackson-bom-2.13.4.20221013...jackson-bom-2.14.0)

---
updated-dependencies:
- dependency-name: com.fasterxml.jackson:jackson-bom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-08 10:53:10 -06:00
dependabot[bot] 51ff803eb3
Bump nullaway from 0.10.3 to 0.10.4 (#4914)
Bumps [nullaway](https://github.com/uber/NullAway) from 0.10.3 to 0.10.4.
- [Release notes](https://github.com/uber/NullAway/releases)
- [Changelog](https://github.com/uber/NullAway/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uber/NullAway/compare/v0.10.3...v0.10.4)

---
updated-dependencies:
- dependency-name: com.uber.nullaway:nullaway
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-03 09:58:28 -07:00
dependabot[bot] 329d342830
Bump equalsverifier from 3.10.1 to 3.11 (#4915)
Bumps [equalsverifier](https://github.com/jqno/equalsverifier) from 3.10.1 to 3.11.
- [Release notes](https://github.com/jqno/equalsverifier/releases)
- [Changelog](https://github.com/jqno/equalsverifier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jqno/equalsverifier/compare/equalsverifier-3.10.1...equalsverifier-3.11)

---
updated-dependencies:
- dependency-name: nl.jqno.equalsverifier:equalsverifier
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-03 10:18:30 -05:00
jason plumb fedcbbe889
Add missing javadoc param to ImmutableSpanContext.create() (#4903)
* add missing param

* change wording to indicate optimization

* Update api/all/src/main/java/io/opentelemetry/api/internal/ImmutableSpanContext.java

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2022-11-02 18:13:28 -07:00
Carlos Alberto Cortez 435411b7da
Use opentracing-shim as instrumentation scope name. (#4890) 2022-11-02 15:05:59 -05:00
jack-berg 85bae88e1c
Add benchmark for log sdk (#4891) 2022-11-02 13:10:46 -05:00
jack-berg 34beb4d71c
Deprecate :extensions:aws (#4862)
* Deprecate :extensions:aws

* Add deprecation notice to README.md

* Include link to new location opentelemetry-java-contrib
2022-11-02 12:16:46 -05:00
Donnerbart fa46f19d39
Unify compression configuration for exporters (#4775)
* Fix handling of compressionMethod `none` in GrpcExporterBuilder

* Fix handling of compressionMethod `none` in OkHttpExporterBuilder

* Add compression configuration assertions to AbstractGrpcTelemetryExporterTest

* Add compression configuration to JaegerGrpcSpanExporterBuilder

* Add compression configuration to ZipkinSpanExporterBuilder

* Specify that zipkin default compression is gzip

Co-authored-by: Jack Berg <jberg@newrelic.com>
2022-11-01 13:00:35 -05:00
dependabot[bot] b6c58c5d90
Bump com.gradle.enterprise from 3.11.2 to 3.11.3 (#4904)
Bumps com.gradle.enterprise from 3.11.2 to 3.11.3.

---
updated-dependencies:
- dependency-name: com.gradle.enterprise
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-01 08:48:54 -07:00
dependabot[bot] f56b90923f
Bump nullaway from 0.10.2 to 0.10.3 (#4899)
Bumps [nullaway](https://github.com/uber/NullAway) from 0.10.2 to 0.10.3.
- [Release notes](https://github.com/uber/NullAway/releases)
- [Changelog](https://github.com/uber/NullAway/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uber/NullAway/compare/v0.10.2...v0.10.3)

---
updated-dependencies:
- dependency-name: com.uber.nullaway:nullaway
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-31 12:36:15 -05: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 52c37d56da
Stop publishing opentelemetry-sdk-extension-resources artifact (#4828) 2022-10-31 12:25:36 -05:00
dependabot[bot] 140c6360e0
Bump wire-compiler from 4.4.2 to 4.4.3 (#4894)
Bumps [wire-compiler](https://github.com/square/wire) from 4.4.2 to 4.4.3.
- [Release notes](https://github.com/square/wire/releases)
- [Changelog](https://github.com/square/wire/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/wire/compare/4.4.2...4.4.3)

---
updated-dependencies:
- dependency-name: com.squareup.wire:wire-compiler
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-27 10:20:31 -07:00
dependabot[bot] 87962d0c0b
Bump protobuf-bom from 3.21.8 to 3.21.9 (#4895)
Bumps [protobuf-bom](https://github.com/protocolbuffers/protobuf) from 3.21.8 to 3.21.9.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.21.8...v3.21.9)

---
updated-dependencies:
- dependency-name: com.google.protobuf:protobuf-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-27 10:13:01 -05:00
dependabot[bot] 9a018fec38
Bump wire-gradle-plugin from 4.4.2 to 4.4.3 (#4893)
Bumps [wire-gradle-plugin](https://github.com/square/wire) from 4.4.2 to 4.4.3.
- [Release notes](https://github.com/square/wire/releases)
- [Changelog](https://github.com/square/wire/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/wire/compare/4.4.2...4.4.3)

---
updated-dependencies:
- dependency-name: com.squareup.wire:wire-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-27 10:01:14 -05:00
jack-berg 21d55971b7
Add zero bucket boundary to default explicit bucket histogram (#4819) 2022-10-25 14:26:08 -05:00
Michal Korzeniewski 5ac1cef1e8
Add toString method to AbstractInstrument (#4883)
* Add toString method to AbstractInstrument

* add test for toString method

* use hasToString assertion for toString test
2022-10-25 13:24:48 -05:00
dependabot[bot] 45717e414f
Bump gradle/wrapper-validation-action from 1.0.4 to 1.0.5 (#4884)
Bumps [gradle/wrapper-validation-action](https://github.com/gradle/wrapper-validation-action) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/gradle/wrapper-validation-action/releases)
- [Commits](https://github.com/gradle/wrapper-validation-action/compare/v1.0.4...v1.0.5)

---
updated-dependencies:
- dependency-name: gradle/wrapper-validation-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-24 20:49:49 -07:00
dependabot[bot] a46dd004a8
Bump grpc-bom from 1.50.1 to 1.50.2 (#4872)
Bumps [grpc-bom](https://github.com/grpc/grpc-java) from 1.50.1 to 1.50.2.
- [Release notes](https://github.com/grpc/grpc-java/releases)
- [Commits](https://github.com/grpc/grpc-java/compare/v1.50.1...v1.50.2)

---
updated-dependencies:
- dependency-name: io.grpc:grpc-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-20 10:17:23 -05:00
dependabot[bot] c05f964736
Bump org.graalvm.buildtools.native from 0.9.15 to 0.9.16 (#4873)
Bumps [org.graalvm.buildtools.native](https://github.com/graalvm/native-build-tools) from 0.9.15 to 0.9.16.
- [Release notes](https://github.com/graalvm/native-build-tools/releases)
- [Commits](https://github.com/graalvm/native-build-tools/compare/0.9.15...0.9.16)

---
updated-dependencies:
- dependency-name: org.graalvm.buildtools.native
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-20 10:17:04 -05:00
Reiley Yang 540ebfa03d
Update README.md (#4871) 2022-10-20 10:16:40 -05:00
dependabot[bot] fdfacb0bde
Bump actions/checkout from 2 to 3 (#4865)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-19 11:40:07 -05:00
dependabot[bot] 19da306e9a
Bump protobuf-bom from 3.21.7 to 3.21.8 (#4866)
Bumps [protobuf-bom](https://github.com/protocolbuffers/protobuf) from 3.21.7 to 3.21.8.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.21.7...v3.21.8)

---
updated-dependencies:
- dependency-name: com.google.protobuf:protobuf-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-19 10:50:02 -05:00
dependabot[bot] 3da8960cab
Bump org.graalvm.buildtools.native from 0.9.14 to 0.9.15 (#4868)
Bumps [org.graalvm.buildtools.native](https://github.com/graalvm/native-build-tools) from 0.9.14 to 0.9.15.
- [Release notes](https://github.com/graalvm/native-build-tools/releases)
- [Commits](https://github.com/graalvm/native-build-tools/compare/0.9.14...0.9.15)

---
updated-dependencies:
- dependency-name: org.graalvm.buildtools.native
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-19 10:49:41 -05:00
dependabot[bot] 8bdc495476
Bump grpc-bom from 1.50.0 to 1.50.1 (#4867)
Bumps [grpc-bom](https://github.com/grpc/grpc-java) from 1.50.0 to 1.50.1.
- [Release notes](https://github.com/grpc/grpc-java/releases)
- [Commits](https://github.com/grpc/grpc-java/compare/v1.50.0...v1.50.1)

---
updated-dependencies:
- dependency-name: io.grpc:grpc-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-19 10:49:25 -05:00
jack-berg 1e67b056b4
Add User-Agent header to OTLP exporter requests (#4784)
* Add User-Agent header to OTLP exporter requests

* PR feedback

* Make OtlpUserAgent final

* Add user agent note to managed channel
2022-10-19 10:48:43 -05:00
Marcin Grzejszczak 9a1996c6c1
Adds Graal hints for the shaded dependencies (#4832)
* Adds Graal hints for the shaded dependencies

* Moved the file to the proper location

* Added Graal VM Github Action build

* Polish

* Updated graal plugin

* Updated graal plugin to 0.9.14

* Updated graal native plugin

* Applied changes following the review
2022-10-18 13:29:56 -05:00
jack-berg db1d0652b2
Decode resource attributes specified via otel.resource.attributes (#4756) 2022-10-18 11:45:34 -05:00
Marcin Grzejszczak a3551e7c45
Added info what are the new semantic attributes to be used (#4840)
* Added info what are the new semantic attributes to be used 

Related change - 0b45213858

* Regenerated the code

* Fixed . to #
2022-10-18 11:44:47 -05:00
dependabot[bot] 88779d3115
Bump wire-compiler from 4.3.0 to 4.4.2 (#4856)
* Bump wire-compiler from 4.3.0 to 4.4.2

Bumps [wire-compiler](https://github.com/square/wire) from 4.3.0 to 4.4.2.
- [Release notes](https://github.com/square/wire/releases)
- [Changelog](https://github.com/square/wire/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/wire/compare/4.3.0...4.4.2)

---
updated-dependencies:
- dependency-name: com.squareup.wire:wire-compiler
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Fix ProtoFieldsWireHandler

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>
2022-10-18 07:52:39 -07:00
dependabot[bot] fd4b666573
Bump com.github.ben-manes.versions from 0.42.0 to 0.43.0 (#4864)
Bumps com.github.ben-manes.versions from 0.42.0 to 0.43.0.

---
updated-dependencies:
- dependency-name: com.github.ben-manes.versions
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-18 09:49:13 -05:00
dependabot[bot] 94907534c9
Bump jmh-gradle-plugin from 0.6.6 to 0.6.8 (#4854)
Bumps jmh-gradle-plugin from 0.6.6 to 0.6.8.

---
updated-dependencies:
- dependency-name: me.champeau.jmh:jmh-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-17 17:51:46 -05:00
Trask Stalnaker 9308bc29fd
Fix patch release process (#4863) 2022-10-17 17:20:54 -05:00
dependabot[bot] cb998bb85a
Bump gradle-nullaway-plugin from 1.3.0 to 1.4.0 (#4853)
Bumps gradle-nullaway-plugin from 1.3.0 to 1.4.0.

---
updated-dependencies:
- dependency-name: net.ltgt.gradle:gradle-nullaway-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-17 17:20:42 -05:00
dependabot[bot] 8bb3460ba7
Bump auto-value-annotations from 1.9 to 1.10 (#4851)
Bumps [auto-value-annotations](https://github.com/google/auto) from 1.9 to 1.10.
- [Release notes](https://github.com/google/auto/releases)
- [Commits](https://github.com/google/auto/compare/auto-value-1.9...auto-value-1.10)

---
updated-dependencies:
- dependency-name: com.google.auto.value:auto-value-annotations
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-17 17:10:57 -05:00
jack-berg 5be58c5913
Encode enums as numbers in logging OTLP exporters (#4783) 2022-10-17 16:56:23 -05:00
Trask Stalnaker 250a2f0849
Update bot branch names (#4842) 2022-10-17 16:54:38 -05:00
dependabot[bot] c7755005f0
Bump com.diffplug.spotless from 6.9.0 to 6.11.0 (#4852)
Bumps com.diffplug.spotless from 6.9.0 to 6.11.0.

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-17 16:53:26 -05:00
dependabot[bot] 42bfb00245
Bump gradle-errorprone-plugin from 2.0.2 to 3.0.1 (#4858)
Bumps gradle-errorprone-plugin from 2.0.2 to 3.0.1.

---
updated-dependencies:
- dependency-name: net.ltgt.gradle:gradle-errorprone-plugin
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-17 16:52:17 -05:00
jack-berg 99dbcaf3c6
Add support for BatchLogRecordProcessor autoconfiguration (#4811) 2022-10-17 14:41:45 -05:00
dependabot[bot] 7e1119731a
Bump gradle-animalsniffer-plugin from 1.5.4 to 1.6.0 (#4857)
Bumps gradle-animalsniffer-plugin from 1.5.4 to 1.6.0.

---
updated-dependencies:
- dependency-name: ru.vyarus:gradle-animalsniffer-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-17 14:33:56 -05:00
dependabot[bot] 51f481ad20
Bump spotless-plugin-gradle from 6.9.0 to 6.11.0 (#4850)
Bumps [spotless-plugin-gradle](https://github.com/diffplug/spotless) from 6.9.0 to 6.11.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.9.0...gradle/6.11.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-17 14:32:32 -05:00
jack-berg 6fa504df97
Fix broken link (#4861) 2022-10-17 13:00:16 -05:00
Trask Stalnaker d6c55f37a4
Fix release contributors script (#4848) 2022-10-14 14:27:00 -05:00
dependabot[bot] f8c1646804
Bump jackson-bom from 2.13.4.20221012 to 2.13.4.20221013 (#4847) 2022-10-14 06:34:19 -07:00
jack-berg cc22880bb8
Stop publishing opentelemetry-sdk-extension-aws artifact (#4830) 2022-10-14 07:51:17 -05:00
dependabot[bot] ebb97dad81
Bump docker/build-push-action from 3.1.1 to 3.2.0 (#4843)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3.1.1 to 3.2.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3.1.1...v3.2.0)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-13 13:52:11 -05:00
dependabot[bot] 24cd5bbbd2
Bump jackson-bom from 2.13.4 to 2.13.4.20221012 (#4844)
Bumps [jackson-bom](https://github.com/FasterXML/jackson-bom) from 2.13.4 to 2.13.4.20221012.
- [Release notes](https://github.com/FasterXML/jackson-bom/releases)
- [Commits](https://github.com/FasterXML/jackson-bom/compare/jackson-bom-2.13.4...jackson-bom-2.13.4.20221012)

---
updated-dependencies:
- dependency-name: com.fasterxml.jackson:jackson-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-13 13:51:55 -05:00
dependabot[bot] 8bb8f31381
Bump com.gradle.enterprise from 3.11.1 to 3.11.2 (#4845)
Bumps com.gradle.enterprise from 3.11.1 to 3.11.2.

---
updated-dependencies:
- dependency-name: com.gradle.enterprise
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-13 13:45:11 -05:00
Trask Stalnaker e175397bd1
Fix create website pull request (#4836) 2022-10-13 13:13:44 -05:00
jason plumb 3f4698a536
Ensure done before checking success to help troubleshoot timeout issues (#4833)
* ensure done before checking success to help troubleshoot timeout issues

* add done check to testDefaultRetryPolicy method as well.

* ensure isDone() before other assertions
2022-10-13 13:13:22 -05:00
dependabot[bot] d83d2d8c32
Bump grpc-bom from 1.49.2 to 1.50.0 (#4837)
Bumps [grpc-bom](https://github.com/grpc/grpc-java) from 1.49.2 to 1.50.0.
- [Release notes](https://github.com/grpc/grpc-java/releases)
- [Commits](https://github.com/grpc/grpc-java/compare/v1.49.2...v1.50.0)

---
updated-dependencies:
- dependency-name: io.grpc:grpc-bom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-12 09:37:31 -05:00
dependabot[bot] 8757392e62
Bump armeria-bom from 1.20.0 to 1.20.1 (#4838)
Bumps [armeria-bom](https://github.com/line/armeria) from 1.20.0 to 1.20.1.
- [Release notes](https://github.com/line/armeria/releases)
- [Changelog](https://github.com/line/armeria/blob/master/.post-release-msg)
- [Commits](https://github.com/line/armeria/compare/armeria-1.20.0...armeria-1.20.1)

---
updated-dependencies:
- dependency-name: com.linecorp.armeria:armeria-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-12 09:37:20 -05:00
jack-berg d1a17d7e66
Post 1.19.0 release (#4827) 2022-10-07 10:50:52 -05:00
OpenTelemetry Bot 22620a1f59
Update version to 1.20.0 (#4825) 2022-10-07 09:28:54 -05:00
jack-berg 3a61673450
Prepare release 1.19.0 (#4821)
* wip

* Add changelog entry for 1.19.0

* Add new since annotations

* Add late additions to changelog

* PR feedback

* Fix 1.18.0 ref
2022-10-07 09:00:45 -05:00
jack-berg 03009ce006
Lower exclusive exponential histogram bounds (#4700)
* Switch exponential histograms to use lower exclusive boundaries

* Cache ExponentialHistogramIndexers

* Update javadoc to reflect lower exlusive boundaries

* Spotless

* Fix typo

* Add tests and stop rounding subnormal values

* spotless

* Add explanatory comments
2022-10-06 15:02:08 -05:00
dependabot[bot] b242ec28fc
Bump armeria-bom from 1.19.0 to 1.20.0 (#4820)
Bumps [armeria-bom](https://github.com/line/armeria) from 1.19.0 to 1.20.0.
- [Release notes](https://github.com/line/armeria/releases)
- [Changelog](https://github.com/line/armeria/blob/master/.post-release-msg)
- [Commits](https://github.com/line/armeria/compare/armeria-1.19.0...armeria-1.20.0)

---
updated-dependencies:
- dependency-name: com.linecorp.armeria:armeria-bom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-06 10:23:33 -05:00
dependabot[bot] caa441dfb3
Bump testcontainers-bom from 1.17.4 to 1.17.5 (#4818)
Bumps [testcontainers-bom](https://github.com/testcontainers/testcontainers-java) from 1.17.4 to 1.17.5.
- [Release notes](https://github.com/testcontainers/testcontainers-java/releases)
- [Changelog](https://github.com/testcontainers/testcontainers-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testcontainers/testcontainers-java/compare/1.17.4...1.17.5)

---
updated-dependencies:
- dependency-name: org.testcontainers:testcontainers-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-05 08:47:38 -07:00
dependabot[bot] b5ac8c5590
Bump archunit-junit5 from 0.23.1 to 1.0.0 (#4816)
* Bump archunit-junit5 from 0.23.1 to 1.0.0

Bumps [archunit-junit5](https://github.com/TNG/ArchUnit) from 0.23.1 to 1.0.0.
- [Release notes](https://github.com/TNG/ArchUnit/releases)
- [Commits](https://github.com/TNG/ArchUnit/compare/v0.23.1...v1.0.0)

---
updated-dependencies:
- dependency-name: com.tngtech.archunit:archunit-junit5
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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>
2022-10-04 11:41:06 -05:00
jack-berg bd0cf78c39
Ensure GlobalLoggerProvider is set once (#4804)
* Ensure GlobalLoggerProvider is set once

* Add GlobalLoggerProviderTest

* PR feedback
2022-10-03 13:47:36 -05:00
dependabot[bot] b0802ad102
Bump brave-bom from 5.14.0 to 5.14.1 (#4814)
Bumps [brave-bom](https://github.com/openzipkin/brave) from 5.14.0 to 5.14.1.
- [Release notes](https://github.com/openzipkin/brave/releases)
- [Changelog](https://github.com/openzipkin/brave/blob/master/RELEASE.md)
- [Commits](https://github.com/openzipkin/brave/compare/5.14.0...5.14.1)

---
updated-dependencies:
- dependency-name: io.zipkin.brave:brave-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

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 <34418638+jack-berg@users.noreply.github.com>
2022-10-03 12:12:57 -05:00
Bruno Baptista c37dada000
Add support for new system property otel.sdk.disabled (#4810)
* Add support for new system property otel.sdk.disabled

* address review comments
2022-10-03 11:51:57 -05:00
jack-berg 093b21085b
Make opentelemetry-bom-alpha depend on opentelemetry-bom (#4755) 2022-10-03 11:13:16 -05:00
jack-berg 5fee9b7e95
Suppress logs in logger tests (#4806) 2022-10-03 11:13:01 -05:00
dependabot[bot] 9e04442581
Bump proto-google-common-protos from 2.9.4 to 2.9.6 (#4813)
Bumps [proto-google-common-protos](https://github.com/googleapis/java-iam) from 2.9.4 to 2.9.6.
- [Release notes](https://github.com/googleapis/java-iam/releases)
- [Changelog](https://github.com/googleapis/java-iam/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/java-iam/commits)

---
updated-dependencies:
- dependency-name: com.google.api.grpc:proto-google-common-protos
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-03 11:04:58 -05:00
dependabot[bot] c464021798
Bump grpc-bom from 1.49.1 to 1.49.2 (#4815)
Bumps [grpc-bom](https://github.com/grpc/grpc-java) from 1.49.1 to 1.49.2.
- [Release notes](https://github.com/grpc/grpc-java/releases)
- [Commits](https://github.com/grpc/grpc-java/compare/v1.49.1...v1.49.2)

---
updated-dependencies:
- dependency-name: io.grpc:grpc-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-03 11:04:46 -05:00
jack-berg 6a99caac99
Run tests with java 19 (#4805) 2022-10-03 06:31:09 -07:00
jack-berg 7b56506a73
Deprecate opentelemetry-sdk-extension-aws (#4749) 2022-10-01 10:08:10 -05:00
jack-berg 3ee7bbd165
Fix ProcessResource directory separator (#4782)
* Fix ProcessResource directory separator

* spotless
2022-10-01 09:56:15 -05:00
jack-berg e1519bdd3d
Deprecate opentelemetry-sdk-extension-resources (#4748) 2022-10-01 09:54:45 -05:00
John Watson 3456e6beed
update to semantic conventions version 1.13.0 (#4766)
* update to semantic conventions version 1.13.0

* add a couple more deprecated items

* add deprecated constants

* add another deprecated item
2022-09-30 16:31:27 -07:00
dependabot[bot] 089571fdf0
Bump org.jetbrains.kotlin.jvm from 1.7.10 to 1.7.20 (#4807)
Bumps org.jetbrains.kotlin.jvm from 1.7.10 to 1.7.20.

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin.jvm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-30 13:54:43 -05:00
dependabot[bot] b7614b2611
Bump testcontainers-bom from 1.17.3 to 1.17.4 (#4808)
Bumps [testcontainers-bom](https://github.com/testcontainers/testcontainers-java) from 1.17.3 to 1.17.4.
- [Release notes](https://github.com/testcontainers/testcontainers-java/releases)
- [Changelog](https://github.com/testcontainers/testcontainers-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testcontainers/testcontainers-java/compare/1.17.3...1.17.4)

---
updated-dependencies:
- dependency-name: org.testcontainers:testcontainers-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-30 10:14:31 -05:00
dependabot[bot] a4eca8f50d
Bump protobuf-bom from 3.21.6 to 3.21.7 (#4809)
Bumps [protobuf-bom](https://github.com/protocolbuffers/protobuf) from 3.21.6 to 3.21.7.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.21.6...v3.21.7)

---
updated-dependencies:
- dependency-name: com.google.protobuf:protobuf-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-30 10:14:00 -05:00
dependabot[bot] e4ee76bf1b
Bump proto-google-common-protos from 2.9.3 to 2.9.4 (#4802)
Bumps [proto-google-common-protos](https://github.com/googleapis/java-iam) from 2.9.3 to 2.9.4.
- [Release notes](https://github.com/googleapis/java-iam/releases)
- [Changelog](https://github.com/googleapis/java-iam/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/java-iam/commits)

---
updated-dependencies:
- dependency-name: com.google.api.grpc:proto-google-common-protos
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-29 10:06:37 -05:00
dependabot[bot] 872ada44e4
Bump org.jetbrains.kotlin.jvm from 1.6.20 to 1.7.10 (#4789)
Bumps org.jetbrains.kotlin.jvm from 1.6.20 to 1.7.10.

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin.jvm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-27 19:57:31 -07:00
jack-berg 01a07b51a1
Add event API (#4781)
* Add event API

* Log when emitting event without domain, add javadoc example to Logger
2022-09-27 17:39:33 -05:00
jack-berg 29fe7caffe
Ignore updates to jqf-fuzz (#4795) 2022-09-27 16:01:45 -05:00
dependabot[bot] 057ffef52e
Bump brave-bom from 5.13.11 to 5.14.0 (#4796)
Bumps [brave-bom](https://github.com/openzipkin/brave) from 5.13.11 to 5.14.0.
- [Release notes](https://github.com/openzipkin/brave/releases)
- [Changelog](https://github.com/openzipkin/brave/blob/master/RELEASE.md)
- [Commits](https://github.com/openzipkin/brave/compare/5.13.11...5.14.0)

---
updated-dependencies:
- dependency-name: io.zipkin.brave:brave-bom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

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 <34418638+jack-berg@users.noreply.github.com>
2022-09-27 11:01:15 -05:00
dependabot[bot] 8fc01df6a6
Bump actions/stale from 5 to 6 (#4771)
Bumps [actions/stale](https://github.com/actions/stale) from 5 to 6.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-27 10:35:46 -05:00
dependabot[bot] 77471ef84e
Bump proto-google-common-protos from 2.9.2 to 2.9.3 (#4797)
Bumps [proto-google-common-protos](https://github.com/googleapis/java-iam) from 2.9.2 to 2.9.3.
- [Release notes](https://github.com/googleapis/java-iam/releases)
- [Changelog](https://github.com/googleapis/java-iam/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/java-iam/commits)

---
updated-dependencies:
- dependency-name: com.google.api.grpc:proto-google-common-protos
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-27 10:34:53 -05:00
dependabot[bot] 69dceb5ce5
Bump armeria-bom from 1.18.0 to 1.19.0 (#4785)
Bumps [armeria-bom](https://github.com/line/armeria) from 1.18.0 to 1.19.0.
- [Release notes](https://github.com/line/armeria/releases)
- [Changelog](https://github.com/line/armeria/blob/master/.post-release-msg)
- [Commits](https://github.com/line/armeria/compare/armeria-1.18.0...armeria-1.19.0)

---
updated-dependencies:
- dependency-name: com.linecorp.armeria:armeria-bom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

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 <34418638+jack-berg@users.noreply.github.com>
2022-09-27 10:34:33 -05:00
dependabot[bot] 3dcb465e82
Bump junit-bom from 5.9.0 to 5.9.1 (#4798)
Bumps [junit-bom](https://github.com/junit-team/junit5) from 5.9.0 to 5.9.1.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.9.0...r5.9.1)

---
updated-dependencies:
- dependency-name: org.junit:junit-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-27 10:07:51 -05:00
dependabot[bot] ccf8a38cbd
Bump nullaway from 0.9.9 to 0.10.2 (#4792)
Bumps [nullaway](https://github.com/uber/NullAway) from 0.9.9 to 0.10.2.
- [Release notes](https://github.com/uber/NullAway/releases)
- [Changelog](https://github.com/uber/NullAway/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uber/NullAway/compare/v0.9.9...v0.10.2)

---
updated-dependencies:
- dependency-name: com.uber.nullaway:nullaway
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-27 09:48:05 -05:00
dependabot[bot] e9aabaa245
Bump protobuf-bom from 3.21.5 to 3.21.6 (#4788)
Bumps [protobuf-bom](https://github.com/protocolbuffers/protobuf) from 3.21.5 to 3.21.6.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.21.5...v3.21.6)

---
updated-dependencies:
- dependency-name: com.google.protobuf:protobuf-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-27 09:46:56 -05:00
dependabot[bot] 73d774f5d4
Bump snakeyaml from 1.32 to 1.33 (#4790)
Bumps [snakeyaml](https://bitbucket.org/snakeyaml/snakeyaml) from 1.32 to 1.33.
- [Commits](https://bitbucket.org/snakeyaml/snakeyaml/branches/compare/snakeyaml-1.33..snakeyaml-1.32)

---
updated-dependencies:
- dependency-name: org.yaml:snakeyaml
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-27 09:46:35 -05:00
dependabot[bot] 56b7598b82
Bump jackson-bom from 2.13.3 to 2.13.4 (#4791)
Bumps [jackson-bom](https://github.com/FasterXML/jackson-bom) from 2.13.3 to 2.13.4.
- [Release notes](https://github.com/FasterXML/jackson-bom/releases)
- [Commits](https://github.com/FasterXML/jackson-bom/compare/jackson-bom-2.13.3...jackson-bom-2.13.4)

---
updated-dependencies:
- dependency-name: com.fasterxml.jackson:jackson-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-27 09:46:21 -05:00
dependabot[bot] 1737c0baae
Bump jctools-core from 3.3.0 to 4.0.1 (#4793)
Bumps [jctools-core](https://github.com/JCTools/JCTools) from 3.3.0 to 4.0.1.
- [Release notes](https://github.com/JCTools/JCTools/releases)
- [Changelog](https://github.com/JCTools/JCTools/blob/master/RELEASE-NOTES.md)
- [Commits](https://github.com/JCTools/JCTools/compare/v3.3.0...v4.0.1)

---
updated-dependencies:
- dependency-name: org.jctools:jctools-core
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-27 09:46:01 -05:00
dependabot[bot] ea3f1a3d72
Bump grpc-bom from 1.49.0 to 1.49.1 (#4794)
Bumps [grpc-bom](https://github.com/grpc/grpc-java) from 1.49.0 to 1.49.1.
- [Release notes](https://github.com/grpc/grpc-java/releases)
- [Commits](https://github.com/grpc/grpc-java/compare/v1.49.0...v1.49.1)

---
updated-dependencies:
- dependency-name: io.grpc:grpc-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-27 09:45:47 -05:00
Trask Stalnaker 5b46d9533a
More dependabot (#4770)
* More dependabot

* Space
2022-09-27 09:19:47 -05:00
Carlos Alberto Cortez 88c894b0a5
[OT Shim] Fully support Baggage-only propagation. (#4739)
* Fully support scenarios of Baggage-only propagation.

This includes both in-process and inter-process propagation.

* Apply feedback.
2022-09-27 09:19:19 -05:00
jack-berg 206ca2731b
Define project scope (#4753)
* Define project scope

* PR feedback

* Refine kotlin extension phrasing
2022-09-27 09:16:54 -05:00
jack-berg a1cf20d1c5
Rename LogProcessor to LogRecordProcessor (#4772) 2022-09-26 11:02:49 -05:00
jack-berg 647ed91c15
Rename LogData to LogRecordData (#4774)
* Rename LogData to LogRecordData

* spotless
2022-09-26 10:30:59 -05:00
jack-berg 9b17be3114
Rename LogExporter to LogRecordExporter (#4773) 2022-09-26 09:57:30 -05:00
jack-berg f7317c6e8d
Split out logs API (#4764) 2022-09-22 13:23:52 -05:00
Trask Stalnaker ce533c8ff9
Fix skipped name (#4767)
* Fix skipped name

* Better
2022-09-21 09:54:54 -05:00
Trask Stalnaker 8deed1bad5
Fix javadoc (#4768) 2022-09-21 09:53:00 -05:00
Trask Stalnaker 2ae8b5204b
Create website PR on release (#4765) 2022-09-19 21:23:31 -07:00
jack-berg 064f246c99
Remove legacy approvers (#4762) 2022-09-19 12:20:55 -05:00
jack-berg 6209109e0a
Change LogEmitter to Logger, LogEmitterProvider to LoggerProvider (#4721) 2022-09-16 13:41:30 -05:00
jack-berg a50ceb3959
Implement dropped attribute count in logs (#4697)
* Implement dropped attribute count in logs

* PR feedback

* PR feedback
2022-09-16 10:49:06 -05:00
jack-berg 591aff6c15
Update codeowners to reference approvers team alias (#4761) 2022-09-15 13:47:40 -05:00
Trask Stalnaker 614f0faf98
Update snakeyaml dependency (#4760) 2022-09-15 13:03:51 -05:00
jack-berg d1087144ed
Add Trask and Mateusz as approvers (#4754) 2022-09-15 12:46:45 -05:00
Trask Stalnaker 6baf514ca4
Update license report in instrumentation repo PR (#4759) 2022-09-15 10:05:38 -05:00
jack-berg cdab465a7f
Stop publishing opentelemetry-extension-annotations artifact (#4750) 2022-09-12 15:51:07 -05:00
Sampath 6c6a5fd995
ShimUtilTest | Added exception type along with message (#4745)
* Added exception type along with message

* Added new line
2022-09-12 12:31:51 -07:00
jack-berg 05b045e586
Post 1.17.0 release (#4744) 2022-09-10 10:36:56 -05:00
jack-berg 1697130f0a
jApiCmp exclusions (#4746)
* Demonstrate failing japicmp

* Exclude allowable compatiblity changes

* Rollback temp change to MetricExporter
2022-09-09 18:33:58 -05:00
OpenTelemetry Java Bot d069e1b473
Update version to 1.19.0 (#4741)
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
2022-09-09 14:07:36 -05:00
jack-berg eec0225e37
Changelog 1.18.0 (#4737)
* Add since annotations

* Prepare changelog for 1.17.0 release

* Spotless

* PR feedback

* Spotless
2022-09-09 13:44:23 -05:00
Trask Stalnaker fe3da3d13e
Add release cadence (#4738) 2022-09-09 10:01:38 -05:00
Mateusz Rzeszutek 6c11793bd2
Add experimental ConditionalResourceProvider interface (#4731)
* Add experimental ConditionalResourceProvider interface

* Add tests
2022-09-08 13:10:43 -05:00
jack-berg 1046253f3f
Drop micrometer shim (#4735)
* Drop micrometer shim

* Remove remnants of micrometer-shim
2022-09-08 11:39:06 -05:00
jack-berg c3a9f68ec8
Stop publishing opentelemetry-exporter-jaeger-proto artifact (#4724)
* Stop publishing opentelemetry-exporter-jaeger-proto artifact

* Load class by string
2022-09-08 11:26:29 -05:00
wzy531a aea98ba885
Fix container detection fails in k8s with containerd v1.5.0+ environments (#4733)
* pr with issue#4730

* PR for issue#4730

Signed-off-by: wuzhaoyin <1449259282@qq.com>

* Annotation adjustment

Signed-off-by: wuzhaoyin <1449259282@qq.com>

* fix code owner review required fail

Signed-off-by: wuzhaoyin <1449259282@qq.com>

Signed-off-by: wuzhaoyin <1449259282@qq.com>
2022-09-08 11:23:45 -05:00
jack-berg 928d112c7d
Revert histogram buckets (#4736)
* Revert "Restore prior histogram defaults (#4717)"

This reverts commit 160af1c480.

* Revert "Update bucket hist defaults to match spec (#4684)"

This reverts commit 8445642052.
2022-09-08 11:23:18 -05:00
Felix Scheinost b5ef538e5e
Improve detection of resource attributes on ECS (#4574)
* Improve detection of resource attributes on ECS

This improves the detection of resource attributes on ECS by fetching ECS metadata from `ECS_CONTAINER_METADATA_URI` or `ECS_CONTAINER_METADATA_URI_V4`.

Previously only `CONTAINER_NAME` and `CONTAINER_ID` id were set.

Now we set:

- CONTAINER_ID
- CONTAINER_NAME
- AWS_ECS_CONTAINER_ARN
- CONTAINER_IMAGE_NAME
- CONTAINER_IMAGE_TAG
- aws.ecs.container.image.id
- AWS_LOG_GROUP_ARNS
- AWS_LOG_GROUP_NAMES
- AWS_LOG_STREAM_NAMES
- AWS_ECS_TASK_ARN
- AWS_ECS_TASK_FAMILY
- AWS_ECS_TASK_REVISION

Especially AWS_LOG_GROUP_ARNS is important so that connection of traces to logs works OOTB on X-Ray.

* Change „24“ to „26“ in fixtures for consistency

`CONTAINER_NAME` and `AWS_ECS_TASK_REVISION` should match

* Implement a few more attributes, fix ARNs

This commit adds implementations for the `aws.ecs.launchtype`
and `aws.logs.stream.arns` attributes, as well as fixing
the generation of log group ARNs.

* EcsResource: Record log group without trailing :*

Both with and without trailing `:*` are valid formats but there is a bug in the OpenTelementry collector which can’t handle the trailing `:*` (for now) (see https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/13702)

So remove addition of the trailing `:*` for now.

Co-authored-by: Michele Mancioppi <michelem@lumigo.io>
2022-09-08 10:20:58 -05:00
jack-berg 66285e2cbe
Codify that we may stop publishing artifacts, and change unstable por… (#4729)
* Codify that we may stop publishing artifacts, and change unstable portions of otherwisse stable APIs

* Revert ABI -> API

* PR feedback
2022-09-07 11:43:55 -05:00
jack-berg 57b05cb71d
Update dependencies (#4728)
* Update dependencies to latest version

* Upgrade to gradle 7.5.1
2022-08-30 09:30:18 -05:00
Sampath 45a1593575
Simplified the assertions (#4726) 2022-08-29 12:06:59 -07:00
jack-berg bb3cc2e3de
Move noop-api to contrib (#4727) 2022-08-29 10:44:55 -05:00
Mateusz Rzeszutek 169554bb50
Add AttributesAssert#doesNotContainKey() (#4723)
* Add AttributesAssert#doesNotContainKey()

* jApiCmp

* Update sdk/testing/src/main/java/io/opentelemetry/sdk/testing/assertj/AttributesAssert.java

Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>

Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2022-08-25 20:05:14 -07:00
jack-berg 160af1c480
Restore prior histogram defaults (#4717)
* Add property for configuring legacy explicit bucket histogram bucket boundaries

* Add clarifying comment

* Spotless
2022-08-25 14:41:46 -05:00
jack-berg def1c85b60
Drop opentelemetry-sdk-extension-jfr-events, which moved to opentelemetry-java-contrib (#4703) 2022-08-25 08:46:45 -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
jason plumb 8445642052
Update bucket hist defaults to match spec (#4684)
* udpate default histogram bucket boundaries

* spotless
2022-08-24 12:59:29 -05:00
jack-berg 198b2c2994
Serialize scope attributes in otlp marshalers (#4712) 2022-08-24 10:55:06 -05:00
jack-berg c8e4fd4d9b
Fix log sdk module name (#4716) 2022-08-24 10:00:02 -05:00
jack-berg 926b57143a
Merge trace and metric incubator (#4705) 2022-08-24 09:59:42 -05:00
jason plumb 3a802305dc
return early if merging empty resource (#4713) 2022-08-23 12:38:25 -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
Trask Stalnaker c5bc5a0555
Add comment to generated PR (#4692) 2022-08-20 09:17:57 -05:00
jack-berg 7b70a9e55e
Bump otlp proto to 0.19.0 (#4704) 2022-08-19 12:58:34 -05:00
Bogdan Drutu b5d0d08ad8
Fix HistogramScaleBenchmark, use the right ThreadState, clarify difference (#4691)
* Fix HistogramScaleBenchmark, use the right ThreadState, clarify difference

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

* Update sdk/metrics/src/jmh/java/io/opentelemetry/sdk/metrics/internal/aggregator/HistogramScaleBenchmark.java

Co-authored-by: jason plumb <75337021+breedx-splk@users.noreply.github.com>

* Update HistogramScaleBenchmark.java

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Co-authored-by: jason plumb <75337021+breedx-splk@users.noreply.github.com>
2022-08-19 09:14:20 -05:00
jason plumb 734b13e9c5
Improve single responsibility of ZipkinSpanExporter. (#4675)
* improve single responsibility of ZipkinSpanExporter by factoring out OtelToZipkinSpanTransformer.

* add javadoc

* make utility constructor private

* make new class final and jApiCmp

* add javadocs

* enhance javadoc

* make package private

* hide logger

* spotless

* jApiCmp

* create transformer with supplier

* jApiCmp

* rename all Function vars to "transformer"

* remove dead code

* remove Function interface from OtelToZipkinSpanTransformer

* create factory method and rename test util

* rename attributesMap -> attributes

* rebase after metrics merge

* add javadoc

* remove static shared ip address

* Hey look it's a period.

* allow the builder to control the ip address supplier, not the entire transformer.

* hide instance behind getter

* remove unused

* rebase

* hide OtelToZipkinSpanTransformer from public usage

* jApiCmp

* add default to javadocs
2022-08-17 18:11:20 -05:00
jack-berg 6eea0389af
Move :sdk-extensions:zpages to :sdk-extensions:tracing-incubator (#4694) 2022-08-17 15:41:07 -05:00
dependabot[bot] 80ee9f4bcb
Bump com.gradle.enterprise from 3.10.3 to 3.11.1 (#4693)
Bumps com.gradle.enterprise from 3.10.3 to 3.11.1.

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

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

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>
2022-08-17 11:47:16 -05:00
Bogdan Drutu bb57442cbf
Remove unnecessary code from metrics sdk (#4688)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-08-17 11:09:15 -05:00
jack-berg df65356cda
Post release 1.17.0 (#4690)
* Update version in docs

* japicmp

* Exclude opentelemetry-java-bot from contributors
2022-08-15 07:44:43 -05:00
OpenTelemetry Java Bot 90f84f6017
Update version to 1.18.0 (#4687)
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
2022-08-12 11:49:24 -05:00
Trask Stalnaker 955c40f4a9
Auto-update instrumentation repo on release (#4673)
* Auto-update instrumentation repo on release

* fix
2022-08-12 11:43:32 -05:00
jack-berg d5bb47664b
Prepare changelog for 1.17.0 release (#4683)
* Prepare changelog for 1.17.0 release

* Add changelog entry for zipkinspanexporter metrics

* Add more details
2022-08-12 11:29:27 -05:00
Donnerbart 323174abae
Add metrics to ZipkinSpanExporter (#4501)
* Add metrics to the ZipkinSpanExporter

* Add distinct transport name for HTTP/JSON trace metrics

* Use :expoters:common

* Fix javadoc

Co-authored-by: Jack Berg <jberg@newrelic.com>
2022-08-12 10:57:46 -05:00
Bogdan Drutu abbafb3627
Remove duplicate and unnecessary code in micrometer1shim (#4682)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-08-11 17:05:09 -07:00
jack-berg e11829778a
Use NoopLogEmitterBuilder when no log processors are registered (#4672) 2022-08-11 16:16:53 -05:00
jack-berg b979ea1427
Allow logs to be mutated by LogProcessor (#4643)
* Allow logs to be mutated by LogProcessor

* wip

* Improve test coverage
2022-08-11 15:52:22 -05:00
dependabot[bot] dcb9bbbe1b
Bump docker/build-push-action from 3.1.0 to 3.1.1 (#4674)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3.1.0...v3.1.1)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  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>
2022-08-08 10:13:15 -07:00
jack-berg 77be2e0136
Break out :exporters:common module (#4575)
* Break out :exporters:common module

* Comment out readme links

* spot
2022-08-08 08:28:24 -05:00
Mateusz Rzeszutek 91bd17e09b
Add AutoConfigurationCustomizer#addPropertiesCustomizer() extension p… (#4608)
* Add AutoConfigurationCustomizer#addPropertiesCustomizer() extension point

* jApiCmp

* Update sdk-extensions/autoconfigure/src/main/java/io/opentelemetry/sdk/autoconfigure/AutoConfiguredOpenTelemetrySdkBuilder.java

Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>

* since

Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2022-08-07 15:57:33 -05:00
jack-berg 1d63b2accd
Mark :extensions:annotations as deprecated (#4659) 2022-08-07 15:56:45 -05:00
jack-berg 5def2f7fb2
Always pull ghrc.io/open-telemetry/opentelemetry-java/* images (#4656)
* Always pull ghrc.io/open-telemetry/opentelemetry-java/* images

* Unused import

* Add error logging to collector

* unused imports

* spot

* revert error logging
2022-08-07 15:56:07 -05:00
jack-berg 35680960cb
Fix autoconfigure documentation (#4658) 2022-08-07 15:55:36 -05:00
Trask Stalnaker 1c6fd1cceb
Sync errorprone conventions (#4666) 2022-08-05 16:35:31 -07:00
jack-berg 2ef0a58bf8
Fix OpenTelemetryMetricExporterTest flake (#4657)
* Fix OpenTelemetryMetricExporterTest flake

* unused imports
2022-08-05 16:26:31 -07:00
Trask Stalnaker 144eb5731f
Fix typo (#4664) 2022-08-05 16:24:35 -07:00
David Turner cfbe5f9d20
Avoid unnecessary stack trace capture (#4663)
Constructing an `AssertionError` is rather expensive, and pointless in
cases that we're not even going to log it. With this commit we skip all
this unnecessary work.

Relates https://github.com/elastic/elasticsearch/issues/89107
2022-08-05 13:04:23 -05:00
Mateusz Rzeszutek 6be22eeaa5
Bump spotless version (#4667) 2022-08-05 11:18:54 -05:00
DJ Gregor 4bfe17fb76
Fix misspellings in log message envvar suggestions (#4660)
Fix some small mispellings where OTLP should be OTEL in these strings
in log messages that are emitted when gRPC unimplemented responses are
received when exporting:
- OTLP_TRACES_EXPORTER -> OTEL_TRACES_EXPORTER
- OTLP_METRICS_EXPORTER -> OTEL_METRICS_EXPORTER
- OTLP_LOGS_EXPORTER -> OTEL_LOGS_EXPORTER

This will match the environement variables listed here:
https://github.com/open-telemetry/opentelemetry-java/blob/main/sdk-extensions/autoconfigure/README.md
2022-08-02 17:00:04 -05:00
Liudmila Molkova f5dd63a738
jApiCmp: check if source is compatible (#4642)
* jApiCmp: check if source compatible

* Allow TestSpanData.getScopeInfo to be abstract in 1.17

* ignore abstract method incompatibility on autovalue

* Update buildSrc/src/main/kotlin/otel.japicmp-conventions.gradle.kts

Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>

* ignore abstract method incompatibility on autovalue

* formatting

Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2022-08-02 15:05:41 -05:00
jack-berg ca9837fa47
Disable compression in collector exporter (#4655) 2022-08-02 14:19:25 -05:00
sfriberg 1dc764684a
Simple OTLP HTTP authentication - otel internal api (#4630)
* Internal Authenticator

* clean up, add tests

* clean up, add tests

* Delete project.properties

* checkstyle

* extend test

* Update exporters/otlp/common/src/main/java/io/opentelemetry/exporter/internal/auth/Authenticator.java

Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>

* Update exporters/otlp/common/src/main/java/io/opentelemetry/exporter/internal/auth/Authenticator.java

Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>

* Update exporters/otlp/common/src/main/java/io/opentelemetry/exporter/internal/auth/Authenticator.java

Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>

* Update exporters/otlp/common/src/main/java/io/opentelemetry/exporter/internal/auth/Authenticator.java

Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>

* Update exporters/otlp/common/src/main/java/io/opentelemetry/exporter/internal/okhttp/OkHttpExporterBuilder.java

Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>

* PR comments

* PR comments

* PR comments

* Remove Consumer pattern

Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2022-07-29 14:05:46 -05:00
jack-berg 21abfa2b57
Add ConfigurableLogExporterProvider (#4636) 2022-07-28 15:04:45 -05:00
Maksym Ochenashko 7d01751e01
Update example in `InMemorySpanExporter` (#4644)
The current example is out of date and does not compile.
2022-07-28 08:20:17 -07:00
jack-berg facbf4fb9e
Add default implementations for getInstrumentationScopeInfo methods (#4640) 2022-07-27 17:54:29 -05:00
Mateusz Rzeszutek 467a275825
Add ordering to autoconfigure SPIs (#4609)
* Add ordering to autoconfigure SPIs

* jApiCmp

* comments
2022-07-27 17:37:02 -05:00
jack-berg 659a7930bd
Move AttributesMap to :sdk:common (#4641) 2022-07-27 17:08:40 -05:00
jack-berg a8086498b1
Add TestLogData, remove public LogDataImpl and LogDataBuilder from log SDK (#4635)
* Add TestLogData, remove public LogDataImpl and LogDataBuilder from log sdk

* pr comment
2022-07-27 13:15:25 -05:00
jason plumb aa355829cb
Clean up to sdk docs re: mutability (#4628)
* remove references to TracerSdkManagement and TraceConfig and bullet point mutability problems.

* restore removed sections and update topmost heading for clarity

* Update docs/sdk-configuration.md

Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>

Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2022-07-27 10:51:27 -07:00
jack-berg c72a01ef1b
Update to semconv 1.12.0, build tools 0.8.0 (#4637) 2022-07-27 09:03:13 -05:00
jack-berg 2ef73c83af
Support aggregation arguments for view file configuration (#4588)
* Support aggregation arguments for view file configuration

* Extract getBucketBoundaries function
2022-07-21 09:41:43 -05:00
Trask Stalnaker 01807f6b4f
chmod to make script executable (#4621) 2022-07-20 10:16:58 -05:00
Trask Stalnaker 65ab38b2d6
Fix release notes generation (#4622)
* Fix release notes generation

* Update .github/scripts/generate-release-contributors.sh

Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>

Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2022-07-20 10:16:44 -05:00
jack-berg 7a2a5b379d
Update autoconfigure docs for multiple exporters (#4619) 2022-07-20 09:39:48 -05:00
jack-berg 31746e0821
Update dependencies (#4620)
* Update dependencies to latest versions

* Upgrade to gradle 7.5

* Fix checksum
2022-07-20 09:39:30 -05:00
dependabot[bot] 7a1114197d
Bump docker/build-push-action from 3.0.0 to 3.1.0 (#4623)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3.0.0...v3.1.0)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  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>
2022-07-19 20:26:41 -07:00
jack-berg d84a111273
Cache HttpUrl for exporters that use OkHttp (#4616) 2022-07-19 10:04:54 -05:00
Trask Stalnaker 514ae2c975
Switch to opentelemetrybot account (#4591) 2022-07-18 17:57:46 -05:00
dependabot[bot] 4c8cd7dfa5
Bump com.gradle.enterprise from 3.9 to 3.10.3 (#4614)
Bumps com.gradle.enterprise from 3.9 to 3.10.3.

---
updated-dependencies:
- dependency-name: com.gradle.enterprise
  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>
2022-07-18 16:09:26 -05:00
Trivikram Kamat 6de5c50b7e
Add Project Status in README (#4613) 2022-07-16 07:57:27 -07:00
jack-berg 6f4a24cd61
Post 1.16.0 release (#4607) 2022-07-15 01:43:30 -05:00
OpenTelemetry Java Bot 2ff5dfea8a
Update version to 1.17.0 (#4605) 2022-07-12 21:18:26 -05:00
jack-berg 9c3a98c90e
Add changelog entry for 1.16.0 (#4603)
* Add changelog entry for 1.16.0

* Change heading to ## Unreleased
2022-07-12 21:02:00 -05:00
Anuraag Agrawal 1566a1b45e
Remove anuraaga from maintainers list (#4596)
* Remove anuraaga from maintainers list

Not at AWS anymore

* Update README.md

Co-authored-by: John Watson <jkwatson@gmail.com>

Co-authored-by: John Watson <jkwatson@gmail.com>
2022-07-12 13:51:03 -07:00
jason plumb 6054f9a427
remove @anuraaga from CODEOWNERS :( (#4597) 2022-07-11 15:44:35 -07:00
Aaron Ai 90313381bd
Fix typo in MetricAdapterTest#convertHistogram (#4592) 2022-07-09 12:11:21 -07: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
Gregor Zeitlinger 198aecdfa4
OpenTracing shim: baggage of active span was not used (#4539) 2022-07-07 18:06:00 -07:00
Carlos Alberto Cortez eb373a37f1
OpenTracing Shim: Store the SpanContextShim in the SpanShim (#4578)
* Store the SpanContext + Baggage combo directly in Span Shim.

* Make the SpanShim's context volatile.

We want to have light access when reading it,
while keeping the actual lock when updating its values.

* Update comment.

* Clean up multithreaded baggage test.
2022-07-07 18:05:46 -07:00
xiangtianyu 51fb582a36
bugfix: fix ImmutableKeyValuePairs bugs (#4573)
* fix bug

* change the fix

* add new cases and changed the way to fix the bug

* fix some describe words

Co-authored-by: John Watson <jkwatson@gmail.com>

* modify some describe mistake

Co-authored-by: John Watson <jkwatson@gmail.com>

* run spotlessApply

Co-authored-by: John Watson <jkwatson@gmail.com>
2022-07-06 12:07:57 +09:00
jack-berg d2a8304b9b
Otlp exporter default aggregation (#4557)
* Add default aggregation selector option to OTLP metric exporters

* change compose to with
2022-07-05 10:21:04 -05:00
Trask Stalnaker a68ce4e017
Release workflow simplifications (#4534)
* Release workflow simplifications

* sync

* Fix
2022-07-05 09:03:01 -05:00
Trask Stalnaker d2e6b55d07
Dependabot for gradle plugins (#4551) 2022-07-05 09:01:26 -05:00
Anuraag Agrawal 49ddbb1b00
Add test for jaeger-thrift over UDP (#4584) 2022-07-05 07:12:07 -05:00
Trask Stalnaker 6034c12650
Add javadoc about autoconfigure pitfall (#4558)
* Add javadoc about autoconfigure pitfall

* more
2022-06-30 09:40:34 -05:00
Mateusz Rzeszutek 4c0cbba5d3
Add hyphen normalization to ConfigProperties (#4564) 2022-06-30 09:26:29 -05:00
jack-berg 160b30a16a
Fix ConcurrencModificationException in BatchSpanProcessorTest (#4568) 2022-06-29 17:03:52 -05:00
jack-berg cb864fd209
Fix metrics incubator docs (#4567) 2022-06-29 16:24:57 -05:00
jack-berg 0860b3884b
MetricReader and MetricExporter can determine default aggregation by instrument (#4472)
* MetricReader and MetricExporter can determine default aggregation by instrument

* Add since annotations
2022-06-28 15:39:26 -05:00
HaloFour 31be1dcc3f
Add helper to SpanDataAssert to assert that span status satisfies a condition (#4469)
* Add helper to SpanDataAssert to assert that span status satisfies a condition

* Copypasta fail

* Add StatusDataAssert with assertion helpers for validating the exporter span status

* PR Feedback

Co-authored-by: Jack Berg <jberg@newrelic.com>
2022-06-23 12:44:18 -07:00
Gregor Zeitlinger e141779d02
make the tracing shim compatible with span wrappers (#4535)
such as https://github.com/zalando/opentracing-toolbox/tree/main/opentracing-proxy
2022-06-23 11:12:59 -05:00
jack-berg 2e3b1e878c
Prototype PRs are excempt from stale check (#4554) 2022-06-22 14:25:17 -05:00
Will Li 8e2f44f7c9
add github action to autoclose old pr/issues (#4503)
* add github action to autoclose old pr/issues

Signed-off-by: Cuichen Li <cuichli@cisco.com>

* update based on comments

Signed-off-by: Cuichen Li <cuichli@cisco.com>

* Apply suggestions from code review

Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>

Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2022-06-22 13:47:03 -05:00
jack-berg b6c246a00a
Indicate that passwords are stored in 1Password (#4532)
* Indicate that passwords are stored in 1Password

* Add Github Actions to 1Password mapping table

* Add sonatype instructions
2022-06-22 09:56:48 -05:00
Fabio Massimo Ercoli bc8f721458
Handle non-String system properties (#4543) (#4544)
* Test non-string properties (#4543)

* Handle non-String system properties (#4543)

* Small cleanups

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2022-06-22 10:02:48 +09:00
Anuraag Agrawal 852e755eeb
Use OkHttpGrpcExporter unless upstream Channel provided by user (#4538)
* Use OkHttp-based gRPC exporter unless setChannel is called.
2022-06-17 09:45:03 +09:00
jack-berg ccfc9ea918
Tighten up exponential histogram implementation (#4536) 2022-06-16 11:20:23 -05:00
jack-berg f280f278be
Speed up OTLP integration tests (#4537) 2022-06-16 09:59:43 +09:00
jack-berg 54ca62b42b
Add build step to check for diff (#4527)
* Add build step to check for diff

* Try removing HEAD --

* Test adding api without japicmp

* Revert "Test adding api without japicmp"

This reverts commit 0d0f4f0a1e.

* Echo comment about running jApiCmp
2022-06-15 13:40:12 -05:00
Anuraag Agrawal 5a1b2c5caa
Fix handling of client private keys in PEM format and document PCKS8 r… (#4529)
* Verify the TLS we use in tests are in PEM format and document PCKS8 restriction on key

* Decode PEM client key
2022-06-14 15:37:09 -05:00
jack-berg 5f32636405
Update docs to 1.15.0 (#4526) 2022-06-10 15:16:01 -05:00
OpenTelemetry Java Bot df100557e7
Update version to 1.16.0 (#4523) 2022-06-10 10:58:30 -05:00
2820 changed files with 105524 additions and 50516 deletions

8
.clomonitor.yml Normal file
View File

@ -0,0 +1,8 @@
# see https://github.com/cncf/clomonitor/blob/main/docs/checks.md#exemptions
exemptions:
- check: artifacthub_badge
reason: "Artifact Hub doesn't support Java packages"
- check: signed_releases
reason: "Maven central releases are signed and there are no GitHub release artifacts"
- check: openssf_badge
reason: "ETOOMANYBADGES, but the work has been done: https://www.bestpractices.dev/projects/9991"

View File

@ -11,17 +11,15 @@ coverage:
status:
project:
default:
target: 90%
target: 89%
paths:
- "!opencensus-shim/"
- "!opentracing-shim/"
- "!sdk-extensions/zpages/"
unmaintained:
target: 80%
paths:
- "opencensus-shim/"
- "opentracing-shim/"
- "sdk-extensions/zpages/"
patch:
default:
target: 80%

View File

@ -3,7 +3,7 @@ charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = false
insert_final_newline = true
max_line_length = 100
tab_width = 2
ij_continuation_indent_size = 4

40
.fossa.yml Normal file
View File

@ -0,0 +1,40 @@
version: 3
targets:
only:
- type: gradle
exclude:
# these modules are not published and so consumers will not be exposed to them
- type: gradle
path: ./
target: ':api:testing-internal'
- type: gradle
path: ./
target: ':exporters:otlp:testing-internal'
- type: gradle
path: ./
target: ':integration-tests'
- type: gradle
path: ./
target: ':integration-tests:graal'
- type: gradle
path: ./
target: ':integration-tests:graal-incubating'
- type: gradle
path: ./
target: ':integration-tests:otlp'
- type: gradle
path: ./
target: ':integration-tests:tracecontext'
- type: gradle
path: ./
target: ':perf-harness'
- type: gradle
path: ./
target: ':testing-internal'
experimental:
gradle:
configurations-only:
# consumer will only be exposed to these dependencies
- runtimeClasspath

2
.github/CODEOWNERS vendored
View File

@ -2,4 +2,4 @@
# This file controls who is tagged for review for any given pull request.
# For anything not explicitly taken by someone else:
* @anuraaga @jack-berg @jkwatson @jsuereth @kubawach @Oberon00
* @open-telemetry/java-approvers

View File

@ -25,7 +25,7 @@ Version: (e.g., `v0.4.0`, `1eb551b`, etc)
How did you reference these artifacts? (excerpt from your `build.gradle`, `pom.xml`, etc)
**Environment**
Compiler: (e.g., "AdoptOpenJDK 11.0.6")
Compiler: (e.g., "Temurin 17.0.7")
OS: (e.g., "Ubuntu 20.04")
Runtime (if different from JDK above): (e.g., "Oracle JRE 8u251")
OS (if different from OS compiled on): (e.g., "Windows Server 2019")

View File

@ -1,6 +0,0 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"

85
.github/renovate.json5 vendored Normal file
View File

@ -0,0 +1,85 @@
{
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
extends: [
'config:best-practices',
'helpers:pinGitHubActionDigestsToSemver',
],
packageRules: [
{
// this is to reduce the number of renovate PRs
matchManagers: [
'github-actions',
'dockerfile',
],
extends: [
'schedule:weekly',
],
groupName: 'weekly update',
},
{
matchPackageNames: [
'io.opentelemetry.contrib:opentelemetry-aws-xray-propagator',
'io.opentelemetry.proto:opentelemetry-proto',
'io.opentelemetry.semconv:opentelemetry-semconv-incubating',
],
// Renovate's default behavior is only to update from unstable -> unstable if it's for the
// major.minor.patch, under the assumption that you would want to update to the stable version
// of that release instead of the unstable version for a future release
// (TODO remove once the artifacts above release stable versions)
ignoreUnstable: false,
allowedVersions: '!/\\-SNAPSHOT$/',
},
{
// junit-pioneer 2+ requires Java 11+
matchPackageNames: [
'org.junit-pioneer:junit-pioneer',
],
matchUpdateTypes: [
'major',
],
enabled: false,
},
{
// mockito 5+ requires Java 11+
matchUpdateTypes: [
'major',
],
enabled: false,
matchPackageNames: [
'org.mockito:{/,}**',
],
},
{
// jqf-fuzz version 1.8+ requires Java 11+
matchPackageNames: [
'edu.berkeley.cs.jqf:jqf-fuzz',
],
matchUpdateTypes: [
'major',
'minor',
],
enabled: false,
},
{
// pinned version for compatibility
matchPackageNames: [
'org.jetbrains.kotlinx:kotlinx-coroutines-core',
],
matchCurrentVersion: '1.5.2',
enabled: false,
},
{
groupName: 'spotless packages',
matchPackageNames: [
'com.diffplug.spotless{/,}**',
],
},
{
// equals verifier v4+ requires java 17+
groupName: 'nl.jqno.equalsverifier',
matchPackageNames: [ 'equalsverifier'],
matchUpdateTypes: [ 'major' ],
enabled: false
}
],
}

24
.github/repository-settings.md vendored Normal file
View File

@ -0,0 +1,24 @@
# Repository settings
This document describes any changes that have been made to the
settings in this repository outside the settings tracked in the
private admin repo.
## Secrets and variables > Actions
- `GPG_PASSWORD` - stored in OpenTelemetry-Java 1Password
- `GPG_PRIVATE_KEY` - stored in OpenTelemetry-Java 1Password
- `NVD_API_KEY` - stored in OpenTelemetry-Java 1Password
- Generated at https://nvd.nist.gov/developers/request-an-api-key
- Key is associated with [@trask](https://github.com/trask)'s gmail address
- `SONATYPE_KEY` - owned by [@jack-berg](https://github.com/jack-berg)
- `SONATYPE_USER` - owned by [@jack-berg](https://github.com/jack-berg)
### Organization secrets
- `FOSSA_API_KEY`
- `OTELBOT_PRIVATE_KEY`
### Organization variables
- `OTELBOT_APP_ID`

34
.github/scripts/draft-change-log-entries.sh vendored Executable file
View File

@ -0,0 +1,34 @@
#!/bin/bash -e
version=$("$(dirname "$0")/get-version.sh")
if [[ $version =~ ([0-9]+)\.([0-9]+)\.0 ]]; then
major="${BASH_REMATCH[1]}"
minor="${BASH_REMATCH[2]}"
else
echo "unexpected version: $version"
exit 1
fi
if [[ $minor == 0 ]]; then
prior_major=$((major - 1))
prior_minor=$(sed -n "s/^## Version $prior_major\.\([0-9]\+\)\..*/\1/p" CHANGELOG.md | head -1)
if [[ -z $prior_minor ]]; then
# assuming this is the first release
range=
else
range="v$prior_major.$prior_minor.0..HEAD"
fi
else
range="v$major.$((minor - 1)).0..HEAD"
fi
echo "## Unreleased"
echo
git log --reverse \
--perl-regexp \
--author='^(?!renovate\[bot\] )' \
--pretty=format:"* %s" \
"$range" \
| sed -E 's,\(#([0-9]+)\)$,\n ([#\1](https://github.com/open-telemetry/opentelemetry-java/pull/\1)),'

View File

@ -5,6 +5,11 @@
# this should be run on the release branch
# NOTE if you need to run this script locally, you will need to first:
# git fetch upstream main
# git push origin upstream/main:main
# export GITHUB_REPOSITORY=open-telemetry/opentelemetry-java
from_version=$1
# get the date of the first commit that was not in the from_version
@ -67,7 +72,7 @@ query($q: String!, $endCursor: String) {
}
}
' --jq '.data.search.edges.[].node.body' \
| grep -oE "#[0-9]{4,}|$GITHUB_REPOSITORY/issues/[0-9]{4,}" \
| grep -oE "#[0-9]{4,}$|#[0-9]{4,}[^0-9<]|$GITHUB_REPOSITORY/issues/[0-9]{4,}" \
| grep -oE "[0-9]{4,}" \
| xargs -I{} gh issue view {} --json 'author,url' --jq '[.author.login,.url]' \
| grep -v '/pull/' \
@ -79,6 +84,7 @@ echo $contributors1 $contributors2 \
| sort -uf \
| grep -v linux-foundation-easycla \
| grep -v github-actions \
| grep -v dependabot \
| grep -v renovate \
| grep -v codecov \
| grep -v otelbot \
| sed 's/^/@/'

22
.github/scripts/get-prior-version.sh vendored Executable file
View File

@ -0,0 +1,22 @@
version=$(.github/scripts/get-version.sh)
if [[ $version =~ ^([0-9]+)\.([0-9]+)\.([0-9]+) ]]; then
major="${BASH_REMATCH[1]}"
minor="${BASH_REMATCH[2]}"
patch="${BASH_REMATCH[3]}"
else
echo "unexpected version: $version"
exit 1
fi
if [[ $patch == 0 ]]; then
if [[ $minor == 0 ]]; then
prior_major=$((major - 1))
prior_minor=$(grep -Po "^## Version $prior_major.\K[0-9]+" CHANGELOG.md | head -1)
prior_version="$prior_major.$prior_minor"
else
prior_version="$major.$((minor - 1)).0"
fi
else
prior_version="$major.$minor.$((patch - 1))"
fi
echo $prior_version

View File

@ -1,3 +1,3 @@
#!/bin/bash -e
grep -Eo "[0-9]+.[0-9]+.0" version.gradle.kts
grep -Eo "[0-9]+.[0-9]+.[0-9]+" version.gradle.kts

View File

@ -1,7 +0,0 @@
{
"retryOn429": true,
"aliveStatusCodes": [
200,
403
]
}

View File

@ -1,17 +0,0 @@
#!/bin/bash -e
# this script helps to reduce sporadic link check failures by retrying at a file-by-file level
retry_count=3
for file in "$@"; do
for i in $(seq 1 $retry_count); do
if markdown-link-check --config "$(dirname "$0")/markdown-link-check-config.json" \
"$file"; then
break
elif [[ $i -eq $retry_count ]]; then
exit 1
fi
sleep 5
done
done

View File

@ -0,0 +1,44 @@
#!/bin/bash -e
# this script merges release notes for $VERSION into CHANGELOG.md
# the release date for $VERSION should be available in $RELEASE_DATE
# and the release notes for $VERSION should be available in /tmp/changelog-section.md
if [[ $VERSION =~ ^[0-9]+\.[0-9]+\.0 ]]; then
# this was not a patch release, so the version exists already in the CHANGELOG.md
# update the release date
sed -Ei "s/## Version $VERSION .*/## Version $VERSION ($RELEASE_DATE)/" CHANGELOG.md
# the entries are copied over from the release branch to support workflows
# where change log entries may be updated after preparing the release branch
{
# copy the portion above the release, up to and including the heading
sed -n "0,/^## Version $VERSION /p" CHANGELOG.md
# copy the release notes for $VERSION
cat /tmp/changelog-section.md
# copy the portion below the release
sed -n "0,/^## Version $VERSION /d;0,/^## Version /{/^## Version/!d};p" CHANGELOG.md
} > /tmp/CHANGELOG.md
# update the real CHANGELOG.md
cp /tmp/CHANGELOG.md CHANGELOG.md
else
# this was a patch release, so the version does not exist already in the CHANGELOG.md
{
# copy the portion above the top-most release, not including the heading
sed -n "0,/^## Version /{ /^## Version /!p }" CHANGELOG.md
# add the heading
echo "## Version $VERSION ($RELEASE_DATE)"
# copy the release notes for $VERSION
cat /tmp/changelog-section.md
# copy the portion starting from the top-most release
sed -n "/^## Version /,\$p" CHANGELOG.md
} > /tmp/CHANGELOG.md
# update the real CHANGELOG.md
cp /tmp/CHANGELOG.md CHANGELOG.md
fi

View File

@ -1,4 +0,0 @@
#!/bin/bash -e
git config user.name opentelemetry-java-bot
git config user.email 97938252+opentelemetry-java-bot@users.noreply.github.com

8
.github/scripts/update-version.sh vendored Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash -e
version=$1
versionWithSnapshot="$version-SNAPSHOT"
sed -Ei "s/[0-9]+\.[0-9]+\.[0-9]+/$version/" version.gradle.kts
sed -Ei "1 s/(Comparing source compatibility of [a-z-]+)-[0-9]+\.[0-9]+\.[0-9]+(-SNAPSHOT)?.jar/\1-$versionWithSnapshot.jar/" docs/apidiffs/current_vs_latest/*.txt

View File

@ -0,0 +1,4 @@
#!/bin/bash -e
git config user.name otelbot
git config user.email 197425009+otelbot@users.noreply.github.com

View File

@ -6,33 +6,49 @@ on:
description: "The pull request # to backport"
required: true
permissions:
contents: read
jobs:
backport:
permissions:
contents: write # for git push to PR branch
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: |
if [[ ! $GITHUB_REF_NAME =~ ^release/v[0-9]+\.[0-9]+\.x$ ]]; then
echo this workflow should only be run against release branches
exit 1
fi
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
# history is needed to run git cherry-pick below
fetch-depth: 0
- name: Set git user
run: .github/scripts/set-git-user.sh
- name: Use CLA approved github bot
run: .github/scripts/use-cla-approved-github-bot.sh
- uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
id: otelbot-token
with:
app-id: ${{ vars.OTELBOT_APP_ID }}
private-key: ${{ secrets.OTELBOT_PRIVATE_KEY }}
- name: Create pull request
env:
NUMBER: ${{ github.event.inputs.number }}
# not using the default GITHUB_TOKEN because pull requests generated by it do not run any workflows
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
# not using secrets.GITHUB_TOKEN since pull requests from that token do not run workflows
GH_TOKEN: ${{ steps.otelbot-token.outputs.token }}
run: |
commit=$(gh pr view $NUMBER --json mergeCommit --jq .mergeCommit.oid)
title=$(gh pr view $NUMBER --json title --jq .title)
url=$(gh pr view $NUMBER --json url --jq .url)
branch="backport-${NUMBER}-to-${GITHUB_REF_NAME//\//-}"
branch="otelbot/backport-${NUMBER}-to-${GITHUB_REF_NAME//\//-}"
git checkout -b $branch
git cherry-pick $commit
git push origin HEAD:$branch
git push --set-upstream origin $branch
gh pr create --title "[$GITHUB_REF_NAME] $title" \
--body "Clean cherry-pick of #$NUMBER to the \`$GITHUB_REF_NAME\` branch." \
--head $branch \
--base $GITHUB_REF_NAME

77
.github/workflows/benchmark-tags.yml vendored Normal file
View File

@ -0,0 +1,77 @@
name: Benchmark Tags
on:
workflow_dispatch:
permissions:
contents: read
jobs:
sdk-benchmark:
permissions:
contents: write # for git push to benchmarks branch
name: Benchmark SDK
runs-on: equinix-bare-metal
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
tag-version:
- v1.6.0
- v1.7.0
- v1.7.1
- v1.10.0
- v1.10.1
- v1.11.0
- v1.12.0
- v1.13.0
- v1.14.0
- v1.15.0
- v1.16.0
- v1.17.0
- v1.18.0
- v1.19.0
- v1.21.0
- v1.22.0
- v1.23.0
- v1.23.1
- v1.24.0
- v1.25.0
- v1.26.0
- v1.27.0
- v1.28.0
- v1.29.0
- v1.30.0
- v1.30.1
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
ref: ${{ matrix.tag-version }}
- id: setup-java
name: Set up Java for build
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
with:
distribution: temurin
java-version: 17
- name: Set up gradle
uses: gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4.4.1
- name: Run jmh
run: ./gradlew jmhJar
- name: Run Benchmark
run: |
cd sdk/trace/build
java -jar libs/opentelemetry-sdk-trace-*-jmh.jar -rf json SpanBenchmark SpanPipelineBenchmark ExporterBenchmark
- name: Store benchmark results
uses: benchmark-action/github-action-benchmark@d48d326b4ca9ba73ca0cd0d59f108f9e02a381c7 # v1.20.4
with:
tool: 'jmh'
output-file-path: sdk/trace/build/jmh-result.json
gh-pages-branch: benchmarks
github-token: ${{ secrets.GITHUB_TOKEN }}
benchmark-data-dir-path: "benchmarks"
auto-push: true
ref: ${{ matrix.tag-version }}

46
.github/workflows/benchmark.yml vendored Normal file
View File

@ -0,0 +1,46 @@
name: Benchmark Main
on:
push:
branches: [ main ]
workflow_dispatch:
permissions:
contents: read
jobs:
sdk-benchmark:
permissions:
contents: write # for git push to benchmarks branch
name: Benchmark SDK
runs-on: equinix-bare-metal
timeout-minutes: 10
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- id: setup-java
name: Set up Java for build
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
with:
distribution: temurin
java-version: 17
- name: Set up gradle
uses: gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4.4.1
- name: Run jmh
run: ./gradlew jmhJar
- name: Run Benchmark
run: |
cd sdk/trace/build
java -jar libs/opentelemetry-sdk-trace-*-jmh.jar -rf json SpanBenchmark SpanPipelineBenchmark ExporterBenchmark
- name: Store benchmark results
uses: benchmark-action/github-action-benchmark@d48d326b4ca9ba73ca0cd0d59f108f9e02a381c7 # v1.20.4
with:
tool: 'jmh'
output-file-path: sdk/trace/build/jmh-result.json
gh-pages-branch: benchmarks
github-token: ${{ secrets.GITHUB_TOKEN }}
benchmark-data-dir-path: "benchmarks"
auto-push: true

View File

@ -9,21 +9,27 @@ on:
- main
workflow_dispatch:
permissions:
contents: read
jobs:
publish:
permissions:
contents: read
packages: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Login to GitHub package registry
uses: docker/login-action@v2
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v3.0.0
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
with:
context: integration-tests/tracecontext/docker
push: true

View File

@ -12,6 +12,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
permissions:
contents: read
jobs:
build:
name: Build
@ -21,61 +24,99 @@ jobs:
matrix:
os:
- macos-latest
- ubuntu-20.04
- macos-13
- ubuntu-latest
- windows-latest
test-java-version:
- 8
- 11
- 17
- 18
- 21
- 23
# Collect coverage on latest LTS
include:
- os: ubuntu-20.04
test-java-version: 17
- os: ubuntu-latest
test-java-version: 21
coverage: true
jmh-based-tests: true
# macos-latest drops support for java 8 temurin. Run java 8 on macos-13. Run java 11, 17, 21 on macos-latest.
exclude:
- os: macos-latest
test-java-version: 8
- os: macos-13
test-java-version: 11
- os: macos-13
test-java-version: 17
- os: macos-13
test-java-version: 21
- os: macos-13
test-java-version: 23
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- id: setup-java-test
name: Set up Java ${{ matrix.test-java-version }} for tests
uses: actions/setup-java@v3
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
with:
distribution: temurin
java-version: ${{ matrix.test-java-version }}
- id: setup-java
name: Set up Java for build
uses: actions/setup-java@v3
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
with:
distribution: temurin
java-version: 17
- uses: gradle/gradle-build-action@v2
with:
arguments: |
build
- name: Set up gradle
uses: gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4.4.1
- name: Build
run: >
./gradlew build
${{ matrix.coverage && 'jacocoTestReport' || '' }}
-PtestJavaVersion=${{ matrix.test-java-version }}
-Porg.gradle.java.installations.paths=${{ steps.setup-java-test.outputs.path }},${{ steps.setup-java.outputs.path }}
"-Porg.gradle.java.installations.paths=${{ steps.setup-java-test.outputs.path }}"
"-Porg.gradle.java.installations.auto-download=false"
env:
# JMH-based tests run only if this environment variable is set to true
RUN_JMH_BASED_TESTS: ${{ matrix.jmh-based-tests }}
- uses: codecov/codecov-action@v3
- name: Check for diff
# The jApiCmp diff compares current to latest, which isn't appropriate for release branches
# this fails on windows because of the bash-specific if/then/else syntax, but that's ok
# because we only need to run this validation once (on any platform)
if: ${{ matrix.os != 'windows-latest' && !startsWith(github.ref_name, 'release/') && !startsWith(github.base_ref, 'release/') }}
run: |
# need to "git add" in case any generated files did not already exist
git add docs/apidiffs
if git diff --cached --quiet
then
echo "No diff detected."
else
echo "Diff detected - did you run './gradlew jApiCmp'?"
echo $(git diff --cached --name-only)
echo $(git diff --cached)
exit 1
fi
- uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
if: ${{ matrix.coverage }}
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
if: ${{ matrix.coverage }}
with:
name: coverage-report
path: all/build/reports/jacoco/test/html
markdown-link-check:
# release branches are excluded to avoid unnecessary maintenance if external links break
# release branches are excluded to avoid unnecessary maintenance
if: ${{ !startsWith(github.ref_name, 'release/') }}
uses: ./.github/workflows/reusable-markdown-link-check.yml
misspell-check:
# release branches are excluded to avoid unnecessary maintenance if new misspellings are added
# to the misspell dictionary
# release branches are excluded to avoid unnecessary maintenance
if: ${{ !startsWith(github.ref_name, 'release/') }}
uses: ./.github/workflows/reusable-misspell-check.yml
@ -86,42 +127,75 @@ jobs:
#
# and the name is updated when the steps below are skipped which makes what's happening clearer
# in the GitHub UI
name: publish-snapshots${{ github.ref_name == 'main' && github.repository == 'open-telemetry/opentelemetry-java' && '' || ' (skipped)' }}
#
# note: the condition below has to be written so that '' is last since it resolves to false
# and so would not short-circuit if used in the second-last position
name: publish-snapshots${{ (github.ref_name != 'main' || github.repository != 'open-telemetry/opentelemetry-java') && ' (skipped)' || '' }}
# intentionally not blocking snapshot publishing on markdown-link-check or misspell-check
needs: build
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- id: setup-java
name: Set up Java
uses: actions/setup-java@v3
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
with:
distribution: temurin
java-version: 17
- uses: gradle/gradle-build-action@v2
- name: Set up gradle
uses: gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4.4.1
# skipping release branches because the versions in those branches are not snapshots
# (also this skips pull requests)
if: ${{ github.ref_name == 'main' && github.repository == 'open-telemetry/opentelemetry-java' }}
- name: Publish to Sonatype
run: ./gradlew assemble publishToSonatype
# skipping release branches because the versions in those branches are not snapshots
# (also this skips pull requests)
if: ${{ github.ref_name == 'main' && github.repository == 'open-telemetry/opentelemetry-java' }}
with:
arguments: assemble publishToSonatype
env:
SONATYPE_USER: ${{ secrets.SONATYPE_USER }}
SONATYPE_KEY: ${{ secrets.SONATYPE_KEY }}
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
GPG_PASSWORD: ${{ secrets.GPG_PASSWORD }}
build-graal:
name: Build GraalVM
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
test-graal-version:
- 21
- 23
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: graalvm/setup-graalvm@7f488cf82a3629ee755e4e97342c01d6bed318fa # v1.3.5
with:
java-version: ${{ matrix.test-graal-version }}
distribution: 'graalvm'
components: 'native-image'
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Running test
run: |
echo "GRAALVM_HOME: $GRAALVM_HOME"
echo "JAVA_HOME: $JAVA_HOME"
java --version
native-image --version
./gradlew nativeTest
required-status-check:
# markdown-link-check is not required so that pull requests will not be blocked if external
# links break
# similarly misspell-check is not required so that pull requests will not be blocked if new
# misspellings are added to the misspell dictionary
needs: build
# markdown-link-check is not required so pull requests are not blocked if external links break
# misspell-check is not required so pull requests are not blocked if the misspell dictionary is
# updated
needs:
- build
- build-graal
runs-on: ubuntu-latest
if: always()
steps:
- if: needs.build.result != 'success'
- if: |
needs.build.result != 'success' ||
needs.build-graal.result != 'success'
run: exit 1

View File

@ -1,38 +0,0 @@
name: CodeQL (daily)
on:
schedule:
- cron: '30 1 * * *'
workflow_dispatch:
jobs:
analyze:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Java 17
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: java
- uses: gradle/gradle-build-action@v2
with:
# skipping build cache is needed so that all modules will be analyzed
arguments: assemble --no-build-cache
- name: Perform CodeQL analysis
uses: github/codeql-action/analyze@v2
open-issue-on-failure:
# open an issue on failure because it can be easy to miss CI failure notifications
needs: analyze
if: failure()
uses: ./.github/workflows/reusable-open-issue-on-failure.yml

65
.github/workflows/codeql.yml vendored Normal file
View File

@ -0,0 +1,65 @@
name: CodeQL
on:
pull_request:
branches:
- main
- release/*
- benchmarks
push:
branches:
- main
- release/*
- benchmarks
schedule:
- cron: "23 16 * * 2" # weekly at 16:23 UTC on Tuesday
permissions:
contents: read
jobs:
analyze:
permissions:
contents: read
actions: read # for github/codeql-action/init to get workflow details
security-events: write # for github/codeql-action/analyze to upload SARIF results
strategy:
fail-fast: false
matrix:
include:
- language: actions
- language: java
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Java 17
if: matrix.language == 'java'
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
with:
distribution: temurin
java-version: 17
- name: Set up gradle
if: matrix.language == 'java'
uses: gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4.4.1
- name: Initialize CodeQL
uses: github/codeql-action/init@4e828ff8d448a8a6e532957b1811f387a63867e8 # v3.29.4
with:
languages: ${{ matrix.language }}
# using "latest" helps to keep up with the latest Kotlin support
# see https://github.com/github/codeql-action/issues/1555#issuecomment-1452228433
tools: latest
- name: Assemble
if: matrix.language == 'java'
# --no-build-cache is required for codeql to analyze all modules
# --no-daemon is required for codeql to observe the compilation
# (see https://docs.github.com/en/code-security/codeql-cli/getting-started-with-the-codeql-cli/preparing-your-code-for-codeql-analysis#specifying-build-commands)
run: ./gradlew assemble --no-build-cache --no-daemon
- name: Perform CodeQL analysis
uses: github/codeql-action/analyze@4e828ff8d448a8a6e532957b1811f387a63867e8 # v3.29.4
with:
category: "/language:${{matrix.language}}"

View File

@ -5,8 +5,14 @@ on:
- cron: "23 3 * * *"
workflow_dispatch:
permissions:
contents: read
jobs:
copy-images:
permissions:
contents: read
packages: write
strategy:
matrix:
include:
@ -21,7 +27,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Docker login
uses: docker/login-action@v2
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}

20
.github/workflows/fossa.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: FOSSA
on:
push:
branches:
- main
permissions:
contents: read
jobs:
fossa:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: fossas/fossa-action@3ebcea1862c6ffbd5cf1b4d0bd6b3fe7bd6f2cac # v1.7.0
with:
api-key: ${{secrets.FOSSA_API_KEY}}
team: OpenTelemetry

View File

@ -1,16 +1,16 @@
name: Gradle wrapper validation
on:
pull_request:
paths:
- '**/gradle/wrapper/**'
push:
paths:
- '**/gradle/wrapper/**'
pull_request:
permissions:
contents: read
jobs:
validation:
gradle-wrapper-validation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: gradle/wrapper-validation-action@v1.0.4
- uses: gradle/actions/wrapper-validation@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4.4.1

View File

@ -0,0 +1,28 @@
name: Issue management - remove needs feedback label
on:
issue_comment:
types: [created]
permissions:
contents: read
jobs:
issue_comment:
permissions:
contents: read
issues: write
pull-requests: write
if: >
contains(github.event.issue.labels.*.name, 'needs author feedback') &&
github.event.comment.user.login == github.event.issue.user.login
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Remove label
env:
ISSUE_NUMBER: ${{ github.event.issue.number }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh issue edit --remove-label "needs author feedback" $ISSUE_NUMBER

View File

@ -0,0 +1,32 @@
name: Issue management - run stale action
on:
schedule:
# hourly at minute 23
- cron: "23 * * * *"
permissions:
contents: read
jobs:
stale:
permissions:
contents: read
issues: write # for actions/stale to close stale issues
pull-requests: write # for actions/stale to close stale PRs
runs-on: ubuntu-latest
steps:
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 7
days-before-close: 7
only-labels: "needs author feedback"
stale-issue-message: >
This has been automatically marked as stale because it has been marked
as needing author feedback and has not had any activity for 7 days.
It will be closed if no further activity occurs within 7 days of this comment.
stale-pr-message: >
This has been automatically marked as stale because it has been marked
as needing author feedback and has not had any activity for 7 days.
It will be closed if no further activity occurs within 7 days of this comment.

26
.github/workflows/javadoc-crawler.yml vendored Normal file
View File

@ -0,0 +1,26 @@
name: Javadoc.io site crawler (daily)
on:
schedule:
- cron: "30 1 * * *" # daily at 1:30 UTC
workflow_dispatch:
permissions:
contents: read
jobs:
crawl:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
with:
distribution: temurin
java-version: 17
- name: Set up gradle
uses: gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4.4.1
- name: Run crawler
run: ./gradlew :javadoc-crawler:crawl

View File

@ -1,36 +0,0 @@
name: Merge change log to main
on:
workflow_dispatch:
jobs:
create-pull-request:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
# this workflow is run against the release branch (see usage of GITHUB_REF_NAME below)
# but it is creating a pull request against main
ref: main
# history is needed to run format-patch below
fetch-depth: 0
- name: Set git user
run: .github/scripts/set-git-user.sh
# this will fail if there have been conflicting change log updates introduced in main
- name: Create pull request against main
env:
# not using the default GITHUB_TOKEN because pull requests generated by it do not run any workflows
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
run: |
message="Merge change log updates from $GITHUB_REF_NAME"
body="Merge change log updates from \`$GITHUB_REF_NAME\`."
branch="merge-change-log-updates-from-${GITHUB_REF_NAME//\//-}"
git format-patch --stdout HEAD..origin/$GITHUB_REF_NAME CHANGELOG.md | git apply --3way
git commit -a -m "$message"
git push origin HEAD:$branch
gh pr create --title "$message" \
--body "$body" \
--head $branch \
--base main

47
.github/workflows/ossf-scorecard.yml vendored Normal file
View File

@ -0,0 +1,47 @@
name: OSSF Scorecard
on:
push:
branches:
- main
schedule:
- cron: "43 6 * * 5" # weekly at 06:43 (UTC) on Friday
workflow_dispatch:
permissions: read-all
jobs:
analysis:
runs-on: ubuntu-latest
permissions:
# Needed for Code scanning upload
security-events: write
# Needed for GitHub OIDC token if publish_results is true
id-token: write
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- uses: ossf/scorecard-action@05b42c624433fc40578a4040d5cf5e36ddca8cde # v2.4.2
with:
results_file: results.sarif
results_format: sarif
publish_results: true
# Upload the results as artifacts (optional). Commenting out will disable
# uploads of run results in SARIF format to the repository Actions tab.
# https://docs.github.com/en/actions/advanced-guides/storing-workflow-data-as-artifacts
- name: "Upload artifact"
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: SARIF file
path: results.sarif
retention-days: 5
# Upload the results to GitHub's code scanning dashboard (optional).
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@4e828ff8d448a8a6e532957b1811f387a63867e8 # v3.29.4
with:
sarif_file: results.sarif

View File

@ -0,0 +1,47 @@
# the benefit of this over renovate is that this also analyzes transitive dependencies
# while renovate (at least currently) only analyzes top-level dependencies
name: OWASP dependency check (daily)
on:
schedule:
- cron: "30 1 * * *" # daily at 1:30 UTC
workflow_dispatch:
permissions:
contents: read
jobs:
analyze:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
with:
distribution: temurin
java-version: 17
- name: Set up gradle
uses: gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4.4.1
- name: Check dependencies
run: ./gradlew dependencyCheckAnalyze
env:
NVD_API_KEY: ${{ secrets.NVD_API_KEY }}
- name: Upload report
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
path: javaagent/build/reports
workflow-notification:
permissions:
contents: read
issues: write
needs:
- analyze
if: always()
uses: ./.github/workflows/reusable-workflow-notification.yml
with:
success: ${{ needs.analyze.result == 'success' }}

View File

@ -2,16 +2,32 @@ name: Prepare patch release
on:
workflow_dispatch:
permissions:
contents: read
jobs:
prepare-patch-release:
permissions:
contents: write # for git push to PR branch
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- run: |
if [[ ! $GITHUB_REF_NAME =~ ^release/v[0-9]+\.[0-9]+\.x$ ]]; then
echo this workflow should only be run against release branches
exit 1
fi
if ! grep --quiet "^## Unreleased$" CHANGELOG.md; then
echo the change log is missing an \"Unreleased\" section
exit 1
fi
- name: Set environment variables
run: |
version=$(.github/scripts/get-version.sh)
if [[ $version =~ ([0-9]+\.[0-9]+)\.([0-9]+) ]]; then
if [[ $version =~ ^([0-9]+\.[0-9]+)\.([0-9]+)$ ]]; then
major_minor="${BASH_REMATCH[1]}"
patch="${BASH_REMATCH[2]}"
else
@ -21,23 +37,33 @@ jobs:
echo "VERSION=$major_minor.$((patch + 1))" >> $GITHUB_ENV
- name: Update version
run: |
sed -Ei "s/[0-9]+\.[0-9]+\.[0-9]+/$VERSION/" version.gradle.kts
run: .github/scripts/update-version.sh $VERSION
- name: Set git user
run: .github/scripts/set-git-user.sh
- name: Update the change log with the approximate release date
run: |
date=$(date "+%Y-%m-%d")
sed -Ei "s/^## Unreleased$/## Version $VERSION ($date)/" CHANGELOG.md
- name: Use CLA approved github bot
run: .github/scripts/use-cla-approved-github-bot.sh
- uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
id: otelbot-token
with:
app-id: ${{ vars.OTELBOT_APP_ID }}
private-key: ${{ secrets.OTELBOT_PRIVATE_KEY }}
- name: Create pull request
env:
# not using the default GITHUB_TOKEN because pull requests generated by it do not run any workflows
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
# not using secrets.GITHUB_TOKEN since pull requests from that token do not run workflows
GH_TOKEN: ${{ steps.otelbot-token.outputs.token }}
run: |
message="Prepare release $VERSION"
branch="prepare-release-${VERSION}"
branch="otelbot/prepare-release-${VERSION}"
git checkout -b $branch
git commit -a -m "$message"
git push origin HEAD:$branch
git push --set-upstream origin $branch
gh pr create --title "[$GITHUB_REF_NAME] $message" \
--body "$message." \
--head $branch \
--base $GITHUB_REF_NAME

View File

@ -2,18 +2,46 @@ name: Prepare release branch
on:
workflow_dispatch:
permissions:
contents: read
jobs:
create-pull-request-against-release-branch:
prereqs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Verify prerequisites
run: |
if [[ $GITHUB_REF_NAME != main ]]; then
echo this workflow should only be run against main
exit 1
fi
if ! grep --quiet "^## Unreleased$" CHANGELOG.md; then
echo the change log is missing an \"Unreleased\" section
exit 1
fi
create-pull-request-against-release-branch:
permissions:
contents: write # for git push to PR branch
runs-on: ubuntu-latest
needs:
- prereqs
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Create release branch
id: create-release-branch
run: |
version=$(.github/scripts/get-version.sh)
version=${version//-SNAPSHOT/}
release_branch_name=$(echo $version | sed -E 's/([0-9]+)\.([0-9]+)\.0/release\/v\1.\2.x/')
if [[ $version =~ ^([0-9]+)\.([0-9]+)\.0$ ]]; then
release_branch_name=$(echo $version | sed -E 's/([0-9]+)\.([0-9]+)\.0/release\/v\1.\2.x/')
else
echo "unexpected version: $version"
exit 1
fi
git push origin HEAD:$release_branch_name
@ -21,64 +49,90 @@ jobs:
echo "RELEASE_BRANCH_NAME=$release_branch_name" >> $GITHUB_ENV
- name: Update version
run: |
sed -Ei "s/val snapshot = true/val snapshot = false/" version.gradle.kts
run: sed -Ei "s/val snapshot = true/val snapshot = false/" version.gradle.kts
- name: Set git user
run: .github/scripts/set-git-user.sh
- name: Update the change log with the approximate release date
run: |
date=$(date "+%Y-%m-%d")
sed -Ei "s/^## Unreleased$/## Version $VERSION ($date)/" CHANGELOG.md
- name: Use CLA approved github bot
run: .github/scripts/use-cla-approved-github-bot.sh
- uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
id: otelbot-token
with:
app-id: ${{ vars.OTELBOT_APP_ID }}
private-key: ${{ secrets.OTELBOT_PRIVATE_KEY }}
- name: Create pull request against the release branch
env:
# not using the default GITHUB_TOKEN because pull requests generated by it do not run any workflows
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
# not using secrets.GITHUB_TOKEN since pull requests from that token do not run workflows
GH_TOKEN: ${{ steps.otelbot-token.outputs.token }}
run: |
message="Prepare release $VERSION"
branch="prepare-release-${VERSION}"
branch="otelbot/prepare-release-${VERSION}"
git checkout -b $branch
git commit -a -m "$message"
git push origin HEAD:$branch
git push --set-upstream origin $branch
gh pr create --title "[$RELEASE_BRANCH_NAME] $message" \
--body "$message." \
--head $branch \
--base $RELEASE_BRANCH_NAME
create-pull-request-against-main:
permissions:
contents: write # for git push to PR branch
runs-on: ubuntu-latest
needs:
- prereqs
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set environment variables
run: |
version=$(.github/scripts/get-version.sh)
if [[ $version =~ ([0-9]+)\.([0-9]+)\.0 ]]; then
if [[ $version =~ ^([0-9]+)\.([0-9]+)\.0$ ]]; then
major="${BASH_REMATCH[1]}"
minor="${BASH_REMATCH[2]}"
next_version="$major.$((minor + 1)).0"
else
echo "unexpected version: $version"
exit 1
fi
next_version="$major.$((minor + 1)).0"
echo "NEXT_VERSION=$next_version" >> $GITHUB_ENV
echo "NEXT_VERSION=${next_version}" >> $GITHUB_ENV
echo "VERSION=$version" >> $GITHUB_ENV
- name: Update version
run: |
sed -Ei "s/[0-9]+\.[0-9]+\.[0-9]+/$NEXT_VERSION/" version.gradle.kts
run: .github/scripts/update-version.sh $NEXT_VERSION
- name: Set git user
run: .github/scripts/set-git-user.sh
- name: Update the change log on main
run: |
# the actual release date on main will be updated at the end of the release workflow
date=$(date "+%Y-%m-%d")
sed -Ei "s/^## Unreleased$/## Unreleased\n\n## Version $VERSION ($date)/" CHANGELOG.md
- name: Use CLA approved github bot
run: .github/scripts/use-cla-approved-github-bot.sh
- uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
id: otelbot-token
with:
app-id: ${{ vars.OTELBOT_APP_ID }}
private-key: ${{ secrets.OTELBOT_PRIVATE_KEY }}
- name: Create pull request against main
env:
# not using the default GITHUB_TOKEN because pull requests generated by it do not run any workflows
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
# not using secrets.GITHUB_TOKEN since pull requests from that token do not run workflows
GH_TOKEN: ${{ steps.otelbot-token.outputs.token }}
run: |
message="Update version to $NEXT_VERSION"
body="Update version to \`$NEXT_VERSION\`."
branch="update-version-to-${NEXT_VERSION}"
branch="otelbot/update-version-to-${NEXT_VERSION}"
git checkout -b $branch
git commit -a -m "$message"
git push origin HEAD:$branch
git push --set-upstream origin $branch
gh pr create --title "$message" \
--body "$body" \
--head $branch \
--base main

View File

@ -2,30 +2,36 @@ name: Release
on:
workflow_dispatch:
permissions:
contents: read
jobs:
release:
runs-on: ubuntu-20.04
permissions:
contents: write # for creating the release
runs-on: ubuntu-24.04
outputs:
version: ${{ steps.create-github-release.outputs.version }}
prior-version: ${{ steps.create-github-release.outputs.prior-version }}
steps:
- run: |
if [[ $GITHUB_REF_NAME != release/* ]]; then
echo the release workflow should only be run against release branches
echo this workflow should only be run against release branches
exit 1
fi
- uses: actions/checkout@v3
with:
# tags are needed for the generate-release-contributors.sh script
fetch-depth: 0
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-java@v3
- uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
with:
distribution: temurin
java-version: 17
- name: Set up gradle
uses: gradle/actions/setup-gradle@ac638b010cf58a27ee6c972d7336334ccaf61c96 # v4.4.1
- name: Build and publish artifacts
uses: gradle/gradle-build-action@v2
with:
arguments: assemble publishToSonatype closeAndReleaseSonatypeStagingRepository
run: ./gradlew assemble publishToSonatype closeAndReleaseSonatypeStagingRepository
env:
SONATYPE_USER: ${{ secrets.SONATYPE_USER }}
SONATYPE_KEY: ${{ secrets.SONATYPE_KEY }}
@ -35,7 +41,7 @@ jobs:
- name: Set environment variables
run: |
version=$(.github/scripts/get-version.sh)
if [[ $version =~ ([0-9]+)\.([0-9]+)\.([0-9]+) ]]; then
if [[ $version =~ ^([0-9]+)\.([0-9]+)\.([0-9]+) ]]; then
major="${BASH_REMATCH[1]}"
minor="${BASH_REMATCH[2]}"
patch="${BASH_REMATCH[3]}"
@ -57,72 +63,159 @@ jobs:
echo "VERSION=$version" >> $GITHUB_ENV
echo "PRIOR_VERSION=$prior_version" >> $GITHUB_ENV
# check out main branch to verify there won't be problems with merging the change log
# at the end of this workflow
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
ref: main
- name: Check that change log update was merged to main
run: |
if [[ $VERSION == *.0 ]]; then
# not making a patch release
if ! grep --quiet "^## Version $VERSION " CHANGELOG.md; then
echo the pull request generated by prepare-release-branch.yml needs to be merged first
exit 1
fi
fi
# back to the release branch
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
# tags are needed for the generate-release-contributors.sh script
fetch-depth: 0
- name: Generate release notes
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
# conditional blocks not indented because of the heredoc
if [[ $VERSION == *.0 ]]; then
cat > release-notes.txt << EOF
This release targets the OpenTelemetry SDK $VERSION.
EOF
else
cat > release-notes.txt << EOF
if [[ $VERSION != *.0 ]]; then
cat > /tmp/release-notes.txt << EOF
This is a patch release on the previous $PRIOR_VERSION release, fixing the issue(s) below.
EOF
fi
# CHANGELOG_SECTION.md is also used at the end of the release workflow
# for copying the change log updates to main
sed -n "0,/^## Version $VERSION /d;/^## Version /q;p" CHANGELOG.md \
> /tmp/CHANGELOG_SECTION.md
# the complex perl regex is needed because markdown docs render newlines as soft wraps
# while release notes render them as line breaks
sed -n "0,/^## Version $VERSION/d;/^## Version /q;p" CHANGELOG.md \
| perl -0pe 's/(?<!\n)\n *(?!\n)(?![-*] )(?![1-9]+\. )/ /g' \
>> release-notes.txt
perl -0pe 's/(?<!\n)\n *(?!\n)(?![-*] )(?![1-9]+\. )/ /g' /tmp/CHANGELOG_SECTION.md \
>> /tmp/release-notes.txt
# conditional block not indented because of the heredoc
if [[ $VERSION == *.0 ]]; then
cat >> release-notes.txt << EOF
cat >> /tmp/release-notes.txt << EOF
### 🙇 Thank you
This release was possible thanks to the following contributors who shared their brilliant ideas and awesome pull requests:
EOF
.github/scripts/generate-release-contributors.sh v$PRIOR_VERSION >> release-notes.txt
.github/scripts/generate-release-contributors.sh v$PRIOR_VERSION >> /tmp/release-notes.txt
fi
- name: Create GitHub release
- id: create-github-release
name: Create GitHub release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release create --target $GITHUB_REF_NAME \
--title "Version $VERSION" \
--notes-file release-notes.txt \
--discussion-category announcements \
--notes-file /tmp/release-notes.txt \
v$VERSION
- name: Update the change log with the release date
# these are used as job outputs
echo "version=$VERSION" >> $GITHUB_OUTPUT
echo "prior-version=$PRIOR_VERSION" >> $GITHUB_OUTPUT
update-apidiff-baseline-and-docs-to-released-version:
permissions:
contents: write # for git push to PR branch
runs-on: ubuntu-latest
needs:
- release
steps:
# add change log sync (if any) into this PR since the apidiff update
# is required before any other PR can be merged anyway
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Copy change log section from release branch
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${{ needs.release.outputs.version }}
run: |
date=$(gh release view v$VERSION --json publishedAt --jq .publishedAt | sed 's/T.*//')
sed -Ei "s/## Version $VERSION .*/## Version $VERSION ($date)/" CHANGELOG.md
sed -n "0,/^## Version $VERSION /d;/^## Version /q;p" CHANGELOG.md \
> /tmp/changelog-section.md
- name: Set git user
run: .github/scripts/set-git-user.sh
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
ref: main
- name: Create pull request against the release branch
- name: Merge change log to main
env:
# not using the default GITHUB_TOKEN because pull requests generated by it do not run any workflows
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
VERSION: ${{ needs.release.outputs.version }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
message="Add the release date for $VERSION to the change log"
branch="add-release-date-for-${VERSION}"
release_date=$(gh release view v$VERSION --json publishedAt --jq .publishedAt | sed 's/T.*//')
RELEASE_DATE=$release_date .github/scripts/merge-change-log-after-release.sh
git add CHANGELOG.md
git commit -a -m "$message"
git push origin HEAD:$branch
gh pr create --title "[$GITHUB_REF_NAME] $message" \
--body "$message." \
--head $branch \
--base $GITHUB_REF_NAME
- name: Wait for release to be available in maven central
env:
VERSION: ${{ needs.release.outputs.version }}
run: |
until curl --silent \
--show-error \
--output /dev/null \
--head \
--fail \
https://repo1.maven.org/maven2/io/opentelemetry/opentelemetry-api/$VERSION/opentelemetry-api-$VERSION.jar
do
sleep 60
done
- name: Update apidiff baseline
env:
VERSION: ${{ needs.release.outputs.version }}
PRIOR_VERSION: ${{ needs.release.outputs.prior-version }}
run: |
./gradlew japicmp -PapiBaseVersion=$PRIOR_VERSION -PapiNewVersion=$VERSION
./gradlew --refresh-dependencies japicmp
git add docs/apidiffs
- name: Update versions in README.md
env:
VERSION: ${{ needs.release.outputs.version }}
run: |
./gradlew updateVersionInDocs -Prelease.version=$VERSION
git add README.md
- name: Use CLA approved bot
run: .github/scripts/use-cla-approved-github-bot.sh
- uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
id: otelbot-token
with:
app-id: ${{ vars.OTELBOT_APP_ID }}
private-key: ${{ secrets.OTELBOT_PRIVATE_KEY }}
- name: Create pull request against main
env:
VERSION: ${{ needs.release.outputs.version }}
# not using secrets.GITHUB_TOKEN since pull requests from that token do not run workflows
GH_TOKEN: ${{ steps.otelbot-token.outputs.token }}
run: |
message="Update apidiff baseline and documentation versions to released version $VERSION"
body="Update apidiff baseline and documentation versions to released version \`$VERSION\`."
branch="otelbot/update-apidiff-baseline-and-documentation-to-released-version-${VERSION}"
git checkout -b $branch
git commit -m "$message"
git push --set-upstream origin $branch
gh pr create --title "$message" \
--body "$body" \
--base main

View File

@ -3,18 +3,22 @@ name: Reusable - Markdown link check
on:
workflow_call:
permissions:
contents: read
jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install markdown-link-check
run: npm install -g markdown-link-check
- name: Run markdown-link-check
run: |
find . -type f \
-name '*.md' \
-not -path './CHANGELOG.md' \
| xargs .github/scripts/markdown-link-check-with-retry.sh
- uses: lycheeverse/lychee-action@82202e5e9c2f4ef1a55a3d02563e1cb6041e5332 # v2.4.1
with:
# excluding links to pull requests and issues is done for performance
args: >
--include-fragments
--exclude "^https://github.com/open-telemetry/opentelemetry-java/(issues|pull)/\\d+$"
--max-retries 6
--retry-wait-time 10
--max-concurrency 1
.

View File

@ -3,15 +3,18 @@ name: Reusable - Misspell check
on:
workflow_call:
permissions:
contents: read
jobs:
misspell-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install misspell
run: |
curl -L -o ./install-misspell.sh https://git.io/misspell
curl -L -o install-misspell.sh https://raw.githubusercontent.com/client9/misspell/master/install-misspell.sh
sh ./install-misspell.sh
- name: Run misspell

View File

@ -1,18 +1,24 @@
name: Reusable - Open issue on failure
name: Reusable - Open issue on workflow failure
on:
workflow_call:
permissions:
contents: read
jobs:
open-issue:
permissions:
contents: read
issues: write # for creating the issue
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Open issue
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh issue create --title "$GITHUB_WORKFLOW #$GITHUB_RUN_NUMBER failed" \
--label bug \
--label Bug \
--body "See [$GITHUB_WORKFLOW #$GITHUB_RUN_NUMBER](https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID)."

View File

@ -0,0 +1,44 @@
# this is useful because notifications for scheduled workflows are only sent to the user who
# initially created the given workflow
name: Reusable - Workflow notification
on:
workflow_call:
inputs:
success:
type: boolean
required: true
permissions:
contents: read
jobs:
workflow-notification:
permissions:
contents: read
issues: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Open issue or add comment if issue already open
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
# TODO (trask) search doesn't support exact phrases, so it's possible that this could grab the wrong issue
number=$(gh issue list --search "in:title Workflow failed: $GITHUB_WORKFLOW" --limit 1 --json number -q .[].number)
echo $number
echo ${{ inputs.success }}
if [[ $number ]]; then
if [[ "${{ inputs.success }}" == "true" ]]; then
gh issue close $number
else
gh issue comment $number \
--body "See [$GITHUB_WORKFLOW #$GITHUB_RUN_NUMBER](https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID)."
fi
elif [[ "${{ inputs.success }}" == "false" ]]; then
gh issue create --title "Workflow failed: $GITHUB_WORKFLOW (#$GITHUB_RUN_NUMBER)" \
--body "See [$GITHUB_WORKFLOW #$GITHUB_RUN_NUMBER](https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID)."
fi

1
.gitignore vendored
View File

@ -1,6 +1,7 @@
# Gradle
build
.gradle
.kotlin
local.properties
out/

File diff suppressed because it is too large Load Diff

View File

@ -3,12 +3,12 @@
Welcome to OpenTelemetry Java repository!
Before you start - see OpenTelemetry general
[contributing](https://github.com/open-telemetry/community/blob/main/CONTRIBUTING.md)
[contributing](https://github.com/open-telemetry/community/blob/main/guides/contributor/README.md)
requirements and recommendations.
If you want to add new features or change behavior, please make sure your changes follow the
[OpenTelemetry Specification](https://github.com/open-telemetry/opentelemetry-specification).
Otherwise file an issue or submit a PR to the specification repo first.
Otherwise, file an issue or submit a pull request (PR) to the specification repo first.
Make sure to review the projects [license](LICENSE) and sign the
[CNCF CLA](https://identity.linuxfoundation.org/projects/cncf). A signed CLA will be enforced by an
@ -16,7 +16,7 @@ automatic check once you submit a PR, but you can also sign it after opening you
## Requirements
Java 11 or higher is required to build the projects in this repository. The built artifacts can be
Java 17 or higher is required to build the projects in this repository. The built artifacts can be
used on Java 8 or higher.
## Building opentelemetry-java
@ -52,7 +52,8 @@ $ ./gradlew check
Note: this gradle task will potentially generate changes to files in
the `docs/apidiffs/current_vs_latest`
directory. Please make sure to include any changes to these files in your pull request.
directory. Please make sure to include any changes to these files in your pull request (i.e.
add those files to your commits in the PR).
## PR Review
@ -60,6 +61,41 @@ After you submit a PR, it will be reviewed by the project maintainers and approv
maintainers need to review a particular PR, but merging to the base branch is authorized to
restricted members (administrators).
### Draft PRs
Draft PRs are welcome, especially when exploring new ideas or experimenting with a hypothesis.
However, draft PRs may not receive the same degree of attention, feedback, or scrutiny unless
requested directly. In order to help keep the PR backlog maintainable, drafts older than 6 months
will be closed by the project maintainers. This should not be interpreted as a rejection. Closed
PRs may be reopened by the author when time or interest allows.
## Project Scope
`opentelemetry-java` is one of several repositories which comprise the OpenTelemetry Java ecosystem,
and contains the core components upon which instrumentation and extensions are built. In order to
prevent sprawl and maintain a high level of quality, we limit this repository's scope to components
which implement concepts defined in
the [opentelemetry-specification](https://github.com/open-telemetry/opentelemetry-specification),
with a few exceptions / comments:
* The [API incubator](./api/incubator) and [SDK incubator](./sdk-extensions/incubator)
contain prototypes which have been discussed in the specification
or [oteps](https://github.com/open-telemetry/oteps) and have a reasonable chance of becoming part
of the specification, subject to maintainers' discretion.
* Components like the [Kotlin Extension](./extensions/kotlin) are included which are required for
the API / SDK to function in key areas of the Java ecosystem. Inclusion is subject to maintainers'
discretion.
* As a general rule, components which implement semantic conventions belong elsewhere.
Other repositories in the OpenTelemetry Java ecosystem include:
* [opentelemetry-java-instrumentation](https://github.com/open-telemetry/opentelemetry-java-instrumentation)
contains instrumentation.
* [opentelemetry-java-contrib](https://github.com/open-telemetry/opentelemetry-java-contrib)
contains extensions, prototypes, and instrumentation, including vendor specific components.
* [opentelemetry-java-examples](https://github.com/open-telemetry/opentelemetry-java-examples) contains
working code snippets demonstrating various concepts.
## Style guideline
We follow the [Google Java Style Guide](https://google.github.io/styleguide/javaguide.html). Our
@ -102,6 +138,21 @@ uses [google-java-format](https://github.com/google/google-java-format) library:
* Adding `toString()` overrides on classes is encouraged, but we only use `toString()` to provide
debugging assistance. The implementations of all `toString()` methods should be considered to be
unstable unless explicitly documented otherwise.
* Avoid synchronizing using a class's intrinsic lock. Instead, synchronize on a dedicated lock object. E.g:
```java
private final Object lock = new Object();
public void doSomething() {
synchronized (lock) { ... }
}
```
* Don't
use [gradle test fixtures](https://docs.gradle.org/current/userguide/java_testing.html#sec:java_test_fixtures) (
i.e. `java-test-fixtures` plugin) to reuse code for internal testing. The test fixtures plugin has
side effects where test dependencies are added to the `pom.xml` and publishes an
extra `*-test-fixtures.jar` artifact which is unnecessary for internal testing. Instead, create a
new `*:testing-internal` module and omit the `otel.java-conventions`. For example,
see [/exporters/otlp/testing-internal](./exporters/otlp/testing-internal).
If you notice any practice being applied in the project consistently that isn't listed here, please
consider a pull request to add it.
@ -139,6 +190,11 @@ in the guide for exceptions to the Javadoc requirement.
* Our javadoc is available via [
javadoc.io}(https://javadoc.io/doc/io.opentelemetry/opentelemetry-api)
### SDK Configuration Documentation
All changes to the SDK configuration options or autoconfigure module should be documented on
[opentelemetry.io](https://opentelemetry.io/docs/languages/java/configuration/).
### AutoValue
* Use [AutoValue](https://github.com/google/auto/tree/master/value), when possible, for any new
@ -201,13 +257,18 @@ Example usage could be as follows:
}
```
Please confirm whether the local opentelemetry-java version is consistent with the
opentelemetry-java version declared in the project that relies on opentelemetry-java.
If it is inconsistent, `dependencySubstitution` may not take effect.
See [the Gradle documentation](https://docs.gradle.org/current/userguide/composite_builds.html#included_build_declaring_substitutions)
for more information.
4. If you now build your project, it will use the included build to supply the opentelemetry-java
artifacts, ignoring any version declarations. Use the prefix `:DIRECTORY:` to refer to
tasks/projects within the included build, where DIRECTORY is the name of the directory in the
included build (only the part after the last `/`).
5. Here are some issues and solutions ([discussions/6551](https://github.com/open-telemetry/opentelemetry-java/discussions/6551))
you may encounter that may be helpful to you.
### Updating the OTLP protobufs

526
README.md
View File

@ -1,202 +1,164 @@
# OpenTelemetry for Java
[![Continuous Build][ci-image]][ci-url]
[![Coverage Status][codecov-image]][codecov-url]
# OpenTelemetry Java
[![Maven Central][maven-image]][maven-url]
[![Coverage Status][codecov-image]][codecov-url]
[![FOSSA License Status](https://app.fossa.com/api/projects/custom%2B162%2Fgithub.com%2Fopen-telemetry%2Fopentelemetry-java.svg?type=shield&issueType=license)](https://app.fossa.com/projects/custom%2B162%2Fgithub.com%2Fopen-telemetry%2Fopentelemetry-java?ref=badge_shield&issueType=license)
[![FOSSA Security Status](https://app.fossa.com/api/projects/custom%2B162%2Fgithub.com%2Fopen-telemetry%2Fopentelemetry-java.svg?type=shield&issueType=security)](https://app.fossa.com/projects/custom%2B162%2Fgithub.com%2Fopen-telemetry%2Fopentelemetry-java?ref=badge_shield&issueType=security)
[![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/open-telemetry/opentelemetry-java/badge)](https://scorecard.dev/viewer/?uri=github.com/open-telemetry/opentelemetry-java)
[![Reproducible Builds](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/jvm-repo-rebuild/reproducible-central/master/content/io/opentelemetry/java/badge.json)](https://github.com/jvm-repo-rebuild/reproducible-central/blob/master/content/io/opentelemetry/java/README.md)
## Getting Started
`opentelemetry-java` is the home of the Java implementation of the OpenTelemetry API for recording
telemetry, and SDK for managing telemetry recorded by the API.
If you are looking for an all-in-one, easy-to-install **auto-instrumentation
javaagent**, see [opentelemetry-java-instrumentation][].
See [opentelemetry.io Java Documentation](https://opentelemetry.io/docs/languages/java/intro/) for:
If you are looking for **examples** on how to use the OpenTelemetry API to
write your own **manual instrumentation**, or how to set up the OpenTelemetry
Java SDK, see [Manual instrumentation][]. Fully-functional examples
are available in [opentelemetry-java-docs][].
* An overview of the OpenTelemetry Java ecosystem and key repositories
* Detailed documentation on the components published from this repository
* Review of instrumentation ecosystem, including OpenTelemetry Java agent
* End-to-end working code examples
* And more
For a general overview of OpenTelemetry, visit [opentelemetry.io][].
Would you like to get involved with the project? Read our [contributing guide](CONTRIBUTING.md). We welcome
contributions!
## Contacting us
We hold regular meetings. See details at [community page](https://github.com/open-telemetry/community#java-sdk).
We use [GitHub Discussions](https://github.com/open-telemetry/opentelemetry-java/discussions)
for support or general questions. Feel free to drop us a line.
We are also present in the `#otel-java` channel in the [CNCF slack](https://slack.cncf.io/).
Please join us for more informal discussions.
## Overview
OpenTelemetry is the merging of OpenCensus and OpenTracing into a single project.
This project contains the following top level components:
* [OpenTelemetry API](api/):
* [stable apis](api/all/src/main/java/io/opentelemetry/api/) including `Tracer`, `Span`, `SpanContext`, `Meter`, and `Baggage`
* [semantic conventions](semconv/) Generated code for the OpenTelemetry semantic conventions.
* [context api](context/src/main/java/io/opentelemetry/context/) The OpenTelemetry Context implementation.
* [extensions](extensions/) define additional API extensions, which are not part of the core API.
* [sdk](sdk/) defines the implementation of the OpenTelemetry API.
* [sdk-extensions](sdk-extensions/) defines additional SDK extensions, which are not part of the core SDK.
* [OpenTracing shim](opentracing-shim/) defines a bridge layer from OpenTracing to the OpenTelemetry API.
* [OpenCensus shim](opencensus-shim/) defines a bridge layer from OpenCensus to the OpenTelemetry API.
* [Micrometer shim](micrometer1-shim/) defines a bridge layer from Micrometer to the OpenTelemetry API.
This project publishes a lot of artifacts, listed in [releases](#releases).
[`opentelemetry-bom`](https://mvnrepository.com/artifact/io.opentelemetry/opentelemetry-bom) (BOM =
Bill of Materials) is provided to assist with synchronizing versions of
dependencies. [`opentelemetry-bom-alpha`](https://mvnrepository.com/artifact/io.opentelemetry/opentelemetry-bom-alpha)
provides the same function for unstable artifacts. See [published releases](#published-releases) for
instructions on using the BOMs.
We would love to hear from the larger community: please provide feedback proactively.
> [!IMPORTANT]
> We are currently seeking additional contributors! See [help wanted](#help-wanted) for details.
## Requirements
Unless otherwise noted, all published artifacts support Java 8 or higher.
See [language version compatibility](VERSIONING.md#language-version-compatibility) for complete
details.
**Android Disclaimer:** For compatibility reasons, [library desugaring](https://developer.android.com/studio/write/java8-support#library-desugaring) must be enabled.
**Android Disclaimer:** For compatibility
reasons, [library desugaring](https://developer.android.com/studio/write/java8-support#library-desugaring)
must be enabled.
See [CONTRIBUTING.md](./CONTRIBUTING.md) for additional instructions for building this project for development.
### Note about extensions
Both API and SDK extensions consist of various additional components which are excluded from the core artifacts
to keep them from growing too large.
We still aim to provide the same level of quality and guarantee for them as for the core components.
Please don't hesitate to use them if you find them useful.
## Project setup and contributing
Please refer to the [contribution guide](CONTRIBUTING.md) on how to set up for development and contribute!
## Published Releases
Published releases are available on maven central. We strongly recommend using our published BOM to keep all
dependency versions in sync.
### Maven
```xml
<project>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-bom</artifactId>
<version>1.14.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-api</artifactId>
</dependency>
</dependencies>
</project>
```
### Gradle
```groovy
dependencies {
implementation platform("io.opentelemetry:opentelemetry-bom:1.14.0")
implementation('io.opentelemetry:opentelemetry-api')
}
```
Note that if you want to use any artifacts that have not fully stabilized yet (such as the [semantic conventions constants](https://github.com/open-telemetry/opentelemetry-java/tree/main/semconv) or the [SDK Autoconfigure Extension](https://github.com/open-telemetry/opentelemetry-java/tree/main/sdk-extensions/autoconfigure)), then you will need to add an entry for the Alpha BOM as well, e.g.
```groovy
dependencies {
implementation platform("io.opentelemetry:opentelemetry-bom:1.14.0")
implementation platform('io.opentelemetry:opentelemetry-bom-alpha:1.14.0-alpha')
implementation('io.opentelemetry:opentelemetry-api')
implementation('io.opentelemetry:opentelemetry-semconv')
implementation('io.opentelemetry:opentelemetry-sdk-extension-autoconfigure')
}
```
## Snapshots
Snapshots based out the `main` branch are available for `opentelemetry-api`, `opentelemetry-sdk` and the rest of the artifacts.
We strongly recommend using our published BOM to keep all dependency versions in sync.
### Maven
```xml
<project>
<repositories>
<repository>
<id>oss.sonatype.org-snapshot</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</repository>
</repositories>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-bom</artifactId>
<version>1.15.0-SNAPSHOT</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-api</artifactId>
</dependency>
</dependencies>
</project>
```
### Gradle
```groovy
repositories {
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
}
dependencies {
implementation platform("io.opentelemetry:opentelemetry-bom:1.15.0-SNAPSHOT")
implementation('io.opentelemetry:opentelemetry-api')
}
```
Libraries will usually only need `opentelemetry-api`, while applications
will want to use the `opentelemetry-sdk` module which contains our standard implementation
of the APIs.
## Gradle composite builds
For opentelemetry-java developers that need to test the latest source code with another
project, composite builds can be used as an alternative to `publishToMavenLocal`. This
requires some setup which is explained [here](CONTRIBUTING.md#composing-builds).
See [contributing](#contributing) for details on building this project locally.
## Releases
See the [VERSIONING.md](VERSIONING.md) document for our policies for releases and compatibility
guarantees.
Releases are published to maven central. We
publish [minor releases monthly](RELEASING.md#release-cadence)
and [patch releases as needed](RELEASING.md#preparing-a-new-patch-release).
Check out information about the [latest release](https://github.com/open-telemetry/opentelemetry-java/releases).
See [releases](https://github.com/open-telemetry/opentelemetry-java/releases) for a listing of
released versions and notes (see also [changelog](CHANGELOG.md)).
See the project [milestones](https://github.com/open-telemetry/opentelemetry-java/milestones)
for details on upcoming releases. The dates and features described in issues
and milestones are estimates, and subject to change.
## Artifacts
The following tables describe the artifacts published by this project. To take a dependency, follow
the instructions in [Published Released](#published-releases) to include the BOM, and specify the
dependency as follows, replacing `{{artifact-id}}` with the value from the "Artifact ID" column:
The artifacts published by this repository are summarized below in tables, organized in collapsible
sections by topic.
As discussed in [compatibility](#compatibility), artifact versions must be kept in sync, for which
we strongly recommend [using one of our BOMs][dependencies-and-boms].
<details>
<summary>Bill of Materials (BOMs)</summary>
A bill of materials (or BOM) helps sync dependency versions of related artifacts.
| Component | Description | Artifact ID | Version | Javadoc |
|----------------------------------------------|----------------------------------------|---------------------------|-------------------------------------------------------------|---------|
| [Bill of Materials (BOM)](./bom) | Bill of materials for stable artifacts | `opentelemetry-bom` | <!--VERSION_STABLE-->1.52.0<!--/VERSION_STABLE--> | N/A |
| [Alpha Bill of Materials (BOM)](./bom-alpha) | Bill of materials for alpha artifacts | `opentelemetry-bom-alpha` | <!--VERSION_UNSTABLE-->1.52.0-alpha<!--/VERSION_UNSTABLE--> | N/A |
</details>
<details open>
<summary>API</summary>
The OpenTelemetry API for recording telemetry.
| Component | Description | Artifact ID | Version | Javadoc |
|-----------------------------------|--------------------------------------------------------------------------------------|-------------------------------|-------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [API](./api/all) | OpenTelemetry API, including metrics, traces, baggage, context | `opentelemetry-api` | <!--VERSION_STABLE-->1.52.0<!--/VERSION_STABLE--> | [![Javadocs](https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-api.svg)](https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-api) |
| [API Incubator](./api/incubator) | API incubator, including pass through propagator, and extended tracer, and Event API | `opentelemetry-api-incubator` | <!--VERSION_UNSTABLE-->1.52.0-alpha<!--/VERSION_UNSTABLE--> | [![Javadocs](https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-api-incubator.svg)](https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-api-incubator) |
| [Context API](./context) | OpenTelemetry context API | `opentelemetry-context` | <!--VERSION_STABLE-->1.52.0<!--/VERSION_STABLE--> | [![Javadocs](https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-context.svg)](https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-context) |
| [Common](./common) | Common utility methods used across API components | `opentelemetry-common` | <!--VERSION_STABLE-->1.52.0<!--/VERSION_STABLE--> | [![Javadocs](https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-common.svg)](https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-common) |
</details>
<details>
<summary>API Extensions</summary>
Extensions to the OpenTelemetry API.
| Component | Description | Artifact ID | Version | Javadoc |
|---------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------|-------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Kotlin Extension](./extensions/kotlin) | Context extension for coroutines | `opentelemetry-extension-kotlin` | <!--VERSION_STABLE-->1.52.0<!--/VERSION_STABLE--> | [![Javadocs](https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-extension-kotlin.svg)](https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-extension-kotlin) |
| [Trace Propagators Extension](./extensions/trace-propagators) | Trace propagators, including B3, Jaeger, OT Trace | `opentelemetry-extension-trace-propagators` | <!--VERSION_STABLE-->1.52.0<!--/VERSION_STABLE--> | [![Javadocs](https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-extension-trace-propagators.svg)](https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-extension-trace-propagators) |
</details>
<details open>
<summary>SDK</summary>
The OpenTelemetry SDK for managing telemetry producing by the API.
| Component | Description | Artifact ID | Version | Javadoc |
|------------------------------|--------------------------------------------------------|-----------------------------|---------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [SDK](./sdk/all) | OpenTelemetry SDK, including metrics, traces, and logs | `opentelemetry-sdk` | <!--VERSION_STABLE-->1.52.0<!--/VERSION_STABLE--> | [![Javadocs](https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-sdk.svg)](https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-sdk) |
| [Metrics SDK](./sdk/metrics) | OpenTelemetry metrics SDK | `opentelemetry-sdk-metrics` | <!--VERSION_STABLE-->1.52.0<!--/VERSION_STABLE--> | [![Javadocs](https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-sdk-metrics.svg)](https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-sdk-metrics) |
| [Trace SDK](./sdk/trace) | OpenTelemetry trace SDK | `opentelemetry-sdk-trace` | <!--VERSION_STABLE-->1.52.0<!--/VERSION_STABLE--> | [![Javadocs](https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-sdk-trace.svg)](https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-sdk-trace) |
| [Log SDK](./sdk/logs) | OpenTelemetry log SDK | `opentelemetry-sdk-logs` | <!--VERSION_STABLE-->1.52.0<!--/VERSION_STABLE--> | [![Javadocs](https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-sdk-logs.svg)](https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-sdk-logs) |
| [SDK Common](./sdk/common) | Shared SDK components | `opentelemetry-sdk-common` | <!--VERSION_STABLE-->1.52.0<!--/VERSION_STABLE--> | [![Javadocs](https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-sdk-common.svg)](https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-sdk-common) |
| [SDK Testing](./sdk/testing) | Components for testing OpenTelemetry instrumentation | `opentelemetry-sdk-testing` | <!--VERSION_STABLE-->1.52.0<!--/VERSION_STABLE--> | [![Javadocs](https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-sdk-testing.svg)](https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-sdk-testing) |
</details>
<details>
<summary>SDK Exporters</summary>
SDK exporters for shipping traces, metrics, and logs out of process.
| Component | Description | Artifact ID | Version | Javadoc |
|-----------------------------------------------------------------------|------------------------------------------------------------------------------|------------------------------------------------------|-------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [OTLP Exporters](./exporters/otlp/all) | OTLP gRPC & HTTP exporters, including traces, metrics, and logs | `opentelemetry-exporter-otlp` | <!--VERSION_STABLE-->1.52.0<!--/VERSION_STABLE--> | [![Javadocs](https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-exporter-otlp.svg)](https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-exporter-otlp) |
| [OTLP Logging Exporters](./exporters/logging-otlp) | Logging exporters in OTLP JSON encoding, including traces, metrics, and logs | `opentelemetry-exporter-logging-otlp` | <!--VERSION_STABLE-->1.52.0<!--/VERSION_STABLE--> | [![Javadocs](https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-exporter-logging-otlp.svg)](https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-exporter-logging-otlp) |
| [OTLP Common](./exporters/otlp/common) | Shared OTLP components (internal) | `opentelemetry-exporter-otlp-common` | <!--VERSION_STABLE-->1.52.0<!--/VERSION_STABLE--> | [![Javadocs](https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-exporter-otlp-common.svg)](https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-exporter-otlp-common) |
| [Logging Exporter](./exporters/logging) | Logging exporters, including metrics, traces, and logs | `opentelemetry-exporter-logging` | <!--VERSION_STABLE-->1.52.0<!--/VERSION_STABLE--> | [![Javadocs](https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-exporter-logging.svg)](https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-exporter-logging) |
| [Zipkin Exporter](./exporters/zipkin) | Zipkin trace exporter | `opentelemetry-exporter-zipkin` | <!--VERSION_STABLE-->1.52.0<!--/VERSION_STABLE--> | [![Javadocs](https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-exporter-zipkin.svg)](https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-exporter-zipkin) |
| [Prometheus Exporter](./exporters/prometheus) | Prometheus metric exporter | `opentelemetry-exporter-prometheus` | <!--VERSION_UNSTABLE-->1.52.0-alpha<!--/VERSION_UNSTABLE--> | [![Javadocs](https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-exporter-prometheus.svg)](https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-exporter-prometheus) |
| [Exporter Common](./exporters/common) | Shared exporter components (internal) | `opentelemetry-exporter-common` | <!--VERSION_STABLE-->1.52.0<!--/VERSION_STABLE--> | [![Javadocs](https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-exporter-common.svg)](https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-exporter-common) |
| [OkHttp Sender](./exporters/sender/okhttp) | OkHttp implementation of HttpSender (internal) | `opentelemetry-exporter-sender-okhttp` | <!--VERSION_STABLE-->1.52.0<!--/VERSION_STABLE--> | [![Javadocs](https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-exporter-sender-okhttp.svg)](https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-exporter-sender-okhttp) |
| [JDK Sender](./exporters/sender/jdk) | Java 11+ native HttpClient implementation of HttpSender (internal) | `opentelemetry-exporter-sender-jdk` | <!--VERSION_STABLE-->1.52.0<!--/VERSION_STABLE--> | [![Javadocs](https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-exporter-sender-jdk.svg)](https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-exporter-sender-jdk) | |
| [gRPC ManagedChannel Sender](./exporters/sender/grpc-managed-channel) | gRPC ManagedChannel implementation of GrpcSender (internal) | `opentelemetry-exporter-sender-grpc-managed-channel` | <!--VERSION_STABLE-->1.52.0<!--/VERSION_STABLE--> | [![Javadocs](https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-exporter-sender-grpc-managed-channel.svg)](https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-exporter-sender-grpc-managed-channel) | |
</details>
<details>
<summary>SDK Extensions</summary>
Extensions to the OpenTelemetry SDK.
| Component | Description | Artifact ID | Version | Javadoc |
|-------------------------------------------------------------------------------|------------------------------------------------------------------------------------|-----------------------------------------------------|-------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [SDK Autoconfigure](./sdk-extensions/autoconfigure) | Autoconfigure OpenTelemetry SDK from env vars, system properties, and SPI | `opentelemetry-sdk-extension-autoconfigure` | <!--VERSION_STABLE-->1.52.0<!--/VERSION_STABLE--> | [![Javadocs](https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-sdk-extension-autoconfigure.svg)](https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-sdk-extension-autoconfigure) |
| [SDK Autoconfigure SPI](./sdk-extensions/autoconfigure-spi) | Service Provider Interface (SPI) definitions for autoconfigure | `opentelemetry-sdk-extension-autoconfigure-spi` | <!--VERSION_STABLE-->1.52.0<!--/VERSION_STABLE--> | [![Javadocs](https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-sdk-extension-autoconfigure-spi.svg)](https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-sdk-extension-autoconfigure-spi) |
| [SDK Jaeger Remote Sampler Extension](./sdk-extensions/jaeger-remote-sampler) | Sampler which obtains sampling configuration from remote Jaeger server | `opentelemetry-sdk-extension-jaeger-remote-sampler` | <!--VERSION_STABLE-->1.52.0<!--/VERSION_STABLE--> | [![Javadocs](https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-sdk-extension-jaeger-remote-sampler.svg)](https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-sdk-extension-jaeger-remote-sampler) |
| [SDK Incubator](./sdk-extensions/incubator) | SDK incubator, including YAML based view configuration, LeakDetectingSpanProcessor | `opentelemetry-sdk-extension-incubator` | <!--VERSION_UNSTABLE-->1.52.0-alpha<!--/VERSION_UNSTABLE--> | [![Javadocs](https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-sdk-extension-incubator.svg)](https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-sdk-extension-incubator) |
</details>
<details>
<summary>Shims</summary>
Shims for bridging data from one observability library to another.
| Component | Description | Artifact ID | Version | Javadoc |
|----------------------------------------|--------------------------------------------------------------|----------------------------------|-------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [OpenCensus Shim](./opencensus-shim) | Bridge opencensus metrics into the OpenTelemetry metrics SDK | `opentelemetry-opencensus-shim` | <!--VERSION_UNSTABLE-->1.52.0-alpha<!--/VERSION_UNSTABLE--> | [![Javadocs](https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-opencensus-shim.svg)](https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-opencensus-shim) |
| [OpenTracing Shim](./opentracing-shim) | Bridge opentracing spans into the OpenTelemetry trace API | `opentelemetry-opentracing-shim` | <!--VERSION_STABLE-->1.52.0<!--/VERSION_STABLE--> | [![Javadocs](https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-opentracing-shim.svg)](https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-opentracing-shim) |
</details>
## Dependencies
To take a dependency, [include a BOM][dependencies-and-boms] and specify the dependency as follows,
replacing `{{artifact-id}}` with the value from the "Artifact ID" column
from [artifacts](#artifacts):
<details open>
<summary>Gradle</summary>
```groovy
implementation('io.opentelemetry:{{artifact-id}}')
```
</details>
<details>
<summary>Maven</summary>
```xml
<dependency>
@ -204,126 +166,142 @@ dependency as follows, replacing `{{artifact-id}}` with the value from the "Arti
<artifactId>{{artifact-id}}</artifactId>
</dependency>
```
</details>
### Snapshots
Snapshots of the `main` branch are available as follows:
<details open>
<summary>Gradle</summary>
```groovy
implementation('io.opentelemetry:{{artifact-id}}')
repositories {
maven { url 'https://central.sonatype.com/repository/maven-snapshots/' }
}
dependencies {
implementation platform("io.opentelemetry:opentelemetry-bom:1.53.0-SNAPSHOT")
implementation('io.opentelemetry:opentelemetry-api')
}
```
</details>
### Bill of Material
<details>
<summary>Maven</summary>
| Component | Description | Artifact ID | Version |
|----------------------------------------------|----------------------------------------|---------------------------|-------------------------------------------------------------|
| [Bill of Materials (BOM)](./bom) | Bill of materials for stable artifacts | `opentelemetry-bom` | <!--VERSION_STABLE-->1.14.0<!--/VERSION_STABLE--> |
| [Alpha Bill of Materials (BOM)](./bom-alpha) | Bill of materials for alpha artifacts | `opentelemetry-bom-alpha` | <!--VERSION_UNSTABLE-->1.14.0-alpha<!--/VERSION_UNSTABLE--> |
```xml
<project>
<repositories>
<repository>
<id>sonatype-snapshot-repository</id>
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
</repository>
</repositories>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-bom</artifactId>
<version>1.53.0-SNAPSHOT</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-api</artifactId>
</dependency>
</dependencies>
</project>
```
</details>
### API
## Compatibility
| Component | Description | Artifact ID | Version |
|-----------------------------------|----------------------------------------------------------------|-------------------------|-------------------------------------------------------------|
| [API](./api/all) | OpenTelemetry API, including metrics, traces, baggage, context | `opentelemetry-api` | <!--VERSION_STABLE-->1.14.0<!--/VERSION_STABLE--> |
| [Context API](./context) | OpenTelemetry context API | `opentelemetry-context` | <!--VERSION_STABLE-->1.14.0<!--/VERSION_STABLE--> |
| [Semantic Conventions](./semconv) | Generated code for OpenTelemetry semantic conventions | `opentelemetry-semconv` | <!--VERSION_UNSTABLE-->1.14.0-alpha<!--/VERSION_UNSTABLE--> |
Artifacts from this repository follow semantic versioning.
### API Extensions
Stable artifacts (i.e. artifacts without `-alpha` version suffix) come with strong backwards
compatibility guarantees for public APIs.
| Component | Description | Artifact ID | Version |
|---------------------------------------------------------------|--------------------------------------------------------------------------------|---------------------------------------------|-------------------------------------------------------------|
| [Annotations Extension](./extensions/annotations) | Instrumentation annotations, used in conjunction with OpenTelemetry java agent | `opentelemetry-extension-annotations` | <!--VERSION_STABLE-->1.14.0<!--/VERSION_STABLE--> |
| [AWS Extension](./extensions/aws) | AWS Xray propagator | `opentelemetry-extension-aws` | <!--VERSION_STABLE-->1.14.0<!--/VERSION_STABLE--> |
| [Kotlin Extension](./extensions/kotlin) | Context extension for coroutines | `opentelemetry-extension-kotlin` | <!--VERSION_STABLE-->1.14.0<!--/VERSION_STABLE--> |
| [Trace Propagators Extension](./extensions/trace-propagators) | Trace propagators, including B3, Jaeger, OT Trace | `opentelemetry-extension-trace-propagators` | <!--VERSION_STABLE-->1.14.0<!--/VERSION_STABLE--> |
| [Incubator Extension](./extensions/incubator) | API incubator, including pass through propagator, and extended tracer | `opentelemetry-extension-incubator` | <!--VERSION_UNSTABLE-->1.14.0-alpha<!--/VERSION_UNSTABLE--> |
| [Noop API Extension](./extensions/noop-api) | A noop OpenTelemetry implementation which ignores context | `opentelemetry-extension-noop-api` | <!--VERSION_UNSTABLE-->1.14.0-alpha<!--/VERSION_UNSTABLE--> |
Artifacts may depend on other artifacts from this repository, and may depend on internal APIs (i.e.
non-public APIs) which are subject to change across minor versions. Therefore, it's critical to keep
artifact versions in sync in order to avoid possible runtime exceptions. We strongly
recommend [using one of our BOMs][dependencies-and-boms] to assist in keeping artifacts in sync.
### SDK
See the [VERSIONING.md](VERSIONING.md) for complete details on compatibility policy.
| Component | Description | Artifact ID | Version |
|----------------------------------------|--------------------------------------------------------|----------------------------------|-------------------------------------------------------------|
| [SDK](./sdk/all) | OpenTelemetry SDK, including metrics, traces, and logs | `opentelemetry-sdk` | <!--VERSION_STABLE-->1.14.0<!--/VERSION_STABLE--> |
| [Metrics SDK](./sdk/metrics) | OpenTelemetry metrics SDK | `opentelemetry-sdk-metrics` | <!--VERSION_STABLE-->1.14.0<!--/VERSION_STABLE--> |
| [Trace SDK](./sdk/trace) | OpenTelemetry trace SDK | `opentelemetry-sdk-trace` | <!--VERSION_STABLE-->1.14.0<!--/VERSION_STABLE--> |
| [Log SDK](./sdk/logs) | OpenTelemetry log SDK | `opentelemetry-sdk-logs` | <!--VERSION_UNSTABLE-->1.14.0-alpha<!--/VERSION_UNSTABLE--> |
| [SDK Common](./sdk/common) | Shared SDK components | `opentelemetry-sdk-common` | <!--VERSION_STABLE-->1.14.0<!--/VERSION_STABLE--> |
| [SDK Testing](./sdk/testing) | Components for testing OpenTelemetry instrumentation | `opentelemetry-sdk-testing` | <!--VERSION_STABLE-->1.14.0<!--/VERSION_STABLE--> |
| [SDK Logs Testing](./sdk/logs-testing) | Components for testing OpenTelemetry logs | `opentelemetry-sdk-logs-testing` | <!--VERSION_UNSTABLE-->1.14.0-alpha<!--/VERSION_UNSTABLE--> |
## Contacting us
### SDK Exporters
We hold regular meetings. See details at [community page](https://github.com/open-telemetry/community#java-sdk).
| Component | Description | Artifact ID | Version |
|-----------------------------------------------------|-------------------------------------------------------------------------------------|---------------------------------------|-------------------------------------------------------------|
| [OTLP Exporters](./exporters/otlp/all) | OTLP gRPC & HTTP exporters, including metrics and trace | `opentelemetry-exporter-otlp` | <!--VERSION_STABLE-->1.14.0<!--/VERSION_STABLE--> |
| [OTLP Log Exporters](./exporters/otlp/logs) | OTLP gRPC & HTTP log exporters | `opentelemetry-exporter-otlp-logs` | <!--VERSION_UNSTABLE-->1.14.0-alpha<!--/VERSION_UNSTABLE--> |
| [OTLP Common](./exporters/otlp/common) | Shared OTLP components (internal) | `opentelemetry-exporter-otlp-common` | <!--VERSION_STABLE-->1.14.0<!--/VERSION_STABLE--> |
| [Jaeger gRPC Exporter](./exporters/jaeger) | Jaeger gRPC trace exporter | `opentelemetry-exporter-jaeger` | <!--VERSION_STABLE-->1.14.0<!--/VERSION_STABLE--> |
| [Jaeger Thrift Exporter](./exporters/jaeger-thrift) | Jaeger thrift trace exporter | `opentelemetry-exporter-jaeger-thift` | <!--VERSION_STABLE-->1.14.0<!--/VERSION_STABLE--> |
| [Jaeger Proto](./exporters/jaeger-proto) | Jaeger gRPC protobuf definitions (deprecated) | `opentelemetry-exporter-jaeger-proto` | <!--VERSION_STABLE-->1.14.0<!--/VERSION_STABLE--> |
| [Logging Exporter](./exporters/logging) | Logging exporters, includings metrics, traces, and logs | `opentelemetry-exporter-logging` | <!--VERSION_STABLE-->1.14.0<!--/VERSION_STABLE--> |
| [OTLP Logging Exporter](./exporters/logging-otlp) | Logging exporters in OTLP protobuf JSON format, including metrics, traces, and logs | `opentelemetry-exporter-logging-otlp` | <!--VERSION_STABLE-->1.14.0<!--/VERSION_STABLE--> |
| [Zipkin Exporter](./exporters/zipkin) | Zipkin trace exporter | `opentelemetry-exporter-zipkin` | <!--VERSION_STABLE-->1.14.0<!--/VERSION_STABLE--> |
| [Prometheus Exporter](./exporters/prometheus) | Prometheus metric exporter | `opentelemetry-exporter-prometheus` | <!--VERSION_UNSTABLE-->1.14.0-alpha<!--/VERSION_UNSTABLE--> |
To report a bug, or request a new feature,
please [open an issue](https://github.com/open-telemetry/opentelemetry-java/issues/new/choose).
### SDK Extensions
We use [GitHub Discussions](https://github.com/open-telemetry/opentelemetry-java/discussions)
for support or general questions. Feel free to drop us a line.
| Component | Description | Artifact ID | Version |
|-------------------------------------------------------------------------------|---------------------------------------------------------------------------|-----------------------------------------------------|-------------------------------------------------------------|
| [SDK Autoconfigure Extension](./sdk-extensions/autoconfigure) | Autoconfigure OpenTelemetry SDK from env vars, system properties, and SPI | `opentelemetry-sdk-extension-autoconfigure` | <!--VERSION_UNSTABLE-->1.14.0-alpha<!--/VERSION_UNSTABLE--> |
| [SDK Autoconfigure SPI](./sdk-extensions/autoconfigure-spi) | Service Provider Interface (SPI) definitions for autoconfigure | `opentelemetry-sdk-extension-autoconfigure-spi` | <!--VERSION_STABLE-->1.14.0<!--/VERSION_STABLE--> |
| [SDK Resources Extension](./sdk-extensions/resources) | Resource providers, including container, host, os, and process | `opentelemetry-sdk-extension-resources` | <!--VERSION_STABLE-->1.14.0<!--/VERSION_STABLE--> |
| [SDK AWS Extension](./sdk-extensions/aws) | AWS resource providers, including beanstalk, ec2, ecs, eks, and lambda | `opentelemetry-sdk-extension-aws` | <!--VERSION_STABLE-->1.14.0<!--/VERSION_STABLE--> |
| [SDK Jaeger Remote Sampler Extension](./sdk-extensions/jaeger-remote-sampler) | Sampler which obtains sampling configuration from remote Jaeger server | `opentelemetry-sdk-extension-jaeger-remote-sampler` | <!--VERSION_STABLE-->1.14.0<!--/VERSION_STABLE--> |
| [SDK JFR Events Extension](./sdk-extensions/jfr-events) | SpanProcessor which records spans as JFR events | `opentelemetry-sdk-extension-jfr-events` | <!--VERSION_UNSTABLE-->1.14.0-alpha<!--/VERSION_UNSTABLE--> |
| [SDK Metric Incubator Extension](./sdk-extensions/metric-incubator) | Metrics incubator, including YAML based view configuration | `opentelemetry-sdk-extension-metric-incubator` | <!--VERSION_UNSTABLE-->1.14.0-alpha<!--/VERSION_UNSTABLE--> |
| [SDK Tracing Incubator Extension](./sdk-extensions/tracing-incubator) | Trace incubator, including leak detecting SpanProcessor | `opentelemetry-sdk-extension-tracing-incubator` | <!--VERSION_UNSTABLE-->1.14.0-alpha<!--/VERSION_UNSTABLE--> |
| [SDK zPages Extension](./sdk-extensions/zpages) | SpanProcessor which exposes spans with zPages | `opentelemetry-sdk-extension-zpages` | <!--VERSION_UNSTABLE-->1.14.0-alpha<!--/VERSION_UNSTABLE--> |
### Shims
| Component | Description | Artifact ID | Version |
|----------------------------------------|--------------------------------------------------------------|----------------------------------|-------------------------------------------------------------|
| [Micrometer Shim](./micrometer1-shim) | Bridge micrometer metrics into the OpenTelemetry metrics API | `opentelemetry-micrometer1-shim` | <!--VERSION_UNSTABLE-->1.14.0-alpha<!--/VERSION_UNSTABLE--> |
| [OpenCensus Shim](./opencensus-shim) | Bridge opencensus metrics into the OpenTelemetry metrics SDK | `opentelemetry-opencensus-shim` | <!--VERSION_UNSTABLE-->1.14.0-alpha<!--/VERSION_UNSTABLE--> |
| [OpenTracing Shim](./opentracing-shim) | Bridge opentracing spans into the OpenTelemetry trace API | `opentelemetry-opentracing-shim` | <!--VERSION_UNSTABLE-->1.14.0-alpha<!--/VERSION_UNSTABLE--> |
We are also present in the [`#otel-java`](https://cloud-native.slack.com/archives/C014L2KCTE3) channel in the [CNCF slack](https://slack.cncf.io/).
Please join us for more informal discussions.
## Contributing
See [CONTRIBUTING.md](CONTRIBUTING.md)
See [CONTRIBUTING.md](CONTRIBUTING.md) for:
Approvers ([@open-telemetry/java-approvers](https://github.com/orgs/open-telemetry/teams/java-approvers)):
* Details on building locally
* Project scope
* Keys to successful PRs
* Guide to using gradle composite builds
- [Christian Neumüller](https://github.com/Oberon00), Dynatrace
- [Jakub Wach](https://github.com/kubawach), Splunk
- [Josh Suereth](https://github.com/jsuereth), Google
### Maintainers
*Find more about the approver role in [community repository](https://github.com/open-telemetry/community/blob/master/community-membership.md#approver).*
Maintainers ([@open-telemetry/java-maintainers](https://github.com/orgs/open-telemetry/teams/java-maintainers)):
- [Anuraag Agrawal](https://github.com/anuraaga), AWS
- [Jack Berg](https://github.com/jack-berg), New Relic
- [John Watson](https://github.com/jkwatson), Splunk
- [John Watson](https://github.com/jkwatson), Verta.ai
Maintainers Emeritus:
For more information about the maintainer role, see the [community repository](https://github.com/open-telemetry/community/blob/main/guides/contributor/membership.md#maintainer).
- [Bogdan Drutu](https://github.com/BogdanDrutu), Splunk
- [Carlos Alberto](https://github.com/carlosalberto), LightStep
### Approvers
*Find more about the maintainer role in [community repository](https://github.com/open-telemetry/community/blob/master/community-membership.md#maintainer).*
- [Jason Plumb](https://github.com/breedx-splk), Splunk
- [Josh Suereth](https://github.com/jsuereth), Google
- [Lauri Tulmin](https://github.com/laurit), Splunk
- [Trask Stalnaker](https://github.com/trask), Microsoft
### Thanks to all the people who have contributed
For more information about the approver role, see the [community repository](https://github.com/open-telemetry/community/blob/main/guides/contributor/membership.md#approver).
### Triagers
- [Gregor Zeitlinger](https://github.com/zeitlinger), Grafana Labs
For more information about the triager role, see the [community repository](https://github.com/open-telemetry/community/blob/main/guides/contributor/membership.md#triager).
### Emeritus
- Maintainer [Bogdan Drutu](https://github.com/BogdanDrutu)
- Maintainer [Carlos Alberto](https://github.com/carlosalberto)
- Approver [Mateusz Rzeszutek](https://github.com/mateuszrzeszutek)
For more information about the emeritus role, see the [community repository](https://github.com/open-telemetry/community/blob/main/guides/contributor/membership.md#emeritus-maintainerapprovertriager).
### Help wanted
We are currently resource constrained and are actively seeking new contributors interested in working towards [approver](https://github.com/open-telemetry/community/blob/main/guides/contributor/membership.md#approver) / [maintainer](https://github.com/open-telemetry/community/blob/main/guides/contributor/membership.md#maintainer) roles. In addition to the documentation for approver / maintainer roles and the [contributing](./CONTRIBUTING.md) guide, here are some additional notes on engaging:
- [Pull request](https://github.com/open-telemetry/opentelemetry-java/pulls) reviews are equally or more helpful than code contributions. Comments and approvals are valuable with or without a formal project role. They're also a great forcing function to explore a fairly complex codebase.
- Attending the [Java: SDK + Automatic Instrumentation](https://github.com/open-telemetry/community?tab=readme-ov-file#implementation-sigs) Special Interest Group (SIG) is a great way to get to know community members and learn about project priorities.
- Issues labeled [help wanted](https://github.com/open-telemetry/opentelemetry-java/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22) are project priorities. Code contributions (or pull request reviews when a PR is linked) for these issues are particularly important.
- Triaging / responding to new issues and discussions is a great way to engage with the project.
### Thanks to all of our contributors!
<a href="https://github.com/open-telemetry/opentelemetry-java/graphs/contributors">
<img src="https://contrib.rocks/image?repo=open-telemetry/opentelemetry-java" />
<img alt="Repo contributors" src="https://contrib.rocks/image?repo=open-telemetry/opentelemetry-java" />
</a>
Made with [contrib.rocks](https://contrib.rocks).
[ci-image]: https://github.com/open-telemetry/opentelemetry-java/workflows/Continuous%20Build/badge.svg
[ci-url]: https://github.com/open-telemetry/opentelemetry-java/actions?query=workflow%3Aci+branch%3Amain
[codecov-image]: https://codecov.io/gh/open-telemetry/opentelemetry-java/branch/main/graph/badge.svg
[codecov-url]: https://codecov.io/gh/open-telemetry/opentelemetry-java/branch/main/
[Manual instrumentation]: https://opentelemetry.io/docs/java/manual_instrumentation/
[maven-image]: https://maven-badges.herokuapp.com/maven-central/io.opentelemetry/opentelemetry-api/badge.svg
[maven-url]: https://maven-badges.herokuapp.com/maven-central/io.opentelemetry/opentelemetry-api
[opentelemetry-java-instrumentation]: https://github.com/open-telemetry/opentelemetry-java-instrumentation
[opentelemetry-java-docs]: https://github.com/open-telemetry/opentelemetry-java-docs
[opentelemetry.io]: https://opentelemetry.io
[codecov-url]: https://app.codecov.io/gh/open-telemetry/opentelemetry-java/branch/main/
[dependencies-and-boms]: https://opentelemetry.io/docs/languages/java/intro/#dependencies-and-boms
[maven-image]: https://maven-badges.sml.io/maven-central/io.opentelemetry/opentelemetry-api/badge.svg
[maven-url]: https://maven-badges.sml.io/maven-central/io.opentelemetry/opentelemetry-api

View File

@ -6,25 +6,33 @@ directory. Additionally, ensure that appropriate `@since` annotations are added
the public APIs.
When preparing the change log, you can use
`git log upstream/v$MAJOR.$((MINOR-1)).x..upstream/v$MAJOR.$MINOR.x --graph --first-parent`
or the Github [compare tool](https://github.com/open-telemetry/opentelemetry-java/compare/)
to view a summary of all commits since last release as a reference.
the [draft-change-log-entries.sh](./.github/scripts/draft-change-log-entries.sh) script to assist
with drafting. Alternatively,
use `git log upstream/v$MAJOR.$((MINOR-1)).x..upstream/v$MAJOR.$MINOR.x --graph --first-parent` or
the Github [compare tool](https://github.com/open-telemetry/opentelemetry-java/compare/) to view a
summary of all commits since last release as a reference.
## Release cadence
This repository roughly targets monthly minor releases from the `main` branch on the Friday after
the first Monday of the month.
## Preparing a new major or minor release
* Close the release milestone if there is one.
* Merge a pull request to `main` updating the `CHANGELOG.md`.
* The heading for the release should include the release version but not the release date, e.g.
`## Version 1.9.0 (Unreleased)`.
* The heading for the unreleased entries should be `## Unreleased`.
* Run the [Prepare release branch workflow](https://github.com/open-telemetry/opentelemetry-java/actions/workflows/prepare-release-branch.yml).
* Review and merge the two pull requests that it creates
(one is targeted to the release branch and one is targeted to the `main` branch).
* Press the "Run workflow" button, and leave the default branch `main` selected.
* Review and merge the two pull requests that it creates
(one is targeted to the release branch and one is targeted to `main`).
## Preparing a new patch release
All patch releases should include only bug-fixes, and must avoid adding/modifying the public APIs.
In general, patch releases are only made for regressions, memory leaks and deadlocks.
In general, patch releases are only made for regressions, security vulnerabilities, memory leaks
and deadlocks.
* Backport pull request(s) to the release branch.
* Run the [Backport workflow](https://github.com/open-telemetry/opentelemetry-java/actions/workflows/backport.yml).
@ -33,67 +41,56 @@ In general, patch releases are only made for regressions, memory leaks and deadl
then click the "Run workflow" button below that.
* Review and merge the backport pull request that it generates.
* Merge a pull request to the release branch updating the `CHANGELOG.md`.
* The heading for the release should include the release version but not the release date, e.g.
`## Version 1.9.1 (Unreleased)`.
* The heading for the unreleased entries should be `## Unreleased`.
* Run the [Prepare patch release workflow](https://github.com/open-telemetry/opentelemetry-java/actions/workflows/prepare-patch-release.yml).
* Press the "Run workflow" button, then select the release branch from the dropdown list,
e.g. `release/v1.9.x`, and click the "Run workflow" button below that.
* Review and merge the pull request that it creates.
* Review and merge the pull request that it creates for updating the version.
## Making the release
Run the [Release workflow](https://github.com/open-telemetry/opentelemetry-java/actions/workflows/release.yml).
* Press the "Run workflow" button, then select the release branch from the dropdown list,
e.g. `release/v1.9.x`, and click the "Run workflow" button below that.
* This workflow will publish the artifacts to maven central and will publish a GitHub release
with release notes based on the change log.
* Review and merge the pull request that the release workflow creates against the release branch
which adds the release date to the change log.
## After the release
Run the [Merge change log to main workflow](https://github.com/open-telemetry/opentelemetry-java/actions/workflows/merge-change-log-to-main.yml).
* Press the "Run workflow" button, then select the release branch from the dropdown list,
e.g. `release/v1.9.x`, and click the "Run workflow" button below that.
* This will create a pull request that merges the change log updates from the release branch
back to main.
* Review and merge the pull request that it creates.
* This workflow will fail if there have been conflicting change log updates introduced in main,
in which case you will need to merge the change log updates manually and send your own pull
request against main.
## Update release versions in documentations
After releasing is done, you need to first update the docs. This needs to happen after artifacts have propagated
to Maven Central so should probably be done an hour or two after the release workflow finishes.
```
./gradlew updateVersionInDocs -Prelease.version=x.y.z
./gradlew japicmp -PapiBaseVersion=a.b.c -PapiNewVersion=x.y.z
./gradlew --refresh-dependencies japicmp
```
Where `x.y.z` is the version just released and `a.b.c` is the previous version.
Create a PR to mark the new release in README.md on the main branch.
Finally, update the [website docs][] to refer to the newly released version.
[website docs]: https://github.com/open-telemetry/opentelemetry.io/tree/main/content/en/docs/instrumentation/java
* Run the [Release workflow](https://github.com/open-telemetry/opentelemetry-java/actions/workflows/release.yml).
* Press the "Run workflow" button, then select the release branch from the dropdown list,
e.g. `release/v1.9.x`, and click the "Run workflow" button below that.
* This workflow will publish the artifacts to maven central and will publish a GitHub release
with release notes based on the change log.
* Review and merge the pull request that it creates for updating the change log in main
(note that if this is not a patch release then the change log on main may already be up-to-date,
in which case no pull request will be created).
* Once the release artifacts become available on Maven Central, the system will automatically
generate a new pull request titled `Update apidiff baseline and documentation versions to
released version $VERSION`. This pull request will contain updates to both the API diff baseline
and version references in the documentation files (README.md). Please review and merge this
automated pull request.
* The [website](https://github.com/open-telemetry/opentelemetry.io) contains automation to update
to the newly released version. Review and approve the pull request when available.
* The [website](https://opentelemetry.io/docs/languages/java/configuration/#zero-code-sdk-autoconfigure)
contains documentation on autoconfiguration properties. If the release has updated or modified any
properties, open and merge a pull request to update the documentation.
## Credentials
The following credentials are required for publishing (and automatically set in Circle CI):
* `GPG_PRIVATE_KEY` and `GPG_PASSWORD`: GPG private key and password for signing
- Note, currently only @anuraaga has this and we need to find a way to safely share secrets in the
OpenTelemetry project, for example with a password manager. In the worst case if you need to
release manually and cannot get a hold of it, you can generate a new key but don't forget to
upload the public key to keyservers.
The following credentials are required for building or publishing (and automatically set in Github Actions):
* `GPG_PRIVATE_KEY` and `GPG_PASSWORD`: GPG private key and password for signing.
* `SONATYPE_USER` and `SONATYPE_KEY`: Sonatype username and password.
* Each maintainer will have their own set of Sonotype credentials with permission to publish to
the `io.opentelemetry` group prefix.
* [Register to publish](https://central.sonatype.org/register/central-portal/#and-publishing-is-easy)
and comment on [OSSRH-63768](https://issues.sonatype.org/browse/OSSRH-63768) with confirmation
from another maintainer.
* To obtain `SONATYPE_USER` and `SONATYPE_KEY` for your account, login
to [oss.sonatype.org](https://oss.sonatype.org/) and navigate to Profile -> User Token -> Access
User Token.
Additionally, credentials are stored with maintainers via
the [OpenTelemetry 1Password](https://opentelemetry.1password.com/signin) account. The following
defines the mapping from Github Action secret keys to 1Password keys:
| Github Actions Key | 1Password Key |
|--------------------|---------------|
| `GPG_PASSWORD` | `opentelemetry-java GPG_PASSWORD` |
| `GPG_PRIVATE_KEY` | `opentelemetry-java GPG_PRIVATE_KEY` |
## Releasing from the local setup

View File

@ -18,7 +18,7 @@ changes are:
reordering parameters, adding a method to an interface or abstract class without adding a default
implementation.
- ABI changes that could require code using the artifact to be recompiled, but not changed, e.g.,
- [ABI](https://wikipedia.org/wiki/Application_binary_interface) changes that could require code using the artifact to be recompiled, but not changed, e.g.,
changing the return type of a method from `void` to non-`void`, changing a `class` to an `interface`.
The [JLS](https://docs.oracle.com/javase/specs/jls/se7/html/jls-13.html) has more information on
what constitutes compatible changes.
@ -31,6 +31,17 @@ changes are:
Such changes will be avoided - if they must be made, the `MAJOR` version of the artifact will be
incremented.
A stable artifact may depend on an `-alpha` artifact, and expose classes, interfaces, enums, etc. of
the `-alpha` artifact as part of its public API. In these cases, the stable artifact will place
an [implementation](https://docs.gradle.org/current/userguide/java_library_plugin.html#sec:java_library_separation)
dependency (as opposed to an api dependency) on the `-alpha` artifact. In order to consume the
portions of the API related to the `-alpha` artifact, a user must place their own implementation
dependency on it. In adding the implementation dependency, the user has opted into to using
an `-alpha` artifact, and we reserve the right to change the portions of the API pertaining to
the `-alpha` artifact. This includes changing the names of methods, return types, argument types, etc.
We will use this technique sparingly and only when there is some significant reduction in friction
by including the `-alpha` artifact.
Backwards incompatible changes to `internal` packages are expected. Versions of published artifacts
are expected to be aligned by using BOMs we publish. We will always provide BOMs to allow alignment
of versions.
@ -39,11 +50,31 @@ Changes may be made that require changes to the an app's dependency declarations
incrementing the version on `MINOR` version updates. For example, code may be separated out to a
new artifact which requires adding the new artifact to dependency declarations.
On rare occasions we may deprecate an entire stable artifact, with the intent of stopping functional
changes or enhancements. In these situations we may stop publishing additional `MINOR` or `MAJOR`
versions of the artifact. However, if necessary, we'll publish security fixes via `PATCH` releases.
The API of the last published version will remain stable.
As a user, if you always depend on the latest version of the BOM for a given `MAJOR` version, and
you do not use classes in the `internal` package (which you MUST NOT do), you can be assured that
your app will always function and have access to the latest features of OpenTelemetry without needing
any changes to code.
## Language Version Compatibility
The artifacts published by this codebase are compatible with certain language levels of tooling in
the Java ecosystem. For example, all artifacts (except where otherwise noted) support Java language
level 8 or higher, and the many artifacts intended to be used in Android environments adhere to a
particular [Android API level](https://developer.android.com/tools/releases/build-tools). The
following table defines the minimum language levels we adhere to, and how each is considered with
respect to semantic versioning.
| Language | Minimum Version | Applicability | Semconv Notes |
|----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Java | 8+ | All artifacts, unless otherwise noted | Changing requires major version bump. |
| Android | 23+ (NOTE: [desugaring](https://developer.android.com/studio/write/java8-support#library-desugaring) is required. We stay up to date with the latest version of [desugar_jdk_libs](https://github.com/google/desugar_jdk_libs).) | Artifacts using `otel.animalsniffer-conventions` plugin | Kept in sync with minimum requirements for [Google Play services](https://developers.google.com/android/guides/setup). Subject to change in minor version. |
| Kotlin | 1.8+ | Only applies to `opentelemetry-extension-kotlin` | Kept in sync with [minimum non-deprecated](https://kotlinlang.org/docs/gradle-compiler-options.html#attributes-common-to-jvm-and-js) version. Subject to change in minor versions. |
## API vs SDK
This codebase is broadly split into two large pieces, the OpenTelemetry API and the OpenTelemetry SDK,

View File

@ -8,8 +8,9 @@ otelJava.moduleName.set("io.opentelemetry.all")
tasks {
// We don't compile much here, just some API boundary tests. This project is mostly for
// aggregating jacoco reports and it doesn't work if this isn't at least as high as the
// highest supported Java version in any of our projects. Most of our projects target
// Java 8, except for jfr-events.
// highest supported Java version in any of our projects. All of our
// projects target Java 8 except :exporters:http-sender:jdk, which targets
// Java 11
withType(JavaCompile::class) {
options.release.set(11)
}
@ -22,6 +23,11 @@ tasks {
}
}
// Skip OWASP dependencyCheck task on test module
dependencyCheck {
skip = true
}
val testTasks = mutableListOf<Task>()
dependencies {
@ -38,6 +44,7 @@ dependencies {
}
}
}
testImplementation("com.tngtech.archunit:archunit-junit5")
}
@ -78,15 +85,9 @@ tasks.named<JacocoReport>("jacocoTestReport") {
// Exclude mrjar (jacoco complains), shaded, and generated code
!it.absolutePath.contains("META-INF/versions/") &&
!it.absolutePath.contains("/internal/shaded/") &&
!it.absolutePath.contains("io/opentelemetry/proto/") &&
!it.absolutePath.contains("io/opentelemetry/exporter/jaeger/proto/") &&
!it.absolutePath.contains("io/opentelemetry/exporter/jaeger/internal/protobuf/") &&
!it.absolutePath.contains("io/opentelemetry/sdk/extension/trace/jaeger/proto/") &&
!it.absolutePath.contains("io/opentelemetry/semconv/trace/attributes/") &&
!it.absolutePath.contains("AutoValue_") &&
// TODO(anuraaga): Remove exclusion after enabling coverage for jfr-events
!it.absolutePath.contains("io/opentelemetry/sdk/extension/jfr")
}
!it.absolutePath.contains("AutoValue_")
},
)
}
additionalSourceDirs(sourcesPath.incoming.artifactView { lenient(true) }.files)

View File

@ -6,17 +6,17 @@
package io.opentelemetry.all;
import com.tngtech.archunit.base.DescribedPredicate;
import com.tngtech.archunit.base.Optional;
import com.tngtech.archunit.base.PackageMatcher;
import com.tngtech.archunit.core.domain.JavaClass;
import com.tngtech.archunit.core.domain.JavaClasses;
import com.tngtech.archunit.core.domain.JavaMethod;
import com.tngtech.archunit.core.domain.PackageMatcher;
import com.tngtech.archunit.core.importer.ClassFileImporter;
import com.tngtech.archunit.lang.syntax.ArchRuleDefinition;
import com.tngtech.archunit.lang.syntax.elements.MethodsShouldConjunction;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Optional;
import org.junit.jupiter.api.Test;
class SdkDesignTest {
@ -28,7 +28,7 @@ class SdkDesignTest {
* Ensures that all SDK methods that: - are defined in classes that extend or implement API model
* and are public (to exclude protected builders) - are public (avoids issues with protected
* methods returning classes unavailable to test's CL) - override or implement parent method
* return only API, Context or generic Java type.
* return only API, Context, Common, or generic Java type.
*/
@Test
void sdkImplementationOfApiClassesShouldReturnApiTypeOnly() {
@ -45,7 +45,11 @@ class SdkDesignTest {
.and(implementOrOverride())
.should()
.haveRawReturnType(
inPackage("io.opentelemetry.api..", "io.opentelemetry.context..", "java.."))
inPackage(
"io.opentelemetry.api..",
"io.opentelemetry.context..",
"io.opentelemetry.common..",
"java.."))
.orShould()
.haveRawReturnType("void");
@ -53,9 +57,9 @@ class SdkDesignTest {
}
static DescribedPredicate<? super JavaMethod> implementOrOverride() {
return new DescribedPredicate<>("implement or override a method") {
return new DescribedPredicate<JavaMethod>("implement or override a method") {
@Override
public boolean apply(JavaMethod input) {
public boolean test(JavaMethod input) {
List<JavaClass> params = input.getRawParameterTypes();
Class<?>[] paramsType = new Class<?>[params.size()];
for (int i = 0, n = params.size(); i < n; i++) {
@ -78,9 +82,9 @@ class SdkDesignTest {
}
static DescribedPredicate<? super JavaClass> inPackage(String... requiredPackages) {
return new DescribedPredicate<>("are in " + Arrays.toString(requiredPackages)) {
return new DescribedPredicate<JavaClass>("are in " + Arrays.toString(requiredPackages)) {
@Override
public boolean apply(JavaClass member) {
public boolean test(JavaClass member) {
for (String requiredPackage : requiredPackages) {
if (PackageMatcher.of(requiredPackage).matches(member.getPackageName())) {
return true;

View File

@ -1,69 +0,0 @@
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.extension.noopapi;
import static org.assertj.core.api.Assertions.assertThat;
import io.opentelemetry.api.common.AttributeKey;
import io.opentelemetry.api.common.Attributes;
import io.opentelemetry.api.trace.Span;
import io.opentelemetry.api.trace.SpanBuilder;
import io.opentelemetry.api.trace.SpanContext;
import io.opentelemetry.api.trace.SpanKind;
import io.opentelemetry.api.trace.TraceFlags;
import io.opentelemetry.api.trace.TraceState;
import io.opentelemetry.context.Context;
import io.opentelemetry.context.Scope;
import java.util.concurrent.TimeUnit;
import org.junit.jupiter.api.Test;
class NoopOpenTelemetryTest {
private static final SpanContext SPAN_CONTEXT =
SpanContext.create(
"00000000000000000000000000000061",
"0000000000000061",
TraceFlags.getDefault(),
TraceState.getDefault());
@Test
void contextNoOp() {
// Context.root() is not a no-op Context, so the default context is never root.
Context context = Context.current();
assertThat(context).isNotSameAs(Context.root());
// No allocations
assertThat(context.with(Span.wrap(SPAN_CONTEXT))).isSameAs(context);
assertThat(SPAN_CONTEXT.isValid()).isTrue();
try (Scope ignored = Context.current().with(Span.wrap(SPAN_CONTEXT)).makeCurrent()) {
// No context mounted, so always an invalid span.
assertThat(Span.fromContext(Context.current()).getSpanContext().isValid()).isFalse();
}
}
@Test
void tracerNoOp() {
SpanBuilder span1 = NoopOpenTelemetry.getInstance().getTracer("test").spanBuilder("test");
SpanBuilder span2 = NoopOpenTelemetry.getInstance().getTracer("test").spanBuilder("test");
// No allocations
assertThat(span1).isSameAs(span2);
// No crash
span1.setParent(Context.current());
span1.setNoParent();
span1.addLink(SPAN_CONTEXT);
span1.addLink(SPAN_CONTEXT, Attributes.empty());
span1.setAttribute("key", "value");
span1.setAttribute("key", 1L);
span1.setAttribute("key", 1.0);
span1.setAttribute("key", true);
span1.setAttribute(AttributeKey.stringKey("key"), "value");
span1.setSpanKind(SpanKind.CLIENT);
span1.setStartTimestamp(1, TimeUnit.DAYS);
// No allocations
assertThat(span1.startSpan()).isSameAs(Span.getInvalid());
}
}

View File

@ -0,0 +1,52 @@
import ru.vyarus.gradle.plugin.animalsniffer.info.SignatureInfoTask
import ru.vyarus.gradle.plugin.animalsniffer.signature.BuildSignatureTask
plugins {
id("otel.java-conventions")
id("ru.vyarus.animalsniffer")
}
description = "Build tool to generate the Animal Sniffer Android signature"
otelJava.moduleName.set("io.opentelemetry.internal.animalsniffer")
val signatureJar = configurations.create("signatureJar") {
isCanBeConsumed = false
isCanBeResolved = false
}
val signatureJarClasspath = configurations.create("signatureJarClasspath") {
isCanBeConsumed = false
isCanBeResolved = true
extendsFrom(signatureJar)
}
val generatedSignature = configurations.create("generatedSignature") {
isCanBeConsumed = true
isCanBeResolved = false
}
configurations.add(signatureJar)
configurations.add(signatureJarClasspath)
configurations.add(generatedSignature)
dependencies {
signature("com.toasttab.android:gummy-bears-api-23:0.12.0@signature")
signatureJar("com.android.tools:desugar_jdk_libs")
}
val signatureSimpleName = "android.signature"
val signatureBuilderTask = tasks.register("buildSignature", BuildSignatureTask::class.java) {
files(signatureJarClasspath) // All the jar files here will be added to the signature file.
signatures(configurations.signature) // We'll extend from the existing signatures added to this config.
outputName = signatureSimpleName // Name for the generated signature file.
}
// Exposing the "generatedSignature" consumable config to be used in other subprojects
artifacts {
add("generatedSignature", project.provider { File(signatureBuilderTask.get().outputs.files.singleFile, signatureSimpleName) }) {
builtBy(signatureBuilderTask)
}
}
// Utility task to show what's in the signature file
tasks.register("printSignature", SignatureInfoTask::class.java) {
signature = signatureBuilderTask.get().outputFiles
depth = 1
}

View File

@ -1,22 +1,7 @@
# OpenTelemetry API
[![Javadocs][javadoc-image]][javadoc-url]
#### API Misuse Logging
* The code in this module is the implementation of stable OpenTelemetry signals.
* Semantic Conventions for OpenTelemetry are in the `opentelemetry-semconv` module.
* The default implementation of the interfaces in this module is in the OpenTelemetry SDK module.
* The interfaces in this directory can be implemented to create alternative
implementations of the OpenTelemetry library.
API misuse information is logged under logger named `io.opentelemetry.ApiUsageLogging`.
[javadoc-image]: https://www.javadoc.io/badge/io.opentelemetry/opentelemetry-api.svg
[javadoc-url]: https://www.javadoc.io/doc/io.opentelemetry/opentelemetry-api
---
#### Running micro-benchmarks
From the root of the repo run `./gradlew clean :api:jmh` to run all the benchmarks
or run `./gradlew clean :api:jmh -PjmhIncludeSingleClass=<ClassNameHere>`
to run a specific benchmark class.
---
#### Logging API mis-use
Define `logging.level.io.opentelemetry.ApiUsageLogging=TRACE` to enable TRACE logging for invalid API calls.
To access, enable `FINEST` level logs.

View File

@ -15,6 +15,13 @@ dependencies {
annotationProcessor("com.google.auto.value:auto-value")
testImplementation(project(":api:testing-internal"))
testImplementation("edu.berkeley.cs.jqf:jqf-fuzz")
testImplementation("com.google.guava:guava-testlib")
}
tasks.test {
// Configure environment variable for ConfigUtilTest
environment("CONFIG_KEY", "environment")
}

View File

@ -25,11 +25,30 @@ public class AttributesBenchmark {
// pre-allocate the keys & values to remove one possible confounding factor
private static final List<AttributeKey<String>> keys = new ArrayList<>(10);
private static final List<String> values = new ArrayList<>(10);
private static final List<Attributes> attributes = new ArrayList<>();
static {
for (int i = 0; i < 10; i++) {
keys.add(AttributeKey.stringKey("key" + i));
values.add("value" + i);
AttributesBuilder builder = Attributes.builder();
for (int j = 0; j <= i; j++) {
builder.put(keys.get(j), values.get(j));
}
attributes.add(builder.build());
}
}
@Benchmark
@BenchmarkMode({Mode.AverageTime})
@Fork(1)
@Measurement(iterations = 15, time = 1)
@OutputTimeUnit(TimeUnit.NANOSECONDS)
@Warmup(iterations = 5, time = 1)
@SuppressWarnings("ReturnValueIgnored")
public void computeHashCode() {
for (Attributes attributes : attributes) {
attributes.hashCode();
}
}

View File

@ -46,4 +46,9 @@ final class DefaultOpenTelemetry implements OpenTelemetry {
public ContextPropagators getPropagators() {
return propagators;
}
@Override
public String toString() {
return "DefaultOpenTelemetry{" + "propagators=" + propagators + "}";
}
}

View File

@ -5,7 +5,9 @@
package io.opentelemetry.api;
import io.opentelemetry.api.internal.ConfigUtil;
import io.opentelemetry.api.internal.GuardedBy;
import io.opentelemetry.api.logs.LoggerProvider;
import io.opentelemetry.api.metrics.Meter;
import io.opentelemetry.api.metrics.MeterBuilder;
import io.opentelemetry.api.metrics.MeterProvider;
@ -15,6 +17,7 @@ import io.opentelemetry.api.trace.TracerProvider;
import io.opentelemetry.context.propagation.ContextPropagators;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.function.Supplier;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.annotation.Nullable;
@ -44,12 +47,18 @@ import javax.annotation.concurrent.ThreadSafe;
@SuppressWarnings("StaticAssignmentOfThrowable")
public final class GlobalOpenTelemetry {
private static final String GLOBAL_AUTOCONFIGURE_ENABLED_PROPERTY =
"otel.java.global-autoconfigure.enabled";
private static final Logger logger = Logger.getLogger(GlobalOpenTelemetry.class.getName());
private static final Object mutex = new Object();
@Nullable private static volatile ObfuscatedOpenTelemetry globalOpenTelemetry;
@SuppressWarnings("NonFinalStaticField")
@Nullable
private static volatile ObfuscatedOpenTelemetry globalOpenTelemetry;
@SuppressWarnings("NonFinalStaticField")
@GuardedBy("mutex")
@Nullable
private static Throwable setGlobalCaller;
@ -108,6 +117,21 @@ public final class GlobalOpenTelemetry {
}
}
/**
* Sets the {@link OpenTelemetry} that should be the global instance.
*
* <p>This method calls the given {@code supplier} and calls {@link #set(OpenTelemetry)}, all
* while holding the {@link GlobalOpenTelemetry} mutex.
*
* @since 1.52.0
*/
public static void set(Supplier<OpenTelemetry> supplier) {
synchronized (mutex) {
OpenTelemetry openTelemetry = supplier.get();
set(openTelemetry);
}
}
/** Returns the globally registered {@link TracerProvider}. */
public static TracerProvider getTracerProvider() {
return get().getTracerProvider();
@ -219,15 +243,29 @@ public final class GlobalOpenTelemetry {
return null;
}
// If autoconfigure module is present but global autoconfigure disabled log a warning and return
boolean globalAutoconfigureEnabled =
Boolean.parseBoolean(ConfigUtil.getString(GLOBAL_AUTOCONFIGURE_ENABLED_PROPERTY, "false"));
if (!globalAutoconfigureEnabled) {
logger.log(
Level.INFO,
"AutoConfiguredOpenTelemetrySdk found on classpath but automatic configuration is disabled."
+ " To enable, run your JVM with -D"
+ GLOBAL_AUTOCONFIGURE_ENABLED_PROPERTY
+ "=true");
return null;
}
try {
Method initialize = openTelemetrySdkAutoConfiguration.getMethod("initialize");
Object autoConfiguredSdk = initialize.invoke(null);
Method getOpenTelemetrySdk =
openTelemetrySdkAutoConfiguration.getMethod("getOpenTelemetrySdk");
return (OpenTelemetry) getOpenTelemetrySdk.invoke(autoConfiguredSdk);
return new ObfuscatedOpenTelemetry(
(OpenTelemetry) getOpenTelemetrySdk.invoke(autoConfiguredSdk));
} catch (NoSuchMethodException | IllegalAccessException e) {
throw new IllegalStateException(
"OpenTelemetrySdkAutoConfiguration detected on classpath "
"AutoConfiguredOpenTelemetrySdk detected on classpath "
+ "but could not invoke initialize method. This is a bug in OpenTelemetry.",
e);
} catch (InvocationTargetException t) {
@ -263,6 +301,11 @@ public final class GlobalOpenTelemetry {
return delegate.getMeterProvider();
}
@Override
public LoggerProvider getLogsBridge() {
return delegate.getLogsBridge();
}
@Override
public ContextPropagators getPropagators() {
return delegate.getPropagators();

View File

@ -5,6 +5,7 @@
package io.opentelemetry.api;
import io.opentelemetry.api.logs.LoggerProvider;
import io.opentelemetry.api.metrics.Meter;
import io.opentelemetry.api.metrics.MeterBuilder;
import io.opentelemetry.api.metrics.MeterProvider;
@ -102,7 +103,7 @@ public interface OpenTelemetry {
}
/**
* Creates a {@link MeterBuilder} for a named {@link Tracer} instance.
* Creates a {@link MeterBuilder} for a named {@link Meter} instance.
*
* @param instrumentationScopeName A name uniquely identifying the instrumentation scope, such as
* the instrumentation library, package, or fully qualified class name. Must not be null.
@ -113,6 +114,19 @@ public interface OpenTelemetry {
return getMeterProvider().meterBuilder(instrumentationScopeName);
}
/**
* Returns the {@link LoggerProvider} for bridging logs into OpenTelemetry.
*
* <p>The OpenTelemetry logs bridge API exists to enable bridging logs from other log frameworks
* (e.g. SLF4J, Log4j, JUL, Logback, etc) into OpenTelemetry and is <b>NOT</b> a replacement log
* API.
*
* @since 1.27.0
*/
default LoggerProvider getLogsBridge() {
return LoggerProvider.noop();
}
/** Returns the {@link ContextPropagators} for this {@link OpenTelemetry}. */
ContextPropagators getPropagators();
}

View File

@ -99,4 +99,23 @@ public interface Baggage extends ImplicitContextKeyed {
* be set to not use an implicit parent, so any parent assignment must be done manually.
*/
BaggageBuilder toBuilder();
/**
* Returns the {@code BaggageEntry} associated with the given key.
*
* @param entryKey entry key to return the {@code BaggageEntry} for, or {@code null} if no {@code
* Entry} with the given {@code entryKey} is in this {@code Baggage}.
* @since 1.43.0
*/
@Nullable
default BaggageEntry getEntry(String entryKey) {
BaggageEntry[] result = new BaggageEntry[] {null};
forEach(
(key, entry) -> {
if (entryKey.equals(key)) {
result[0] = entry;
}
});
return result[0];
}
}

View File

@ -37,6 +37,13 @@ final class ImmutableBaggage extends ImmutableKeyValuePairs<String, BaggageEntry
return entry != null ? entry.getValue() : null;
}
// Overrides the default implementation to provide a more performant implementation.
@Nullable
@Override
public BaggageEntry getEntry(String entryKey) {
return get(entryKey);
}
@Override
public BaggageBuilder toBuilder() {
return new Builder(new ArrayList<>(data()));

View File

@ -6,7 +6,7 @@
package io.opentelemetry.api.baggage;
import com.google.auto.value.AutoValue;
import io.opentelemetry.api.internal.ValidationUtil;
import io.opentelemetry.api.internal.ApiUsageLogger;
import javax.annotation.concurrent.Immutable;
@Immutable
@ -25,7 +25,7 @@ abstract class ImmutableEntryMetadata implements BaggageEntryMetadata {
*/
static ImmutableEntryMetadata create(String metadata) {
if (metadata == null) {
ValidationUtil.log("metadata is null");
ApiUsageLogger.log("metadata is null");
return EMPTY;
}
return new AutoValue_ImmutableEntryMetadata(metadata);

View File

@ -13,7 +13,6 @@
* <p>Note that entries are independent of the tracing data that is propagated in the {@link
* io.opentelemetry.context.Context}, such as trace ID.
*/
// TODO: Add code examples.
@ParametersAreNonnullByDefault
package io.opentelemetry.api.baggage;

View File

@ -0,0 +1,88 @@
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.api.baggage.propagation;
import java.io.ByteArrayOutputStream;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
/**
* Note: This class is based on code from Apache Commons Codec. It is comprised of code from these
* classes:
*
* <ul>
* <li><a
* href="https://github.com/apache/commons-codec/blob/482df6cabfb288acb6ab3e4a732fdb93aecfa7c2/src/main/java/org/apache/commons/codec/net/URLCodec.java">org.apache.commons.codec.net.URLCodec</a>
* <li><a
* href="https://github.com/apache/commons-codec/blob/482df6cabfb288acb6ab3e4a732fdb93aecfa7c2/src/main/java/org/apache/commons/codec/net/Utils.java">org.apache.commons.codec.net.Utils</a>
* </ul>
*
* <p>Implements baggage-octet decoding in accordance with th <a
* href="https://w3c.github.io/baggage/#definition">Baggage header content</a> specification. All
* US-ASCII characters excluding CTLs, whitespace, DQUOTE, comma, semicolon and backslash are
* encoded in `www-form-urlencoded` encoding scheme.
*/
class BaggageCodec {
private static final byte ESCAPE_CHAR = '%';
private static final int RADIX = 16;
private BaggageCodec() {}
/**
* Decodes an array of URL safe 7-bit characters into an array of original bytes. Escaped
* characters are converted back to their original representation.
*
* @param bytes array of URL safe characters
* @return array of original bytes
*/
private static byte[] decode(byte[] bytes) {
ByteArrayOutputStream buffer = new ByteArrayOutputStream();
for (int i = 0; i < bytes.length; i++) {
int b = bytes[i];
if (b == ESCAPE_CHAR) {
try {
int u = digit16(bytes[++i]);
int l = digit16(bytes[++i]);
buffer.write((char) ((u << 4) + l));
} catch (ArrayIndexOutOfBoundsException e) { // FIXME
throw new IllegalArgumentException("Invalid URL encoding: ", e);
}
} else {
buffer.write(b);
}
}
return buffer.toByteArray();
}
/**
* Decodes an array of URL safe 7-bit characters into an array of original bytes. Escaped
* characters are converted back to their original representation.
*
* @param value string of URL safe characters
* @param charset encoding of given string
* @return decoded value
*/
static String decode(String value, Charset charset) {
byte[] bytes = decode(value.getBytes(StandardCharsets.US_ASCII));
return new String(bytes, charset);
}
/**
* Returns the numeric value of the character {@code b} in radix 16.
*
* @param b The byte to be converted.
* @return The numeric value represented by the character in radix 16.
*/
private static int digit16(byte b) {
int i = Character.digit((char) b, RADIX);
if (i == -1) {
throw new IllegalArgumentException( // FIXME
"Invalid URL encoding: not a valid digit (radix " + RADIX + "): " + b);
}
return i;
}
}

View File

@ -7,18 +7,16 @@ package io.opentelemetry.api.baggage.propagation;
import io.opentelemetry.api.baggage.BaggageBuilder;
import io.opentelemetry.api.baggage.BaggageEntryMetadata;
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
import java.nio.charset.StandardCharsets;
import javax.annotation.Nullable;
/**
* Implements single-pass Baggage parsing in accordance with https://w3c.github.io/baggage/ Key /
* value are restricted in accordance with https://www.ietf.org/rfc/rfc2616.txt
* value are restricted in accordance with https://www.ietf.org/rfc/rfc2616.txt.
*
* <p>Note: following aspects are not specified in RFC: - some invalid elements (key or value) -
* parser will include valid ones, disregard invalid - empty "value" is regarded as invalid - meta -
* anything besides element terminator (comma)
* anything besides element terminator (comma).
*/
class Parser {
@ -39,7 +37,7 @@ class Parser {
private boolean skipToNext;
public Parser(String baggageHeader) {
Parser(String baggageHeader) {
this.baggageHeader = baggageHeader;
reset(0);
}
@ -64,6 +62,8 @@ class Parser {
} else {
skipToNext = true;
}
} else if (state == State.VALUE) {
skipToNext = !value.tryNextChar(current, i);
}
break;
}
@ -146,11 +146,7 @@ class Parser {
if (value == null) {
return null;
}
try {
return URLDecoder.decode(value, StandardCharsets.UTF_8.name());
} catch (UnsupportedEncodingException e) {
return null;
}
return BaggageCodec.decode(value, StandardCharsets.UTF_8);
}
/**

View File

@ -10,12 +10,14 @@ import static java.util.Collections.singletonList;
import io.opentelemetry.api.baggage.Baggage;
import io.opentelemetry.api.baggage.BaggageBuilder;
import io.opentelemetry.api.baggage.BaggageEntry;
import io.opentelemetry.api.internal.PercentEscaper;
import io.opentelemetry.api.internal.StringUtils;
import io.opentelemetry.context.Context;
import io.opentelemetry.context.propagation.TextMapGetter;
import io.opentelemetry.context.propagation.TextMapPropagator;
import io.opentelemetry.context.propagation.TextMapSetter;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import javax.annotation.Nullable;
@ -94,21 +96,34 @@ public final class W3CBaggagePropagator implements TextMapPropagator {
return context;
}
String baggageHeader = getter.get(carrier, FIELD);
if (baggageHeader == null) {
return context;
}
if (baggageHeader.isEmpty()) {
return extractMulti(context, carrier, getter);
}
private static <C> Context extractMulti(
Context context, @Nullable C carrier, TextMapGetter<C> getter) {
Iterator<String> baggageHeaders = getter.getAll(carrier, FIELD);
if (baggageHeaders == null) {
return context;
}
boolean extracted = false;
BaggageBuilder baggageBuilder = Baggage.builder();
try {
extractEntries(baggageHeader, baggageBuilder);
} catch (RuntimeException e) {
return context;
while (baggageHeaders.hasNext()) {
String header = baggageHeaders.next();
if (header.isEmpty()) {
continue;
}
try {
extractEntries(header, baggageBuilder);
extracted = true;
} catch (RuntimeException expected) {
// invalid baggage header, continue
}
}
return context.with(baggageBuilder.build());
return extracted ? context.with(baggageBuilder.build()) : context;
}
private static void extractEntries(String baggageHeader, BaggageBuilder baggageBuilder) {
@ -126,7 +141,7 @@ public final class W3CBaggagePropagator implements TextMapPropagator {
* @return whether the name is valid.
*/
private static boolean isValidBaggageKey(String name) {
return name != null && !name.isEmpty() && StringUtils.isPrintableString(name);
return name != null && !name.trim().isEmpty() && StringUtils.isPrintableString(name);
}
/**
@ -138,4 +153,9 @@ public final class W3CBaggagePropagator implements TextMapPropagator {
private static boolean isValidBaggageValue(String value) {
return value != null;
}
@Override
public String toString() {
return "W3CBaggagePropagator";
}
}

View File

@ -9,6 +9,7 @@ import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.function.Predicate;
import javax.annotation.Nullable;
class ArrayBackedAttributesBuilder implements AttributesBuilder {
private final List<Object> data;
@ -37,7 +38,7 @@ class ArrayBackedAttributesBuilder implements AttributesBuilder {
}
@Override
public <T> AttributesBuilder put(AttributeKey<T> key, T value) {
public <T> AttributesBuilder put(AttributeKey<T> key, @Nullable T value) {
if (key == null || key.getKey().isEmpty() || value == null) {
return this;
}

View File

@ -26,6 +26,11 @@ public interface AttributeKey<T> {
/** Returns the type of attribute for this key. Useful for building switch statements. */
AttributeType getType();
// TODO (jack-berg): uncomment when extended attributes are promoted from incubator to API
// default ExtendedAttributeKey<T> asExtendedAttributeKey() {
// return InternalAttributeKeyImpl.toExtendedAttributeKey(this);
// }
/** Returns a new AttributeKey for String valued attributes. */
static AttributeKey<String> stringKey(String key) {
return InternalAttributeKeyImpl.create(key, AttributeType.STRING);

View File

@ -18,6 +18,7 @@ import static io.opentelemetry.api.common.AttributeKey.stringKey;
import java.util.Arrays;
import java.util.List;
import java.util.function.Predicate;
import javax.annotation.Nullable;
/** A builder of {@link Attributes} supporting an arbitrary number of key-value pairs. */
public interface AttributesBuilder {
@ -35,18 +36,22 @@ public interface AttributesBuilder {
// version.
<T> AttributesBuilder put(AttributeKey<Long> key, int value);
/** Puts a {@link AttributeKey} with associated value into this. */
<T> AttributesBuilder put(AttributeKey<T> key, T value);
/**
* Puts an {@link AttributeKey} with an associated value into this if the value is non-null.
* Providing a null value does not remove or unset previously set values.
*/
<T> AttributesBuilder put(AttributeKey<T> key, @Nullable T value);
/**
* Puts a String attribute into this.
* Puts a String attribute into this if the value is non-null. Providing a null value does not
* remove or unset previously set values.
*
* <p>Note: It is strongly recommended to use {@link #put(AttributeKey, Object)}, and pre-allocate
* your keys, if possible.
*
* @return this Builder
*/
default AttributesBuilder put(String key, String value) {
default AttributesBuilder put(String key, @Nullable String value) {
return put(stringKey(key), value);
}

View File

@ -0,0 +1,26 @@
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.api.common;
/**
* Key-value pair of {@link String} key and {@link Value} value.
*
* @see Value#of(KeyValue...)
* @since 1.42.0
*/
public interface KeyValue {
/** Returns a {@link KeyValue} for the given {@code key} and {@code value}. */
static KeyValue of(String key, Value<?> value) {
return KeyValueImpl.create(key, value);
}
/** Returns the key. */
String getKey();
/** Returns the value. */
Value<?> getValue();
}

View File

@ -0,0 +1,18 @@
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.api.common;
import com.google.auto.value.AutoValue;
@AutoValue
abstract class KeyValueImpl implements KeyValue {
KeyValueImpl() {}
static KeyValueImpl create(String key, Value<?> value) {
return new AutoValue_KeyValueImpl(key, value);
}
}

View File

@ -0,0 +1,75 @@
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.api.common;
import static java.util.stream.Collectors.joining;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Objects;
final class KeyValueList implements Value<List<KeyValue>> {
private final List<KeyValue> value;
private KeyValueList(List<KeyValue> value) {
this.value = value;
}
static Value<List<KeyValue>> create(KeyValue... value) {
Objects.requireNonNull(value, "value must not be null");
List<KeyValue> list = new ArrayList<>(value.length);
list.addAll(Arrays.asList(value));
return new KeyValueList(Collections.unmodifiableList(list));
}
static Value<List<KeyValue>> createFromMap(Map<String, Value<?>> value) {
Objects.requireNonNull(value, "value must not be null");
KeyValue[] array =
value.entrySet().stream()
.map(entry -> KeyValue.of(entry.getKey(), entry.getValue()))
.toArray(KeyValue[]::new);
return create(array);
}
@Override
public ValueType getType() {
return ValueType.KEY_VALUE_LIST;
}
@Override
public List<KeyValue> getValue() {
return value;
}
@Override
public String asString() {
return value.stream()
.map(item -> item.getKey() + "=" + item.getValue().asString())
.collect(joining(", ", "[", "]"));
}
@Override
public String toString() {
return "KeyValueList{" + asString() + "}";
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
return (o instanceof Value) && Objects.equals(this.value, ((Value<?>) o).getValue());
}
@Override
public int hashCode() {
return value.hashCode();
}
}

View File

@ -0,0 +1,118 @@
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.api.common;
import java.nio.ByteBuffer;
import java.util.List;
import java.util.Map;
/**
* Value mirrors the proto <a
* href="https://github.com/open-telemetry/opentelemetry-proto/blob/ac3242b03157295e4ee9e616af53b81517b06559/opentelemetry/proto/common/v1/common.proto#L28">AnyValue</a>
* message type, and is used to model any type.
*
* <p>It can be used to represent:
*
* <ul>
* <li>Primitive values via {@link #of(long)}, {@link #of(String)}, {@link #of(boolean)}, {@link
* #of(double)}.
* <li>String-keyed maps (i.e. associative arrays, dictionaries) via {@link #of(KeyValue...)},
* {@link #of(Map)}. Note, because map values are type {@link Value}, maps can be nested
* within other maps.
* <li>Arrays (heterogeneous or homogenous) via {@link #of(Value[])}. Note, because array values
* are type {@link Value}, arrays can contain primitives, complex types like maps or arrays,
* or any combination.
* <li>Raw bytes via {@link #of(byte[])}
* </ul>
*
* <p>Currently, Value is only used as an argument for {@link
* io.opentelemetry.api.logs.LogRecordBuilder#setBody(Value)}.
*
* @param <T> the type. See {@link #getValue()} for description of types.
* @since 1.42.0
*/
public interface Value<T> {
/** Returns an {@link Value} for the {@link String} value. */
static Value<String> of(String value) {
return ValueString.create(value);
}
/** Returns an {@link Value} for the {@code boolean} value. */
static Value<Boolean> of(boolean value) {
return ValueBoolean.create(value);
}
/** Returns an {@link Value} for the {@code long} value. */
static Value<Long> of(long value) {
return ValueLong.create(value);
}
/** Returns an {@link Value} for the {@code double} value. */
static Value<Double> of(double value) {
return ValueDouble.create(value);
}
/** Returns an {@link Value} for the {@code byte[]} value. */
static Value<ByteBuffer> of(byte[] value) {
return ValueBytes.create(value);
}
/** Returns an {@link Value} for the array of {@link Value} values. */
static Value<List<Value<?>>> of(Value<?>... value) {
return ValueArray.create(value);
}
/** Returns an {@link Value} for the list of {@link Value} values. */
static Value<List<Value<?>>> of(List<Value<?>> value) {
return ValueArray.create(value);
}
/**
* Returns an {@link Value} for the array of {@link KeyValue} values. {@link KeyValue#getKey()}
* values should not repeat - duplicates may be dropped.
*/
static Value<List<KeyValue>> of(KeyValue... value) {
return KeyValueList.create(value);
}
/** Returns an {@link Value} for the {@link Map} of key, {@link Value}. */
static Value<List<KeyValue>> of(Map<String, Value<?>> value) {
return KeyValueList.createFromMap(value);
}
/** Returns the type of this {@link Value}. Useful for building switch statements. */
ValueType getType();
/**
* Returns the value for this {@link Value}.
*
* <p>The return type varies by {@link #getType()} as described below:
*
* <ul>
* <li>{@link ValueType#STRING} returns {@link String}
* <li>{@link ValueType#BOOLEAN} returns {@code boolean}
* <li>{@link ValueType#LONG} returns {@code long}
* <li>{@link ValueType#DOUBLE} returns {@code double}
* <li>{@link ValueType#ARRAY} returns {@link List} of {@link Value}
* <li>{@link ValueType#KEY_VALUE_LIST} returns {@link List} of {@link KeyValue}
* <li>{@link ValueType#BYTES} returns read only {@link ByteBuffer}. See {@link
* ByteBuffer#asReadOnlyBuffer()}.
* </ul>
*/
T getValue();
/**
* Return a string encoding of this {@link Value}. This is intended to be a fallback serialized
* representation in case there is no suitable encoding that can utilize {@link #getType()} /
* {@link #getValue()} to serialize specific types.
*
* <p>WARNING: No guarantees are made about the encoding of this string response. It MAY change in
* a future minor release. If you need a reliable string encoding, write your own serializer.
*/
// TODO(jack-berg): Should this be a JSON encoding?
String asString();
}

View File

@ -0,0 +1,67 @@
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.api.common;
import static java.util.stream.Collectors.joining;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Objects;
final class ValueArray implements Value<List<Value<?>>> {
private final List<Value<?>> value;
private ValueArray(List<Value<?>> value) {
this.value = value;
}
static Value<List<Value<?>>> create(Value<?>... value) {
Objects.requireNonNull(value, "value must not be null");
List<Value<?>> list = new ArrayList<>(value.length);
list.addAll(Arrays.asList(value));
return new ValueArray(Collections.unmodifiableList(list));
}
static Value<List<Value<?>>> create(List<Value<?>> value) {
return new ValueArray(Collections.unmodifiableList(value));
}
@Override
public ValueType getType() {
return ValueType.ARRAY;
}
@Override
public List<Value<?>> getValue() {
return value;
}
@Override
public String asString() {
return value.stream().map(Value::asString).collect(joining(", ", "[", "]"));
}
@Override
public String toString() {
return "ValueArray{" + asString() + "}";
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
return (o instanceof Value) && Objects.equals(this.value, ((Value<?>) o).getValue());
}
@Override
public int hashCode() {
return value.hashCode();
}
}

View File

@ -0,0 +1,54 @@
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.api.common;
import java.util.Objects;
final class ValueBoolean implements Value<Boolean> {
private final boolean value;
private ValueBoolean(boolean value) {
this.value = value;
}
static Value<Boolean> create(boolean value) {
return new ValueBoolean(value);
}
@Override
public ValueType getType() {
return ValueType.BOOLEAN;
}
@Override
public Boolean getValue() {
return value;
}
@Override
public String asString() {
return String.valueOf(value);
}
@Override
public String toString() {
return "ValueBoolean{" + asString() + "}";
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
return (o instanceof Value) && Objects.equals(this.value, ((Value<?>) o).getValue());
}
@Override
public int hashCode() {
return Boolean.hashCode(value);
}
}

View File

@ -0,0 +1,58 @@
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.api.common;
import java.nio.ByteBuffer;
import java.util.Arrays;
import java.util.Base64;
import java.util.Objects;
final class ValueBytes implements Value<ByteBuffer> {
private final byte[] raw;
private ValueBytes(byte[] value) {
this.raw = value;
}
static Value<ByteBuffer> create(byte[] value) {
Objects.requireNonNull(value, "value must not be null");
return new ValueBytes(Arrays.copyOf(value, value.length));
}
@Override
public ValueType getType() {
return ValueType.BYTES;
}
@Override
public ByteBuffer getValue() {
return ByteBuffer.wrap(raw).asReadOnlyBuffer();
}
@Override
public String asString() {
return Base64.getEncoder().encodeToString(raw);
}
@Override
public String toString() {
return "ValueBytes{" + asString() + "}";
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
return (o instanceof ValueBytes) && Arrays.equals(this.raw, ((ValueBytes) o).raw);
}
@Override
public int hashCode() {
return Arrays.hashCode(raw);
}
}

View File

@ -0,0 +1,54 @@
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.api.common;
import java.util.Objects;
final class ValueDouble implements Value<Double> {
private final double value;
private ValueDouble(double value) {
this.value = value;
}
static Value<Double> create(double value) {
return new ValueDouble(value);
}
@Override
public ValueType getType() {
return ValueType.DOUBLE;
}
@Override
public Double getValue() {
return value;
}
@Override
public String asString() {
return String.valueOf(value);
}
@Override
public String toString() {
return "ValueDouble{" + asString() + "}";
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
return (o instanceof Value) && Objects.equals(this.value, ((Value<?>) o).getValue());
}
@Override
public int hashCode() {
return Double.hashCode(value);
}
}

View File

@ -0,0 +1,54 @@
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.api.common;
import java.util.Objects;
final class ValueLong implements Value<Long> {
private final long value;
private ValueLong(long value) {
this.value = value;
}
static Value<Long> create(long value) {
return new ValueLong(value);
}
@Override
public ValueType getType() {
return ValueType.LONG;
}
@Override
public Long getValue() {
return value;
}
@Override
public String asString() {
return String.valueOf(value);
}
@Override
public String toString() {
return "ValueLong{" + asString() + "}";
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
return (o instanceof Value) && Objects.equals(this.value, ((Value<?>) o).getValue());
}
@Override
public int hashCode() {
return Long.hashCode(value);
}
}

View File

@ -0,0 +1,55 @@
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.api.common;
import java.util.Objects;
final class ValueString implements Value<String> {
private final String value;
private ValueString(String value) {
this.value = value;
}
static Value<String> create(String value) {
Objects.requireNonNull(value, "value must not be null");
return new ValueString(value);
}
@Override
public ValueType getType() {
return ValueType.STRING;
}
@Override
public String getValue() {
return value;
}
@Override
public String asString() {
return value;
}
@Override
public String toString() {
return "ValueString{" + value + "}";
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
return (o instanceof Value) && Objects.equals(this.value, ((Value<?>) o).getValue());
}
@Override
public int hashCode() {
return value.hashCode();
}
}

View File

@ -0,0 +1,23 @@
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.api.common;
/**
* AnyValue type options, mirroring <a
* href="https://github.com/open-telemetry/opentelemetry-proto/blob/ac3242b03157295e4ee9e616af53b81517b06559/opentelemetry/proto/common/v1/common.proto#L31">AnyValue#value
* options</a>.
*
* @since 1.42.0
*/
public enum ValueType {
STRING,
BOOLEAN,
LONG,
DOUBLE,
ARRAY,
KEY_VALUE_LIST,
BYTES
}

View File

@ -0,0 +1,42 @@
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.api.internal;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
* Helper for API misuse logging.
*
* <p>This class is internal and is hence not for public use. Its APIs are unstable and can change
* at any time.
*/
public final class ApiUsageLogger {
private static final Logger API_USAGE_LOGGER = Logger.getLogger(ApiUsageLogger.class.getName());
/**
* Log the {@code message} to the {@link #API_USAGE_LOGGER API Usage Logger}.
*
* <p>Log at {@link Level#FINEST} and include a stack trace.
*/
public static void log(String message) {
log(message, Level.FINEST);
}
/**
* Log the {@code message} to the {@link #API_USAGE_LOGGER API Usage Logger}.
*
* <p>Log includes a stack trace.
*/
public static void log(String message, Level level) {
if (API_USAGE_LOGGER.isLoggable(level)) {
API_USAGE_LOGGER.log(level, message, new AssertionError());
}
}
private ApiUsageLogger() {}
}

View File

@ -0,0 +1,82 @@
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.api.internal;
import java.util.ConcurrentModificationException;
import java.util.Locale;
import java.util.Map;
import java.util.Properties;
import javax.annotation.Nullable;
/**
* Configuration utilities.
*
* <p>This class is internal and is hence not for public use. Its APIs are unstable and can change
* at any time.
*/
public final class ConfigUtil {
private ConfigUtil() {}
/**
* Returns a copy of system properties which is safe to iterate over.
*
* <p>In java 8 and android environments, iterating through system properties may trigger {@link
* ConcurrentModificationException}. This method ensures callers can iterate safely without risk
* of exception. See https://github.com/open-telemetry/opentelemetry-java/issues/6732 for details.
*/
public static Properties safeSystemProperties() {
return (Properties) System.getProperties().clone();
}
/**
* Return the system property or environment variable for the {@code key}.
*
* <p>Normalize the {@code key} using {@link #normalizePropertyKey(String)}. Match to system
* property keys also normalized with {@link #normalizePropertyKey(String)}. Match to environment
* variable keys normalized with {@link #normalizeEnvironmentVariableKey(String)}. System
* properties take priority over environment variables.
*
* @param key the property key
* @return the system property if not null, or the environment variable if not null, or {@code
* defaultValue}
*/
public static String getString(String key, String defaultValue) {
String normalizedKey = normalizePropertyKey(key);
String systemProperty =
safeSystemProperties().entrySet().stream()
.filter(entry -> normalizedKey.equals(normalizePropertyKey(entry.getKey().toString())))
.map(entry -> entry.getValue().toString())
.findFirst()
.orElse(null);
if (systemProperty != null) {
return systemProperty;
}
return System.getenv().entrySet().stream()
.filter(entry -> normalizedKey.equals(normalizeEnvironmentVariableKey(entry.getKey())))
.map(Map.Entry::getValue)
.findFirst()
.orElse(defaultValue);
}
/**
* Normalize an environment variable key by converting to lower case and replacing "_" with ".".
*/
public static String normalizeEnvironmentVariableKey(String key) {
return key.toLowerCase(Locale.ROOT).replace("_", ".");
}
/** Normalize a property key by converting to lower case and replacing "-" with ".". */
public static String normalizePropertyKey(String key) {
return key.toLowerCase(Locale.ROOT).replace("-", ".");
}
/** Returns defaultValue if value is null, otherwise value. This is an internal method. */
public static <T> T defaultIfNull(@Nullable T value, T defaultValue) {
return value == null ? defaultValue : value;
}
}

View File

@ -32,6 +32,7 @@ import javax.annotation.concurrent.Immutable;
@Immutable
public abstract class ImmutableKeyValuePairs<K, V> {
private final Object[] data;
private int hashcode;
/**
* Stores the raw object data directly. Does not do any de-duping or sorting. If you use this
@ -211,6 +212,12 @@ public abstract class ImmutableKeyValuePairs<K, V> {
// Skip entries with null value, we do it here because we want them to overwrite and remove
// entries with same key that we already added.
if (value == null) {
// When the value is null, there are two cases:
// 1. next key is the same as the current one, it may cause ArrayIndexOutOfBoundsException,
// so we reset the previous key to null to avoid this
// 2. next key is different than the current one; In this case, whether the previous key is
// null or not will have no impact.
previousKey = null;
continue;
}
previousKey = key;
@ -241,9 +248,13 @@ public abstract class ImmutableKeyValuePairs<K, V> {
@Override
public int hashCode() {
int result = 1;
result *= 1000003;
result ^= Arrays.hashCode(data);
int result = hashcode;
if (result == 0) {
result = 1;
result *= 1000003;
result ^= Arrays.hashCode(data);
hashcode = result;
}
return result;
}
@ -263,4 +274,13 @@ public abstract class ImmutableKeyValuePairs<K, V> {
sb.append("}");
return sb.toString();
}
/**
* Return the backing data array for these attributes. This is only exposed for internal use by
* opentelemetry authors. The contents of the array MUST NOT be modified.
*/
@SuppressWarnings("AvoidObjectArrays")
public Object[] getData() {
return data;
}
}

View File

@ -54,6 +54,8 @@ public abstract class ImmutableSpanContext implements SpanContext {
* @param traceFlags the trace flags of the {@code SpanContext}.
* @param traceState the trace state for the {@code SpanContext}.
* @param remote the remote flag for the {@code SpanContext}.
* @param skipIdValidation pass true to skip validation of trace ID and span ID as an optimization
* in cases where they are known to have been already validated.
* @return a new {@code SpanContext} with the given identifiers and options.
*/
public static SpanContext create(

View File

@ -0,0 +1,29 @@
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.api.internal;
import java.lang.reflect.Method;
/**
* Incubating utilities.
*
* <p>This class is internal and is hence not for public use. Its APIs are unstable and can change
* at any time.
*/
public class IncubatingUtil {
private IncubatingUtil() {}
@SuppressWarnings("unchecked")
public static <T> T incubatingApiIfAvailable(T stableApi, String incubatingClassName) {
try {
Class<?> incubatingClass = Class.forName(incubatingClassName);
Method getInstance = incubatingClass.getDeclaredMethod("getNoop");
return (T) getInstance.invoke(null);
} catch (Exception e) {
return stableApi;
}
}
}

View File

@ -0,0 +1,40 @@
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.api.internal;
import io.opentelemetry.context.Context;
import io.opentelemetry.context.ContextKey;
import java.util.Objects;
/**
* This class is internal and is hence not for public use. Its APIs are unstable and can change at
* any time.
*/
public final class InstrumentationUtil {
private static final ContextKey<Boolean> SUPPRESS_INSTRUMENTATION_KEY =
ContextKey.named("suppress_instrumentation");
private InstrumentationUtil() {}
/**
* Adds a Context boolean key that will allow to identify HTTP calls coming from OTel exporters.
* The key later be checked by an automatic instrumentation to avoid tracing OTel exporter's
* calls.
*/
public static void suppressInstrumentation(Runnable runnable) {
Context.current().with(SUPPRESS_INSTRUMENTATION_KEY, true).wrap(runnable).run();
}
/**
* Checks if an automatic instrumentation should be suppressed with the provided Context.
*
* @return TRUE to suppress the automatic instrumentation, FALSE to continue with the
* instrumentation.
*/
public static boolean shouldSuppressInstrumentation(Context context) {
return Objects.equals(context.get(SUPPRESS_INSTRUMENTATION_KEY), true);
}
}

View File

@ -89,12 +89,17 @@ public final class OtelEncodingUtils {
/** Returns the {@code byte[]} decoded from the given hex {@link CharSequence}. */
public static byte[] bytesFromBase16(CharSequence value, int length) {
byte[] result = new byte[length / 2];
for (int i = 0; i < length; i += 2) {
result[i / 2] = byteFromBase16(value.charAt(i), value.charAt(i + 1));
}
bytesFromBase16(value, length, result);
return result;
}
/** Fills {@code bytes} with bytes decoded from the given hex {@link CharSequence}. */
public static void bytesFromBase16(CharSequence value, int length, byte[] bytes) {
for (int i = 0; i < length; i += 2) {
bytes[i / 2] = byteFromBase16(value.charAt(i), value.charAt(i + 1));
}
}
/** Fills {@code dest} with the hex encoding of {@code bytes}. */
public static void bytesToBase16(byte[] bytes, char[] dest, int length) {
for (int i = 0; i < length; i++) {

View File

@ -18,9 +18,8 @@
* the License.
*/
package io.opentelemetry.api.baggage.propagation;
package io.opentelemetry.api.internal;
import io.opentelemetry.api.internal.TemporaryBuffers;
import javax.annotation.CheckForNull;
/**
@ -59,10 +58,13 @@ import javax.annotation.CheckForNull;
* <p><b>Note:</b> This escaper produces <a
* href="https://url.spec.whatwg.org/#percent-encode">uppercase</a> hexadecimal sequences.
*
* <p>This class is internal and is hence not for public use. Its APIs are unstable and can change
* at any time.
*
* @author David Beaumont
* @since 15.0
*/
final class PercentEscaper {
public final class PercentEscaper {
/** The amount of padding (chars) to use when growing the escape buffer. */
private static final int DEST_PAD = 32;
@ -86,7 +88,7 @@ final class PercentEscaper {
private static final boolean[] safeOctets = createSafeOctets(SAFE_CHARS);
/** The default {@link PercentEscaper} which will *not* replace spaces with plus signs. */
static PercentEscaper create() {
public static PercentEscaper create() {
return new PercentEscaper();
}
@ -109,7 +111,7 @@ final class PercentEscaper {
}
/** Escape the provided String, using percent-style URL Encoding. */
String escape(String s) {
public String escape(String s) {
int slen = s.length();
for (int index = 0; index < slen; index++) {
char c = s.charAt(index);

View File

@ -1,105 +0,0 @@
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.api.internal;
import java.nio.charset.StandardCharsets;
import java.util.logging.Level;
import java.util.logging.Logger;
import java.util.regex.Pattern;
/**
* General internal validation utility methods.
*
* <p>This class is internal and is hence not for public use. Its APIs are unstable and can change
* at any time.
*/
public final class ValidationUtil {
public static final String API_USAGE_LOGGER_NAME = "io.opentelemetry.ApiUsageLogging";
private static final Logger API_USAGE_LOGGER = Logger.getLogger(API_USAGE_LOGGER_NAME);
/**
* Instrument names MUST conform to the following syntax.
*
* <ul>
* <li>They are not null or empty strings.
* <li>They are case-insensitive, ASCII strings.
* <li>The first character must be an alphabetic character.
* <li>Subsequent characters must belong to the alphanumeric characters, '_', '.', and '-'.
* <li>They can have a maximum length of 63 characters.
* </ul>
*/
private static final Pattern VALID_INSTRUMENT_NAME_PATTERN =
Pattern.compile("([A-Za-z]){1}([A-Za-z0-9\\_\\-\\.]){0,62}");
/**
* Log the {@code message} to the {@link #API_USAGE_LOGGER_NAME API Usage Logger}.
*
* <p>Log at {@link Level#FINEST} and include a stack trace.
*/
public static void log(String message) {
log(message, Level.FINEST);
}
/**
* Log the {@code message} to the {@link #API_USAGE_LOGGER_NAME API Usage Logger}.
*
* <p>Log includes a stack trace.
*/
public static void log(String message, Level level) {
API_USAGE_LOGGER.log(level, message, new AssertionError());
}
/** Check if the instrument name is valid. If invalid, log a warning. */
public static boolean checkValidInstrumentName(String name) {
return checkValidInstrumentName(name, "");
}
/**
* Check if the instrument name is valid. If invalid, log a warning with the {@code logSuffix}
* appended.
*/
public static boolean checkValidInstrumentName(String name, String logSuffix) {
if (name != null && VALID_INSTRUMENT_NAME_PATTERN.matcher(name).matches()) {
return true;
}
log(
"Instrument name \""
+ name
+ "\" is invalid, returning noop instrument. Instrument names must consist of 63 or fewer characters including alphanumeric, _, ., -, and start with a letter."
+ logSuffix,
Level.WARNING);
return false;
}
/** Check if the instrument unit is valid. If invalid, log a warning. */
public static boolean checkValidInstrumentUnit(String unit) {
return checkValidInstrumentUnit(unit, "");
}
/**
* Check if the instrument unit is valid. If invalid, log a warning with the {@code logSuffix}
* appended.
*/
public static boolean checkValidInstrumentUnit(String unit, String logSuffix) {
if (unit != null
&& !unit.equals("")
&& unit.length() < 64
&& StandardCharsets.US_ASCII.newEncoder().canEncode(unit)) {
return true;
}
log(
"Unit \""
+ unit
+ "\" is invalid. Instrument unit must be 63 or fewer ASCII characters."
+ logSuffix,
Level.WARNING);
return false;
}
private ValidationUtil() {}
}

View File

@ -0,0 +1,88 @@
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.api.logs;
import io.opentelemetry.api.common.AttributeKey;
import io.opentelemetry.api.common.Value;
import io.opentelemetry.context.Context;
import java.time.Instant;
import java.util.concurrent.TimeUnit;
import javax.annotation.Nullable;
class DefaultLogger implements Logger {
private static final Logger INSTANCE = new DefaultLogger();
private static final LogRecordBuilder NOOP_LOG_RECORD_BUILDER = new NoopLogRecordBuilder();
private DefaultLogger() {}
static Logger getInstance() {
return INSTANCE;
}
@Override
public LogRecordBuilder logRecordBuilder() {
return NOOP_LOG_RECORD_BUILDER;
}
private static final class NoopLogRecordBuilder implements LogRecordBuilder {
private NoopLogRecordBuilder() {}
@Override
public LogRecordBuilder setTimestamp(long timestamp, TimeUnit unit) {
return this;
}
@Override
public LogRecordBuilder setTimestamp(Instant instant) {
return this;
}
@Override
public LogRecordBuilder setObservedTimestamp(long timestamp, TimeUnit unit) {
return this;
}
@Override
public LogRecordBuilder setObservedTimestamp(Instant instant) {
return this;
}
@Override
public LogRecordBuilder setContext(Context context) {
return this;
}
@Override
public LogRecordBuilder setSeverity(Severity severity) {
return this;
}
@Override
public LogRecordBuilder setSeverityText(String severityText) {
return this;
}
@Override
public LogRecordBuilder setBody(String body) {
return this;
}
@Override
public LogRecordBuilder setBody(Value<?> body) {
return this;
}
@Override
public <T> LogRecordBuilder setAttribute(AttributeKey<T> key, @Nullable T value) {
return this;
}
@Override
public void emit() {}
}
}

View File

@ -0,0 +1,41 @@
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.api.logs;
class DefaultLoggerProvider implements LoggerProvider {
private static final LoggerProvider INSTANCE = new DefaultLoggerProvider();
private static final LoggerBuilder NOOP_BUILDER = new NoopLoggerBuilder();
private DefaultLoggerProvider() {}
static LoggerProvider getInstance() {
return INSTANCE;
}
@Override
public LoggerBuilder loggerBuilder(String instrumentationScopeName) {
return NOOP_BUILDER;
}
private static class NoopLoggerBuilder implements LoggerBuilder {
@Override
public LoggerBuilder setSchemaUrl(String schemaUrl) {
return this;
}
@Override
public LoggerBuilder setInstrumentationVersion(String instrumentationVersion) {
return this;
}
@Override
public Logger build() {
return DefaultLogger.getInstance();
}
}
}

View File

@ -0,0 +1,215 @@
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.api.logs;
import static io.opentelemetry.api.common.AttributeKey.booleanKey;
import static io.opentelemetry.api.common.AttributeKey.doubleKey;
import static io.opentelemetry.api.common.AttributeKey.longKey;
import static io.opentelemetry.api.common.AttributeKey.stringKey;
import io.opentelemetry.api.common.AttributeKey;
import io.opentelemetry.api.common.Attributes;
import io.opentelemetry.api.common.Value;
import io.opentelemetry.context.Context;
import java.time.Instant;
import java.util.concurrent.TimeUnit;
import javax.annotation.Nullable;
/**
* Used to construct and emit log records from a {@link Logger}.
*
* <p>Obtain a {@link Logger#logRecordBuilder()}, add properties using the setters, and emit the log
* record by calling {@link #emit()}.
*
* @since 1.27.0
*/
public interface LogRecordBuilder {
/**
* Set the epoch {@code timestamp}, using the timestamp and unit.
*
* <p>The {@code timestamp} is the time at which the log record occurred. If unset, it will be set
* to the current time when {@link #emit()} is called.
*/
LogRecordBuilder setTimestamp(long timestamp, TimeUnit unit);
/**
* Set the epoch {@code timestamp}, using the instant.
*
* <p>The {@code timestamp} is the time at which the log record occurred. If unset, it will be set
* to the current time when {@link #emit()} is called.
*/
LogRecordBuilder setTimestamp(Instant instant);
/**
* Set the epoch {@code observedTimestamp}, using the timestamp and unit.
*
* <p>The {@code observedTimestamp} is the time at which the log record was observed. If unset, it
* will be set to the {@code timestamp}. {@code observedTimestamp} may be different from {@code
* timestamp} if logs are being processed asynchronously (e.g. from a file or on a different
* thread).
*/
LogRecordBuilder setObservedTimestamp(long timestamp, TimeUnit unit);
/**
* Set the {@code observedTimestamp}, using the instant.
*
* <p>The {@code observedTimestamp} is the time at which the log record was observed. If unset, it
* will be set to the {@code timestamp}. {@code observedTimestamp} may be different from {@code
* timestamp} if logs are being processed asynchronously (e.g. from a file or on a different
* thread).
*/
LogRecordBuilder setObservedTimestamp(Instant instant);
/** Set the context. */
LogRecordBuilder setContext(Context context);
/** Set the severity. */
LogRecordBuilder setSeverity(Severity severity);
/** Set the severity text. */
LogRecordBuilder setSeverityText(String severityText);
/**
* Set the body string.
*
* <p>Shorthand for calling {@link #setBody(Value)} with {@link Value#of(String)}.
*/
LogRecordBuilder setBody(String body);
/**
* Set the body {@link Value}.
*
* @since 1.42.0
*/
default LogRecordBuilder setBody(Value<?> body) {
setBody(body.asString());
return this;
}
/**
* Sets attributes. If the {@link LogRecordBuilder} previously contained a mapping for any of the
* keys, the old values are replaced by the specified values.
*/
@SuppressWarnings("unchecked")
default LogRecordBuilder setAllAttributes(Attributes attributes) {
if (attributes == null || attributes.isEmpty()) {
return this;
}
attributes.forEach(
(attributeKey, value) -> setAttribute((AttributeKey<Object>) attributeKey, value));
return this;
}
/**
* Sets an attribute on the {@code LogRecord}. If the {@code LogRecord} previously contained a
* mapping for the key, the old value is replaced by the specified value.
*
* <p>Note: Providing a null value is a no-op and will not remove previously set values.
*
* @param key the key for this attribute.
* @param value the value for this attribute.
* @return this.
*/
<T> LogRecordBuilder setAttribute(AttributeKey<T> key, @Nullable T value);
/**
* Sets a String attribute on the {@code LogRecord}. If the {@code LogRecord} previously contained
* a mapping for the key, the old value is replaced by the specified value.
*
* <p>Note: Providing a null value is a no-op and will not remove previously set values.
*
* <p>Note: It is strongly recommended to use {@link #setAttribute(AttributeKey, Object)}, and
* pre-allocate your keys, if possible.
*
* @param key the key for this attribute.
* @param value the value for this attribute.
* @return this.
* @since 1.48.0
*/
default LogRecordBuilder setAttribute(String key, @Nullable String value) {
return setAttribute(stringKey(key), value);
}
/**
* Sets a Long attribute on the {@code LogRecord}. If the {@code LogRecord} previously contained a
* mapping for the key, the old value is replaced by the specified value.
*
* <p>Note: It is strongly recommended to use {@link #setAttribute(AttributeKey, Object)}, and
* pre-allocate your keys, if possible.
*
* @param key the key for this attribute.
* @param value the value for this attribute.
* @return this.
* @since 1.48.0
*/
default LogRecordBuilder setAttribute(String key, long value) {
return setAttribute(longKey(key), value);
}
/**
* Sets a Double attribute on the {@code LogRecord}. If the {@code LogRecord} previously contained
* a mapping for the key, the old value is replaced by the specified value.
*
* <p>Note: It is strongly recommended to use {@link #setAttribute(AttributeKey, Object)}, and
* pre-allocate your keys, if possible.
*
* @param key the key for this attribute.
* @param value the value for this attribute.
* @return this.
* @since 1.48.0
*/
default LogRecordBuilder setAttribute(String key, double value) {
return setAttribute(doubleKey(key), value);
}
/**
* Sets a Boolean attribute on the {@code LogRecord}. If the {@code LogRecord} previously
* contained a mapping for the key, the old value is replaced by the specified value.
*
* <p>Note: It is strongly recommended to use {@link #setAttribute(AttributeKey, Object)}, and
* pre-allocate your keys, if possible.
*
* @param key the key for this attribute.
* @param value the value for this attribute.
* @return this.
* @since 1.48.0
*/
default LogRecordBuilder setAttribute(String key, boolean value) {
return setAttribute(booleanKey(key), value);
}
/**
* Sets an Integer attribute on the {@code LogRecord}. If the {@code LogRecord} previously
* contained a mapping for the key, the old value is replaced by the specified value.
*
* <p>Note: It is strongly recommended to use {@link #setAttribute(AttributeKey, Object)}, and
* pre-allocate your keys, if possible.
*
* @param key the key for this attribute.
* @param value the value for this attribute.
* @return this.
* @since 1.48.0
*/
default LogRecordBuilder setAttribute(String key, int value) {
return setAttribute(key, (long) value);
}
/**
* Sets the event name, which identifies the class / type of the Event.
*
* <p>This name should uniquely identify the event structure (both attributes and body). A log
* record with a non-empty event name is an Event.
*
* @since 1.50.0
*/
default LogRecordBuilder setEventName(String eventName) {
return this;
}
/** Emit the log record. */
void emit();
}

View File

@ -0,0 +1,36 @@
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.api.logs;
import javax.annotation.concurrent.ThreadSafe;
/**
* A {@link Logger} is the entry point into a log pipeline.
*
* <p>Obtain a {@link #logRecordBuilder()}, add properties using the setters, and emit it via {@link
* LogRecordBuilder#emit()}.
*
* <p>The OpenTelemetry logs bridge API exists to enable bridging logs from other log frameworks
* (e.g. SLF4J, Log4j, JUL, Logback, etc) into OpenTelemetry and is <b>NOT</b> a replacement log
* API.
*
* @since 1.27.0
*/
@ThreadSafe
public interface Logger {
/**
* Return a {@link LogRecordBuilder} to emit a log record.
*
* <p><b>IMPORTANT:</b> this should be used to write appenders to bridge logs from logging
* frameworks (e.g. SLF4J, Log4j, JUL, Logback, etc). It is <b>NOT</b> a replacement for an
* application logging framework, and should not be used by application developers.
*
* <p>Build the log record using the {@link LogRecordBuilder} setters, and emit via {@link
* LogRecordBuilder#emit()}.
*/
LogRecordBuilder logRecordBuilder();
}

View File

@ -0,0 +1,43 @@
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.api.logs;
/**
* Builder class for creating {@link Logger} instances.
*
* <p>{@link Logger}s are identified by their scope name, version, and schema URL. These identifying
* fields, along with attributes, combine to form the instrumentation scope, which is attached to
* all log records produced by the {@link Logger}.
*
* @since 1.27.0
*/
public interface LoggerBuilder {
/**
* Set the scope schema URL of the resulting {@link Logger}. Schema URL is part of {@link Logger}
* identity.
*
* @param schemaUrl The schema URL.
* @return this
*/
LoggerBuilder setSchemaUrl(String schemaUrl);
/**
* Sets the instrumentation scope version of the resulting {@link Logger}. Version is part of
* {@link Logger} identity.
*
* @param instrumentationScopeVersion The instrumentation scope version.
* @return this
*/
LoggerBuilder setInstrumentationVersion(String instrumentationScopeVersion);
/**
* Gets or creates a {@link Logger} instance.
*
* @return a {@link Logger} instance configured with the provided options.
*/
Logger build();
}

View File

@ -0,0 +1,51 @@
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.api.logs;
import io.opentelemetry.api.internal.IncubatingUtil;
import javax.annotation.concurrent.ThreadSafe;
/**
* A registry for creating scoped {@link Logger}s. The name <i>Provider</i> is for consistency with
* other languages and it is <b>NOT</b> loaded using reflection.
*
* <p>The OpenTelemetry logs bridge API exists to enable bridging logs from other log frameworks
* (e.g. SLF4J, Log4j, JUL, Logback, etc) into OpenTelemetry and is <b>NOT</b> a replacement log
* API.
*
* @since 1.27.0
* @see Logger
*/
@ThreadSafe
public interface LoggerProvider {
/**
* Gets or creates a named Logger instance.
*
* @param instrumentationScopeName A name uniquely identifying the instrumentation scope, such as
* the instrumentation library, package, or fully qualified class name. Must not be null.
* @return a Logger instance.
*/
default Logger get(String instrumentationScopeName) {
return loggerBuilder(instrumentationScopeName).build();
}
/**
* Creates a LoggerBuilder for a named Logger instance.
*
* @param instrumentationScopeName A name uniquely identifying the instrumentation scope, such as
* the instrumentation library, package, or fully qualified class name. Must not be null.
* @return a LoggerBuilder instance.
*/
LoggerBuilder loggerBuilder(String instrumentationScopeName);
/** Returns a no-op {@link LoggerProvider} which provides Loggers which do not record or emit. */
static LoggerProvider noop() {
return IncubatingUtil.incubatingApiIfAvailable(
DefaultLoggerProvider.getInstance(),
"io.opentelemetry.api.incubator.logs.ExtendedDefaultLoggerProvider");
}
}

View File

@ -3,8 +3,13 @@
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.sdk.logs.data;
package io.opentelemetry.api.logs;
/**
* Log record severity options.
*
* @since 1.27.0
*/
public enum Severity {
UNDEFINED_SEVERITY_NUMBER(0),
TRACE(1),

View File

@ -0,0 +1,17 @@
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
/**
* API for writing log appenders.
*
* <p>The OpenTelemetry logging API exists to enable the creation of log appenders, which bridge
* logs from other log frameworks (e.g. SLF4J, Log4j, JUL, Logback, etc) into OpenTelemetry via
* {@link io.opentelemetry.api.logs.Logger#logRecordBuilder()}. It is <b>NOT</b> a replacement log
* framework.
*/
@ParametersAreNonnullByDefault
package io.opentelemetry.api.logs;
import javax.annotation.ParametersAreNonnullByDefault;

View File

@ -6,7 +6,6 @@
package io.opentelemetry.api.metrics;
import io.opentelemetry.api.common.Attributes;
import io.opentelemetry.api.internal.ValidationUtil;
import io.opentelemetry.context.Context;
import java.util.function.Consumer;
import javax.annotation.concurrent.ThreadSafe;
@ -39,25 +38,21 @@ class DefaultMeter implements Meter {
@Override
public LongCounterBuilder counterBuilder(String name) {
ValidationUtil.checkValidInstrumentName(name);
return NOOP_LONG_COUNTER_BUILDER;
}
@Override
public LongUpDownCounterBuilder upDownCounterBuilder(String name) {
ValidationUtil.checkValidInstrumentName(name);
return NOOP_LONG_UP_DOWN_COUNTER_BUILDER;
}
@Override
public DoubleHistogramBuilder histogramBuilder(String name) {
ValidationUtil.checkValidInstrumentName(name);
return NOOP_DOUBLE_HISTOGRAM_BUILDER;
}
@Override
public DoubleGaugeBuilder gaugeBuilder(String name) {
ValidationUtil.checkValidInstrumentName(name);
return NOOP_DOUBLE_GAUGE_BUILDER;
}
@ -107,7 +102,6 @@ class DefaultMeter implements Meter {
@Override
public LongCounterBuilder setUnit(String unit) {
ValidationUtil.checkValidInstrumentUnit(unit);
return this;
}
@ -144,7 +138,6 @@ class DefaultMeter implements Meter {
@Override
public DoubleCounterBuilder setUnit(String unit) {
ValidationUtil.checkValidInstrumentUnit(unit);
return this;
}
@ -201,7 +194,6 @@ class DefaultMeter implements Meter {
@Override
public LongUpDownCounterBuilder setUnit(String unit) {
ValidationUtil.checkValidInstrumentUnit(unit);
return this;
}
@ -240,7 +232,6 @@ class DefaultMeter implements Meter {
@Override
public DoubleUpDownCounterBuilder setUnit(String unit) {
ValidationUtil.checkValidInstrumentUnit(unit);
return this;
}
@ -295,7 +286,6 @@ class DefaultMeter implements Meter {
@Override
public DoubleHistogramBuilder setUnit(String unit) {
ValidationUtil.checkValidInstrumentUnit(unit);
return this;
}
@ -320,7 +310,6 @@ class DefaultMeter implements Meter {
@Override
public LongHistogramBuilder setUnit(String unit) {
ValidationUtil.checkValidInstrumentUnit(unit);
return this;
}
@ -331,8 +320,10 @@ class DefaultMeter implements Meter {
}
private static class NoopDoubleGaugeBuilder implements DoubleGaugeBuilder {
private static final ObservableDoubleGauge NOOP = new ObservableDoubleGauge() {};
private static final ObservableDoubleGauge NOOP_OBSERVABLE_GAUGE =
new ObservableDoubleGauge() {};
private static final LongGaugeBuilder NOOP_LONG_GAUGE_BUILDER = new NoopLongGaugeBuilder();
private static final NoopDoubleGauge NOOP_GAUGE = new NoopDoubleGauge();
@Override
public DoubleGaugeBuilder setDescription(String description) {
@ -341,7 +332,6 @@ class DefaultMeter implements Meter {
@Override
public DoubleGaugeBuilder setUnit(String unit) {
ValidationUtil.checkValidInstrumentUnit(unit);
return this;
}
@ -352,17 +342,34 @@ class DefaultMeter implements Meter {
@Override
public ObservableDoubleGauge buildWithCallback(Consumer<ObservableDoubleMeasurement> callback) {
return NOOP;
return NOOP_OBSERVABLE_GAUGE;
}
@Override
public ObservableDoubleMeasurement buildObserver() {
return NOOP_OBSERVABLE_DOUBLE_MEASUREMENT;
}
@Override
public DoubleGauge build() {
return NOOP_GAUGE;
}
}
private static class NoopDoubleGauge implements DoubleGauge {
@Override
public void set(double value) {}
@Override
public void set(double value, Attributes attributes) {}
@Override
public void set(double value, Attributes attributes, Context context) {}
}
private static class NoopLongGaugeBuilder implements LongGaugeBuilder {
private static final ObservableLongGauge NOOP = new ObservableLongGauge() {};
private static final ObservableLongGauge NOOP_OBSERVABLE_GAUGE = new ObservableLongGauge() {};
private static final NoopLongGauge NOOP_GAUGE = new NoopLongGauge();
@Override
public LongGaugeBuilder setDescription(String description) {
@ -371,19 +378,34 @@ class DefaultMeter implements Meter {
@Override
public LongGaugeBuilder setUnit(String unit) {
ValidationUtil.checkValidInstrumentUnit(unit);
return this;
}
@Override
public ObservableLongGauge buildWithCallback(Consumer<ObservableLongMeasurement> callback) {
return NOOP;
return NOOP_OBSERVABLE_GAUGE;
}
@Override
public ObservableLongMeasurement buildObserver() {
return NOOP_OBSERVABLE_LONG_MEASUREMENT;
}
@Override
public LongGauge build() {
return NOOP_GAUGE;
}
}
private static class NoopLongGauge implements LongGauge {
@Override
public void set(long value) {}
@Override
public void set(long value, Attributes attributes) {}
@Override
public void set(long value, Attributes attributes, Context context) {}
}
private static class NoopObservableDoubleMeasurement implements ObservableDoubleMeasurement {

View File

@ -5,6 +5,8 @@
package io.opentelemetry.api.metrics;
import io.opentelemetry.api.internal.IncubatingUtil;
/** A {@link MeterProvider} that does nothing. */
class DefaultMeterProvider implements MeterProvider {
@Override
@ -12,7 +14,10 @@ class DefaultMeterProvider implements MeterProvider {
return BUILDER_INSTANCE;
}
private static final DefaultMeterProvider INSTANCE = new DefaultMeterProvider();
private static final MeterProvider INSTANCE =
IncubatingUtil.incubatingApiIfAvailable(
new DefaultMeterProvider(),
"io.opentelemetry.api.incubator.metrics.ExtendedDefaultMeterProvider");
private static final MeterBuilder BUILDER_INSTANCE = new NoopMeterBuilder();
static MeterProvider getInstance() {

View File

@ -0,0 +1,42 @@
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.api.metrics;
import io.opentelemetry.api.common.Attributes;
import io.opentelemetry.context.Context;
import javax.annotation.concurrent.ThreadSafe;
/**
* A gauge instrument that synchronously records {@code double} values.
*
* @since 1.38.0
*/
@ThreadSafe
public interface DoubleGauge {
/**
* Set the gauge value.
*
* @param value The current gauge value.
*/
void set(double value);
/**
* Records a value with a set of attributes.
*
* @param value The current gauge value.
* @param attributes A set of attributes to associate with the value.
*/
void set(double value, Attributes attributes);
/**
* Records a value with a set of attributes.
*
* @param value The current gauge value.
* @param attributes A set of attributes to associate with the value.
* @param context The explicit context to associate with this measurement.
*/
void set(double value, Attributes attributes, Context context);
}

View File

@ -65,4 +65,21 @@ public interface DoubleGaugeBuilder {
default ObservableDoubleMeasurement buildObserver() {
return DefaultMeter.getInstance().gaugeBuilder("noop").buildObserver();
}
/**
* Builds and returns a DoubleGauge instrument with the configuration.
*
* <p>NOTE: This produces a synchronous gauge which records gauge values as they occur. Most users
* will want to instead register an {@link #buildWithCallback(Consumer)} to asynchronously observe
* the value of the gauge when metrics are collected.
*
* <p>If using the OpenTelemetry SDK, by default gauges use last value aggregation, such that only
* the value of the last recorded measurement is exported.
*
* @return The DoubleGauge instrument.
* @since 1.38.0
*/
default DoubleGauge build() {
return DefaultMeter.getInstance().gaugeBuilder("noop").build();
}
}

Some files were not shown because too many files have changed in this diff Show More