You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Answering questions on the [Micrometer slack](https://slack.micrometer.io)
21
+
* Share knowledge in other ways (e.g. presentations, blogs)
22
+
23
+
The remainder of this document will focus on guidance for contributing code changes. It will help contributors to build,
24
+
modify, or test the source code.
25
+
26
+
## Include a Signed Off By Trailer
27
+
28
+
All commits must include a *Signed-off-by* trailer at the end of each commit message to indicate that the contributor agrees to the [Developer Certificate of Origin](https://developercertificate.org).
29
+
For additional details, please refer to the blog post [Hello DCO, Goodbye CLA: Simplifying Contributions to Spring](https://spring.io/blog/2025/01/06/hello-dco-goodbye-cla-simplifying-contributions-to-spring).
30
+
31
+
## Getting the source
32
+
33
+
The source code is hosted on GitHub at https://github.com/micrometer-metrics/prometheus-rsocket-proxy. You can use a
34
+
Git client to clone the source code to your local machine.
35
+
36
+
## Building
37
+
38
+
This project targets Java 17.
39
+
40
+
The Gradle wrapper is provided and should be used for building with a consistent version of Gradle.
41
+
42
+
The wrapper can be used with a command, for example, `./gradlew check` to build the project and check conventions.
43
+
44
+
## Importing into an IDE
45
+
46
+
This repository should be imported as a Gradle project into your IDE of choice.
47
+
48
+
## Testing changes locally
49
+
50
+
Specific modules or a test class can be run from your IDE for convenience.
51
+
52
+
The Gradle `check` task depends on the `test` task, and so tests will be run as part of a build as described previously.
53
+
54
+
### Publishing local snapshots
55
+
56
+
Run `./gradlew pTML` to publish a Maven-style snapshot to your Maven local repo. The build automatically calculates
57
+
the "next" version for you when publishing snapshots.
58
+
59
+
These local snapshots can be used in another project to test the changes.
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ or
65
65
This will autoconfigure the Micrometer `PrometheusMeterRegistry`, a `PrometheusRSocketClient`, and a call to `pushAndClose` on application shutdown. The client will be configured to retry failing connections to the proxy. Retrying can be tuned with:
0 commit comments