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

Ability to Disable Gathering Of Metrics #1014

Closed
afroDC opened this Issue Jun 14, 2018 · 4 comments

Comments

Projects
None yet
4 participants
@afroDC

afroDC commented Jun 14, 2018

Gathering metrics for Gluu Server into LDAP to display in oxTrust is sometimes unnecessary and unwieldy, requiring writes to LDAP for no discernible reason. There should be an option to disable metric gather.

@yurem

This comment has been minimized.

Contributor

yurem commented Aug 18, 2018

Implemented. In current oxAuth/oxTrust there is new parameter "metricReporterEnabled" in JSON configu to enable/disable metric persistence.

Admin can change this value without server restart.

@yurem yurem closed this Aug 18, 2018

@natt-tester

This comment has been minimized.

natt-tester commented Sep 21, 2018

@yurem, when I disabled the "metricReporterEnabled" and tested blocked login, it generated a lot of data displayed later in the metrics: the login values rose from 90/62 (successful/failed login) to 102/87 and counting.

I did not restart the server as you said it wasn't necessary.

This was the setup on c7:

metrics

@natt-tester natt-tester reopened this Sep 21, 2018

@syntrydy syntrydy self-assigned this Sep 24, 2018

@syntrydy

This comment has been minimized.

Contributor

syntrydy commented Sep 24, 2018

image

@syntrydy

This comment has been minimized.

Contributor

syntrydy commented Sep 24, 2018

image

syntrydy pushed a commit that referenced this issue Sep 24, 2018

syntrydy added a commit that referenced this issue Sep 24, 2018

Merge pull request #1254 from /issues/1014
Fix metrics report enable/disable #1014

syntrydy pushed a commit that referenced this issue Sep 24, 2018

@syntrydy syntrydy closed this Sep 24, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment