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

Test Mtgraphite emitter with new logmet endpoints #337

Open
nadgowdas opened this issue Sep 26, 2017 · 2 comments
Open

Test Mtgraphite emitter with new logmet endpoints #337

nadgowdas opened this issue Sep 26, 2017 · 2 comments
Labels

Comments

@nadgowdas
Copy link
Contributor

Description

As reported by @fabolive (https://github.ibm.com/watson-foundation-services/tracker/issues/9375#issuecomment-3496780), mtgraphite emitter works with legacy endpoints and does not work with new endpoints.

Need to test and fix emitter.

@nadgowdas
Copy link
Contributor Author

I tried publishing metrics to the new logmet endpoint. I used metrics.stage1.ng.bluemix.net. Although, in crawler log it shows it has successfully

2017-09-26 13:46:26,000 MainProcess INFO     Sent authentication with mtgraphite, returned length = 52
2017-09-26 13:46:26,262 MainProcess INFO     MTGraphite authentication server response of 1A
2017-09-26 13:46:26,364 MainProcess INFO     Confirmed write to mtgraphite socket.

on grafana, it does not show any data.

Another point, although crawler is started with frequency=60, i see only one emit log in the crawler o/p. It does not send logs periodically.

@fabolive @sahilsuneja1 @canturkisci

@fabolive
Copy link
Collaborator

fabolive commented Sep 27, 2017

@nadgowdas It seems to me that the new Logmet endpoints now can send "partial ACKs", that is, a message that contains fewer than the 6 bytes that comprise a full ACK. The behavior we are seeing in the mtgraphite emitter seems to be related to this change.
For our reference, here is a pull request made against a nodeJS Logmet client I maintain to support the new endpoints: IBM/logmet-client-njs#2

cc: @canturkisci @sahilsuneja1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants