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

Configuring R2DBC metrics binder #384

Merged

Conversation

Xicks
Copy link
Contributor

@Xicks Xicks commented Apr 13, 2022

I am adding a meter binder for R2DBC pool metrics. Metrics are extracted from class reactor.pool.Pool.PoolMetrics.
I could only bind metrics from class org.reactivestreams.Publisher.ConnectionFactory and casting to io.r2dbc.pool.ConnectionPool when possible, because the way Micrometer register the ConnectionPool.

It is my first time contributing so I did not know how to document the version in JavaDocs. I used the next version 4.2.1.

@Xicks
Copy link
Contributor Author

Xicks commented Apr 29, 2022

@alvarosanchez There seems to be a problem with permissions in the static analysis.

@alvarosanchez
Copy link
Member

@Xicks it's because GitHub won't expose the Sonar secret to a workflow running from a forked repo. Unfortunately, there is nothing that we can do about this, as far as we know.

@graemerocher graemerocher merged commit cce9df1 into micronaut-projects:master May 4, 2022
@graemerocher
Copy link
Contributor

Thanks for the contribution!

@Xicks Xicks deleted the feature/add-r2dbc-meter-bind branch May 6, 2022 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants