Skip to content

Commit 70eef3a

Browse files
Merge branch 'main' into source-otel-sdk-confi-from-system-out-and-env
2 parents 4f75414 + b2f04ab commit 70eef3a

File tree

210 files changed

+8286
-1478
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

210 files changed

+8286
-1478
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ body:
1717
- jfr-connection
1818
- jfr-events
1919
- jmx-metrics
20+
- jmx-scraper
2021
- maven-extension
2122
- micrometer-meter-provider
2223
- noop-api

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ body:
1717
- jfr-connection
1818
- jfr-events
1919
- jmx-metrics
20+
- jmx-scraper
2021
- maven-extension
2122
- micrometer-meter-provider
2223
- noop-api

.github/component_owners.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ components:
4141
- sfriberg
4242
jmx-metrics:
4343
- breedx-splk
44+
- sylvainjuge
45+
jmx-scraper:
46+
- breedx-splk
47+
- robsunday
48+
- sylvainjuge
4449
maven-extension:
4550
- cyrille-leclerc
4651
- kenfinnigan
@@ -51,6 +56,7 @@ components:
5156
processors:
5257
- LikeTheSalad
5358
- breedx-splk
59+
- jack-berg
5460
prometheus-collector:
5561
- jkwatson
5662
resource-providers:
@@ -61,6 +67,7 @@ components:
6167
- jeanbisutti
6268
samplers:
6369
- trask
70+
- jack-berg
6471
static-instrumenter:
6572
- anosek-an
6673
kafka-exporter:
@@ -74,3 +81,5 @@ components:
7481
- jackshirazi
7582
- jonaskunz
7683
- sylvainjuge
84+
opamp-client:
85+
- LikeTheSalad

.github/config/markdown-link-check-config.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
{
22
"retryOn429": true,
3+
"aliveStatusCodes": [
4+
200,
5+
403
6+
],
37
"ignorePatterns": [
48
{
59
"pattern": "^https://developer\\.mend\\.io/github/open-telemetry/opentelemetry-java-contrib$"

.github/renovate.json5

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@
88
"matchPackageNames": [
99
"io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha",
1010
"io.opentelemetry.semconv:opentelemetry-semconv",
11-
"io.opentelemetry.semconv:opentelemetry-semconv-incubating"
11+
"io.opentelemetry.semconv:opentelemetry-semconv-incubating",
12+
"io.opentelemetry.proto:opentelemetry-proto"
1213
],
1314
// Renovate's default behavior is only to update from unstable -> unstable if it's for the
1415
// major.minor.patch, under the assumption that you would want to update to the stable version
1516
// of that release instead of the unstable version for a future release
16-
// (but there's never any stable version of these artifacts so this logic doesn't apply)
17+
// (TODO remove once the artifacts above release stable versions)
1718
"ignoreUnstable": false
1819
},
1920
{
@@ -28,6 +29,11 @@
2829
"matchPackagePrefixes": ["com.gradle.enterprise"],
2930
"groupName": "gradle enterprise packages"
3031
},
32+
{
33+
// prevent 3.0.1u2 -> 3.0.1
34+
"matchPackageNames": ["com.google.code.findbugs:annotations"],
35+
"allowedVersions": "!/^3\\.0\\.1$/"
36+
},
3137
{
3238
// disruptor 4+ requires Java 11+
3339
"matchPackageNames": ["com.lmax:disruptor"],
@@ -46,6 +52,12 @@
4652
"matchUpdateTypes": ["major"],
4753
"enabled": false
4854
},
55+
{
56+
// agrona 1.23+ requires Java 17+
57+
"matchPackageNames": ["org.agrona:agrona"],
58+
"matchUpdateTypes": ["major", "minor"],
59+
"enabled": false
60+
},
4961
{
5062
// system-stubs-jupiter 2.1+ requires Java 11+
5163
"matchPackageNames": ["uk.org.webcompere:system-stubs-jupiter"],
@@ -73,6 +85,13 @@
7385
"matchPackagePrefixes": ["org.openjdk.jmc"],
7486
"matchUpdateTypes": ["major"],
7587
"enabled": false
88+
},
89+
{
90+
// pinned version for compatibility
91+
"matchFileNames": ["jmx-scraper/test-webapp/build.gradle.kts"],
92+
"matchPackagePrefixes": ["jakarta.servlet:"],
93+
"matchCurrentVersion": "5.0.0",
94+
"enabled": false
7695
}
7796
]
7897
}

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ jobs:
153153
GPG_PASSWORD: ${{ secrets.GPG_PASSWORD }}
154154

