ASH-Viewer icon indicating copy to clipboard operation
ASH-Viewer copied to clipboard

ASH Viewer API

Open vamckrishnap opened this issue 6 years ago • 11 comments

Hi I was working with the ASH viewer and found it very fascinating. I just wanted to know if the ASH Viewer would expose an API so that I could write a custom code to capture metrics which I desire to monitor. Please help me in this. Also, I would be thankful if you can suggest a way to use a Listener kind of thing to capture metrics from the ASH Viewer. Thanks in advance.

vamckrishnap avatar Sep 10 '18 06:09 vamckrishnap

Hi!

I am working on it. I decide to a complete rewrite of main code base (branch 4.0.0) to ease implement this features (and others too).

Thanks, Alex.

akardapolov avatar Sep 13 '18 06:09 akardapolov

Great Alex . I am eager to work on this project and partner you as a co-author for the code-base. Let me know if you are having any timelines.

Regards Vamsi

vamckrishnap avatar Sep 18 '18 09:09 vamckrishnap

I too am very interested in running ASH-Viewer but in a headless state. Would like to be able to pass startup parm such as duration of logging session.

jcepek avatar Oct 07 '18 03:10 jcepek

@Vamsi It will be done before the new year

@jcepek Need some time to prepare code to publish

akardapolov avatar Nov 30 '18 12:11 akardapolov

First and foremost "Thanks so much for considering this option", I could certainly help in the testing of its functionality and provide feedback. The value of a headless Ash Viewer and the ability to schedule the observation period would be incredibly useful.

Just a bit more information to further explain my use case. As a systems engineer there a times when there is value in monitoring a db in the middle of the night. My goal would be to write a wrapper which allows for call to headless Ash Viewer with parms such as log location, start time of logging, end time of logging/duration. Once completed, the log info would be collected and sent back for review in a local Ash Viewer client.

Best Regards

jcepek avatar Dec 04 '18 15:12 jcepek

@akardapolov Greetings Alex, Hope all is well! Just curious as to the status of this feature? Are you still intending to implement? Any guess as to when it may be available (no pressure, just highly anticipating this feature). If I can assist in pre-release testing, I would be happy to do so.

Best Regards

jcepek avatar Feb 03 '19 15:02 jcepek

@jcepek need some time to prepare the code. 2-3 days left.

akardapolov avatar Feb 17 '19 06:02 akardapolov

@akardapolov Thank you for taking the time to respond. As I had said in a prior comment, would be happy to assist in proofing the changes.

jcepek avatar Feb 18 '19 17:02 jcepek

@jcepek

Done

https://github.com/akardapolov/ASH-Viewer/tree/4.0.0 https://github.com/akardapolov/ASH-Viewer/releases/tag/v4.0.0

akardapolov avatar Feb 19 '19 10:02 akardapolov

@akardapolov First and foremost, Thank you for all you hard work. I have installed the latest release and so far so good.

One question, does the new release support any startup parameters in regard to when to start monitoring and when to end monitoring. If you recall my original post was inquiring into the ability to drive this in a headless fashion.

Best Regards !

jcepek avatar Feb 20 '19 00:02 jcepek

@akardapolov Greetings. Are you still considering providing the ability to provide a headless API for Ash Viewer?

jcepek avatar Aug 03 '19 13:08 jcepek