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

Two minor fixes in metrics and tests #1646

Merged
merged 3 commits into from
Oct 16, 2020
Merged

Conversation

jcague
Copy link
Contributor

@jcague jcague commented Oct 16, 2020

Description

This is a small PR to implement two small fixes:

  • We were not populating Prometheus metrics about promises when there were no connections/streams.
  • We were having some warnings when running tests.

[] It needs and includes Unit Tests

Changes in Client or Server public APIs

Not needed.

[] It includes documentation for these changes in /doc.

Copy link
Contributor

@lodoyun lodoyun left a comment

Choose a reason for hiding this comment

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

This looks good to me 👍

@@ -738,6 +732,7 @@ exports.ErizoJSController = (erizoJSId, threadPool, ioThreadPool) => {
});
});
initMetrics();
console.log(metrics);
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this for your testing?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

this was for local testing, I should remove it, thanks!

@jcague jcague merged commit 95bff77 into lynckia:master Oct 16, 2020
@jcague jcague deleted the fix/minor_fixes branch October 16, 2020 17:03
Arri98 pushed a commit to Arri98/licode that referenced this pull request Apr 6, 2021
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.

2 participants