155155
required-status-check:
156-
if: github.event_name == 'pull_request'
156+
if: github.event_name == 'pull_request' && always()
157157
needs:
158158
- build
159159
- integration-test

CHANGELOG.md

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,89 @@
22

33
## Unreleased
44

5+
## Version 1.41.0 (2024-11-21)
6+
7+
### Inferred spans
8+
9+
- Allow customization of parent-override behavior
10+
([#1533](https://github.com/open-telemetry/opentelemetry-java-contrib/pull/1533))
11+
12+
### Telemetry processors
13+
14+
- Add LogRecordProcessor to record event log records as span events
15+
([#1551](https://github.com/open-telemetry/opentelemetry-java-contrib/pull/1551))
16+
17+
## Version 1.40.0 (2024-10-18)
18+
19+
### AWS X-Ray SDK support
20+
21+
- Ensure all XRay Sampler functionality is under ParentBased logic
22+
([#1488](https://github.com/open-telemetry/opentelemetry-java-contrib/pull/1488))
23+
24+
### GCP Resources
25+
26+
- Add gcr job support
27+
([#1462](https://github.com/open-telemetry/opentelemetry-java-contrib/pull/1462))
28+
29+
### Inferred spans
30+
31+
- Rename param and description to proper value
32+
([#1486](https://github.com/open-telemetry/opentelemetry-java-contrib/pull/1486))
33+
34+
### JFR connection
35+
36+
- Fix wrong parameter sent to JFR DiagnosticCommand
37+
([#1492](https://github.com/open-telemetry/opentelemetry-java-contrib/pull/1492))
38+
39+
### Span stack traces
40+
41+
- Support autoconfigure
42+
([#1499](https://github.com/open-telemetry/opentelemetry-java-contrib/pull/1499))
43+
44+
## Version 1.39.0 (2024-09-17)
45+
46+
### AWS X-Ray propagator
47+
48+
- Handle too short `X-Amzn-Trace-Id` header
49+
([#1036](https://github.com/open-telemetry/opentelemetry-java-contrib/pull/1036))
50+
- Add declarative config support for aws xray propagators
51+
([#1442](https://github.com/open-telemetry/opentelemetry-java-contrib/pull/1442))
52+
53+
### AWS X-Ray SDK support
54+
55+
- Fix native mode error cause by static init of random
56+
([#862](https://github.com/open-telemetry/opentelemetry-java-contrib/pull/862))
57+
58+
### Consistent sampling
59+
60+
- Composite Samplers prototype
61+
([#1443](https://github.com/open-telemetry/opentelemetry-java-contrib/pull/1443))
62+
63+
### Disk buffering
64+
65+
- Add debug mode for verbose logging
66+
([#1455](https://github.com/open-telemetry/opentelemetry-java-contrib/pull/1455))
67+
68+
### GCP Resources
69+
70+
- Fix incorrect `cloud.platform` value for GCF
71+
([#1454](https://github.com/open-telemetry/opentelemetry-java-contrib/pull/1454))
72+
73+
### JMX metrics
74+
75+
- Add option to aggregate across multiple MBeans
76+
([#1366](https://github.com/open-telemetry/opentelemetry-java-contrib/pull/1366))
77+
78+
### Samplers
79+
80+
- Add declarative config support for `RuleBasedRoutingSampler`
81+
([#1440](https://github.com/open-telemetry/opentelemetry-java-contrib/pull/1440))
82+
83+
### Span stack traces
84+
85+
- Add config option `otel.java.experimental.span-stacktrace.min.duration`
86+
([#1414](https://github.com/open-telemetry/opentelemetry-java-contrib/pull/1414))
87+
588
## Version 1.38.0 (2024-08-19)
689

790
### JFR connection

README.md

Lines changed: 33 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,37 @@ feature or via instrumentation, this project is hopefully for you.
99

1010
## Provided Libraries
1111

12-
* [AWS Resources](./aws-resources/README.md)
13-
* [AWS X-Ray SDK Support](./aws-xray/README.md)
14-
* [AWS X-Ray Propagator](./aws-xray-propagator/README.md)
15-
* [zstd Compressor](./compressors/compressor-zstd/README.md)
16-
* [Consistent Sampling](./consistent-sampling/README.md)
17-
* [Disk Buffering](./disk-buffering/README.md)
18-
* [GCP Resources](./gcp-resources/README.md)
19-
* [JMX Metric Gatherer](./jmx-metrics/README.md)
20-
* [No-Op API](./noop-api/README.md)
21-
* [OpenTelemetry Maven Extension](./maven-extension/README.md)
22-
* [Prometheus Client Bridge](./prometheus-client-bridge/README.md)
23-
* [Resource Providers](./resource-providers/README.md)
24-
* [Runtime Attach](./runtime-attach/README.md)
25-
* [Samplers](./samplers/README.md)
26-
* [Static Instrumenter](./static-instrumenter/README.md)
27-
* [Kafka Support](./kafka-exporter/README.md)
12+
| Status* | Library |
13+
| ------- | ----------------------------------------------------------------- |
14+
| beta | [AWS Resources](./aws-resources/README.md) |
15+
| stable | [AWS X-Ray SDK Support](./aws-xray/README.md) |
16+
| alpha | [AWS X-Ray Propagator](./aws-xray-propagator/README.md) |
17+
| alpha | [Baggage Span Processor](./baggage-processor/README.md) |
18+
| alpha | [zstd Compressor](./compressors/compressor-zstd/README.md) |
19+
| alpha | [Consistent Sampling](./consistent-sampling/README.md) |
20+
| alpha | [Disk Buffering](./disk-buffering/README.md) |
21+
| beta | [GCP Resources](./gcp-resources/README.md) |
22+
| beta | [Inferred Spans](./inferred-spans/README.md) |
23+
| alpha | [JFR Connection](./jfr-connection/README.md) |
24+
| alpha | [JFR Events](./jfr-events/README.md) |
25+
| alpha | [JMX Metric Gatherer](./jmx-metrics/README.md) |
26+
| alpha | [Kafka Support](./kafka-exporter/README.md) |
27+
| alpha | [OpenTelemetry Maven Extension](./maven-extension/README.md) |
28+
| alpha | [Micrometer MeterProvider](./micrometer-meter-provider/README.md) |
29+
| alpha | [No-Op API](./noop-api/README.md) |
30+
| alpha | [Intercept and Process Signals Globally](./processors/README.md) |
31+
| alpha | [Prometheus Client Bridge](./prometheus-client-bridge/README.md) |
32+
| alpha | [Resource Providers](./resource-providers/README.md) |
33+
| alpha | [Runtime Attach](./runtime-attach/README.md) |
34+
| alpha | [Samplers](./samplers/README.md) |
35+
| beta | [Span Stacktrace Capture](./span-stacktrace/README.md) |
36+
| alpha | [Static Instrumenter](./static-instrumenter/README.md) |
37+
38+
\* `alpha`, `beta` and `stable` are currently used to denote library status per [otep 0232](https://github.com/open-telemetry/oteps/blob/main/text/0232-maturity-of-otel.md).
39+
To reach stable status, the library needs to have stable APIs, stable semantic conventions, and be production ready.
40+
On reaching stable status, the `otel.stable` value in `gradle.properties` should be set to `true`.
41+
Note that currently all the libraries are released together with the version of this repo, so breaking changes (after stable
42+
status is reached) would bump the major version of all libraries together. This could get complicated so `stable` has a high bar.
2843

2944
## Getting Started
3045

@@ -69,8 +84,8 @@ Maintainers ([@open-telemetry/java-contrib-maintainers](https://github.com/orgs/
6984
Emeritus maintainers:
7085

7186
- [Mateusz Rzeszutek](https://github.com/mateuszrzeszutek)
72-
- [Nikita Salnikov-Tarnovski](https://github.com/iNikem), Splunk
73-
- [Ryan Fitzpatrick](https://github.com/rmfitzpatrick), Splunk
87+
- [Nikita Salnikov-Tarnovski](https://github.com/iNikem)
88+
- [Ryan Fitzpatrick](https://github.com/rmfitzpatrick)
7489

7590
Learn more about roles in the [community repository](https://github.com/open-telemetry/community/blob/main/guides/contributor/membership.md).
7691

aws-resources/src/main/java/io/opentelemetry/contrib/aws/resource/BeanstalkResource.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
import static io.opentelemetry.contrib.aws.resource.IncubatingAttributes.CLOUD_PLATFORM;
99
import static io.opentelemetry.contrib.aws.resource.IncubatingAttributes.CLOUD_PROVIDER;
10-
import static io.opentelemetry.contrib.aws.resource.IncubatingAttributes.CloudPlatformValues.AWS_ELASTIC_BEANSTALK;
11-
import static io.opentelemetry.contrib.aws.resource.IncubatingAttributes.CloudProviderValues.AWS;
10+
import static io.opentelemetry.contrib.aws.resource.IncubatingAttributes.CloudPlatformIncubatingValues.AWS_ELASTIC_BEANSTALK;
11+
import static io.opentelemetry.contrib.aws.resource.IncubatingAttributes.CloudProviderIncubatingValues.AWS;
1212
import static io.opentelemetry.contrib.aws.resource.IncubatingAttributes.SERVICE_INSTANCE_ID;
1313
import static io.opentelemetry.contrib.aws.resource.IncubatingAttributes.SERVICE_NAMESPACE;
1414
import static io.opentelemetry.semconv.ServiceAttributes.SERVICE_VERSION;

aws-resources/src/main/java/io/opentelemetry/contrib/aws/resource/Ec2Resource.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import static io.opentelemetry.contrib.aws.resource.IncubatingAttributes.CLOUD_PLATFORM;
1111
import static io.opentelemetry.contrib.aws.resource.IncubatingAttributes.CLOUD_PROVIDER;
1212
import static io.opentelemetry.contrib.aws.resource.IncubatingAttributes.CLOUD_REGION;
13-
import static io.opentelemetry.contrib.aws.resource.IncubatingAttributes.CloudPlatformValues.AWS_EC2;
13+
import static io.opentelemetry.contrib.aws.resource.IncubatingAttributes.CloudPlatformIncubatingValues.AWS_EC2;
1414
import static io.opentelemetry.contrib.aws.resource.IncubatingAttributes.HOST_ID;
1515
import static io.opentelemetry.contrib.aws.resource.IncubatingAttributes.HOST_IMAGE_ID;
1616
import static io.opentelemetry.contrib.aws.resource.IncubatingAttributes.HOST_NAME;
@@ -89,7 +89,7 @@ static Resource buildResource(String endpoint) {
8989
String hostname = fetchHostname(hostnameUrl, token);
9090

9191
AttributesBuilder attrBuilders = Attributes.builder();
92-
attrBuilders.put(CLOUD_PROVIDER, IncubatingAttributes.CloudProviderValues.AWS);
92+
attrBuilders.put(CLOUD_PROVIDER, IncubatingAttributes.CloudProviderIncubatingValues.AWS);
9393
attrBuilders.put(CLOUD_PLATFORM, AWS_EC2);
9494

9595
try (JsonParser parser = JSON_FACTORY.createParser(identity)) {

0 commit comments

Comments
 (0)