Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…y-java into component-provider-spis
  • Loading branch information
jack-berg committed Jul 15, 2024
2 parents fa99b77 + 3fa57f9 commit a65a721
Show file tree
Hide file tree
Showing 167 changed files with 2,449 additions and 1,238 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-tracecontext-testsuite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: integration-tests/tracecontext/docker
push: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ jobs:
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
if: ${{ !startsWith(github.ref_name, 'release/') && !startsWith(github.base_ref, 'release/') }}
# The jApiCmp diff compares current to latest, which isn't appropriate for release branches, or for bot-generated PRs
if: ${{ !startsWith(github.ref_name, 'release/') && !startsWith(github.base_ref, 'release/') && (github.actor != 'opentelemetrybot') }}
run: |
# need to "git add" in case any generated files did not already exist
git add docs/apidiffs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gradle-wrapper-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: gradle/actions/wrapper-validation@v3.3.2
- uses: gradle/actions/wrapper-validation@v3.4.2
64 changes: 63 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,68 @@

## Unreleased

## Version 1.40.0 (2024-07-05)

### API

#### Incubator

* Narrow ExtendedSpanBuilder return types for chaining
([#6514](https://github.com/open-telemetry/opentelemetry-java/pull/6514))
* Add APIs to determine if tracer, logger, instruments are enabled
([#6502](https://github.com/open-telemetry/opentelemetry-java/pull/6502))

### SDK

#### Extensions

* Move autoconfigure docs to opentelemetry.io
([#6491](https://github.com/open-telemetry/opentelemetry-java/pull/6491))

## Version 1.39.0 (2024-06-07)

### API

#### Incubator

* BREAKING: Refactor ExtendedTracer, ExtendedSpanBuilder to reflect incubating API conventions
([#6497](https://github.com/open-telemetry/opentelemetry-java/pull/6497))

### SDK

#### Exporter

* BREAKING: Serve prometheus metrics only on `/metrics` by default. To restore the previous behavior
and serve metrics on all paths, override the default handler
as [demonstrated here](https://github.com/open-telemetry/opentelemetry-java/blob/main/exporters/prometheus/src/test/java/io/opentelemetry/exporter/prometheus/PrometheusHttpServerTest.java#L251-L259).
([#6476](https://github.com/open-telemetry/opentelemetry-java/pull/6476))
* Make OTLP exporter memory mode API public
([#6469](https://github.com/open-telemetry/opentelemetry-java/pull/6469))
* Speed up OTLP string marshaling using sun.misc.Unsafe
([#6433](https://github.com/open-telemetry/opentelemetry-java/pull/6433))
* Add exporter data classes for experimental profiling signal type.
([#6374](https://github.com/open-telemetry/opentelemetry-java/pull/6374))
* Start prometheus http server with daemon thread
([#6472](https://github.com/open-telemetry/opentelemetry-java/pull/6472))
* Update the Prometheus metrics library and improve how units are included in metric names.
([#6473](https://github.com/open-telemetry/opentelemetry-java/pull/6473))
* Remove android animalsniffer check from prometheus exporter
([#6478](https://github.com/open-telemetry/opentelemetry-java/pull/6478))

#### Extensions

* Load file config YAML using core schema, ensure that env var substitution retains string types.
([#6436](https://github.com/open-telemetry/opentelemetry-java/pull/6436))
* Define dedicated file configuration SPI ComponentProvider
([#6457](https://github.com/open-telemetry/opentelemetry-java/pull/6457))

### Tooling

* Normalize timestamps and file ordering in jars, making the outputs reproducible
([#6471](https://github.com/open-telemetry/opentelemetry-java/pull/6471))
* GHA for generating the post-release pull request
([#6449](https://github.com/open-telemetry/opentelemetry-java/pull/6449))

## Version 1.38.0 (2024-05-10)

### API
Expand Down Expand Up @@ -1877,7 +1939,7 @@ should not be many. Thanks for bearing with us on this.
### General

* Examples moved
to [opentelemetry-java-docs](https://github.com/open-telemetry/opentelemetry-java-docs)
to [opentelemetry-java-examples](https://github.com/open-telemetry/opentelemetry-java-examples)

### SDK

Expand Down
14 changes: 12 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Other repositories in the OpenTelemetry Java ecosystem include:
contains instrumentation.
* [opentelemetry-java-contrib](https://github.com/open-telemetry/opentelemetry-java-contrib)
contains extensions, prototypes, and instrumentation, including vendor specific components.
* [opentelemetry-java-docs](https://github.com/open-telemetry/opentelemetry-java-docs) contains
* [opentelemetry-java-examples](https://github.com/open-telemetry/opentelemetry-java-examples) contains
working code snippets demonstrating various concepts.

## Style guideline
Expand Down Expand Up @@ -183,6 +183,11 @@ in the guide for exceptions to the Javadoc requirement.
* Our javadoc is available via [
javadoc.io}(https://javadoc.io/doc/io.opentelemetry/opentelemetry-api)

### SDK Configuration Documentation

All changes to the SDK configuration options or autoconfigure module should be documented on
[opentelemetry.io](https://opentelemetry.io/docs/languages/java/configuration/).

### AutoValue

* Use [AutoValue](https://github.com/google/auto/tree/master/value), when possible, for any new
Expand Down Expand Up @@ -245,13 +250,18 @@ Example usage could be as follows:
}
```

Please confirm whether the local opentelemetry-java version is consistent with the
opentelemetry-java version declared in the project that relies on opentelemetry-java.
If it is inconsistent, `dependencySubstitution` may not take effect.

See [the Gradle documentation](https://docs.gradle.org/current/userguide/composite_builds.html#included_build_declaring_substitutions)
for more information.

4. If you now build your project, it will use the included build to supply the opentelemetry-java
artifacts, ignoring any version declarations. Use the prefix `:DIRECTORY:` to refer to
tasks/projects within the included build, where DIRECTORY is the name of the directory in the
included build (only the part after the last `/`).
5. Here are some issues and solutions ([discussions/6551](https://github.com/open-telemetry/opentelemetry-java/discussions/6551))
you may encounter that may be helpful to you.

### Updating the OTLP protobufs

Expand Down
Loading

0 comments on commit a65a721

Please sign in to comment.