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

[CDAP-20824] Emit zero for flow-control launching metric if there is no inflight launching pipeline when appfabric starts #15357

Merged
merged 1 commit into from
Oct 16, 2023

Conversation

masoud-io
Copy link
Contributor

No description provided.

@masoud-io masoud-io requested a review from albertshau October 12, 2023 17:20
@masoud-io masoud-io added build Triggers github actions build 6.10 labels Oct 12, 2023
@masoud-io masoud-io force-pushed the bugfixes/cdap-20824 branch from 61ca52b to 49c7256 Compare October 12, 2023 20:01
@@ -188,7 +188,7 @@ public void removeRequest(ProgramRunId programRunId, boolean emitRunningChange)
}
}

private void emitMetrics(String metricName, long value) {
public void emitMetrics(String metricName, long value) {
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: I think it would be a little better to add a public emitLaunchingMetric(long value) method and keep this one private. That way the metric name stays a detail of this class instead of in both.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Great suggestion. Done.

@masoud-io masoud-io force-pushed the bugfixes/cdap-20824 branch from 49c7256 to 8ce0edc Compare October 12, 2023 20:17
@masoud-io masoud-io force-pushed the bugfixes/cdap-20824 branch from 8ce0edc to f9e0935 Compare October 16, 2023 16:53
@masoud-io masoud-io merged commit e1d660c into develop Oct 16, 2023
@masoud-io masoud-io deleted the bugfixes/cdap-20824 branch October 16, 2023 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.10 build Triggers github actions build
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants