stagemonitor / stagemonitor-mailinglist

GitHub issues abused as a mailing list
3 stars 0 forks source link

Unable to view the endpoint #61

Open hbelliappa opened 6 years ago

hbelliappa commented 6 years ago

From logs stage monitor in the spring boot app is intialized

23:39:02.999 [main] INFO org.stagemonitor.core.Stagemonitor - Measurement Session is initialized: [application=TimeClock] [instance=dev] [host=xxxxx]
23:39:03.002 [main] INFO org.stagemonitor.core.Stagemonitor - Initializing plugin CorePlugin
23:39:03.015 [main] INFO org.stagemonitor.core.CorePlugin - Not sending metrics to InfluxDB (url=null, interval=60s)
23:39:03.015 [main] INFO org.stagemonitor.core.CorePlugin - Not sending metrics to Elasticsearch (url=[], interval=60s)
23:39:03.023 [main] INFO org.stagemonitor.core.Stagemonitor - Initializing plugin WebPlugin
23:39:03.092 [main] INFO org.stagemonitor.core.Stagemonitor - Initializing plugin RequestMonitorPlugin
23:39:03.244 [main] INFO org.stagemonitor.core.Stagemonitor - Initializing plugin JvmPlugin
23:39:03.260 [main] INFO org.stagemonitor.core.Stagemonitor - Initializing plugin JdbcPlugin

But when a req is issued to http://localhost:8080/timeclock/stagemonitor I get the response below.

{ "timestamp": 1512276318874, "status": 404, "error": "Not Found", "message": "No message available", "path": "/timeclock/stagemonitor" }

  1. I use java 8 and have byte buddy installed.
  2. stagemonitor.properties is present.
  3. Using Springboot 1.5 with the Stagemonitor.init()

Can you please help me isolate what I am missing

felixbarny commented 6 years ago

Does http://localhost:8080/stagemonitor work?

hbelliappa commented 6 years ago

No I am not able to get the localhost:8080/stagemonitor to work.

But in the logs I see the performance metrics

########## PerformanceStats ##########

id: ae03c643-9434-40a9-88a2-bdb84a7fa5f6

name: Get Local Time

params: {timezone=null}


Selftime (ms) Total (ms) Method signature


000000.16 000% ---------- 000036.32 100% |||||||||| Get Local Time

000036.16 100% |||||||||: 000036.16 100% |||||||||: `-- Time org.timeclock.getLocalTime.controller.ClockController.getLocalTime(String)

Printing stats took 3 ms

######################################

I have dependancy on both stagemonitor-core and web in my application

org.stagemonitor stagemonitor-core 0.31.0 org.stagemonitor stagemonitor-web 0.31.0

From: Felix notifications@github.com Sent: Sunday, December 3, 2017 5:36 AM To: stagemonitor/stagemonitor-mailinglist Cc: hbelliappa; Author Subject: Re: [stagemonitor/stagemonitor-mailinglist] Unable to view the endpoint (#61)

Does http://localhost:8080/stagemonitor work?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/stagemonitor/stagemonitor-mailinglist/issues/61#issuecomment-348754957, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQH9NKG6C2DKdyiBmx45EvOrQstwEcBoks5s8nm4gaJpZM4QzlrM.

felixbarny commented 6 years ago

stagemonitor-web is deprecated and 0.31.0 is a pretty old version. Please follow the installation guide in the wiki.

hbelliappa notifications@github.com schrieb am So., 3. Dez. 2017 21:05:

No I am not able to get the localhost:8080/stagemonitor to work.

But in the logs I see the performance metrics

########## PerformanceStats ##########

id: ae03c643-9434-40a9-88a2-bdb84a7fa5f6

name: Get Local Time

params: {timezone=null}


Selftime (ms) Total (ms) Method signature


000000.16 000% ---------- 000036.32 100% |||||||||| Get Local Time

000036.16 100% |||||||||: 000036.16 100% |||||||||: `-- Time org.timeclock.getLocalTime.controller.ClockController.getLocalTime(String)

Printing stats took 3 ms

######################################

I have dependancy on both stagemonitor-core and web in my application

org.stagemonitor stagemonitor-core 0.31.0 org.stagemonitor stagemonitor-web 0.31.0

From: Felix notifications@github.com Sent: Sunday, December 3, 2017 5:36 AM To: stagemonitor/stagemonitor-mailinglist Cc: hbelliappa; Author Subject: Re: [stagemonitor/stagemonitor-mailinglist] Unable to view the endpoint (#61)

Does http://localhost:8080/stagemonitor work?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub< https://github.com/stagemonitor/stagemonitor-mailinglist/issues/61#issuecomment-348754957>, or mute the thread< https://github.com/notifications/unsubscribe-auth/AQH9NKG6C2DKdyiBmx45EvOrQstwEcBoks5s8nm4gaJpZM4QzlrM

.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/stagemonitor/stagemonitor-mailinglist/issues/61#issuecomment-348810030, or mute the thread https://github.com/notifications/unsubscribe-auth/ACEDCI-2nS6wS8zsP4kp3-lPMzjNBdShks5s8v7vgaJpZM4QzlrM .