Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support of @MeterTag annotation on method level #5587

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
298 commits
Select commit Hold shift + click to select a range
52186f9
Bump com.amazonaws:aws-java-sdk-cloudwatch from 1.12.773 to 1.12.777 …
dependabot[bot] Nov 7, 2024
702557b
Bump com.signalfx.public:signalfx-java from 1.0.46 to 1.0.47 (#5621)
dependabot[bot] Nov 7, 2024
6ec63ae
Merge branch '1.12.x' into 1.13.x
jonatan-ivanov Nov 7, 2024
199f837
Bump com.fasterxml.jackson.core:jackson-databind from 2.17.2 to 2.17.…
dependabot[bot] Nov 7, 2024
6e17330
Merge branch '1.13.x'
jonatan-ivanov Nov 7, 2024
2fcdc90
Bump testcontainers from 1.20.2 to 1.20.3 (#5626)
dependabot[bot] Nov 7, 2024
0c56ebc
Bump org.junit:junit-bom from 5.11.2 to 5.11.3 (#5636)
dependabot[bot] Nov 7, 2024
99910e0
Bump com.fasterxml.jackson.core:jackson-databind from 2.18.0 to 2.18.…
dependabot[bot] Nov 7, 2024
1c0efe0
Bump com.google.auth:google-auth-library-oauth2-http (#5634)
dependabot[bot] Nov 7, 2024
9703127
Bump com.google.cloud:google-cloud-monitoring from 3.53.0 to 3.54.0 (…
dependabot[bot] Nov 7, 2024
428ca7e
Bump com.google.cloud:libraries-bom from 26.48.0 to 26.50.0 (#5638)
dependabot[bot] Nov 7, 2024
df91ff2
Bump org.apache.httpcomponents.client5:httpclient5 from 5.4 to 5.4.1 …
dependabot[bot] Nov 7, 2024
fa72f44
Bump activemq-artemis from 2.37.0 to 2.38.0 (#5629)
dependabot[bot] Nov 7, 2024
b27323f
Bump spring6 from 6.1.13 to 6.1.14 (#5632)
dependabot[bot] Nov 7, 2024
1c07cf9
Bump com.netflix.spectator:spectator-reg-atlas from 1.7.21 to 1.8.1 (…
dependabot[bot] Nov 7, 2024
f40b0c8
Bump software.amazon.awssdk:cloudwatch from 2.28.19 to 2.29.6 (#5631)
dependabot[bot] Nov 7, 2024
d711c03
Bump org.jooq:jooq from 3.14.16 to 3.19.14 (#5624)
dependabot[bot] Nov 7, 2024
a5c25c6
Bump ch.qos.logback:logback-classic from 1.2.13 to 1.5.12 (#5625)
dependabot[bot] Nov 7, 2024
9e5e2a2
Bump org.hsqldb:hsqldb from 2.7.3 to 2.7.4 (#5644)
dependabot[bot] Nov 7, 2024
035b861
Merge branch '1.13.x'
jonatan-ivanov Nov 7, 2024
daf5375
Bump org.jooq:jooq from 3.19.14 to 3.19.15 (#5643)
dependabot[bot] Nov 7, 2024
3c0f2e9
Bump software.amazon.awssdk:cloudwatch from 2.29.6 to 2.29.7 (#5645)
dependabot[bot] Nov 7, 2024
a4604af
Bump org.hsqldb:hsqldb from 2.7.3 to 2.7.4 (#5647)
dependabot[bot] Nov 7, 2024
e52a985
Merge branch '1.12.x' into 1.13.x
jonatan-ivanov Nov 7, 2024
337f435
Merge branch '1.13.x'
jonatan-ivanov Nov 7, 2024
bca46bf
Bump io.prometheus:prometheus-metrics-bom from 1.3.1 to 1.3.3
dependabot[bot] Nov 7, 2024
269fab3
Fix test to follow the new naming behavior of the Prometheus Client
jonatan-ivanov Nov 7, 2024
d6fa977
Add native image support for Hazelcast instrumentation (#5618)
izeye Nov 11, 2024
3ebc09f
Merge branch '1.12.x' into 1.13.x
shakuzen Nov 11, 2024
7c24181
Merge branch '1.13.x'
shakuzen Nov 11, 2024
d6bac8b
Upgrade to Gradle Wrapper 8.11 (#5653)
izeye Nov 12, 2024
a09eb1f
Upgrade JDK for CI builds to 8.0.432, 11.0.25, and 17.0.13 (#5655)
izeye Nov 12, 2024
eb66144
Add CI build for JDK 23 (#5654)
izeye Nov 12, 2024
4f9bd3c
Merge branch '1.9.x' into 1.12.x
shakuzen Nov 12, 2024
a4beea6
Upgrade jdk21 build to 21.0.5
shakuzen Nov 12, 2024
1c6f7bb
Upgrade machine-executor to ubuntu-2404:2024.08.1 (#5656)
izeye Nov 12, 2024
ab092d9
Merge branch '1.12.x' into 1.13.x
shakuzen Nov 12, 2024
03abf6a
Merge branch '1.13.x' into 1.14.x
shakuzen Nov 12, 2024
e5c3546
Merge branch '1.14.x'
shakuzen Nov 12, 2024
6b238b1
Support assertions on Observation events (#5605)
wabrit Nov 12, 2024
b9f252a
Update japicmp config for 1.15 development
shakuzen Nov 12, 2024
659ae47
Enable Gauge builders to take a subclass of Number (#5601)
s-ste Nov 12, 2024
fe5df35
Provide target host/port/scheme when HttpRoute is unavailable (#5619)
izeye Nov 12, 2024
301acbc
Improve warning about Gauge re-registration in the docs (#5617)
jonatan-ivanov Nov 14, 2024
0ff46ed
Remove obsolete .gitattributes (#5663)
izeye Nov 14, 2024
c4763d7
Merge branch '1.12.x' into 1.13.x
jonatan-ivanov Nov 14, 2024
0867c60
Merge branch '1.13.x' into 1.14.x
jonatan-ivanov Nov 14, 2024
f6d9bf0
Merge branch '1.14.x'
jonatan-ivanov Nov 14, 2024
edd12f2
Upgrade to Netty 4.1.115
shakuzen Nov 15, 2024
c898032
Merge branch '1.12.x' into 1.13.x
shakuzen Nov 15, 2024
bd90d13
Use fixed version of Prometheus image for IT
shakuzen Nov 15, 2024
1969651
Merge branch '1.13.x' into 1.14.x
shakuzen Nov 15, 2024
975607e
Merge branch '1.14.x'
shakuzen Nov 15, 2024
f7f0a07
Add dependabot config for 1.14.x
shakuzen Nov 15, 2024
0f7b04e
Bump com.amazonaws:aws-java-sdk-cloudwatch from 1.12.777 to 1.12.778 …
dependabot[bot] Nov 15, 2024
f68cc21
Bump me.champeau.gradle:japicmp-gradle-plugin from 0.4.4 to 0.4.5 (#5…
dependabot[bot] Nov 15, 2024
a0f4911
Bump org.mongodb:mongodb-driver-sync from 4.11.4 to 4.11.5 (#5675)
dependabot[bot] Nov 15, 2024
41c0b53
Merge branch '1.12.x' into 1.13.x
shakuzen Nov 15, 2024
c3a4ff9
Merge branch '1.13.x' into 1.14.x
shakuzen Nov 15, 2024
00a6e41
Bump com.gradle.develocity from 3.18.1 to 3.18.2 (#5678)
dependabot[bot] Nov 15, 2024
745be35
Bump spring6 from 6.1.14 to 6.1.15 (#5676)
dependabot[bot] Nov 15, 2024
2b125f4
Bump com.netflix.spectator:spectator-reg-atlas from 1.8.1 to 1.8.2 (#…
dependabot[bot] Nov 15, 2024
aba1c6d
Bump spring6 from 6.1.14 to 6.2.0 (#5672)
dependabot[bot] Nov 15, 2024
9672800
Bump com.google.auth:google-auth-library-oauth2-http (#5680)
dependabot[bot] Nov 15, 2024
2f8b914
Bump software.amazon.awssdk:cloudwatch from 2.29.7 to 2.29.14 (#5669)
dependabot[bot] Nov 15, 2024
4d9efae
Merge branch '1.14.x'
shakuzen Nov 15, 2024
55f90e2
Use BOM for Micrometer dependency examples in reference docs (#5652)
izeye Nov 18, 2024
64fa753
Merge branch '1.12.x' into 1.13.x
jonatan-ivanov Nov 19, 2024
4f95a23
Merge branch '1.13.x' into 1.14.x
jonatan-ivanov Nov 19, 2024
311efdb
Merge branch '1.14.x'
jonatan-ivanov Nov 19, 2024
e074c11
Polish gh-4959 (#5692)
izeye Nov 20, 2024
e545f6c
Upgrade to Gradle Wrapper 8.11.1 (#5695)
izeye Nov 20, 2024
34894a6
Merge branch '1.9.x' into 1.12.x
jonatan-ivanov Nov 21, 2024
c7a91c3
Merge branch '1.12.x' into 1.13.x
jonatan-ivanov Nov 21, 2024
157b656
Merge branch '1.13.x' into 1.14.x
jonatan-ivanov Nov 21, 2024
be70882
Merge branch '1.14.x'
jonatan-ivanov Nov 21, 2024
91c0e4b
Remove contextpropagation.adoc (#5693)
izeye Nov 22, 2024
045ce20
Polish gh-4955 (#5694)
izeye Nov 22, 2024
d80af62
Merge branch '1.12.x' into 1.13.x
jonatan-ivanov Nov 22, 2024
f928f0a
Merge branch '1.13.x' into 1.14.x
jonatan-ivanov Nov 22, 2024
956ced4
Merge branch '1.14.x'
jonatan-ivanov Nov 22, 2024
0839164
Polish (#5708)
izeye Nov 25, 2024
a558287
Polish (#5707)
ngocnhan-tran1996 Nov 25, 2024
dd9df8f
Polish MicrometerHttpClientTests.shouldThrowErrorFromSendAsync() (#5705)
izeye Nov 25, 2024
4d2175c
Add JDK version requirement for building reference docs in CONTRIBUTI…
izeye Nov 25, 2024
9537358
Use failWithActualExpectedAndMessage() where possible (#5696)
izeye Nov 25, 2024
da7eac1
Restore MicrometerHttpRequestExecutorTest.waitForContinueGetsPassedTo…
izeye Nov 25, 2024
f58a4cb
Upgrade opentelemetry-proto to 1.4.0-alpha (#5698)
jonatan-ivanov Nov 25, 2024
226feda
Fix missing error on context in MicrometerHttpClient.sendAsync() (#5709)
izeye Nov 26, 2024
af4b826
Use Thread.currentThread().getStackTrace() in InvalidObservationExcep…
jonatan-ivanov Nov 26, 2024
15b3674
Merge branch '1.14.x'
jonatan-ivanov Nov 26, 2024
8544360
Polish KafkaMetrics (#5710)
izeye Nov 27, 2024
a90bdd9
Polish "Grafana Dashboard" section (#5662)
izeye Nov 27, 2024
0e65756
Use String.toLowerCase()/toUpperCase() with Locale.ROOT consistently …
izeye Nov 28, 2024
36cf4bc
Add peer name and port to gRPC observation (#3512)
ttddyy Nov 29, 2024
53a7c52
Consistently include status keyvalue even if unknown
shakuzen Nov 29, 2024
16ea9c9
Merge branch '1.12.x' into 1.13.x
shakuzen Nov 29, 2024
cf06ad3
Merge branch '1.13.x' into 1.14.x
shakuzen Nov 29, 2024
1fa584f
Fix format
shakuzen Nov 29, 2024
90c0e5f
Merge branch '1.14.x'
shakuzen Nov 29, 2024
4f4cbe2
Fix missing comma
shakuzen Nov 29, 2024
88685ef
Apply gh-5553 to io.micrometer.core.instrument.binder.jdk (#5704)
izeye Dec 4, 2024
6b64447
Merge branch '1.12.x' into 1.13.x
jonatan-ivanov Dec 4, 2024
ff8e79e
Merge branch '1.13.x' into 1.14.x
jonatan-ivanov Dec 4, 2024
fd8c68f
Merge branch '1.14.x'
jonatan-ivanov Dec 4, 2024
4606935
Polish gh-5602 (#5732)
izeye Dec 4, 2024
aaaddb2
Merge branch '1.13.x' into 1.14.x
jonatan-ivanov Dec 4, 2024
50db91f
Merge branch '1.14.x'
jonatan-ivanov Dec 4, 2024
fe13573
Deprecate AggregationTemporality#toOtlpAggregationTemporality (#5733)
jonatan-ivanov Dec 4, 2024
abc9567
Merge branch '1.12.x' into 1.13.x
jonatan-ivanov Dec 4, 2024
8788f45
Merge branch '1.13.x' into 1.14.x
jonatan-ivanov Dec 4, 2024
fd6cad4
Merge branch '1.14.x'
jonatan-ivanov Dec 4, 2024
12d3072
Warn about gauge re-registration (#5688)
jonatan-ivanov Dec 4, 2024
14b2518
Merge branch '1.12.x' into 1.13.x
jonatan-ivanov Dec 4, 2024
fee63f5
Merge branch '1.13.x' into 1.14.x
jonatan-ivanov Dec 4, 2024
c69a307
Merge branch '1.14.x'
jonatan-ivanov Dec 4, 2024
d8b7ccf
Do not leak OTLP types on public-facing API (#5699)
jonatan-ivanov Dec 4, 2024
c333d7c
Bump dropwizard-metrics from 4.2.28 to 4.2.29 (#5727)
dependabot[bot] Dec 5, 2024
7d34b2e
Bump com.amazonaws:aws-java-sdk-cloudwatch from 1.12.778 to 1.12.779 …
dependabot[bot] Dec 5, 2024
567654c
Merge branch '1.12.x' into 1.13.x
shakuzen Dec 5, 2024
cd5a558
Merge branch '1.13.x' into 1.14.x
shakuzen Dec 5, 2024
b70c022
Bump org.apache.logging.log4j:log4j-core from 2.24.1 to 2.24.2 (#5725)
dependabot[bot] Dec 5, 2024
63d9634
Bump software.amazon.awssdk:cloudwatch from 2.29.14 to 2.29.23 (#5724)
dependabot[bot] Dec 5, 2024
7a9b6d0
Bump io.prometheus:prometheus-metrics-bom from 1.3.3 to 1.3.4 (#5723)
dependabot[bot] Dec 5, 2024
de00aa3
Bump testcontainers from 1.20.3 to 1.20.4 (#5720)
dependabot[bot] Dec 5, 2024
c95db08
Bump com.fasterxml.jackson.core:jackson-databind from 2.18.1 to 2.18.…
dependabot[bot] Dec 5, 2024
84d422d
Merge branch '1.14.x'
shakuzen Dec 5, 2024
59b6adf
Bump com.google.cloud:google-cloud-monitoring from 3.54.0 to 3.55.0 (…
dependabot[bot] Dec 5, 2024
d1269ac
Bump io.freefair.aspectj.post-compile-weaving from 8.10.2 to 8.11 (#5…
dependabot[bot] Dec 5, 2024
e9cb7b1
Bump software.amazon.awssdk:cloudwatch from 2.29.23 to 2.29.29 (#5734)
dependabot[bot] Dec 5, 2024
c5514c1
Include queued submissions in `executor.queued`
shakuzen Dec 5, 2024
8cd92d9
Merge branch '1.12.x' into 1.13.x
shakuzen Dec 5, 2024
a7d7488
Merge branch '1.13.x' into 1.14.x
shakuzen Dec 5, 2024
3625cae
Merge branch '1.14.x'
shakuzen Dec 5, 2024
877d5ca
Use shared context for deploy secrets
shakuzen Dec 6, 2024
23cd63b
Configure context at right place
shakuzen Dec 6, 2024
157a7e5
Merge branch '1.12.x' into 1.13.x
shakuzen Dec 6, 2024
4a44430
Merge branch '1.13.x' into 1.14.x
shakuzen Dec 6, 2024
146d72e
Merge branch '1.14.x'
shakuzen Dec 6, 2024
c71e30d
Test CircleCI cache with deploy
jonatan-ivanov Dec 6, 2024
0f04214
Revert "Test CircleCI cache with deploy"
jonatan-ivanov Dec 6, 2024
f58d4bc
Polish gh-5605 (#5738)
izeye Dec 9, 2024
4f534a7
Protect against concurrent reads/writes to Context keyvalues (#5739)
shakuzen Dec 10, 2024
1dbb023
Merge branch '1.14.x'
shakuzen Dec 10, 2024
a15f69c
Document no support for meta-annotations with @Timed (#5737)
izeye Dec 10, 2024
0fcfffa
Merge branch '1.12.x' into 1.13.x
jonatan-ivanov Dec 10, 2024
6633939
Merge branch '1.13.x' into 1.14.x
jonatan-ivanov Dec 10, 2024
3c53a7c
Merge branch '1.14.x'
jonatan-ivanov Dec 10, 2024
ae1a843
Remove outdated warnings in docs for @Counted/@Timed (#5736)
izeye Dec 12, 2024
503f2e9
Add jcstress test for get/remove keyvalue
shakuzen Dec 12, 2024
ba52ad9
Jcstress polish
shakuzen Dec 12, 2024
6be6a7e
Omit EnumSource.value where possible (#5744)
izeye Dec 16, 2024
12c1f08
Fix completion stage returns null in aspects (#5742)
laststem Dec 16, 2024
489d437
Merge branch '1.12.x' into 1.13.x
shakuzen Dec 16, 2024
6ed8fd9
Merge branch '1.13.x' into 1.14.x
shakuzen Dec 16, 2024
56995b2
Merge branch '1.14.x'
shakuzen Dec 16, 2024
3383e5c
Make jvm.classes.unloaded description generic (#5745)
shakuzen Dec 17, 2024
530cf70
Improve docs for same name with different tags (#5751)
jonatan-ivanov Dec 20, 2024
0e8ceb0
Merge branch '1.12.x' into 1.13.x
jonatan-ivanov Dec 20, 2024
6330df8
Merge branch '1.13.x' into 1.14.x
jonatan-ivanov Dec 20, 2024
fff016c
Merge branch '1.14.x'
jonatan-ivanov Dec 20, 2024
3625a9e
Fix performance regression in MeterRegistry#remove (#5750)
shakuzen Dec 20, 2024
9018b50
Merge branch '1.13.x' into 1.14.x
shakuzen Dec 20, 2024
bbc3003
Merge branch '1.14.x'
shakuzen Dec 20, 2024
0aaf730
Polish gh-5688 (#5755)
izeye Dec 23, 2024
c144654
Upgrade to Gradle Wrapper 8.12 (#5753)
izeye Dec 23, 2024
580636c
Polish gh-5609 (#5752)
izeye Dec 23, 2024
589c0e3
Suppress deprecations on AggregationTemporality.toOtlpAggregationTemp…
izeye Dec 23, 2024
0ca8ca2
Merge branch '1.9.x' into 1.12.x
shakuzen Dec 23, 2024
d69f01f
Merge branch '1.12.x' into 1.13.x
shakuzen Dec 23, 2024
7f5071f
Merge branch '1.13.x' into 1.14.x
shakuzen Dec 23, 2024
9d650ca
Merge branch '1.14.x'
shakuzen Dec 23, 2024
d77b7be
Fix concurrency issue with Exponential Histogram (#5749)
lenin-jaganathan Dec 25, 2024
b2d8277
Polish
shakuzen Dec 25, 2024
e4028e9
Merge branch '1.14.x'
shakuzen Dec 25, 2024
f3f5d76
Remove dependabot config for 1.12.x branch
shakuzen Jan 7, 2025
099e8d7
Bump io.netty:netty-bom from 4.1.115.Final to 4.1.116.Final (#5790)
dependabot[bot] Jan 9, 2025
3d47710
Bump jersey2 from 2.43 to 3.0.17 (#5789)
dependabot[bot] Jan 9, 2025
2f2005e
Merge branch '1.13.x' into 1.14.x
shakuzen Jan 9, 2025
5f17a13
Bump spring6 from 6.1.15 to 6.1.16 (#5784)
dependabot[bot] Jan 9, 2025
f3ca19f
Bump org.apache.logging.log4j:log4j-core from 2.24.2 to 2.24.3 (#5785)
dependabot[bot] Jan 9, 2025
224957a
Bump org.junit:junit-bom from 5.11.3 to 5.11.4 (#5787)
dependabot[bot] Jan 9, 2025
79747f5
Bump com.netflix.spectator:spectator-reg-atlas from 1.8.2 to 1.8.3 (#…
dependabot[bot] Jan 9, 2025
5fe1782
Bump software.amazon.awssdk:cloudwatch from 2.29.23 to 2.29.46 (#5795)
dependabot[bot] Jan 9, 2025
93452c1
Bump io.prometheus:prometheus-metrics-bom from 1.3.4 to 1.3.5 (#5783)
dependabot[bot] Jan 9, 2025
4dcc197
Merge branch '1.14.x'
shakuzen Jan 9, 2025
751e1f3
Bump software.amazon.awssdk:cloudwatch from 2.29.29 to 2.29.46 (#5801)
dependabot[bot] Jan 9, 2025
729fa83
Bump io.opentelemetry.proto:opentelemetry-proto (#5798)
dependabot[bot] Jan 9, 2025
08660b5
Bump com.netflix.spectator:spectator-reg-atlas from 1.8.2 to 1.8.3 (#…
dependabot[bot] Jan 9, 2025
7e16df6
Bump org.assertj:assertj-core from 3.26.3 to 3.27.2 (#5796)
dependabot[bot] Jan 9, 2025
1d22c4d
Bump com.google.auth:google-auth-library-oauth2-http (#5779)
dependabot[bot] Jan 9, 2025
971cf83
Bump com.google.cloud:google-cloud-monitoring from 3.55.0 to 3.56.0 (…
dependabot[bot] Jan 9, 2025
b4405b5
Bump com.gradle.develocity from 3.18.2 to 3.19 (#5773)
dependabot[bot] Jan 9, 2025
0579d6e
Bump io.netty:netty-bom from 4.1.115.Final to 4.1.116.Final (#5771)
dependabot[bot] Jan 9, 2025
8c41159
Bump org.gradle.toolchains.foojay-resolver-convention (#5774)
dependabot[bot] Jan 9, 2025
6ae9148
Bump spring6 from 6.2.0 to 6.2.1 (#5768)
dependabot[bot] Jan 9, 2025
9d696a8
Bump org.apache.logging.log4j:log4j-core from 2.24.2 to 2.24.3 (#5767)
dependabot[bot] Jan 9, 2025
7c3aa8a
Bump org.junit:junit-bom from 5.11.3 to 5.11.4 (#5763)
dependabot[bot] Jan 9, 2025
b421327
Bump io.prometheus:prometheus-metrics-bom from 1.3.4 to 1.3.5 (#5766)
dependabot[bot] Jan 9, 2025
4963f57
Bump dagger from 2.52 to 2.54 (#5765)
dependabot[bot] Jan 9, 2025
866db14
Bump org.jooq:jooq from 3.19.15 to 3.19.16 (#5769)
dependabot[bot] Jan 9, 2025
01ba28b
Bump com.google.cloud:libraries-bom from 26.50.0 to 26.52.0 (#5764)
dependabot[bot] Jan 9, 2025
7fd577c
Bump jersey2 from 2.45 to 2.46 (#5762)
dependabot[bot] Jan 9, 2025
7f3c478
Log delta count in addition to throughput in LoggingMeterRegistry (#5…
fstaudt Jan 9, 2025
318faae
Polish gh-5751 (#5760)
izeye Jan 9, 2025
557b611
Merge branch '1.12.x' into 1.13.x
jonatan-ivanov Jan 9, 2025
3fbe6bd
Merge branch '1.13.x' into 1.14.x
jonatan-ivanov Jan 10, 2025
1c891c7
Fit docs changes to 1.14.x
jonatan-ivanov Jan 10, 2025
83c0a15
Merge branch '1.14.x'
jonatan-ivanov Jan 10, 2025
be6f962
Handle all exceptions when getting/setting JMS headers
cfredri4 Dec 19, 2024
819fa61
Merge branch '1.12.x' into 1.13.x
jonatan-ivanov Jan 10, 2025
7e35196
Merge branch '1.13.x' into 1.14.x
jonatan-ivanov Jan 10, 2025
9bd23f1
Merge branch '1.14.x'
jonatan-ivanov Jan 10, 2025
521d57d
Add a test verifying that a single character meter name is allowed fo…
izeye Jan 10, 2025
92cb737
Merge branch '1.14.x'
jonatan-ivanov Jan 10, 2025
96f6e5d
Polish 1c891c7 (#5804)
izeye Jan 10, 2025
2e78d40
Merge branch '1.14.x'
jonatan-ivanov Jan 10, 2025
5010e2d
Polish (#5759)
izeye Jan 10, 2025
d1c8045
Merge branch '1.12.x' into 1.13.x
shakuzen Jan 10, 2025
4c64ed5
Merge branch '1.13.x' into 1.14.x
shakuzen Jan 10, 2025
b38c951
Merge branch '1.14.x'
shakuzen Jan 10, 2025
f328499
Adds post release action; fixes gh-5805
marcingrzejszczak Jan 13, 2025
229a787
Adds post release action; fixes gh-5805
marcingrzejszczak Jan 13, 2025
73e7928
Merge branch '1.13.x' into 1.14.x
marcingrzejszczak Jan 13, 2025
cdc7d63
Merge branch '1.14.x'
marcingrzejszczak Jan 13, 2025
8248c01
Fixed invalid variable reference in post release script
marcingrzejszczak Jan 13, 2025
7715be0
Fixing invalid announcing to spring releases space
marcingrzejszczak Jan 13, 2025
e9e18ab
Bump actions/checkout from 3 to 4 (#5806)
dependabot[bot] Jan 14, 2025
1be0009
Switch from CLA to DCO for contributions
shakuzen Jan 15, 2025
454c994
Merge branch '1.13.x' into 1.14.x
shakuzen Jan 15, 2025
9a1339b
Merge branch '1.14.x'
shakuzen Jan 15, 2025
e8f41e5
Link to DCO website
shakuzen Jan 15, 2025
9111b44
Document that MeterFilters are expected to be static (#5809)
shakuzen Jan 17, 2025
e163057
Merge branch '1.13.x' into 1.14.x
jonatan-ivanov Jan 17, 2025
2ba3d54
Merge branch '1.14.x'
jonatan-ivanov Jan 17, 2025
14d0cd8
Support AutoShutdownDelegatedExecutorService in ExecutorServiceMetric…
izeye Jan 20, 2025
1a9c7fb
Deprecate SignalFX Registry in favor of OTLP Registry (#5813)
shakuzen Jan 21, 2025
fa620c6
Remove special handling of 404/301 from OkHttp instrumentation (#5814)
shakuzen Jan 21, 2025
826166a
Fix gradle check with JDK17+ (#5735)
ngocnhan-tran1996 Jan 22, 2025
d645839
Create one MetricsFilter per registry in Log4j2Metrics (#5818)
shakuzen Jan 23, 2025
c0a3573
Merge branch '1.13.x' into 1.14.x
shakuzen Jan 23, 2025
7f59a6e
Merge branch '1.14.x'
shakuzen Jan 23, 2025
13f265e
Remove unneeded native image section from Stackdriver docs
shakuzen Jan 23, 2025
5d3441a
Merge branch '1.13.x' into 1.14.x
shakuzen Jan 23, 2025
c39bda3
Merge branch '1.14.x'
shakuzen Jan 23, 2025
5d66bf0
Added support of @MeterTag annotation on method level
MarinaMoiseenko Oct 11, 2024
ab6e73f
Fixed formatting
MarinaMoiseenko Oct 11, 2024
643467b
Deleted unused imports
MarinaMoiseenko Oct 11, 2024
5779f5a
Fixed formatting
MarinaMoiseenko Oct 11, 2024
8d6252a
Merge remote-tracking branch 'origin/create-tags-based-on-method-resu…
MarinaMoiseenko Jan 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 29 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,38 @@
version: 2.1

executors:
circle-jdk23-executor:
working_directory: ~/micrometer
environment:
GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError"'
resource_class: medium+
docker:
- image: cimg/openjdk:23.0.1
circle-jdk-executor:
working_directory: ~/micrometer
environment:
GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError"'
resource_class: medium+
docker:
- image: cimg/openjdk:21.0.2
- image: cimg/openjdk:21.0.5
circle-jdk17-executor:
working_directory: ~/micrometer
environment:
GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError"'
resource_class: medium+
docker:
- image: cimg/openjdk:17.0.11
- image: cimg/openjdk:17.0.13
circle-jdk11-executor:
working_directory: ~/micrometer
environment:
GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError"'
resource_class: medium+
docker:
- image: cimg/openjdk:11.0.22
- image: cimg/openjdk:11.0.25
machine-executor:
working_directory: ~/micrometer
machine:
image: ubuntu-2204:2024.05.1
image: ubuntu-2404:2024.08.1

commands:
gradlew-build:
Expand Down Expand Up @@ -60,6 +67,11 @@ commands:
path: ~/micrometer/test-results/

jobs:
build-jdk23:
executor: circle-jdk23-executor
steps:
- gradlew-build

build:
executor: circle-jdk-executor
steps:
Expand Down Expand Up @@ -107,13 +119,17 @@ workflows:
- build
- build-jdk11
- build-jdk17
- build-jdk23
- concurrency-tests
- docker-tests
- deploy:
context:
- deploy
requires:
- build
- build-jdk11
- build-jdk17
- build-jdk23
- concurrency-tests
- docker-tests
filters:
Expand Down Expand Up @@ -141,6 +157,12 @@ workflows:
ignore: /.*/
tags:
only: /^v\d+\.\d+\.\d+(-(RC|M)\d+)?$/
- build-jdk23:
filters:
branches:
ignore: /.*/
tags:
only: /^v\d+\.\d+\.\d+(-(RC|M)\d+)?$/
- concurrency-tests:
filters:
branches:
Expand All @@ -154,10 +176,13 @@ workflows:
tags:
only: /^v\d+\.\d+\.\d+(-(RC|M)\d+)?$/
- deploy:
context:
- deploy
requires:
- build
- build-jdk11
- build-jdk17
- build-jdk23
- concurrency-tests
- docker-tests
filters:
Expand Down
1 change: 0 additions & 1 deletion .gitattributes

This file was deleted.

2 changes: 2 additions & 0 deletions .github/dco.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
require:
members: false
8 changes: 4 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ updates:
directory: "/"
schedule:
interval: monthly
target-branch: "1.12.x"
milestone: 211
target-branch: "1.13.x"
milestone: 233
ignore:
# metrics are better with https://github.com/Netflix/Hystrix/pull/1568 introduced
# in hystrix 1.5.12, but Netflix re-released 1.5.11 as 1.5.18 late in 2018.
Expand All @@ -43,8 +43,8 @@ updates:
directory: "/"
schedule:
interval: monthly
target-branch: "1.13.x"
milestone: 233
target-branch: "1.14.x"
milestone: 250
ignore:
# metrics are better with https://github.com/Netflix/Hystrix/pull/1568 introduced
# in hystrix 1.5.12, but Netflix re-released 1.5.11 as 1.5.18 late in 2018.
Expand Down
112 changes: 112 additions & 0 deletions .github/workflows/post-release-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
name: Post Release Workflow

on:
workflow_dispatch: # Enables manual trigger

jobs:
generate-release-notes:
name: Generate Release Notes
runs-on: ubuntu-latest

steps:
- name: Check out the repository
uses: actions/checkout@v4

- name: Download Changelog Generator
run: |
curl -L -o github-changelog-generator.jar https://github.com/spring-io/github-changelog-generator/releases/download/v0.0.11/github-changelog-generator.jar

- name: Generate release notes
id: generate_notes
run: |
java -jar github-changelog-generator.jar \
${GITHUB_REF_NAME#v} \
changelog.md \
--changelog.repository="${{ github.repository }}" \
--github.token="${{ secrets.GITHUB_TOKEN }}"

- name: Run script to process Markdown file
run: python .github/workflows/process_changelog.py

- name: Update release text
run: |
echo -e "::Info::Original changelog\n\n"
cat changelog.md

echo -e "\n\n"
echo -e "::Info::Processed changelog\n\n"
cat changelog-output.md
gh release edit ${{ github.ref_name }} --notes-file changelog-output.md
env:
GH_TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}

close-milestone:
name: Close Milestone
runs-on: ubuntu-latest
needs: generate-release-notes
steps:
- name: Close milestone
run: |
# Extract version without 'v' prefix
milestone_name=${GITHUB_REF_NAME#v}

echo "Closing milestone: $milestone_name"

# List milestones and find the ID
milestone_id=$(gh api "/repos/${{ github.repository }}/milestones?state=open" \
--jq ".[] | select(.title == \"$milestone_name\").number")

if [ -z "$milestone_id" ]; then
echo "::error::Milestone '$milestone_name' not found"
exit 1
fi

# Close the milestone
gh api --method PATCH "/repos/${{ github.repository }}/milestones/$milestone_id" \
-f state=closed

echo "Successfully closed milestone: $milestone_name"
env:
GH_TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}

notify:
name: Send Notifications
runs-on: ubuntu-latest
needs: close-milestone

steps:
- name: Announce Release on `Spring-Releases` space
run: |
milestone_name=${GITHUB_REF_NAME#v}
curl --location --request POST '${{ secrets.SPRING_RELEASE_GCHAT_WEBHOOK_URL }}' \
--header 'Content-Type: application/json' \
--data-raw "{ text: \"${{ github.event.repository.name }}-announcing ${milestone_name}\"}"

- name: Post on Bluesky
env:
BSKY_IDENTIFIER: ${{ secrets.BLUESKY_HANDLE }}
BSKY_PASSWORD: ${{ secrets.BLUESKY_PASSWORD }}
run: |
# First get the session token
SESSION_TOKEN=$(curl -s -X POST https://bsky.social/xrpc/com.atproto.server.createSession \
-H "Content-Type: application/json" \
-d "{\"identifier\":\"$BSKY_IDENTIFIER\",\"password\":\"$BSKY_PASSWORD\"}" | \
jq -r .accessJwt)

# Create post content
VERSION=${GITHUB_REF_NAME#v}
POST_TEXT="${{ github.event.repository.name }} ${VERSION} has been released!\n\nCheck out the changelog: https://github.com/${GITHUB_REPOSITORY}/releases/tag/${GITHUB_REF_NAME}"

# Create the post
curl -X POST https://bsky.social/xrpc/com.atproto.repo.createRecord \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${SESSION_TOKEN}" \
-d "{
\"repo\": \"$BSKY_IDENTIFIER\",
\"collection\": \"app.bsky.feed.post\",
\"record\": {
\"\$type\": \"app.bsky.feed.post\",
\"text\": \"$POST_TEXT\",
\"createdAt\": \"$(date -u +"%Y-%m-%dT%H:%M:%S.000Z")\"
}
}"
148 changes: 148 additions & 0 deletions .github/workflows/process_changelog.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,148 @@
import re
import subprocess

input_file = "changelog.md"
output_file = "changelog-output.md"

def fetch_test_and_optional_dependencies():
# Fetch the list of all subprojects
result = subprocess.run(
["./gradlew", "projects"],
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
text=True,
)
subprojects = []
for line in result.stdout.splitlines():
match = re.match(r".*Project (':.+')", line)
if match:
subprojects.append(match.group(1).strip("'"))

print(f"Found the following subprojects\n\n {subprojects}\n\n")
test_optional_dependencies = set()
implementation_dependencies = set()

print("Will fetch non transitive dependencies for all subprojects...")
# Run dependencies task for all subprojects in a single Gradle command
if subprojects:
dependencies_command = ["./gradlew"] + [f"{subproject}:dependencies" for subproject in subprojects]
result = subprocess.run(
dependencies_command,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
text=True,
)
in_test_section = False
in_optional_section = False
in_implementation_section = False

for line in result.stdout.splitlines():
if "project :" in line:
continue

# Detect gradle plugin
if "classpath" in line:
in_optional_section = True
continue

# Detect test dependencies section
if "testCompileClasspath" in line or "testImplementation" in line:
in_test_section = True
continue
if "runtimeClasspath" in line or line.strip() == "":
in_test_section = False

# Detect optional dependencies section
if "compileOnly" in line:
in_optional_section = True
continue
if line.strip() == "":
in_optional_section = False

# Detect implementation dependencies section
if "implementation" in line or "compileClasspath" in line:
in_implementation_section = True
continue
if line.strip() == "":
in_implementation_section = False

# Parse dependencies explicitly declared with +--- or \---
match = re.match(r"[\\+|\\\\]--- ([^:]+):([^:]+):([^ ]+)", line)
if match:
group_id, artifact_id, _ = match.groups()
dependency_key = f"{group_id}:{artifact_id}"
if in_test_section or in_optional_section:
test_optional_dependencies.add(dependency_key)
if in_implementation_section:
implementation_dependencies.add(dependency_key)

# Remove dependencies from test/optional if they are also in implementation
final_exclusions = test_optional_dependencies - implementation_dependencies

print(f"Dependencies in either test or optional scope to be excluded from changelog processing:\n\n{final_exclusions}\n\n")
return final_exclusions

def process_dependency_upgrades(lines, exclude_dependencies):
dependencies = {}
regex = re.compile(r"- Bump (.+?) from ([\d\.]+) to ([\d\.]+) \[(#[\d]+)\]\((.+)\)")
for line in lines:
match = regex.match(line)
if match:
unit, old_version, new_version, pr_number, link = match.groups()
if unit not in exclude_dependencies:
if unit not in dependencies:
dependencies[unit] = {"lowest": old_version, "highest": new_version, "pr_number": pr_number, "link": link}
else:
dependencies[unit]["lowest"] = min(dependencies[unit]["lowest"], old_version)
dependencies[unit]["highest"] = max(dependencies[unit]["highest"], new_version)
sorted_units = sorted(dependencies.keys())
return [f"- Bump {unit} from {dependencies[unit]['lowest']} to {dependencies[unit]['highest']} [{dependencies[unit]['pr_number']}]({dependencies[unit]['link']})" for unit in sorted_units]

with open(input_file, "r") as file:
lines = file.readlines()

# Fetch test and optional dependencies from all projects
print("Fetching test and optional dependencies from the project and its subprojects...")
exclude_dependencies = fetch_test_and_optional_dependencies()

# Step 1: Copy all content until the hammer line
header = []
dependency_lines = []
footer = []
in_dependency_section = False

print("Parsing changelog until the dependency upgrades section...")

for line in lines:
if line.startswith("## :hammer: Dependency Upgrades"):
in_dependency_section = True
header.append(line)
header.append("\n")
break
header.append(line)

print("Parsing dependency upgrade section...")

# Step 2: Parse dependency upgrades
if in_dependency_section:
for line in lines[len(header):]:
if line.startswith("## :heart: Contributors"):
break
dependency_lines.append(line)

print("Parsing changelog to find everything after the dependency upgrade section...")
# Find the footer starting from the heart line
footer_start_index = next((i for i, line in enumerate(lines) if line.startswith("## :heart: Contributors")), None)
if footer_start_index is not None:
footer = lines[footer_start_index:]

print("Processing the dependency upgrades section...")
processed_dependencies = process_dependency_upgrades(dependency_lines, exclude_dependencies)

print("Writing output...")
# Step 3: Write the output file
with open(output_file, "w") as file:
file.writelines(header)
file.writelines(f"{line}\n" for line in processed_dependencies)
file.writelines("\n")
file.writelines(footer)
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,8 @@ bin/
.vscode
.DS_Store
.java-version

# jcstress
generated/
results/
jcstress-results-*.bin.gz
Loading
Loading