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

Removed http_json_api metrics from ledger metrics [DPP-1307]. #15552

Merged

Conversation

atriantafyllos-da
Copy link
Contributor

@atriantafyllos-da atriantafyllos-da commented Nov 11, 2022

Copy link
Contributor

@mziolekda mziolekda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left 2 minor comments. Let me know when addressed. Looks good!

@atriantafyllos-da
Copy link
Contributor Author

Left 2 minor comments. Let me know when addressed. Looks good!

@mziolekda Addressed them.

val registry: MetricRegistry,
val otelMeter: OtelMeter,
) {
) extends DropwizardFactory {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are the reasons for HttpJsonApiMetrics to extend DropwizardFactory ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No reason, I overlooked that the subsequent timers are created by a DropwizardFactory defined into the class.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing it.

@atriantafyllos-da atriantafyllos-da force-pushed the DPP-1307-move-json-http-metrics-to-ledger-client branch from 7b9c6cc to 1918455 Compare November 15, 2022 09:21
@atriantafyllos-da
Copy link
Contributor Author

rebased

Copy link
Contributor

@mziolekda mziolekda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, removing those dependencies is a positive move at any measure.

Copy link
Contributor

@nicu-da nicu-da left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@atriantafyllos-da atriantafyllos-da merged commit 5ddd064 into main Nov 15, 2022
@atriantafyllos-da atriantafyllos-da deleted the DPP-1307-move-json-http-metrics-to-ledger-client branch November 15, 2022 13:56
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.

4 participants