Giter Site home page Giter Site logo

Comments (5)

tabjy avatar tabjy commented on May 12, 2024

I have a WIP branch for adding Grafana links to reports.

It only displays the link if one is configured. However, can you clarify the definition of being "accessible"? Should it just simply check if there is a web service available at the configured URL, or there are more verifications need to be done?

from cryostat.

andrewazores avatar andrewazores commented on May 12, 2024

Simply checking that the environment variable is set is probably good enough, at least for now. I'm not sure it would necessarily be worth trying to perform some pre-verification that the configured Grafana instance is accessible, as opposed to simply allowing operations to fail (ex. injected links are broken, or recording uploads respond with errors).

The linking desired in this issue is more of a deep-linking than simply to the main page of the dashboard, so I should edit the issue title/description to be more accurate. We don't currently have a URL scheme for this, but the idea is that certain rules (unclear exactly which at this point) would gain links to views within Grafana with visualizations of data pertaining to those rule reports. For simply visiting the Grafana dashboard itself, this is already easily achieved when a user clicks the "View in Grafana" button in the expanded recording item - after a successful upload of the recording to the jfr-datasource, the web client attempts to open the dashboard URL in a new tab.

from cryostat.

tabjy avatar tabjy commented on May 12, 2024

Sorry for misinterpreting the requirements. If I understand correctly, the first step is to find the correspondences between rules (defined in flightrecorder.rules.jdk module) and individual panels (defined in jfr-datasource/dashboards/dashboard.json). Is there existing progress on this? If not, I'm glad to start looking into this topic.

from cryostat.

andrewazores avatar andrewazores commented on May 12, 2024

Jie and I have talked about that very briefly, but we're still not completely sure what it should look like. Some of the rules probably do correspond very well with existing dashboard panels, but there are others that do not and will require some UI planning to even figure out what the visualization should look like before we can get to linking to the visualization. Then we need to do some more UI planning to figure out how we want to organize these different visualizations into distinct views that can reflect each of the rules, and then we will worry about how to produce generated links from rules to those views.

from cryostat.

tabjy avatar tabjy commented on May 12, 2024

Okay I understand now. I'll stop working on this topic at this time until it's more clear. Thanks for sharing this information.

from cryostat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.