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

Get Metrics without changing the code of an existing application #64

Open
ShehanPerera opened this issue Jan 22, 2018 · 1 comment
Open

Comments

@ShehanPerera
Copy link

Hi ,
In stagemonitor-standalone-test there is @MonitorRequests annotation used to monitor the requests. Is there an API to instrument my own classes without adding annotations. Basically, monitor a method in a custom class and add a metric. I don't want to change the code of the existing application. Is it possible ?

@ShehanPerera
Copy link
Author

I just saw this wiki page: https://github.com/stagemonitor/stagemonitor/wiki/Integrate-stagemonitor-into-non-servlet-based-applications

I hope I can instrument my classes by extending AbstractTracingTransformer and registering it. I will check on this.

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

1 participant