Compare commits

...

2163 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
jack-berg 37772d711a
Prepare changelog for 1.15.0 (#4521)
* Prepare changelog for 1.15.0

* Add changelog entry to authority override
2022-06-10 09:50:14 -05:00
jack-berg 86cc4bc27d
Add some missing since annotations (#4520) 2022-06-09 20:41:52 -05:00
jack-berg b7347f6577
Update dependencies (#4519)
* Update dependencies

* revert jqf-fuzz to 1.7
2022-06-09 20:41:40 -05:00
Anuraag Agrawal 9dc1be5db8
Allow overriding OTLP gRPC authority. (#4514) 2022-06-10 10:37:56 +09:00
jack-berg 29f274e1a8
Handle ContainerResource edge case (#4518)
* Handle ContainerResource edge case

* Simplify container id logic

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

* Start from one character after last '-'

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2022-06-07 13:35:34 -05:00
jack-berg 7d80a99846
Add experimental option to disable autoconfigured opentelemetry SDK (#4489)
* Add experimental option to disable autoconfigured opentelemetry SDK

* Add AutoConfiguredOpenTelemetrySdk#isSdkEnabled()

* Remove isSdkEnabled()
2022-06-06 11:23:14 -05:00
jack-berg d9c8e709e0
Tighten up metrics sdk javadoc (#4508) 2022-06-03 13:38:53 -05:00
jason plumb 77f5a174d4
Add default getters to ConfigProperties (#4500)
* add some methods to ConfigProperties to help with defaulting.

* wire up default methods

* javadoc

* bots hate underscores

* leverage primitives to eliminate nullability.

* remove null check (call doesn't return null per javadoc)

* address PR comments.

* move internal method out of public interface

* roll back fallback

* rename util class

* use assertj

* spotless

* coverage

* Update sdk-extensions/autoconfigure/src/test/java/io/opentelemetry/sdk/autoconfigure/ConfigPropertiesTest.java

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

* static

* spot(less)

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2022-06-02 15:48:48 -07:00
jason plumb 83bfb84d14
Migrate to assertj (#4512)
* migrate from junit/jupiter assertions to assertj in a few remaining places.

* reorder
2022-06-02 13:38:46 -07:00
Cyrille Le Clerc f10959cd85
README: Change the example of Otel artifacts that require the `-alpha` Maven BOM now that metrics are stable (#4509)
* Change the example of Otel artifacts that require the `-alpha` BOM now that metrics are stable

Use the examples of the Semantic Conventions constants, the SDK Autoconfigure Extension, and the Logs SDK & exporter

* Fix markdown typo

* remove references to logs artifacts as they are pretty unstable for the moment
2022-06-02 10:38:06 -05:00
jack-berg 92bd65970e
Merge otlp exporters (#4499)
* Merge otlp http trace and metric exporters into :exporters:otlp:all

* Merge otlp http exporter into :exporters:otlp:logs

* Artifact descriptions
2022-05-27 19:23:41 -07:00
jack-berg 60cc5f452a
Merge otlp grpc trace and metric exporter into :exporters:otlp:all (#4494) 2022-05-27 10:12:45 -05:00
jack-berg 4a8850cc64
Improve metrics API javadoc (#4493)
* Improve metrics API javadoc

* Fix typo

* Switch to Title Case for instrument names

* Add @since annotations
2022-05-27 10:02:02 -05:00
jack-berg 88c7233c7e
Deprecate opentelemetry-exporter-jaeger-proto (#4496) 2022-05-26 19:59:02 -05:00
jack-berg 33d2c22260
Implement general attribute limits (#4495)
* Implement general attribute limits

* Spotless
2022-05-26 09:25:14 -05:00
jack-berg de824dc93a
Add batch callback API (#4376)
* Add batch callback API

* Update API to accept varargs of instruments

* Add more tests

* Add default API implementations, more test coverage

* PR feedback
2022-05-25 12:50:09 -05:00
jack-berg e4617bbe90
Update to proto 0.18.0 (#4491) 2022-05-25 10:37:42 +09:00
Donnerbart 2e5598e492
Add setter for MeterProvider to JaegerGrpcSpanExporterBuilder (#4487)
* Add setter for MeterProvider to JaegerGrpcSpanExporterBuilder

* Make exporter name configurable for ExporterMetrics
2022-05-24 12:13:48 -07:00
jack-berg 540c2f54b4
List all published artifacts in readme (#4481)
* List all published artifacts in readme

* Pluralize artifact section titles, add description
2022-05-24 09:52:58 -05:00
wallezhang 3ed74b6bbc
feat: `otel.metrics.exporter` setting support multiple values (#4466)
* feat: `otel.metrics.exporter` setting support multiple values

* refactor: Refactor metric reader configuration function
2022-05-20 15:01:05 -05:00
jack-berg 81821296fc
Move ConfigurableMetricExporterProvider to autoconfigure-spi (#4478) 2022-05-18 19:17:45 -07:00
jack-berg dbe9a8e0a5
RetryInterceptor retries on SocketTimeoutException with no message (#4475) 2022-05-18 08:11:28 -05:00
jack-berg f592bf54e4
Drop outdated metrics sdk readme (#4476) 2022-05-17 20:15:57 -07:00
jack-berg d355bf56df
Fix OTEL_EXPORTER_OTLP_CLIENT_KEY docs (#4474) 2022-05-17 17:18:32 -07:00
Trask Stalnaker 7ad506d79f
Sync workflow with latest docs (#4454)
* Sync

* Remove unnecessary group

* Fix collapsing CI checks

* fix
2022-05-17 14:24:07 +09:00
jack-berg b98ce55cd0
Fix reporting intervals for delta readers (#4437) 2022-05-16 11:50:54 -05:00
jack-berg 8659a82583
Fix metric sdk when multiple readers are present (#4436)
* Fix metric sdk when multiple readers are present

* Merge DeltaMetricStorage into DefaultSynchronousMetricStorage
2022-05-13 12:50:13 -05:00
jack-berg 078d55abe5
Add SdkMeterProvider toString method (#4464)
* Add SdkMeterProvider toString method

* Fix build

* Ignore null values in InstrumentSelector / View #toString()
2022-05-13 11:52:04 -05:00
jack-berg 0d234f56c9
Add metrics to OpenTelemetryRule and OpenTelemetryExtension (#4459)
* Add metrics to OpenTelemetryRule and OpenTelemetryExtension

* Clear metrics, respond to PR feedback
2022-05-13 10:06:05 -05:00
jack-berg b7b6a75637
Drop reference to OTEL_EXPORTER_LOGGING_PREFIX (#4462) 2022-05-12 15:46:19 -05:00
jack-berg bf0f6bfb16
Add experimental method to reset SdkMeterProvider (#4460) 2022-05-12 10:28:42 -05:00
jack-berg bc6be63871
Update to otlp proto 0.17.0 (#4452) 2022-05-11 09:57:45 -05:00
Jon 20bd019718
Add JSON export option (#4435)
* Add OkHttpExporterBuilder option to serialize proto as json

* Format code to spotless standards and add tests

* Include begin and end brackets in json

* Remove exportAsJson from public api

* Remove special exporter metrics for json export. Return -1 for json contentLength instead of preserializing.

* Rebase

* Make Json/ProtoRequestBody classes final and package private

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2022-05-11 09:57:11 -05:00
Mateusz Rzeszutek a9968bcf32
Solve the duplicate metrics definition issue in Micrometer shim (#4457) 2022-05-10 14:39:22 -05:00
jack-berg 6606020c3a
Post release 1.14.0 (#4453)
* Add the release date for 1.14.0 to the change log

* Update docs for 1.14.0 release
2022-05-10 11:12:09 +09:00
OpenTelemetry Java Bot a79f52d641
Update version to 1.15.0-SNAPSHOT (#4446) 2022-05-09 12:40:04 -05:00
jack-berg 9d28d973d8
Prepare changelog for 1.14.0 (#4445) 2022-05-09 11:21:21 -05:00
jack-berg e067223409
Convert tests to from :sdk:metrics-testing to :sdk:testing (#4444) 2022-05-09 09:34:09 -05:00
jack-berg 89c6323fff
Move InMemoryMetricReader and InMemoryMetricExporter to :sdk:testing (#4442)
* Move InMemoryMetricReader and InMemoryMetricExporter to :sdk:testing

* Move tests
2022-05-06 20:00:11 -05:00
jack-berg d490f5b5e7
Add AggregationTemporalitySelector functional interface (#4438) 2022-05-06 10:03:14 -05:00
Chris Gray 360da3cf9b
Parse 0-probability sampling strategies correctly (fixes: open-telemetry/opentelemetry-java-instrumentation#5899) (#4421)
* Parse 0-probability sampling strategies correctly (fixes: #5899)

* Run spotless

* Move default probabilistic strategy to `parseProbabilistic`
2022-05-06 08:29:05 -05:00
dependabot[bot] 606feb4ef5
Bump docker/build-push-action from 2.10.0 to 3.0.0 (#4440)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2.10.0 to 3.0.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2.10.0...v3.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>
2022-05-06 08:28:35 -05:00
dependabot[bot] 23793f7865
Bump docker/login-action from 1 to 2 (#4441)
Bumps [docker/login-action](https://github.com/docker/login-action) from 1 to 2.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: docker/login-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>
2022-05-06 08:28:10 -05:00
jack-berg 848c073231
Refactor exemplars to reduce code duplication (#4430)
* Refactor exemplars to reduce code duplication

* Add comments to ReservoirCell
2022-05-06 08:27:39 -05:00
jack-berg 605f40b940
Rename MetricReader#flush() to forceFlush() (#4439) 2022-05-06 08:26:22 -05:00
Anuraag Agrawal 2bc8178dce
Split exemplar assertion into double / long (#4432)
* Split exemplar assertion into double / long

* Merge
2022-05-06 14:33:57 +09:00
Anuraag Agrawal bfb39f42d4
Remove Data from metric assertion class names (#4433) 2022-05-05 10:47:26 -05:00
jack-berg 04617c3550
Default unit is blank instead of 1 (#4431) 2022-05-05 10:34:26 -05:00
Jakub Wach 57c858f72c
adding warning to XRay extractor when traceId/spanId missing (#4420)
* adding warning to XRay extractor when traceId/spanId missing

* switched to FINEST
2022-05-05 07:41:32 -07:00
Lauri Tulmin 3f2317fdac
Add hasSpansSatisfyingExactlyInAnyOrder (#4427)
* Add hasSpansSatisfyingExactlyInAnyOrder

* address review comment

* address review comment
2022-05-03 17:25:47 +09:00
jack-berg 4a2814b1af
Flaky retry interceptor test (#4426)
* Fix flaky RetryInterceptorTest

* fix typo

* spotless
2022-04-30 11:24:13 -05:00
Lauri Tulmin 16be81aed8
Apply attribute limits to exception events (#4423) 2022-04-28 16:12:35 -05:00
Anuraag Agrawal ee4d771142
Migrate sum, histogram, summary assert to stable testing. (#4419)
* Migrate sum, histogram, summary assert to stable testing.

* Coverage
2022-04-28 12:39:29 +09:00
dependabot[bot] 626daa1e1e
Bump github/codeql-action from 1 to 2 (#4415)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: github/codeql-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>
2022-04-26 12:11:14 +09:00
Trask Stalnaker b46fc4dcea
Release branch workflow exclusions (#4409) 2022-04-26 08:06:05 +09:00
Lauri Tulmin 0940f6405a
Revert PeriodicMetricReader logging level change (#4414) 2022-04-25 09:36:39 -07:00
Trask Stalnaker 6480024f11
Consolidate build-pull-request and build (#4413) 2022-04-22 18:49:22 -07:00
jack-berg e479f15746
Add exponential histogram aggregation (#4406)
* Add ExponentialHistogramAggregation

* Rename DoubleHistogramAggregator to DoubleExplicitBucketHistogramAggregator

* PR feedback
2022-04-22 19:51:08 -05:00
Trask Stalnaker 59e1b7b38c
More resilient change log merging (#4411)
* More resilient change log merging

* --3way
2022-04-22 18:10:49 -05:00
Trask Stalnaker 872d267277
Tiny fix to workflow doc (#4410) 2022-04-22 12:55:21 -07:00
Anuraag Agrawal 173a0c27fd
Have long aggregators export long exemplars (#4403)
* WIP exemplar

* Have long aggregators export long exemplars

* Fix
2022-04-22 11:18:47 +09:00
wallezhang f36785f676
fix: fix BatchSpanProcessor with non-runtime exception (#4402)
* fix: fix BatchSpanProcessor worker thread is killed by non-runtime exception

* refactor: Propagate exception if fatal

* test: Add unit test for exporter throwing a non-runtime exception
2022-04-22 07:57:02 +09:00
Anuraag Agrawal e999fa0d5a
Some fixes for compilation under java 18 (#4397) 2022-04-22 07:43:55 +09:00
Trask Stalnaker 783237805f
Improved workflow PR creation (#4393)
* Improved gh pr create

* more

* snapshot
2022-04-21 15:45:33 -05:00
Trask Stalnaker dbf086589e
Sync (#4401) 2022-04-21 07:58:39 -07:00
Lauri Tulmin 8f7124495f
Decrease logging level for no metric data exported (#4405) 2022-04-21 07:53:55 -07:00
Anuraag Agrawal f464817013
Move gauge assertions into stable testing artifact. (#4395)
* Move gauge assertions into stable testing artifact.

* Disable publishing of old metrics-testing
2022-04-21 11:31:15 +09:00
jack-berg 98369a5aad
Return noop instrument if name is invalid (#4383)
* Return noop instrument if name is invalid

* Validate instrument name in default meter

* Use API Usage logger and include stack trace

* Rename methods to check* instead of is*
2022-04-20 13:25:00 -05:00
Anuraag Agrawal 0c0c8c0b51
Run tests with Java 18 (#4396) 2022-04-20 13:12:22 -05:00
jack-berg 2ec053e0fd
Remove old option for specifying temporality (#4392)
* Remove old option for specifying temporality

* Fix test
2022-04-20 10:11:25 -05:00
jack-berg c2d8f6abd9
Set unit to 1 if invalid (#4384)
* Set unit to 1 if invalid

* Improve error message, validate unit in DefaultMeter calls

* Fix typos

* Include stack trace
2022-04-19 10:45:55 -05:00
Trask Stalnaker a547e2a1ab
Sync'ing workflow changes/fixes (#4388)
* Sync

* Fix prepare release workflow

* Better links

* Fix links

* Fix links

* Fix

* format

* Sync release branch name

* Add comment

* more
2022-04-19 11:49:41 +09:00
Anuraag Agrawal e6280139b8
Ensure prometheus metrics with the same name are serialized as a group. (#4386)
* Ensure prometheus metrics with the same name are serialized as a group.

* Fix JPMS test flakiness
2022-04-18 16:59:39 -05:00
Trask Stalnaker 2fcdacec3e
Retry markdown link check on failure (#4387) 2022-04-16 09:48:08 +09:00
Trask Stalnaker d6017ecf7c
Update micrometer1shim instrumentation scope name (#4385) 2022-04-15 11:40:05 +09:00
jack-berg 45e278a934
Mark metrics components as stable (#4375) 2022-04-13 11:44:17 +09:00
Trask Stalnaker 1de99ecf3a
Fix prepare release branch workflow (#4359)
* Fix prepare release branch workflow

* Fix

* more

* Rename v to ver
2022-04-13 11:43:54 +09:00
Trask Stalnaker e13d5ad054
More github action syncing and doc (#4369)
* More github action syncing and doc

* Reduce sporadic link failures

* chmod

* oops

* extract retry_count constant

* more

* Add 403

* doc

* more

* format

* Remove retries for now

* Trying with github_token

* fix

* fix

* revert

* Revert "revert"

This reverts commit dbad14e535.

* Remove spaces

* revertrevert
2022-04-13 11:34:38 +09:00
Trask Stalnaker 0807f10f7d
Add github action concurrency control (#4380) 2022-04-13 11:34:19 +09:00
github-actions[bot] d909ba43a3
Merge change log updates from release/v1.13.x to main (#4373)
Co-authored-by: opentelemetry-java-bot <97938252+opentelemetry-java-bot@users.noreply.github.com>
2022-04-11 13:58:13 -07:00
jack-berg f99fdd8269
Drop deprecated instrumentation library methods from log sdk (#4374) 2022-04-11 13:26:38 -05:00
Trask Stalnaker 0956a75940
Fix merge change log workflow (#4365)
* Fix merge change log workflow

* and doc
2022-04-11 10:27:46 -05:00
Trask Stalnaker 8eec1b3a14
Release workflow fixes (#4361)
* Fix release workflow

* more
2022-04-11 17:57:32 +09:00
Trask Stalnaker 771eab76e5
Fix release branch build (#4362) 2022-04-11 17:57:08 +09:00
dependabot[bot] b5a319cf5c
Bump actions/setup-java from 2 to 3 (#4371)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2 to 3.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-java
  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>
2022-04-11 17:20:34 +09:00
dependabot[bot] 0fdee7fe49
Bump actions/upload-artifact from 2 to 3 (#4370)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  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>
2022-04-11 17:15:48 +09:00
OliverO2 dc702f2246
Fix Prometheus export of histogram data points without attributes (#4368) 2022-04-10 19:03:47 +09:00
jack-berg 2014f1a1f3
API diffs for 1.13.0 (#4364) 2022-04-08 16:43:33 -07:00
github-actions[bot] 5f2d74ed55
Bump version (#4357)
* Bump version

* Update version.gradle.kts

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

Co-authored-by: opentelemetry-java-bot <97938252+opentelemetry-java-bot@users.noreply.github.com>
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-04-08 14:07:52 -05:00
jack-berg 44afb133bd
Add changelog entry for 1.13.0 release (#4355)
* Add changelog entry for 1.13.0

* PR feedback
2022-04-08 13:35:24 -05:00
Trask Stalnaker e33411c61f
Release workflow improvement (#4353)
* heading format

* Remove separators

* workflow

* updates

* Include note about release heading

* fix link
2022-04-08 13:23:23 -05:00
Anuraag Agrawal d0357cbad3
Remove unused transitive prometheus deps (#4352) 2022-04-08 07:54:29 -05:00
jack-berg e7d5a97f88
OTLP metric exporter accepts aggregation temporality function (#4340)
* OTLP metric exporter accepts aggregation temporality function

* Spotless
2022-04-08 07:54:04 -05:00
Anuraag Agrawal d78cadabaa
Update errorprone (#4346) 2022-04-08 08:12:57 +09:00
Anuraag Agrawal 0ac1d8e6d7
Update Gradle and build dependencies (#4347) 2022-04-08 08:12:35 +09:00
Anuraag Agrawal 0f3bc931ae
Update dependencies (#4345) 2022-04-08 08:12:21 +09:00
jack-berg 0b94400914
Another round of log suppression (#4342)
* Another round of log suppression

* Suppress logs from HttpServerPipelineConfigurator
2022-04-07 11:00:42 -05:00
jack-berg 6692683917
Disallow aggregations for incompatible instruments (#4338)
* Disallow aggregations for incompatible instruments

* Improve test coverage

* Ignore View if aggregation is incompatible, using default view if no others are configured
2022-04-07 10:55:58 -05:00
Trask Stalnaker 7a8cd86c47
Fix issue creation (#4343) 2022-04-07 12:59:52 +09:00
jack-berg a895d7e33c
Add min and max to HistogramPointData (#4317)
* Add min and max to HistogramPointData

* Add hasMin, hasMax to HistogramPointData instead of @Nullable

* Add javadoc about describing behavior when hasMin / hasMax is false

* Get rid of @Nullable on HistogramAccumulation
2022-04-06 10:41:52 -05:00
jack-berg 8ab4d0aa9c
Remove instrument selector predicates, add instrument name wildcards (#4331)
* Remove instrument selector predicates, add instrument name wildcards

* Cache name pattern to regex translation

* Use alternative glob match algo, get rid of cache
2022-04-06 09:54:43 -05:00
jack-berg ddca7f34ba
Ensure callbacks are not called concurrently (#4328)
* Ensure callbacks are not called concurrently

* Disallow concurrent collections by single reader, disallow concurrent callback invocations by different readers

* Restore lock on CallbackRegistration

* Single lock on MeterSharedState ensures all collections are sequential
2022-04-06 09:53:23 -05:00
dependabot[bot] 7b6a7c9a3f
Bump codecov/codecov-action from 2.1.0 to 3 (#4341)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2.1.0 to 3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v2.1.0...v3)

---
updated-dependencies:
- dependency-name: codecov/codecov-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>
2022-04-06 14:47:37 +09:00
Trask Stalnaker d3a8b32f8f
Fix snapshot publishing (#4339) 2022-04-05 13:16:44 +09:00
Mehdi Riahi 84b9e663f3
Do not rely on samplingType provided by Jaeger (#4319) (#4335)
* Do not rely on samplingType provided by Jaeger (#4319)

* Add explanation comments (#4319)
2022-04-05 12:35:36 +09:00
Trask Stalnaker 82db72abcc
Sync release workflow (#4333)
* Sync release workflow

* Add example sending PR to another repo

* Use simpler sharing of env vars across steps

* Simplify, merge related jobs

* Simplify

* More improvements

* Use release/* release branch naming

* Add note about markdownlint
2022-04-05 11:22:36 +09:00
John Watson ccbb28087a
Update the protobuf definitions to 0.16.0-alpha (#4337) 2022-04-04 17:51:53 -05:00
Anuraag Agrawal cf2dc58062
Only log grpc unimplemented error once. (#4334) 2022-04-04 13:22:12 -07:00
jack-berg cb50ec9ce7
Enable OTLP metric export by default in autoconfigure (#4330) 2022-04-04 10:47:43 -05:00
Anuraag Agrawal bc9dafca03
Fix tracestate builder reuse and Optimize. (#4325) 2022-04-01 11:47:35 +09:00
Trask Stalnaker 282ae40a3f
Edits to github actions practices (#4323) 2022-04-01 10:53:05 +09:00
jack-berg 423e1a2c54
Refactor MetricReader registration (#4320) 2022-03-31 10:13:17 -05:00
jack-berg 725ce32db3
Make setMinimumCollectionInterval package private (#4310)
* Make setMinimumCollectionInterval package private, centralize experimental utilities

* Default minimum collection interval to zero
2022-03-31 09:49:53 -05:00
HaloFour 6bc06f86ca
Add ExceptionEventData which wraps events that contain exceptions (#4162)
* Add ExceptionEventData which wraps events that contain exceptions

* checkstyle

* Keep it simple

* Refactor ExceptionEventData to tracing-incubator

* Clean up reflection code, defer and memoize merged attributes

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

* Address PR comments

* Add internal package-info

* Add internal package verbiage to ExceptionEventData interface

* Kick CI
2022-03-31 11:46:21 +09:00
Trask Stalnaker 45659dc955
Remove --stacktrace from gradle builds (#4318) 2022-03-30 15:01:16 -05:00
Trask Stalnaker 8d13fa6a38
Sync GitHub actions, other than release actions (#4311)
* More github actions doc

* Sync github actions, other than release actions

* Updates

* more snapshots

* Fix headings/links

* Update docs/common-github-actions-practices.md

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

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2022-03-30 11:42:16 +09:00
Anuraag Agrawal 208d7757a1
Remove openjdk8 mirroring since not used anymore (#4312) 2022-03-29 08:16:27 -05:00
jack-berg 7fe1783e10
PMR don't export if metrics collection is empty (#4315)
* PMR don't export if metrics collection is empty

* Set export available

* Use isEmpty() instead of size() == 0

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

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2022-03-29 08:15:48 -05:00
jack-berg e375bfdde1
Drop deprecations in metrics sdk (#4301)
* Drop deprecations in metrics sdk

* Retain OtlpGrpcMetricExporterBuilder#setChannel()
2022-03-28 11:30:31 -05:00
Anuraag Agrawal c27aa5847a
Add OTLP mTLS integration tests (#4314) 2022-03-28 10:21:22 -05:00
Anuraag Agrawal c1f54eed61
Use debian openjdk17 test image (#4307) 2022-03-26 17:30:20 +09:00
jack-berg 80c05a71a3
Fix bad merge (#4309) 2022-03-26 17:30:06 +09:00
Anuraag Agrawal 0a7470e42d
Remove outdated kotlin compile workaround (#4308) 2022-03-25 10:18:42 -05:00
Anuraag Agrawal 0ab2eea43e
Use updated docker test images (#4306) 2022-03-25 10:17:46 -05:00
Anuraag Agrawal fab0131184
Update OTLP to 0.15 (#4305) 2022-03-25 10:08:38 -05:00
jack-berg 647ff0db3c
Throw exception if selection criteria selects nothing (#4300) 2022-03-25 10:04:34 -05:00
jack-berg 1b7ec8a235
Invoke callbacks once when multiple views are registered (#4296) 2022-03-25 10:03:48 -05:00
jack-berg 12fc4b2dda
Drop HistogramPointData utility methods (#4303) 2022-03-25 10:03:05 -05:00
Trask Stalnaker a36766588b
Better link checking (#4304)
* Better link checking

* Fix misspellings
2022-03-25 11:42:17 +09:00
Trask Stalnaker f317cc43f0
Common github action practices (#4293)
* Common github action practices

* update
2022-03-25 08:01:02 +09:00
jack-berg 21a61e5894
Change MetricExporter getPreferredTemporality to accept InstrumentType (#4288) 2022-03-24 11:25:50 -05:00
Anuraag Agrawal 14ffacd1cd
Update docker test containers (#4294) 2022-03-23 11:15:00 -05:00
jack-berg c4ea1c155e
Refactor view API, make AttributesProcessor internal (#4277)
* Switch View and ViewBuilder to classes

* Make AttributesProcessor an empty interface, move content to AbstractAttributesProcessor

* Drop io.opentelemetry.sdk.metrics.view package
2022-03-23 11:01:54 -05:00
Mateusz Rzeszutek 1a4fe14379
Implement "Prometheus mode" for better micrometer->OTel->Prometheus support (#4274)
* Implement "Prometheus mode" for better micrometer->OTel->Prometheus support

* code review comments
2022-03-22 11:56:32 -05:00
jack-berg 322097ad4b
Hide exemplars (#4276)
* Make exemplar package internal

* Add method to reflectively set exemplar filter on SdkMeterProvderBuilder
2022-03-22 10:39:37 -05:00
jack-berg 2c695a34f8
Simplify MetricReader (#4268)
* Simplify MetricReader

* Tighten up PR

* Restore some methods / classes and deprecate

* Revert "Restore some methods / classes and deprecate"

This reverts commit fee90e5da7.
2022-03-22 10:10:15 -05:00
Gregor Zeitlinger b717b0625a
Add SpanDataAssert.hasAttribute (#4271)
* add assertAttributes to be able to assert a single attribute in a fluent way

* add assertAttributes to be able to assert a single attribute in a fluent way

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

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

* Update sdk/testing/src/main/java/io/opentelemetry/sdk/testing/assertj/SpanDataAssert.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-03-22 15:56:59 +09:00
Trask Stalnaker cd2583df6a
Add misspell check (and fix misspellings) (#4290)
* Add misspell check

* Fix misspellings

* Spotless
2022-03-22 15:12:40 +09:00
Trask Stalnaker 559d05adf5
Add markdown link check (#4287)
* Add markdown link check

* Fix links

* Now detects anchor links too!

* Reword comment
2022-03-22 14:11:34 +09:00
Brian Yan e54e7ac4dc
feat:add the shortcut of removeif in ResourceBuilder (#4286)
* fix:add an ending period to form notes

* feat:add the shortcut of removeif in ResourceBuilder

* fix:fix the errors of check

* feat:run two gradlew task to achieve check

* fix:fix format violations

* feat:remove extra function and modify the unit test

* fix: fix format violations

* feat:format code and modify unit test

* feat:make unit test specification

* feat:cleanup for normalize
2022-03-22 13:03:55 +09:00
jack-berg 22d385c763
Update API diff with recent changes (#4289) 2022-03-22 08:44:49 +09:00
Trask Stalnaker ea288d9722
Reduce lock scope in CompletableResultCode (#4281) 2022-03-22 08:02:20 +09:00
jack-berg 59697eedc0
Metrics SDK odds and ends (#4273)
* Metrics SDK odds and ends

* Make InstrumentSelectorBuilder contructor package private

* Fix build

* Improve documentation for SdkMeterProviderBuilder defaults
2022-03-21 13:45:51 -05:00
Trask Stalnaker 211db4478e
Add newlines between yml steps (#4278) 2022-03-21 10:56:16 -05:00
jack-berg dba57a538a
Drop io.opentelemetry.sdk.metrics.common package (#4275) 2022-03-21 10:02:08 -05:00
jkamon a355c347b8
Allow client certificate (#4194)
* Allow client certificate

* Allow client certificate - changes signature and add parameters

* Allow client certificate - rename chain to certificate

* Allow client certificate - fix first set of comments

* Allow client certificate - comments

* Allow client certificate - compile fix

* Allow client certificate - tests

* Allow client certificate - rename privateKeyChainPem to certificatePem

* Allow client certificate - remove incorrect test

* Allow client certificate - removed unused function

* Allow client certificate - spotlessApply

* Allow client certificate - match expected and thrown error messages

* Allow client certificate - spotlessApply

* Allow client certificate - from spec project it was requested to remove logs entries

* Allow client certificate - match expected and thrown error messages

* Allow client certificate - improve test coverage

* Allow client certificate - document also LOG version of env variables
2022-03-21 17:19:17 +09:00
Anuraag Agrawal 345060e8a3
Update Gradle and build dependencies (#4270) 2022-03-17 19:58:55 -05:00
Anuraag Agrawal 338966e478
Bring in micrometer shim (#4258)
* Move in micrometer-shim

* Finish

* micrometer1

* Tweak

* micrometer1 module

* Fix build file

* Merge
2022-03-16 15:24:39 +09:00
Anuraag Agrawal 85b33d43b0
Remove deprecated PrometheusCollector (#4266) 2022-03-16 11:01:00 +09:00
jack-berg ccfa2dcbe4
Implement metric identity specification (#4222)
* Implement metric identity specification

* PR feedback

* Fix build
2022-03-15 12:46:27 -05:00
jack-berg ef99593d4f
Export otel.scope.name, otel.scope.version (#4261) 2022-03-15 12:32:29 -05:00
dependabot[bot] 9f870b8988
Bump docker/build-push-action from 2.9.0 to 2.10.0 (#4265)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2.9.0 to 2.10.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2.9.0...v2.10.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-03-15 14:51:37 +09:00
jack-berg ac884b12e1
Remove log name field (#4263) 2022-03-15 08:06:52 +09:00
jack-berg 59a6061dc5
Deprecate InstrumentationLibraryInfo (#4256)
* Deprecate InstrumentationLibraryInfo

* API diff
2022-03-14 14:45:10 -05:00
Anuraag Agrawal 26c04299d3
Make MetricData factories internal (#4257) 2022-03-11 16:30:13 +09:00
Anuraag Agrawal 7ae6904039
Migrate Aggregation to interface (#4255) 2022-03-10 13:26:11 +09:00
Anuraag Agrawal b0cdfdb78b
Migrate exemplar data to interface (#4253)
* Migrate exemplar data to interface

* internal
2022-03-10 12:08:38 +09:00
Anuraag Agrawal ef427f69ce
Convert ValueAtPercentile to ValueAtQuantile (#4254) 2022-03-10 11:30:20 +09:00
Anuraag Agrawal f5f99cf72d
Inline MeterSelector into InstrumentSelector (#4241) 2022-03-09 14:37:53 +09:00
Anuraag Agrawal 9ac622170e
Extract View configuration interface so it only exposes public API. (#4239)
* Extract View configuration interface so it only exposes public API.

* scare
2022-03-09 14:36:56 +09:00
Anuraag Agrawal 048a0c8d14
Migrate PointData to interface (#4242) 2022-03-09 11:16:48 +09:00
wallezhang 3a78a9030a
feat: Add enabled resource providers configuration (#4231)
* feat: Add enabled resource providers configuration

* style: Code style changes by running spotlessApply

* test: Add unit test for specific resource providers in both configurations

* test: Add unit test for only specific resource providers in enabled configuration
2022-03-09 09:44:05 +09:00
John Watson 3cae1f2a85
Update the protobuf version to 0.14.0 (#4252) 2022-03-09 09:43:21 +09:00
Anuraag Agrawal e676eb41f6
Remove metrics SDK deprecations (#4238) 2022-03-09 09:09:05 +09:00
Anuraag Agrawal 5fb1189b98
Add int overload for equalTo attribute assertion (#4249) 2022-03-09 08:23:34 +09:00
Trask Stalnaker 853934335e
Fix CodeQL analysis, should analyze all modules (#4247)
* Fix CodeQL analysis, should analyze all modules

* better comment
2022-03-08 10:28:35 +09:00
Anuraag Agrawal d2fbcbadb2
API diffs for 1.12.0 (#4237) 2022-03-07 11:44:05 +09:00
Trask Stalnaker 78285cb070
Fix CodeQL workflow (#4236) 2022-03-06 11:07:06 +09:00
Anuraag Agrawal 7b28342886
CHANGELOG for 1.12 release (#4234) 2022-03-04 08:03:14 -08:00
Anuraag Agrawal cb80383df8
Extract SummaryData interface for DoubleSummaryData (#4224)
* Extract SummaryData interface for DoubleSummaryData

* ValueAtQuantile too

* javadoc
2022-03-04 17:20:21 +09:00
Anuraag Agrawal 17265d0b0d
Extract HistogramData interface for DoubleHistogramData. (#4219)
* Extract HistogramData interface for DoubleHistogramData.

* Fix

* javadoc

* Fix merge
2022-03-04 16:49:39 +09:00
Anuraag Agrawal 5cbfe9d93e
Move ExponentialHistogram data to internal package. (#4217)
* Move ExponentialHistogram data to internal package.

* scare

* drift
2022-03-04 11:57:40 +09:00
John Watson dc8086dfca
Add scare text to the javadoc for GlobalOpenTelemetry (#4223)
* Add scare text to the javadoc for GlobalOpenTelemetry

* add another javadoc blurb
2022-03-03 17:48:07 -08:00
Anuraag Agrawal 22c7a8e10b
Cleanups to View configuration (#4225) 2022-03-04 10:46:55 +09:00
Anuraag Agrawal 2527359cd5
Deprecate automatic histogram method for removal. (#4218) 2022-03-03 08:27:13 +09:00
dependabot[bot] bc9d8c78ff
Bump actions/checkout from 2.4.0 to 3 (#4228)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.4.0 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.4.0...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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-02 13:13:02 +09:00
Anuraag Agrawal a6107d5590
Remove type-specific SumData (#4216)
* Remove type-specific SumData

* scare
2022-03-02 08:40:21 +09:00
Lauri Tulmin 26dd896c09
Fix android desugaring for HashMap.forEach (#4221) 2022-03-01 08:08:23 +09:00
jack-berg 963bc384c8
Instrumentation scope (#4215)
* Add InstrumentationScopeInfo class

* Rewrite tracer provider documentation

* Refactor ComponentRegistry to use InstrumentationScopeInfo

* Finish updating documentation to reference scope instead of library

* PR feedback
2022-02-26 10:43:55 -08:00
jack-berg 9f10e0048e
Allow multiple async callbacks, allow callbacks to be removed (#4143)
* Allow multiple async callbacks, allow callbacks to be removed

* Use AutoCloseable to remove callbacks, don't unregister from MetricStorageRegistry

* Use CopyOnWriteArrayList

* PR feedback

* PR feedback
2022-02-25 11:51:51 -06:00
James Moessis c053393c32
optimise bucket comparison to fix slow test (#4204) 2022-02-25 14:39:50 +09:00
Anuraag Agrawal 69b00c3f35
Remove type-specific GaugeData (#4207) 2022-02-25 14:08:34 +09:00
Anuraag Agrawal 66520d1f3e
Cleanup ExemplarData (#4205) 2022-02-25 12:01:35 +09:00
Beppe Catanese 13fb460a54
(4172) Vararg versions of AttributeBuilder.put (#4188)
* Overload put with AttributeKey with String array

* Use generic instead of String

* Format and javadoc

* Cast to type

* New public method

* File based view configuration (#4163)

* Add experimental view config module

* Rename view-config to metric-incubator

* Switch naming from camelCase to snake_case

* Extend with attribute key filter

* Wire up to autoconfiguration

* Use snakeyaml instead of jackson

* PR feedback

* PR feedback

* Remove explicit okio dependency (#4187)

* Deprecate PrometheusCollector (#4185)

* Correct javadoc

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

* Cast to type

Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2022-02-24 14:04:57 -08:00
Marius Oehler 389e64f2cf
Fixed minor typo in README regarding the alpha bom reference (#4213) 2022-02-24 08:06:49 -08:00
Knut Wannheden 083dca1b94
Marshal trace state in OTLP exporter (#4191)
Includes the trace state in the marshaled spans and span links, resolving the corresponding TODOs in the code.

The `tracestate` header encoding and decoding logic has been moved to a new internal class `W3CTraceContextEncoding`.

Fixes: #4189
2022-02-24 09:18:38 +09:00
Anuraag Agrawal d9c8313832
Add module-info to prometheus exporter (#4196) 2022-02-24 09:12:44 +09:00
Anuraag Agrawal c1afda5efa
Make createAggregator non-public (#4203) 2022-02-24 09:09:09 +09:00
Anuraag Agrawal d868eff3e1
Move view builders to top level (#4202) 2022-02-24 09:08:05 +09:00
Anuraag Agrawal f4be86124a
Use crane to copy test docker images (#4197) 2022-02-24 09:07:40 +09:00
Anuraag Agrawal 730b2a5be3
Make AbstractInstrumentBuilder private. (#4200) 2022-02-24 09:07:26 +09:00
Anuraag Agrawal 55d0ccac46
Remove unused Instrument interface. (#4198) 2022-02-24 09:07:10 +09:00
Beppe Catanese e8d1c2d838
Copy schema URL during Resource.toBuilder (#4209) 2022-02-24 09:06:29 +09:00
John Watson 4fcbee4bb8
Move Carlos to Maintainer Emeritus status. (#4212) 2022-02-23 11:31:23 -08:00
Anuraag Agrawal 242f509dd1
Add ability to do loose attribute matching while checking all keys. (#4173)
* Add ability to do loose attribute matching while checking all keys.

* equalTo

* Support absent keys
2022-02-22 12:15:17 +09:00
Anuraag Agrawal 4398869026
Wire Prometheus Serializer into HTTP server. (#4184) 2022-02-22 12:14:58 +09:00
Anuraag Agrawal 72c24127ba
Deprecate PrometheusCollector (#4185) 2022-02-21 15:25:07 +09:00
Anuraag Agrawal 10414f0ce2
Remove explicit okio dependency (#4187) 2022-02-18 16:48:16 -08:00
jack-berg 4a67130738
File based view configuration (#4163)
* Add experimental view config module

* Rename view-config to metric-incubator

* Switch naming from camelCase to snake_case

* Extend with attribute key filter

* Wire up to autoconfiguration

* Use snakeyaml instead of jackson

* PR feedback

* PR feedback
2022-02-18 11:56:21 -06:00
James Moessis 71351a26b5
Exponential Histogram Bucket Indexing Improvements (#4168)
* update indexing strategy to use simple static methods

* remove unused BucketMapper interface

* fix errors introduced by conflict resolution

* fix integer overflow/underflow in exphist corner case

* add test for recording at limits of Double

* fix mistake

* remove superfluous casts

* memoize scaleFactor

* remove superfluous javadoc

* static final not final static

* Make assertions clearer and comment for Math.pow() rounding

* spotless
2022-02-18 15:23:54 +09:00
Anuraag Agrawal 1f2379f0fc
Add Prometheus text format serializers. (#4178)
* Add Prometheus text format serializers.

* Attributes coverage
2022-02-18 13:41:22 +09:00
Anuraag Agrawal 91501afbac
Run Prometheus integration test both for HTTPServer and Collector (#4179) 2022-02-17 16:37:07 -06:00
jack-berg 9456aeea26
Experimental support for disabling resource keys (#4169)
* Experimental support for disabling resource keys

* Rename property
2022-02-17 14:19:27 -06:00
John Watson 6266b16b0f
Update the semantic convention constants to v1.9.0 (#4174) 2022-02-14 18:38:26 -08:00
John Watson f7c52e181e
Update OTLP protobufs to v0.13.0-alpha (#4170)
and add documentation on how to update that dependency.
2022-02-12 10:33:38 -08:00
Victor Rocha de Oliveira 34d75aa260
[FEATURE] Android desugaring warning (#4142)
* desugaring advice

* adjusted typo

* Update README.md

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

* removing issue reference

Co-authored-by: jason plumb <75337021+breedx-splk@users.noreply.github.com>
2022-02-11 09:46:17 -06:00
jack-berg 19b0fec813
Deprecate log name field (#4160)
* Deprecate log name field

* Add deprecation description to javadoc
2022-02-11 12:15:48 +09:00
Anuraag Agrawal 34273f43ca
Update Gradle and build dependencies. (#4167) 2022-02-10 16:54:49 -06:00
Anuraag Agrawal cffbd3249c
Add context wrapping methods for arguments found in CompletableFuture APIs. (#4154) 2022-02-10 08:09:36 +09:00
jack-berg 3f5778e647
Do not register periodic metric reader when exporter is null (#4166) 2022-02-09 14:25:27 -06:00
jack-berg b9074f1d8b
Drop deprecations (#4158)
* Drop OBSERVABLE_SUM and OBSERVABLE_UP_DOWN_SUM

* Drop SdkMeterProviderConfigurer
2022-02-08 14:17:06 +09:00
jack-berg 6d9cbc3f3d
Fix retry interceptor test flake (#4155)
* Fix retry interceptor test flake

* Fix formatting
2022-02-08 09:12:57 +09:00
jack-berg 562153dc7f
Update docs for 1.11.0 release (#4152)
* Update changelog

* Update version in docs

* Add OTLP log exporter component to readme table

* Update japicmp

* Add note to create discussion to release docs
2022-02-04 16:25:56 -08:00
Josh Suereth 5c1bd6cbfe
Add adaptable circular buffer implementation for ExponentialCounter. (#4087)
* Add adaptable circular buffer implementation for ExponentialCounter and expose hooks to test its use in Exponential Histogram aggregator.

* Clean up some adapting circular buffer code.

* Fix style issues.

* Apply spotless.

* Add tests for adapting integer array.

* Finish wiring ability to remember previous integer cell size and expand testing.

* Update array copy from code review.

* Fixes/cleanups from review.

- Fix a bug in equality where it was forcing ExponentialCounter to have
  the same offset, even if it had stored 0 counts in all buckets. This
  interacts negatively with merge/diff tests where creating a fresh
  exponential bucket would have different indexStart then diff-ing
  another.
- Modify default exponential bucket counter to be adapting circular
  buffer.
- Remove some not-well-though-out methods (like zeroOf, zeroFrom) in
  favor of a "clear" method on ExponentialCounter
- Modify ExponentialBucketStrategy to be an actual implementation.

* Improve testing of copy behavior across exponential-counter implementations.

* Last fix/cleanup for PR.  Remove remaining TODO around preserving runtime optimisations.

* Fixes from review.

* Add test to ensure 0 is returned from exponential counters outside popualted range.

* Add a bunch of extra equality tests.

* run spotless.

* Add note about equality.

* Add copy() method to AdaptingIntegerArray, update tests.

* Fix checkstyle.

* Add internal disclaimer, reduce visibility of test classes

Co-authored-by: jack-berg <jberg@newrelic.com>
2022-02-04 11:21:04 -06:00
jack-berg 0ed4967224
Rename instrument type enumeration values (#4150)
* Rename instrument type enumeration values

* Retain old enum values with @Deprecation notice
2022-02-04 10:28:12 -06:00
jack-berg eb92539f94
Logs customizer (#4148) 2022-02-04 10:11:56 -06:00
jack-berg 5d2c59f839
Retry on connection timeouts (#4132)
* Retry on connection timeouts

* Fix test flake, limit retry on exception to SocketTimeoutException

* PR feedback

* Formatting

* Fix test

* Only retry on connect timeouts
2022-02-04 10:11:17 -06:00
Anuraag Agrawal 9aee333cf3
Update dependencies (#4144) 2022-02-03 12:52:12 -08:00
jack-berg 4392f52e1c
Metrics customizer (#4127)
* Use noop meter provider if no readers registered

* Extend AutoConfigurationCustomizer with metrics customizers

* Switch from inline to instance level mocks

* Deprecate SdkMeterProviderConfigurer
2022-02-03 12:26:04 -06:00
jack-berg bd29e1f2ef
Deprecate SdkTracerProviderConfigurer (#4136)
* Deprecate SdkTracerProviderConfigurer

* Update sdk-extensions/autoconfigure/src/testFullConfig/java/io/opentelemetry/sdk/autoconfigure/TestTracerProviderConfigurer.java

Co-authored-by: John Watson <jkwatson@gmail.com>
2022-02-03 14:19:28 +09:00
Lauri Tulmin 9c6cc22fb6
Javadoc code snippets use methods that don't exist (#4140)
* Replace OpenTelemetry with GlobalOpenTelemetry in javadoc code snippets

* use openTelemetry instread of GlobalOpenTelemetry

* replace one ome usage of GlobalOpenTelemetry
2022-02-02 12:20:36 -08:00
dependabot[bot] a047632ad7
Bump docker/build-push-action from 2.8.0 to 2.9.0 (#4141)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2.8.0 to 2.9.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2.8.0...v2.9.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-02-02 14:43:40 +09:00
Anuraag Agrawal 47f7c38ef5
Enable loggers in all tests via slf4j. (#4126)
* Route all test jul logging through slf4j.

* Cleanup and more suppressions
2022-02-02 14:43:25 +09:00
Lauri Tulmin 92d17f895b
Correct url for AWS Tracing header spec (#4139) 2022-02-02 08:21:25 +09:00
jack-berg 4a015cc794
Set MeterProvider on BatchLogProcessor (#4138) 2022-02-02 08:06:07 +09:00
Anuraag Agrawal 03c41ec940
Add a testing-internal module and functionality to SuppressLogger for… (#4130)
* Improve behavior of some tests (#4123)

* Optimize

* Fix logging.properties

* Clean
2022-02-01 16:04:39 +09:00
jack-berg 94f49a209e
Drop java convention for old proto module (#4135) 2022-02-01 10:37:22 +09:00
Ryan Rupp 586ac11803
Make SPI factories instantiate implementations lazily (#4059)
* Make SPI factories instantiate implementations lazily

Previously, this would load all SPI factories and then eagerly instantiate each implementation. This would potentially result in implementations that would get instantiated even if they didn't end up getting used. An example was if the AWS contrib jar was included, this would result in an AwsXrayRemoteSampler being instantiated eagerly despite the configuration not using it. This could then result in errors or unused resources depending on the implementation i.e. in the AwsXrayRemoteSampler example it spawns a thread and makes a network request.

This change transitions the factories so that they only construct the implementation objects if the configuration specifically asks for it. Note the SPI factories themselves must still must be eagerly loaded to determine which factory names are available. This change applies to all auto-configuration areas following this pattern: Samplers, Metric Exporters, Text Map Propagators and Span Exporters.

* Now that instantiating implementations is on-demand (only if used), allow any exceptions to propagate

* format fix

* Change NamedSpiManager from interface to class

Co-authored-by: jack-berg <jberg@newrelic.com>
2022-01-31 15:49:58 -06:00
Bogdan Drutu 6aaebdd4b3
Per emeritus role, cannot be code approver 2022-01-31 10:57:30 -08:00
wallezhang 97d2115dc4
refactor: adjust tracer and meter provider customizer execution order (#4129)
* refactor: adjust tracer and meter provider customizer execution order

* refactor: Modify tracer provider customizer flow

* style: Format code using spotlessApply
2022-01-31 11:56:00 -06:00
jack-berg 87f788a3b4
Cleanup retry configuration (#4131) 2022-01-31 11:30:39 -06:00
Anuraag Agrawal 3773d0b18a
Update errorprone (#4134) 2022-01-31 08:00:17 -08:00
Anuraag Agrawal 3cabcc7e45
Improve behavior of some tests (#4123) 2022-01-26 08:17:21 -08:00
Anuraag Agrawal 3a9b44832d
Deprecate gRPC setChannel (#4116) 2022-01-26 08:13:43 -08:00
jack-berg 0ef60f8233
Use noop meter provider if no readers registered (#4120)
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2022-01-26 08:08:31 -08:00
Anuraag Agrawal 7b65a9c48f
Output logging messages in tests. (#4114) 2022-01-26 09:30:14 -06:00
Anuraag Agrawal 044cadb47e
Reorganize internal export code. (#4111)
* Reorganize internal export code.

* Cleanups
2022-01-26 14:39:58 +09:00
Anuraag Agrawal 0a2f400b59
Schedule jaeger remote sampling with fixed delay and clean up tests. (#4122) 2022-01-25 20:51:43 -08:00
Anuraag Agrawal f4f61ea2f3
Close jaeger sampler in provider test too. (#4113) 2022-01-26 08:29:08 +09:00
Anuraag Agrawal 53df4aa8a1
Fix flaky FullConfigTest (#4115) 2022-01-25 07:50:04 -08:00
Ryan Dens 1313265692
BatchSpanProcessor metrics (#4112)
* ♻️ refactor TracerProviderConfiguration.configureBatchSpanProcessor to have MeterProvider provided to it

* 🐛 set meterProvider on BatchSpanProcessorBuilder

* 👌 chain usage of builder APIs where possible

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

* 🎨 formatting

Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2022-01-24 18:27:14 -08:00
Anuraag Agrawal f37b0c59e7
Migrate last test sets to test suites. (#4103)
* Migrate last test sets to test suites.

* Disable javadoc for tests project
2022-01-21 17:56:02 -08:00
jack-berg bd0b474d83
Docs for 1.10.1 relesae (#4108)
* Update release documentation

* Update version in docs

* Update changelog
2022-01-21 17:54:51 -08:00
jack-berg b2873186e3
Fix bug where PrometheusCollector can't be registered (#4102) 2022-01-21 11:30:06 +09:00
jack-berg 8bbb0e25da
Enable reflective setting of retry policy for OkHttpGrpcExporter (#4097)
* Enable reflective setting of retry policy for OkHttpGrpcExporter

* Drop deprecated method

* Add test coverage
2022-01-21 11:07:00 +09:00
Anuraag Agrawal 292a84ec2c
Use newer contributors image link. (#4098) 2022-01-20 11:53:50 -06:00
Pavol Loffay 5d521f5c21
Switch Jaeger remote sampler to use grpc lite (#4043)
* Switch Jaeger remote sampler to gRPC lite

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

* Abstract impl

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

* Service done

* Working example

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

* Handle gzip compression

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

* Clean dependencies

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

* Remove dependency on proto

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

* remove stdout

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

* Fix

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

* Fix logger

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

* jcmpAPI failing

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

* Fix

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

* Fix

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

* Fix

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

* Switch logger

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

* Fix

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

* Support grpc netty too

* NPE test

* update after merge main

* Switch Jaeger remote sampler to gRPC lite

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

* test

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

* test

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

* test

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

* test

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

* test

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

* test

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

* some tests

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

* some tests

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

* tls test

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

* tls for default

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

* Workaround logger reference issue

* Use a better logger workaround

* Wait for two polls since first poll may not have been processed by client in time for assertion.

* Don't depend on poll count for assertions.

* shutdownNow

* Cleanups

* Update logunit

* Don't stop at body read failure

Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
2022-01-19 12:26:47 +09:00
dependabot[bot] 28405b4f9c
Bump docker/build-push-action from 2.7.0 to 2.8.0 (#4096)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2.7.0 to 2.8.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2.7.0...v2.8.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-01-19 12:14:17 +09:00
jack-berg cb89401381
Add log attribute limits (#4085)
* Add log attribute limits

* Use pad left in test

* PR feedback, improve test coverage
2022-01-18 15:36:54 -06:00
Anuraag Agrawal 6ab88fbc00
Rename RecordEventsReadableSpan to SdkSpan (#4093)
* Rename RecordEventsReadableSpan to SdkSpan

* Moar
2022-01-18 10:56:50 +09:00
Eugene R 3518c98c45
Annotate AutoValue classes as Immutable (#3875)
* annotate AutoValue classes as Immutable

* Remove @Immutable on internal classes

Co-authored-by: jack-berg <jberg@newrelic.com>
2022-01-14 14:53:14 -06:00
jack-berg c887f2c51a
Drop deprecated InMemoryMetricExporter, InMemoryMetricReader (#4084) 2022-01-14 09:24:06 -06:00
John Watson df18b2e7ef
Remove approvers who have not approved in a long while. (#4089) 2022-01-13 16:52:35 -08:00
John Watson 56e58e2df0
Promote Jack Berg to maintainer (#4088)
and move Bogdan to "emeritus" status.
2022-01-14 09:12:35 +09:00
jack-berg 7c9234e1ae
Add missing internal disclaimers (#4086) 2022-01-13 14:00:12 -08:00
Anuraag Agrawal 5ff5f3f494
Apply spotless to buildSrc (#4079)
Co-authored-by: John Watson <jkwatson@gmail.com>
2022-01-12 14:56:53 -08:00
Anuraag Agrawal 6a91adcaf3
Remove outdated errorprone suppressions (#4080) 2022-01-12 13:14:33 -08:00
Beppe Catanese 286383b218
Single logger instance for invalid API call (#4073)
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
Co-authored-by: John Watson <jkwatson@gmail.com>
2022-01-12 13:16:09 +09:00
John Watson d5b66595d2
Reset the api diffs for the current workstream (#4078) 2022-01-12 09:12:32 +09:00
Roberto Cortez 7b570f53ce
Provide a way to register / skip the shutdown hook in AutoConfiguredOpenTelemetrySdkBuilder (#4072) 2022-01-11 09:46:53 -08:00
Anuraag Agrawal 89a6ff24cb
Update docs for 1.10.0 (#4068)
* Update docs for 1.10.0

* Revert hack

* Update CHANGELOG.md

* Update README.md

Co-authored-by: John Watson <jkwatson@gmail.com>
2022-01-10 18:34:08 -08:00
jack-berg 52fd24f4b1
Remove redundant compression configuration (#4074) 2022-01-11 11:13:20 +09:00
Roberto Cortez 07a2d2eb28
Customizer for SdkTracerProviderBuilder (#4004) 2022-01-08 11:18:38 +09:00
Anuraag Agrawal 03e0ad0660
Collect coverage on Java 17 PR build. (#4070) 2022-01-07 08:05:40 -08:00
Anuraag Agrawal 750611a673
Don't lookup IP address again in jaeger exporter assertion. (#4067) 2022-01-07 08:03:50 -08:00
jack-berg b318c94cdb
Port examples to opentelemetry-java-docs (#4058) 2022-01-07 16:00:35 +09:00
3267 changed files with 139221 additions and 66321 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 @bogdandrutu @carlosalberto @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

@ -0,0 +1,90 @@
#!/bin/bash -e
# shellcheck disable=SC2016
# shellcheck disable=SC2086
# 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
from=$(git log --reverse --pretty=format:"%cI" $from_version..HEAD | head -1)
# get the last commit on main that was included in the release
to=$(git merge-base origin/main HEAD | xargs git log -1 --pretty=format:"%cI")
contributors1=$(gh api graphql --paginate -F q="repo:$GITHUB_REPOSITORY is:pr base:main is:merged merged:$from..$to" -f query='
query($q: String!, $endCursor: String) {
search(query: $q, type: ISSUE, first: 100, after: $endCursor) {
edges {
node {
... on PullRequest {
author { login }
reviews(first: 100) {
nodes {
author { login }
}
}
comments(first: 100) {
nodes {
author { login }
}
}
closingIssuesReferences(first: 100) {
nodes {
author { login }
}
}
}
}
}
pageInfo {
hasNextPage
endCursor
}
}
}' --jq '.data.search.edges.[].node.author.login,
.data.search.edges.[].node.reviews.nodes.[].author.login,
.data.search.edges.[].node.comments.nodes.[].author.login,
.data.search.edges.[].node.closingIssuesReferences.nodes.[].author.login')
# this query captures authors of issues which have had PRs in the current range reference the issue
# but not necessarily through closingIssuesReferences (e.g. addressing just a part of an issue)
contributors2=$(gh api graphql --paginate -F q="repo:$GITHUB_REPOSITORY is:pr base:main is:merged merged:$from..$to" -f query='
query($q: String!, $endCursor: String) {
search(query: $q, type: ISSUE, first: 100, after: $endCursor) {
edges {
node {
... on PullRequest {
body
}
}
}
pageInfo {
hasNextPage
endCursor
}
}
}
' --jq '.data.search.edges.[].node.body' \
| 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/' \
| sed 's/^\["//' \
| sed 's/".*//')
echo $contributors1 $contributors2 \
| sed 's/ /\n/g' \
| sort -uf \
| grep -v linux-foundation-easycla \
| grep -v github-actions \
| 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

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

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

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

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

54
.github/workflows/backport.yml vendored Normal file
View File

@ -0,0 +1,54 @@
name: Backport
on:
workflow_dispatch:
inputs:
number:
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:
- 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: 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 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)
branch="otelbot/backport-${NUMBER}-to-${GITHUB_REF_NAME//\//-}"
git checkout -b $branch
git cherry-pick $commit
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." \
--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@v2.4.0
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Login to GitHub Package Registry
uses: docker/login-action@v1
- name: Login to GitHub package registry
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@v2.7.0
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
with:
context: integration-tests/tracecontext/docker
push: true

201
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,201 @@
name: Build
on:
push:
branches:
- main
- release/*
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
permissions:
contents: read
jobs:
build:
name: Build
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- macos-latest
- macos-13
- ubuntu-latest
- windows-latest
test-java-version:
- 8
- 11
- 17
- 21
- 23
# Collect coverage on latest LTS
include:
- 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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- id: setup-java-test
name: Set up Java ${{ matrix.test-java-version }} for tests
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@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
run: >
./gradlew build
${{ matrix.coverage && 'jacocoTestReport' || '' }}
-PtestJavaVersion=${{ matrix.test-java-version }}
"-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 }}
- 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@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: ${{ !startsWith(github.ref_name, 'release/') }}
uses: ./.github/workflows/reusable-markdown-link-check.yml
misspell-check:
# release branches are excluded to avoid unnecessary maintenance
if: ${{ !startsWith(github.ref_name, 'release/') }}
uses: ./.github/workflows/reusable-misspell-check.yml
publish-snapshots:
# the condition is on the steps below instead of here on the job, because skipping the job
# causes the job to show up as canceled in the GitHub UI which prevents the build section from
# collapsing when everything (else) is green
#
# and the name is updated when the steps below are skipped which makes what's happening clearer
# in the GitHub UI
#
# 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-24.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- id: setup-java
name: Set up Java
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
# 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' }}
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 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' ||
needs.build-graal.result != 'success'
run: exit 1

View File

@ -1,31 +0,0 @@
name: "Code Scanning - Action"
on:
workflow_dispatch:
schedule:
- cron: '30 1 * * *'
jobs:
CodeQL-Build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2.4.0
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: java
- name: Setup Java 17
uses: actions/setup-java@v2
with:
distribution: temurin
java-version: 17
- name: Autobuild
uses: github/codeql-action/autobuild@v1
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1

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

@ -0,0 +1,40 @@
name: Copy test container docker images (daily)
on:
schedule:
- cron: "23 3 * * *"
workflow_dispatch:
permissions:
contents: read
jobs:
copy-images:
permissions:
contents: read
packages: write
strategy:
matrix:
include:
- source: jaegertracing/all-in-one:1.32
target_image: jaeger:1.32
- source: otel/opentelemetry-collector-contrib:latest
target_image: otel-collector
- source: shopify/toxiproxy:latest
target_image: toxiproxy
- source: eclipse-temurin:17-jre-focal
target_image: openjdk17
runs-on: ubuntu-latest
steps:
- name: Docker login
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Copy image
# Non-debug image doesn't seem to support reading the .docker creds.
run: |
docker run --rm -v $HOME/.docker:/root/.docker gcr.io/go-containerregistry/crane:debug \
cp ${{ matrix.source }} ghcr.io/open-telemetry/opentelemetry-java/${{ matrix.target_image }}

View File

@ -1,33 +0,0 @@
name: Copy test container docker images
on:
schedule:
- cron: "23 3 * * *"
workflow_dispatch:
jobs:
copy-images:
strategy:
matrix:
include:
- source: jaegertracing/all-in-one:1.17
target_image: jaeger
- source: otel/opentelemetry-collector-contrib:latest
target_image: otel-collector
- source: shopify/toxiproxy:latest
target_image: toxiproxy
- source: eclipse-temurin:8-jdk
target_image: openjdk8
runs-on: ubuntu-latest
steps:
- name: Docker login
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Pull and push
run: |
docker pull ${{ matrix.source }}
docker tag ${{ matrix.source }} ghcr.io/open-telemetry/opentelemetry-java/${{ matrix.target_image }}
docker push ghcr.io/open-telemetry/opentelemetry-java/${{ matrix.target_image }}

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,10 +1,16 @@
name: "Validate Gradle Wrapper"
on: [push, pull_request]
name: Gradle wrapper validation
on:
push:
pull_request:
permissions:
contents: read
jobs:
validation:
name: "Gradle wrapper validation"
gradle-wrapper-validation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.4.0
- uses: gradle/wrapper-validation-action@v1
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- 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,86 +0,0 @@
name: "Continuous Build"
on:
push:
branches:
- main
jobs:
build:
name: Build
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- macos-latest
- ubuntu-20.04
test-java-version:
- 8
- 11
- 17
include:
- os: ubuntu-20.04
test-java-version: 17
coverage: true
steps:
- uses: actions/checkout@v2.4.0
with:
fetch-depth: 0
- id: setup-java-8
name: Setup Java 8 for tests
uses: actions/setup-java@v2
with:
distribution: temurin
java-version: 8
java-package: jre
- id: setup-java-11
name: Setup Java 11 for tests
uses: actions/setup-java@v2
with:
distribution: temurin
java-version: 11
- id: setup-java-17
name: Setup Java 17
uses: actions/setup-java@v2
with:
distribution: temurin
java-version: 17
- uses: gradle/gradle-build-action@v2
with:
arguments: |
build
--stacktrace
${{ matrix.coverage && 'jacocoTestReport' || '' }}
-PtestJavaVersion=${{ matrix.test-java-version }}
-Porg.gradle.java.installations.paths=${{ steps.setup-java-8.outputs.path }},${{ steps.setup-java-11.outputs.path }},${{ steps.setup-java-17.outputs.path }}
- uses: codecov/codecov-action@v2.1.0
if: ${{ matrix.coverage }}
- uses: actions/upload-artifact@v2
if: ${{ matrix.coverage }}
with:
name: coverage-report
path: all/build/reports/jacoco/test/html
publish-snapshots:
name: Publish snapshots
if: ${{ github.event_name == 'push' && github.repository == 'open-telemetry/opentelemetry-java' }}
needs: build
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2.4.0
with:
fetch-depth: 0
- id: setup-java-11
name: Setup Java 11
uses: actions/setup-java@v2
with:
distribution: temurin
java-version: 17
- uses: gradle/gradle-build-action@v2
with:
arguments: snapshot --stacktrace
env:
SONATYPE_USER: ${{ secrets.SONATYPE_USER }}
SONATYPE_KEY: ${{ secrets.SONATYPE_KEY }}
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
GPG_PASSWORD: ${{ secrets.GPG_PASSWORD }}

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

@ -1,89 +0,0 @@
# Releases a patch by cherrypicking commits into a release branch based on the previous
# release tag.
name: Patch Release Build
on:
workflow_dispatch:
inputs:
version:
description: The version to tag the release with, e.g., 1.2.1, 1.2.2
required: true
commits:
description: Comma separated list of commit shas to cherrypick, leave blank if changes have already been merged into the release branch
required: false
jobs:
prepare-release-branch:
runs-on: ubuntu-20.04
outputs:
release-branch-name: ${{ steps.parse-release-branch.outputs.release-branch-name }}
steps:
- id: parse-release-branch
name: Parse release branch name
run: |
# Sets the release-branch-name output to the version number with the last non-period element replaced with an 'x' and preprended with v.
echo "::set-output name=release-branch-name::$(echo '${{ github.event.inputs.version }}' | sed -E 's/([^.]+)\.([^.]+)\.([^.]+)/v\1.\2.x/')"
# Sets the release-tag-name output to the version number with the last non-period element replace with a '0' and prepended with v
echo "::set-output name=release-tag-name::$(echo '${{ github.event.inputs.version }}' | sed -E 's/([^.]+)\.([^.]+)\.([^.]+)/v\1.\2.0/')"
- id: checkout-release-branch
name: Check out release branch
continue-on-error: true
uses: actions/checkout@v2.4.0
with:
ref: ${{ steps.parse-release-branch.outputs.release-branch-name }}
- id: checkout-release-tag
name: Check out release tag
if: ${{ steps.checkout-release-branch.outcome == 'failure' }}
uses: actions/checkout@v2.4.0
with:
ref: ${{ steps.parse-release-branch.outputs.release-tag-name }}
- name: Create release branch
if: ${{ steps.checkout-release-tag.outcome == 'success' }}
run: |
git checkout -b ${{ steps.parse-release-branch.outputs.release-branch-name }}
git push --set-upstream origin ${{ steps.parse-release-branch.outputs.release-branch-name }}
build:
runs-on: ubuntu-20.04
needs: prepare-release-branch
steps:
- name: Checkout release branch
uses: actions/checkout@v2.4.0
with:
ref: ${{ needs.prepare-release-branch.outputs.release-branch-name }}
- uses: actions/setup-java@v2
with:
distribution: temurin
java-version: 17
- name: Setup git name
run: |
git config user.name github-actions
git config user.email github-actions@github.com
- name: Cherrypicks
if: ${{ github.event.inputs.commits != '' }}
run: |
git fetch origin main
echo ${{ github.event.inputs.commits }} | sed -n 1'p' | tr ',' '\n' | while read word; do
# Trim whitespaces and cherrypick
echo $word | sed 's/ *$//g' | sed 's/^ *//g' | git cherry-pick --stdin
done
- uses: gradle/gradle-build-action@v2
with:
arguments: |
build
--stacktrace
-Prelease.version=${{ github.event.inputs.version }}
- uses: gradle/gradle-build-action@v2
name: Publish artifacts
with:
arguments: |
final
closeAndReleaseSonatypeStagingRepository
--stacktrace
-Prelease.version=${{ github.event.inputs.version }}
env:
GRGIT_USER: ${{ github.actor }}
GRGIT_PASS: ${{ secrets.GITHUB_TOKEN }}
SONATYPE_USER: ${{ secrets.SONATYPE_USER }}
SONATYPE_KEY: ${{ secrets.SONATYPE_KEY }}
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
GPG_PASSWORD: ${{ secrets.GPG_PASSWORD }}
- run: git push

View File

@ -1,64 +0,0 @@
name: "PR Build"
on:
pull_request:
branches:
- main
- v*
jobs:
build:
name: Build
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- macos-latest
- ubuntu-20.04
test-java-version:
- 8
- 11
- 17
include:
- os: ubuntu-20.04
test-java-version: 11
coverage: true
steps:
- uses: actions/checkout@v2.4.0
with:
fetch-depth: 0
- id: setup-java-8
name: Setup Java 8 for tests
uses: actions/setup-java@v2
with:
distribution: temurin
java-version: 8
java-package: jre
- id: setup-java-11
name: Setup Java 11 for tests
uses: actions/setup-java@v2
with:
distribution: temurin
java-version: 11
- id: setup-java-17
name: Setup Java 17
uses: actions/setup-java@v2
with:
distribution: temurin
java-version: 17
- uses: gradle/gradle-build-action@v2
with:
arguments: |
build
--stacktrace
${{ matrix.coverage && 'jacocoTestReport' || '' }}
-PtestJavaVersion=${{ matrix.test-java-version }}
-Porg.gradle.java.installations.paths=${{ steps.setup-java-8.outputs.path }},${{ steps.setup-java-11.outputs.path }},${{ steps.setup-java-16.outputs.path }},${{ steps.setup-java-17.outputs.path }}
- uses: codecov/codecov-action@v2.1.0
if: ${{ matrix.coverage }}
- uses: actions/upload-artifact@v2
if: ${{ matrix.coverage }}
with:
name: coverage-report
path: all/build/reports/jacoco/test/html

View File

@ -1,29 +0,0 @@
name: "PR Examples Build"
on:
pull_request:
branches:
- main
paths:
- 'examples/**'
jobs:
build:
name: Build
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- macos-latest
- ubuntu-20.04
steps:
- uses: actions/checkout@v2.4.0
- name: Setup Java 17
uses: actions/setup-java@v2
with:
distribution: temurin
java-version: 17
- uses: gradle/gradle-build-action@v2
with:
arguments: clean check shadowJar
build-root-directory: examples
- run: java -cp examples/sdk-usage/build/libs/opentelemetry-examples-sdk-usage-0.1.0-SNAPSHOT-all.jar io.opentelemetry.sdk.example.ConfigureSpanProcessorExample

View File

@ -0,0 +1,69 @@
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@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
major_minor="${BASH_REMATCH[1]}"
patch="${BASH_REMATCH[2]}"
else
echo "unexpected version: $version"
exit 1
fi
echo "VERSION=$major_minor.$((patch + 1))" >> $GITHUB_ENV
- name: Update version
run: .github/scripts/update-version.sh $VERSION
- 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 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="otelbot/prepare-release-${VERSION}"
git checkout -b $branch
git commit -a -m "$message"
git push --set-upstream origin $branch
gh pr create --title "[$GITHUB_REF_NAME] $message" \
--body "$message." \
--base $GITHUB_REF_NAME

View File

@ -0,0 +1,138 @@
name: Prepare release branch
on:
workflow_dispatch:
permissions:
contents: read
jobs:
prereqs:
runs-on: ubuntu-latest
steps:
- 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
run: |
version=$(.github/scripts/get-version.sh)
version=${version//-SNAPSHOT/}
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
echo "VERSION=$version" >> $GITHUB_ENV
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
- 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 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="otelbot/prepare-release-${VERSION}"
git checkout -b $branch
git commit -a -m "$message"
git push --set-upstream origin $branch
gh pr create --title "[$RELEASE_BRANCH_NAME] $message" \
--body "$message." \
--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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set environment variables
run: |
version=$(.github/scripts/get-version.sh)
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
echo "NEXT_VERSION=${next_version}" >> $GITHUB_ENV
echo "VERSION=$version" >> $GITHUB_ENV
- name: Update version
run: .github/scripts/update-version.sh $NEXT_VERSION
- 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 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="otelbot/update-version-to-${NEXT_VERSION}"
git checkout -b $branch
git commit -a -m "$message"
git push --set-upstream origin $branch
gh pr create --title "$message" \
--body "$body" \
--base main

View File

@ -1,40 +0,0 @@
# Releases a new minor / major version from the HEAD of the main branch
name: Release Build
on:
workflow_dispatch:
inputs:
version:
description: The version to tag the release with, e.g., 1.2.0, 1.2.1-alpha.1
required: true
jobs:
build:
name: Build and release
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2.4.0
- uses: actions/setup-java@v2
with:
distribution: temurin
java-version: 17
- uses: gradle/gradle-build-action@v2
with:
arguments: |
build
--stacktrace
-Prelease.version=${{ github.event.inputs.version }}
- uses: gradle/gradle-build-action@v2
name: Publish artifacts
with:
arguments: |
final
closeAndReleaseSonatypeStagingRepository
--stacktrace
-Prelease.version=${{ github.event.inputs.version }}
env:
GRGIT_USER: ${{ github.actor }}
GRGIT_PASS: ${{ secrets.GITHUB_TOKEN }}
SONATYPE_USER: ${{ secrets.SONATYPE_USER }}
SONATYPE_KEY: ${{ secrets.SONATYPE_KEY }}
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
GPG_PASSWORD: ${{ secrets.GPG_PASSWORD }}

221
.github/workflows/release.yml vendored Normal file
View File

@ -0,0 +1,221 @@
name: Release
on:
workflow_dispatch:
permissions:
contents: read
jobs:
release:
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 this workflow should only be run against release branches
exit 1
fi
- 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: Build and publish artifacts
run: ./gradlew assemble publishToSonatype closeAndReleaseSonatypeStagingRepository
env:
SONATYPE_USER: ${{ secrets.SONATYPE_USER }}
SONATYPE_KEY: ${{ secrets.SONATYPE_KEY }}
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
GPG_PASSWORD: ${{ secrets.GPG_PASSWORD }}
- name: Set environment variables
run: |
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 "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:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
# conditional blocks not indented because of the heredoc
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
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 >> /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 >> /tmp/release-notes.txt
fi
- id: create-github-release
name: Create GitHub release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release create --target $GITHUB_REF_NAME \
--title "Version $VERSION" \
--notes-file /tmp/release-notes.txt \
v$VERSION
# 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:
VERSION: ${{ needs.release.outputs.version }}
run: |
sed -n "0,/^## Version $VERSION /d;/^## Version /q;p" CHANGELOG.md \
> /tmp/changelog-section.md
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
ref: main
- name: Merge change log to main
env:
VERSION: ${{ needs.release.outputs.version }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
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
- 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

@ -0,0 +1,24 @@
name: Reusable - Markdown link check
on:
workflow_call:
permissions:
contents: read
jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- 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

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

View File

@ -0,0 +1,24 @@
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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Open issue
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh issue create --title "$GITHUB_WORKFLOW #$GITHUB_RUN_NUMBER failed" \
--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,31 +16,30 @@ 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
Continuous integration builds the project, runs the tests, and runs multiple
types of static analysis.
Continuous integration builds the project, runs the tests, and runs multiple types of static
analysis.
1. Note: Currently, to run the full suite of tests, you'll need to be running a docker daemon.
The tests that require docker are disabled if docker is not present. If you wish to run them,
you must run a local docker daemon.
1. Note: Currently, to run the full suite of tests, you'll need to be running a docker daemon. The
tests that require docker are disabled if docker is not present. If you wish to run them, you
must run a local docker daemon.
2. Clone the repository
`git clone https://github.com/open-telemetry/opentelemetry-java.git`
`git clone https://github.com/open-telemetry/opentelemetry-java.git`
3. Run the following commands to build, run tests and most static analysis, and
check formatting:
3. Run the following commands to build, run tests and most static analysis, and check formatting:
`./gradlew build`
`./gradlew build`
4. If you are a Windows user, use the alternate command mentioned below to run tests and
check formatting:
4. If you are a Windows user, use the alternate command mentioned below to run tests and check
formatting:
`gradlew.bat`
`gradlew.bat`
## Checks
@ -51,91 +50,156 @@ with the `check` task.
$ ./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.
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 (i.e.
add those files to your commits in the PR).
## PR Review
After you submit a PR, it will be reviewed by the project maintainers and approvers. Not all maintainers need to review a
particular PR, but merging to the base branch is authorized to restricted members (administrators).
After you submit a PR, it will be reviewed by the project maintainers and approvers. Not all
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 build will fail if source code is not formatted according to that style. To fix any
style failures the above [checks](#checks) show, automatically apply the formatting with:
We follow the [Google Java Style Guide](https://google.github.io/styleguide/javaguide.html). Our
build will fail if source code is not formatted according to that style. To fix any style failures
the above [checks](#checks) show, automatically apply the formatting with:
```bash
$ ./gradlew spotlessApply
```
To verify code style manually run the following command,
which uses [google-java-format](https://github.com/google/google-java-format) library:
To verify code style manually run the following command, which
uses [google-java-format](https://github.com/google/google-java-format) library:
`./gradlew spotlessCheck`
### Best practices that we follow
* This project uses [semantic versioning](https://semver.org/). Except for major versions, a user should be able to update
their dependency version on this project and have nothing break. This means we do not make breaking
changes to the API (e.g., remove a public method) or to the ABI (e.g., change return type from void to non-void).
* This project uses [semantic versioning](https://semver.org/). Except for major versions, a user
should be able to update their dependency version on this project and have nothing break. This
means we do not make breaking changes to the API (e.g., remove a public method) or to the ABI (
e.g., change return type from void to non-void).
* Avoid exposing publicly any class/method/variable that don't need to be public.
* By default, all arguments/members are treated as non-null. Every argument/member that can be `null` must be annotated with `@Nullable`.
* The project aims to provide a consistent experience across all the public APIs. It is important to ensure consistency (same look and feel) across different public packages.
* Use `final` for public classes everywhere it is possible, this ensures that these classes cannot be extended when the API does not intend to offer that functionality.
* By default, all arguments/members are treated as non-null. Every argument/member that can
be `null` must be annotated with `@Nullable`.
* The project aims to provide a consistent experience across all the public APIs. It is important to
ensure consistency (same look and feel) across different public packages.
* Use `final` for public classes everywhere it is possible, this ensures that these classes cannot
be extended when the API does not intend to offer that functionality.
* In general, we use the following ordering of class members:
* Static fields (final before non-final)
* Instance fields (final before non-final)
* Constructors
* In static utility classes (where all members are static), the private constructor
(used to prevent construction) should be ordered after methods instead of before methods.
* Methods
* If methods call each other, it's nice if the calling method is ordered (somewhere) above
the method that it calls. So, for one example, a private method would be ordered (somewhere) below
the non-private methods that use it.
* Nested classes
* 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.
* Static fields (final before non-final)
* Instance fields (final before non-final)
* Constructors
* In static utility classes (where all members are static), the private constructor
(used to prevent construction) should be ordered after methods instead of before methods.
* Methods
* If methods call each other, it's nice if the calling method is ordered (somewhere) above the
method that it calls. So, for one example, a private method would be ordered (somewhere) below
the non-private methods that use it.
* Nested classes
* 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();
If you notice any practice being applied in the project consistently that isn't listed here, please consider a pull request to add it.
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.
### Pre-commit hook
To completely delegate code style formatting to the machine,
you can add [git pre-commit hook](https://git-scm.com/docs/githooks).
We provide an example script in `buildscripts/pre-commit` file.
Just copy or symlink it into `.git/hooks` folder.
To completely delegate code style formatting to the machine, you can
add [git pre-commit hook](https://git-scm.com/docs/githooks). We provide an example script
in `buildscripts/pre-commit` file. Just copy or symlink it into `.git/hooks` folder.
### Editorconfig
As additional convenience for IntelliJ Idea users, we provide `.editorconfig` file.
Idea will automatically use it to adjust its code formatting settings.
It does not support all required rules, so you still have to run `spotlessApply` from time to time.
As additional convenience for IntelliJ Idea users, we provide `.editorconfig` file. Idea will
automatically use it to adjust its code formatting settings. It does not support all required rules,
so you still have to run `spotlessApply` from time to time.
### Javadoc
* All public classes and their public and protected methods MUST have javadoc.
It MUST be complete (all params documented etc.) Everything else
(package-protected classes, private) MAY have javadoc, at the code writer's
whim. It does not have to be complete, and reviewers are not allowed to
require or disallow it.
* Each API element should have a `@since` tag specifying the minor version when
it was released (or the next minor version).
* All public classes and their public and protected methods MUST have javadoc. It MUST be complete (
all params documented etc.) Everything else
(package-protected classes, private) MAY have javadoc, at the code writer's whim. It does not have
to be complete, and reviewers are not allowed to require or disallow it.
* Each API element should have a `@since` tag specifying the minor version when it was released (or
the next minor version).
* There MUST be NO javadoc errors.
* See [section
7.3.1](https://google.github.io/styleguide/javaguide.html#s7.3.1-javadoc-exception-self-explanatory)
in the guide for exceptions to the Javadoc requirement.
* Reviewers may request documentation for any element that doesn't require
Javadoc, though the style of documentation is up to the author.
* Try to do the least amount of change when modifying existing documentation.
Don't change the style unless you have a good reason.
See [section 7.3.1](https://google.github.io/styleguide/javaguide.html#s7.3.1-javadoc-exception-self-explanatory)
in the guide for exceptions to the Javadoc requirement.
* Reviewers may request documentation for any element that doesn't require Javadoc, though the style
of documentation is up to the author.
* Try to do the least amount of change when modifying existing documentation. Don't change the style
unless you have a good reason.
* We do not use `@author` tags in our javadoc.
* Our javadoc is available via [javadoc.io}(https://javadoc.io/doc/io.opentelemetry/opentelemetry-api)
* 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 value classes. Remember to add package-private
constructors to all AutoValue classes to prevent classes in other packages
from extending them.
* Use [AutoValue](https://github.com/google/auto/tree/master/value), when possible, for any new
value classes. Remember to add package-private constructors to all AutoValue classes to prevent
classes in other packages from extending them.
### Unit Tests
@ -145,35 +209,31 @@ It does not support all required rules, so you still have to run `spotlessApply`
### Updating the Snapshot build number
The overall version number for opentelemetry-java is determined from git tags, and not fixed in any file.
The overall version number for opentelemetry-java is determined from git tags, and not fixed in any
file.
This means it will not update, even if you `git pull` from the repo tip. It will still produce a set of libraries with the old version number.
This means it will not update, even if you `git pull` from the repo tip. It will still produce a set
of libraries with the old version number.
To update it, you must fetch the tags, via `git fetch --all --tags` - which should work, even if you have forked the repo, as long as the trunk repo is set as an upstream remote.
### Updating OTLP proto dependency version
The OTLP proto dependency version is defined [here](proto/build.gradle). To bump the version,
1. Find the latest release version [here](https://github.com/open-telemetry/opentelemetry-proto/releases/latest)
2. Download the zip source code archive
3. Run `shasum -a 256 ~/path/to/downloaded.zip` to compute its checksum
4. Update `protoVersion` and `protoChecksum` in the build file with the new version and checksum
To update it, you must fetch the tags, via `git fetch --all --tags` - which should work, even if you
have forked the repo, as long as the trunk repo is set as an upstream remote.
### Composing builds
Beware that this section is only meant for developers of opentelemetry-java, or closely related projects.
The steps described here could change at any time and what you do for one version (commit) may break
with the next one already.
Beware that this section is only meant for developers of opentelemetry-java, or closely related
projects. The steps described here could change at any time and what you do for one version (commit)
may break with the next one already.
Gradle provides a feature called ["composite builds"](https://docs.gradle.org/current/userguide/composite_builds.html)
Gradle provides a feature
called ["composite builds"](https://docs.gradle.org/current/userguide/composite_builds.html)
that allows to replace some normally externally provided dependencies with a project that is built
(included) in the same Gradle invocation. This can be useful to quickly test a new feature or bug fix you are
developing in opentelemetry-java with the examples or the app or instrumentation library where you
need the feature or run into the bug. Unfortunately, opentelemetry-java does not work out of the box
with this feature because Gradle is unable to map the project names to the customized artifact
coordinates (see e.g. [gradle/gradle#18291](https://github.com/gradle/gradle/issues/18291)
and related issues. However, gradle supports manually declaring the mapping between ("substitution of")
(included) in the same Gradle invocation. This can be useful to quickly test a new feature or bug
fix you are developing in opentelemetry-java with the examples or the app or instrumentation library
where you need the feature or run into the bug. Unfortunately, opentelemetry-java does not work out
of the box with this feature because Gradle is unable to map the project names to the customized
artifact coordinates (see e.g. [gradle/gradle#18291](https://github.com/gradle/gradle/issues/18291)
and related issues. However, gradle supports manually declaring the mapping between ("substitution
of")
artifact coordinates and project names. To ease this tedious task, opentelemetry-java provides a
gradle task `:generateBuildSubstitutions` that generates a code snippet with these substitutions in
kts (Kotlin Script) format.
@ -197,9 +257,26 @@ 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.
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 `/`).
### Updating the OTLP protobufs
OTLP protobuf Java bindings are published via
the [opentelemetry-proto-java](https://github.com/open-telemetry/opentelemetry-proto-java)
repository. This project does not use the java bindings, but does use the `.proto` files that are
published in the binding jar by that project.
To update the OTLP protobuf version,
first [release a new version of the java bindings](https://github.com/open-telemetry/opentelemetry-proto-java/blob/main/RELEASING.md)
then simply update the dependency version that this project has on that jar.

494
README.md
View File

@ -1,247 +1,307 @@
# 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 from the [examples](examples) directory.
* 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][].
> [!IMPORTANT]
> We are currently seeking additional contributors! See [help wanted](#help-wanted) for details.
Would you like to get involved with the project? Read our [contributing guide](CONTRIBUTING.md). We welcome
contributions!
## 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.
See [contributing](#contributing) for details on building this project locally.
## Releases
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).
See [releases](https://github.com/open-telemetry/opentelemetry-java/releases) for a listing of
released versions and notes (see also [changelog](CHANGELOG.md)).
## Artifacts
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>
<groupId>io.opentelemetry</groupId>
<artifactId>{{artifact-id}}</artifactId>
</dependency>
```
</details>
### Snapshots
Snapshots of the `main` branch are available as follows:
<details open>
<summary>Gradle</summary>
```groovy
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>
<details>
<summary>Maven</summary>
```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>
## Compatibility
Artifacts from this repository follow semantic versioning.
Stable artifacts (i.e. artifacts without `-alpha` version suffix) come with strong backwards
compatibility guarantees for public APIs.
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.
See the [VERSIONING.md](VERSIONING.md) for complete details on compatibility policy.
## Contacting us
We hold regular meetings. See details at [community page](https://github.com/open-telemetry/community#java-sdk).
To report a bug, or request a new feature,
please [open an issue](https://github.com/open-telemetry/opentelemetry-java/issues/new/choose).
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/).
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.
## 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.
* [examples](examples/) on how to use the APIs, SDK, and standard exporters.
This project publishes a lot of artifacts. The easiest way to see the most recent stable artifacts is to use the
[`opentelemetry-bom`](https://mvnrepository.com/artifact/io.opentelemetry/opentelemetry-bom). Unstable artifacts are referenced by
the [`opentelemetry-alpha-bom`](https://mvnrepository.com/artifact/io.opentelemetry/opentelemetry-bom-alpha).
We would love to hear from the larger community: please provide feedback proactively.
## Requirements
Unless otherwise noted, all published artifacts support Java 8 or higher. 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.9.1</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.9.1")
implementation('io.opentelemetry:opentelemetry-api')
}
```
Note that if you want to use any artifacts that have not fully stabilized yet (such as metrics), 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.9.1")
implementation platform('io.opentelemetry:opentelemetry-bom-alpha:1.9.1-alpha')
implementation('io.opentelemetry:opentelemetry-api')
implementation('io.opentelemetry:opentelemetry-api-metrics')
}
```
## 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.10.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.10.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).
## Releases
See the [VERSIONING.md](VERSIONING.md) document for our policies for releases and compatibility
guarantees.
Check out information about the [latest release](https://github.com/open-telemetry/opentelemetry-java/releases).
This is a **current** feature status list:
| Component | Version |
| --------------------------- | ------- |
| Trace API | v<!--VERSION_STABLE-->1.9.1<!--/VERSION_STABLE--> |
| Trace SDK | v<!--VERSION_STABLE-->1.9.1<!--/VERSION_STABLE--> |
| Context | v<!--VERSION_STABLE-->1.9.1<!--/VERSION_STABLE--> |
| Baggage | v<!--VERSION_STABLE-->1.9.1<!--/VERSION_STABLE--> |
| Jaeger Trace Exporter | v<!--VERSION_STABLE-->1.9.1<!--/VERSION_STABLE--> |
| Zipkin Trace Exporter | v<!--VERSION_STABLE-->1.9.1<!--/VERSION_STABLE--> |
| OTLP Exporter (Spans) | v<!--VERSION_STABLE-->1.9.1<!--/VERSION_STABLE--> |
| OTLP Exporter (Metrics) | v<!--VERSION_UNSTABLE-->1.9.1-alpha<!--/VERSION_UNSTABLE--> |
| Metrics API | v<!--VERSION_UNSTABLE-->1.9.1-alpha<!--/VERSION_UNSTABLE--> |
| Metrics SDK | v<!--VERSION_UNSTABLE-->1.9.1-alpha<!--/VERSION_UNSTABLE--> |
| Logs SDK | v<!--VERSION_UNSTABLE-->1.9.1-alpha<!--/VERSION_UNSTABLE--> |
| Prometheus Metrics Exporter | v<!--VERSION_UNSTABLE-->1.9.1-alpha<!--/VERSION_UNSTABLE--> |
| OpenTracing Bridge | v<!--VERSION_UNSTABLE-->1.9.1-alpha<!--/VERSION_UNSTABLE--> |
| OpenCensus Bridge | v<!--VERSION_UNSTABLE-->1.9.1-alpha<!--/VERSION_UNSTABLE--> |
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.
## 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
### Maintainers
- [Armin Ruech](https://github.com/arminru), Dynatrace
- [Pavol Loffay](https://github.com/pavolloffay), Traceable.ai
- [Tyler Benson](https://github.com/tylerbenson), DataDog
- [Giovanni Liva](https://github.com/thisthat), Dynatrace
- [Christian Neumüller](https://github.com/Oberon00), Dynatrace
- [Carlos Alberto](https://github.com/carlosalberto), LightStep
- [Jakub Wach](https://github.com/kubawach), Splunk
- [Jack Berg](https://github.com/jack-berg), New Relic
- [John Watson](https://github.com/jkwatson), Verta.ai
For more information about the maintainer role, see the [community repository](https://github.com/open-telemetry/community/blob/main/guides/contributor/membership.md#maintainer).
### Approvers
- [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
*Find more about the approver role in [community repository](https://github.com/open-telemetry/community/blob/master/community-membership.md#approver).*
For more information about the approver role, see the [community repository](https://github.com/open-telemetry/community/blob/main/guides/contributor/membership.md#approver).
Maintainers ([@open-telemetry/java-maintainers](https://github.com/orgs/open-telemetry/teams/java-maintainers)):
### Triagers
- [Bogdan Drutu](https://github.com/BogdanDrutu), Splunk
- [John Watson](https://github.com/jkwatson), Splunk
- [Anuraag Agrawal](https://github.com/anuraaga), AWS
- [Gregor Zeitlinger](https://github.com/zeitlinger), Grafana Labs
*Find more about the maintainer role in [community repository](https://github.com/open-telemetry/community/blob/master/community-membership.md#maintainer).*
For more information about the triager role, see the [community repository](https://github.com/open-telemetry/community/blob/main/guides/contributor/membership.md#triager).
### Thanks to all the people who have contributed
### Emeritus
[![contributors](https://contributors-img.web.app/image?repo=open-telemetry/opentelemetry-java)](https://github.com/open-telemetry/opentelemetry-java/graphs/contributors)
- 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 alt="Repo contributors" src="https://contrib.rocks/image?repo=open-telemetry/opentelemetry-java" />
</a>
[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.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

@ -1,116 +1,96 @@
# OpenTelemetry Release Process
## Starting the Release
Before releasing, it is a good idea to run `./gradlew japicmp` on the main branch and verify that
there are no unexpected public API changes seen in the `docs/apidiffs/current_vs_latest`
directory. Additionally, ensure that appropriate `@since` annotations are added to any additions to
the public APIs.
Before releasing, it is a good idea to run `./gradlew japicmp` on the main branch
and verify that there are no unexpected public API changes seen in the `docs/apidiffs/current_vs_latest`
directory.
When preparing the change log, you can use
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.
Open the release build workflow in your browser [here](https://github.com/open-telemetry/opentelemetry-java/actions/workflows/release-build.yml).
## Release cadence
You will see a button that says "Run workflow". Press the button, enter the version number you want
to release in the input field that pops up, and then press "Run workflow".
This repository roughly targets monthly minor releases from the `main` branch on the Friday after
the first Monday of the month.
This triggers the release process, which builds the artifacts. It will not automatically update the
documentation, because the Github Actions cannot push changes to the main branch.
## Preparing a new major or minor release
## Announcement
* Close the release milestone if there is one.
* Merge a pull request to `main` updating the `CHANGELOG.md`.
* 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).
* 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`).
Once the GitHub workflow completes, go to Github [release
page](https://github.com/open-telemetry/opentelemetry-java/releases), press
`Draft a new release` to write release notes about the new release. If there is already a draft
release notes, just point it at the created tag.
## Preparing a new patch release
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.
All patch releases should include only bug-fixes, and must avoid adding/modifying the public APIs.
In addition, you can refer to
[CHANGELOG.md](https://github.com/open-telemetry/opentelemetry-java/blob/main/CHANGELOG.md)
for a list of major changes since last release.
In general, patch releases are only made for regressions, security vulnerabilities, memory leaks
and deadlocks.
## Update release versions in documentations and CHANGELOG files
* Backport pull request(s) to the release branch.
* Run the [Backport workflow](https://github.com/open-telemetry/opentelemetry-java/actions/workflows/backport.yml).
* Press the "Run workflow" button, then select the release branch from the dropdown list,
e.g. `release/v1.9.x`, then enter the pull request number that you want to backport,
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 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 for updating the version.
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.
## Making the release
```
./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.
Next, update the
[CHANGELOG.md](https://github.com/open-telemetry/opentelemetry-java/blob/main/CHANGELOG.md).
Create a PR to mark the new release in README.md and CHANGELOG.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-java-docs/tree/main/website_docs
## Patch Release
All patch releases should include only bug-fixes, and must avoid
adding/modifying the public APIs.
Open the patch release build workflow in your browser [here](https://github.com/open-telemetry/opentelemetry-java/actions/workflows/patch-release-build.yml).
You will see a button that says "Run workflow". Press the button, enter the version number you want
to release in the input field for version that pops up and the commits you want to cherrypick for the
patch as a comma-separated list. Then, press "Run workflow".
If the commits cannot be cleanly applied to the release branch, for example because it has diverged
too much from main, then the workflow will fail before building. In this case, you will need to
prepare the release branch manually.
This example will assume patching into release branch `v1.2.x` from a git repository with remotes
named `origin` and `upstream`.
```
$ git remote -v
origin git@github.com:username/opentelemetry-java.git (fetch)
origin git@github.com:username/opentelemetry-java.git (push)
upstream git@github.com:open-telemetry/opentelemetry-java.git (fetch)
upstream git@github.com:open-telemetry/opentelemetry-java.git (push)
```
First, checkout the release branch
```
git fetch upstream v1.2.x
git checkout upstream/v1.2.x
```
Apply cherrypicks manually and commit. It is ok to apply multiple cherrypicks in a single commit.
Use a commit message such as "Manual cherrypick for commits commithash1, commithash2".
After commiting the change, push to your fork's branch.
```
git push origin v1.2.x
```
Create a PR to have code review and merge this into upstream's release branch. As this was not
applied automatically, we need to do code review to make sure the manual cherrypick is correct.
After it is merged, Run the patch release workflow again, but leave the commits input field blank.
The release will be made with the current state of the release branch, which is what you prepared
above.
* 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,18 +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.
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

@ -0,0 +1,56 @@
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.api.trace;
import java.util.concurrent.TimeUnit;
import org.openjdk.jmh.annotations.Benchmark;
import org.openjdk.jmh.annotations.BenchmarkMode;
import org.openjdk.jmh.annotations.Fork;
import org.openjdk.jmh.annotations.Measurement;
import org.openjdk.jmh.annotations.Mode;
import org.openjdk.jmh.annotations.OutputTimeUnit;
import org.openjdk.jmh.annotations.Warmup;
@BenchmarkMode(Mode.AverageTime)
@Fork(1)
@Measurement(iterations = 15, time = 1)
@OutputTimeUnit(TimeUnit.NANOSECONDS)
@Warmup(iterations = 5, time = 1)
public class TraceStateBenchmark {
@Benchmark
public TraceState oneItem() {
TraceStateBuilder builder = TraceState.builder();
builder.put("key1", "val");
return builder.build();
}
@Benchmark
public TraceState fiveItems() {
TraceStateBuilder builder = TraceState.builder();
builder.put("key1", "val");
builder.put("key2", "val");
builder.put("key3", "val");
builder.put("key4", "val");
builder.put("key5", "val");
return builder.build();
}
@Benchmark
public TraceState fiveItemsWithRemoval() {
TraceStateBuilder builder = TraceState.builder();
builder.put("key1", "val");
builder.put("key2", "val");
builder.put("key3", "val");
builder.remove("key2");
builder.remove("key3");
builder.put("key2", "val");
builder.put("key3", "val");
builder.put("key4", "val");
builder.put("key5", "val");
return builder.build();
}
}

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;
@ -27,19 +30,35 @@ import javax.annotation.concurrent.ThreadSafe;
* <p>If using the OpenTelemetry SDK, you may want to instantiate the {@link OpenTelemetry} to
* provide configuration, for example of {@code Resource} or {@code Sampler}. See {@code
* OpenTelemetrySdk} and {@code OpenTelemetrySdk.builder} for information on how to construct the
* SDK {@link OpenTelemetry}.
* SDK's {@link OpenTelemetry} implementation.
*
* <p>WARNING: Due to the inherent complications around initialization order involving this class
* and its single global instance, we strongly recommend *not* using GlobalOpenTelemetry unless you
* have a use-case that absolutely requires it. Please favor using instances of OpenTelemetry
* wherever possible.
*
* <p>If you are using the OpenTelemetry javaagent, it is generally best to only call
* GlobalOpenTelemetry.get() once, and then pass the resulting reference where you need to use it.
*
* @see TracerProvider
* @see ContextPropagators
*/
// We intentionally assign to be use for error reporting.
@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;
@ -98,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();
@ -106,44 +140,45 @@ public final class GlobalOpenTelemetry {
/**
* Gets or creates a named tracer instance from the globally registered {@link TracerProvider}.
*
* <p>This is a shortcut method for {@code getTracerProvider().get(instrumentationName)}
* <p>This is a shortcut method for {@code getTracerProvider().get(instrumentationScopeName)}
*
* @param instrumentationName The name of the instrumentation library, not the name of the
* instrument*ed* library (e.g., "io.opentelemetry.contrib.mongodb"). Must not be null.
* @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 tracer instance.
*/
public static Tracer getTracer(String instrumentationName) {
return get().getTracer(instrumentationName);
public static Tracer getTracer(String instrumentationScopeName) {
return get().getTracer(instrumentationScopeName);
}
/**
* Gets or creates a named and versioned tracer instance from the globally registered {@link
* TracerProvider}.
*
* <p>This is a shortcut method for {@code getTracerProvider().get(instrumentationName,
* instrumentationVersion)}
* <p>This is a shortcut method for {@code getTracerProvider().get(instrumentationScopeName,
* instrumentationScopeVersion)}
*
* @param instrumentationName The name of the instrumentation library, not the name of the
* instrument*ed* library (e.g., "io.opentelemetry.contrib.mongodb"). Must not be null.
* @param instrumentationVersion The version of the instrumentation library (e.g., "1.0.0").
* @param instrumentationScopeName A name uniquely identifying the instrumentation scope, such as
* the instrumentation library, package, or fully qualified class name. Must not be null.
* @param instrumentationScopeVersion The version of the instrumentation scope (e.g., "1.0.0").
* @return a tracer instance.
*/
public static Tracer getTracer(String instrumentationName, String instrumentationVersion) {
return get().getTracer(instrumentationName, instrumentationVersion);
public static Tracer getTracer(
String instrumentationScopeName, String instrumentationScopeVersion) {
return get().getTracer(instrumentationScopeName, instrumentationScopeVersion);
}
/**
* Creates a TracerBuilder for a named {@link Tracer} instance.
*
* <p>This is a shortcut method for {@code get().tracerBuilder(instrumentationName)}
* <p>This is a shortcut method for {@code get().tracerBuilder(instrumentationScopeName)}
*
* @param instrumentationName The name of the instrumentation library, not the name of the
* instrument*ed* library.
* @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 TracerBuilder instance.
* @since 1.4.0
*/
public static TracerBuilder tracerBuilder(String instrumentationName) {
return get().tracerBuilder(instrumentationName);
public static TracerBuilder tracerBuilder(String instrumentationScopeName) {
return get().tracerBuilder(instrumentationScopeName);
}
/**
@ -158,29 +193,29 @@ public final class GlobalOpenTelemetry {
/**
* Gets or creates a named meter instance from the globally registered {@link MeterProvider}.
*
* <p>This is a shortcut method for {@code getMeterProvider().get(instrumentationName)}
* <p>This is a shortcut method for {@code getMeterProvider().get(instrumentationScopeName)}
*
* @param instrumentationName The name of the instrumentation library, not the name of the
* instrument*ed* library (e.g., "io.opentelemetry.contrib.mongodb"). Must not be null.
* @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 Meter instance.
* @since 1.10.0
*/
public static Meter getMeter(String instrumentationName) {
return get().getMeter(instrumentationName);
public static Meter getMeter(String instrumentationScopeName) {
return get().getMeter(instrumentationScopeName);
}
/**
* Creates a MeterBuilder for a named {@link Meter} instance.
*
* <p>This is a shortcut method for {@code get().meterBuilder(instrumentationName)}
* <p>This is a shortcut method for {@code get().meterBuilder(instrumentationScopeName)}
*
* @param instrumentationName The name of the instrumentation library, not the name of the
* instrument*ed* library.
* @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 MeterBuilder instance.
* @since 1.10.0
*/
public static MeterBuilder meterBuilder(String instrumentationName) {
return get().meterBuilder(instrumentationName);
public static MeterBuilder meterBuilder(String instrumentationScopeName) {
return get().meterBuilder(instrumentationScopeName);
}
/**
@ -208,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) {
@ -252,14 +301,19 @@ public final class GlobalOpenTelemetry {
return delegate.getMeterProvider();
}
@Override
public LoggerProvider getLogsBridge() {
return delegate.getLogsBridge();
}
@Override
public ContextPropagators getPropagators() {
return delegate.getPropagators();
}
@Override
public TracerBuilder tracerBuilder(String instrumentationName) {
return delegate.tracerBuilder(instrumentationName);
public TracerBuilder tracerBuilder(String instrumentationScopeName) {
return delegate.tracerBuilder(instrumentationScopeName);
}
}
}

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;
@ -46,37 +47,37 @@ public interface OpenTelemetry {
* Gets or creates a named tracer instance from the {@link TracerProvider} for this {@link
* OpenTelemetry}.
*
* @param instrumentationName The name of the instrumentation library, not the name of the
* instrument*ed* library (e.g., "io.opentelemetry.contrib.mongodb"). Must not be null.
* @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 tracer instance.
*/
default Tracer getTracer(String instrumentationName) {
return getTracerProvider().get(instrumentationName);
default Tracer getTracer(String instrumentationScopeName) {
return getTracerProvider().get(instrumentationScopeName);
}
/**
* Gets or creates a named and versioned tracer instance from the {@link TracerProvider} in this
* {@link OpenTelemetry}.
*
* @param instrumentationName The name of the instrumentation library, not the name of the
* instrument*ed* library (e.g., "io.opentelemetry.contrib.mongodb"). Must not be null.
* @param instrumentationVersion The version of the instrumentation library (e.g., "1.0.0").
* @param instrumentationScopeName A name uniquely identifying the instrumentation scope, such as
* the instrumentation library, package, or fully qualified class name. Must not be null.
* @param instrumentationScopeVersion The version of the instrumentation scope (e.g., "1.0.0").
* @return a tracer instance.
*/
default Tracer getTracer(String instrumentationName, String instrumentationVersion) {
return getTracerProvider().get(instrumentationName, instrumentationVersion);
default Tracer getTracer(String instrumentationScopeName, String instrumentationScopeVersion) {
return getTracerProvider().get(instrumentationScopeName, instrumentationScopeVersion);
}
/**
* Creates a {@link TracerBuilder} for a named {@link Tracer} instance.
*
* @param instrumentationName The name of the instrumentation library, not the name of the
* instrument*ed* library.
* @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 TracerBuilder instance.
* @since 1.4.0
*/
default TracerBuilder tracerBuilder(String instrumentationName) {
return getTracerProvider().tracerBuilder(instrumentationName);
default TracerBuilder tracerBuilder(String instrumentationScopeName) {
return getTracerProvider().tracerBuilder(instrumentationScopeName);
}
/**
@ -92,25 +93,38 @@ public interface OpenTelemetry {
* Gets or creates a named meter instance from the {@link MeterProvider} for this {@link
* OpenTelemetry}.
*
* @param instrumentationName The name of the instrumentation library, not the name of the
* instrument*ed* library (e.g., "io.opentelemetry.contrib.mongodb"). Must not be null.
* @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 Meter instance.
* @since 1.10.0
*/
default Meter getMeter(String instrumentationName) {
return getMeterProvider().get(instrumentationName);
default Meter getMeter(String instrumentationScopeName) {
return getMeterProvider().get(instrumentationScopeName);
}
/**
* Creates a {@link MeterBuilder} for a named {@link Tracer} instance.
* Creates a {@link MeterBuilder} for a named {@link Meter} instance.
*
* @param instrumentationName The name of the instrumentation library, not the name of the
* instrument*ed* library.
* @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 MeterBuilder instance.
* @since 1.10.0
*/
default MeterBuilder meterBuilder(String instrumentationName) {
return getMeterProvider().meterBuilder(instrumentationName);
default MeterBuilder meterBuilder(String instrumentationScopeName) {
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}. */

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,6 +6,7 @@
package io.opentelemetry.api.baggage;
import com.google.auto.value.AutoValue;
import io.opentelemetry.api.internal.ApiUsageLogger;
import javax.annotation.concurrent.Immutable;
@Immutable
@ -24,6 +25,7 @@ abstract class ImmutableEntryMetadata implements BaggageEntryMetadata {
*/
static ImmutableEntryMetadata create(String metadata) {
if (metadata == 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

@ -117,6 +117,7 @@ public interface Attributes {
* Returns a {@link Attributes} instance with five key-value pairs. Order of the keys is not
* preserved. Duplicate keys will be removed.
*/
@SuppressWarnings("TooManyParameters")
static <T, U, V, W, X> Attributes of(
AttributeKey<T> key1,
T value1,

View File

@ -16,7 +16,9 @@ import static io.opentelemetry.api.common.AttributeKey.stringArrayKey;
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 {
@ -34,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);
}
@ -100,6 +106,19 @@ public interface AttributesBuilder {
return put(stringArrayKey(key), Arrays.asList(value));
}
/**
* Puts a List attribute into this.
*
* @return this Builder
*/
@SuppressWarnings("unchecked")
default <T> AttributesBuilder put(AttributeKey<List<T>> key, T... value) {
if (value == null) {
return this;
}
return put(key, Arrays.asList(value));
}
/**
* Puts a Long array attribute into this.
*

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

@ -87,6 +87,9 @@ import java.lang.annotation.Target;
*
* <p>This annotation is the same provided with Jetbrains annotations and used by Nullaway for
* verifying nullness. We copy the annotation to avoid an external dependency.
*
* <p>This class is internal and is hence not for public use. Its APIs are unstable and can change
* at any time.
*/
@Documented
@Retention(RetentionPolicy.CLASS)

View File

@ -37,6 +37,9 @@ import java.lang.annotation.Target;
* members, so there is no reason to publish them and we avoid requiring end users to have to depend
* on the annotations in their own build. See the original <a
* href="https://github.com/open-telemetry/opentelemetry-java/issues/2897">issue</a> for more info.
*
* <p>This class is internal and is hence not for public use. Its APIs are unstable and can change
* at any time.
*/
@Target({ElementType.FIELD, ElementType.METHOD})
@Retention(RetentionPolicy.SOURCE)

View File

@ -24,11 +24,15 @@ import javax.annotation.concurrent.Immutable;
* of being "empty", you'll need to remove them before calling the constructor, assuming you don't
* want the "empty" keys to be kept in your collection.
*
* <p>This class is internal and is hence not for public use. Its APIs are unstable and can change
* at any time.
*
* @param <V> The type of the values contained in this.
*/
@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
@ -208,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;
@ -238,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;
}
@ -260,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

@ -8,6 +8,10 @@ package io.opentelemetry.api.internal;
import java.util.Arrays;
import javax.annotation.concurrent.Immutable;
/**
* This class is internal and is hence not for public use. Its APIs are unstable and can change at
* any time.
*/
@Immutable
public final class OtelEncodingUtils {
static final int LONG_BYTES = Long.SIZE / Byte.SIZE;
@ -85,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

@ -31,7 +31,12 @@ import java.util.NoSuchElementException;
import java.util.Set;
import javax.annotation.Nullable;
/** A read-only view of an array of key-value pairs. */
/**
* A read-only view of an array of key-value pairs.
*
* <p>This class is internal and is hence not for public use. Its APIs are unstable and can change
* at any time.
*/
@SuppressWarnings("unchecked")
public final class ReadOnlyArrayMap<K, V> extends AbstractMap<K, V> {

View File

@ -7,7 +7,12 @@ package io.opentelemetry.api.internal;
import javax.annotation.concurrent.Immutable;
/** General internal utility methods. */
/**
* General internal utility methods.
*
* <p>This class is internal and is hence not for public use. Its APIs are unstable and can change
* at any time.
*/
@Immutable
public final class Utils {

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();
}

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