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

Export stats struct/publisher interface for monitoring #97

Merged
merged 1 commit into from Jul 14, 2020

Conversation

DrJosh9000
Copy link
Contributor

Currently, exporting monitoring metrics would require patching the ecu
package to add the necessary functionality. Exporting the types allows
an implementation to provide a statistics publisher via the ECU config.
This PR also makes a few changes to how ecu/stats.go operates.

ecu/stats.go Outdated Show resolved Hide resolved
ecu/stats.go Outdated Show resolved Hide resolved
ecu/core.go Outdated Show resolved Hide resolved
@liuyuan10
Copy link
Member

could you squash all your commit into one? I don't see they need to be separate.
https://www.internalpointers.com/post/squash-commits-into-one-git

@liuyuan10
Copy link
Member

@DrJosh9000 In case you missed it, please squash the commits into a single one in this RP as I said above. Thanks

Currently, exporting monitoring metrics would require patching the ecu
package to add the necessary functionality. Exporting the types allows
an implementation to provide a statistics publisher via the ECU config.
This PR also makes a few changes to how ecu/stats.go operates.
@DrJosh9000
Copy link
Contributor Author

I did not miss your comment, and I've tried to do it (twice, with 6d7e073 and cc4c166), but it doesn't seem to have had the intended effect.

@DrJosh9000
Copy link
Contributor Author

Never mind, I needed to git push --force, apparently. TIL!

@DrJosh9000 DrJosh9000 merged commit 22c7e01 into google:master Jul 14, 2020
@DrJosh9000 DrJosh9000 deleted the wip2 branch July 14, 2020 23:28
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.

None yet

3 participants