Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

Add links for Logs and Events #298

Merged
merged 1 commit into from
Jun 2, 2016
Merged

Add links for Logs and Events #298

merged 1 commit into from
Jun 2, 2016

Conversation

jeremiak
Copy link
Contributor

@jeremiak jeremiak commented May 31, 2016

This PR adds a link for the current logs view of the application. There is no way to embed an iframe until we resolve cloud-gov/logsearch-for-cloudfoundry#5, so in the meantime we are using plain links to direct users to the proper places on logs.cloud.gov. Screenshot:

Right now, the "Logs" link works but I'm having issues with the "Events" link. I'm not quite sure what it should link to. When I follow @mogul's instructions I get an empty dashboard. Screenshot:
The instructions I am referencing are:

  1. Load logs.cloud.gov
  2. Select "Load Saved Dashboard"
  3. Select "App - Events"
  4. No results found

Refs #289

@mogul
Copy link
Contributor

mogul commented May 31, 2016

@jeremiak Check that there should actually be events for the app in question from the CLI: cf events APP_NAME.

@msecret
Copy link
Contributor

msecret commented May 31, 2016

This looks good, waiting for you to check what Bret said. I also re-ran the tests because it was a random failure.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 72.599% when pulling 22450967473286a85a2ae69809144f26186b0be6 on jk-add-logs-links into ffb4003 on staging-alpha.

Generate links to Kibana for both app logs and
app events. Currently, both links set "Year to date"
as the time query for the report. This increases
the liklihood that the user will see a message
instead of the default of "Last 15 minutes".
@jeremiak jeremiak changed the title [WIP] Add links for Logs and Events Add links for Logs and Events Jun 2, 2016
@jeremiak
Copy link
Contributor Author

jeremiak commented Jun 2, 2016

Here's a screenshot of the current view:
Screenshot of current implementation of the app page component with event and log links

This is technically ready for review @msecret. Both the logs and events links should go to the proper view on Kibana, with the time bounds set by default to year to date to help ensure that there will be data for the user to look at.

I wanted to raise the issue of the current text not being super helpful to users who don't already have context on what the difference between an "event" and the regular "logs" are. Indeed, I'm not quite sure of this difference myself. @mogul anywhere I can grab some text on what an event is and how it differs from the other logs?

@coveralls
Copy link

Coverage Status

Coverage remained the same at 72.599% when pulling 7adb048 on jk-add-logs-links into 9bb0f11 on staging-alpha.

@msecret msecret merged commit f9da550 into staging-alpha Jun 2, 2016
@mogul
Copy link
Contributor

mogul commented Jun 2, 2016

@jeremiak said:

I wanted to raise the issue of the current text not being super helpful to users who don't already have context on what the difference between an "event" and the regular "logs" are. Indeed, I'm not quite sure of this difference myself. @mogul anywhere I can grab some text on what an event is and how it differs from the other logs?

I don't see any good summary in the CF docs, so maybe distill what you see in this SO answer?

@jeremiak jeremiak deleted the jk-add-logs-links branch June 2, 2016 20:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants