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

Unable to access /metrics #2

Open
prashantjulka opened this issue May 23, 2017 · 9 comments
Open

Unable to access /metrics #2

prashantjulka opened this issue May 23, 2017 · 9 comments

Comments

@prashantjulka
Copy link

Sample-Dropwizard.tar.gz
Attaching a demo application. Please let me know, if I am doing something wrong.
And, when I configured actuator, I was able to see the data provided by actuator at '/metrics' but there was no data for timer, metered, etc.

@scrain
Copy link

scrain commented May 23, 2017

The /metrics endpoint won't show any timed or metered data unless some is gathered. You need to enable the actuator endpoints and also hit your controller at least once and then you should see those metrics.

@jeffscottbrown
Copy link
Member

There is a relevant TBD in the docs at

NOTE: TBD - notes on configuring the endpoint.
. If anyone wants to send a PR to update that, all input is welcome.

@prashantjulka
Copy link
Author

@scrain
I have tried enabling actuator. I could see the data which comes when actuator is enabled, but there is no data related to metered, timed; even after hitting the controller multiple times.

@psurolia
Copy link

@jeffbrown I am also facing same issue, could you please let us know if we are missing any part for configuring endpoint.

@psurolia
Copy link

psurolia commented Jun 6, 2017

@jeffbrown Could you please update on this issue.

@nishantrevo
Copy link

@jeffbrown I am also not able to access it, Do I have to do some other configuration as well which is not documented.

@psurolia
Copy link

psurolia commented Jun 8, 2017

@prashantjulka By defining metricRegistry bean in resources.groovy, I am able to get timer information by applying @timed Annotation but getting a scattered information in JSON which does not match with format mentioned at http://grails-plugins.github.io/grails-dropwizard-metrics/1.0.0.M2/index.html#_exposing_metrics_data

@jeffbrown If possible could you please check https://stackoverflow.com/questions/42619036/grails-dropwizard-metrics-plugin-doesnt-output-metrics-data-in-correct-format

and let us know what else configurations needed to get desired result in correct format.

@charu-jain89
Copy link

Hi @jeffbrown Please update us on the above issue. We need to implement this in our current application.

@abcfy2
Copy link

abcfy2 commented Sep 28, 2018

Any updates for this issue ? I have the same issue #7 . How to use this plugin ? How to format the metrics like the official doc: https://grails-plugins.github.io/grails-dropwizard-metrics/1.0.0.M3/index.html#_exposing_metrics_data

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

No branches or pull requests

7 participants