Comments (5)
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.
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.
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.
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.
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)
- [Bug] Missing log output since #1720 HOT 3
- [Bug] CI startup failure HOT 8
- [Story] Integration with Red Hat Insights for Red Hat customers
- [Bug] Typo in CI workflow
- [Bug] CI `/build_test` does not reflect code quality checks status, only tests
- [Request] Env map forwarded to Agent instances should be configurable
- [Bug] Hang on opening JMX connection HOT 3
- [Meta] CI workflows must request write permissions HOT 1
- [Bug] CI does not have permissions to download `cryostat-core` dependency HOT 5
- [Request] Provide a param that can set the web context root path of cryostat-web HOT 6
- [Task] Add `--tags` flag to `git describe` in `pom.xml` version generation
- [Meta] Drop release drafter action, add GitHub release notes config
- [Bug] javax.naming.ConfigurationException: Environment variable CRYOSTAT_JMX_CREDENTIALS_DB_PASSWORD must be set and non-blank HOT 8
- [Bug] Websocket not working with Cryostat exposed on a specific Path HOT 2
- [Bug] Cryostat should not always assume Kubernetes ports numbered 9091 are JMX
- [Bug] `BUILTIN_DISCOVERY_DISABLED` is ignored if `PLATFORM` is set
- [Bug] Cannot delete custom targets that no longer point to a JVM
- [Bug] Unable to interact with short form custom target HOT 7
- [Bug] Unable to archive recordings for short form custom target HOT 2
- [Bug] GET recording error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cryostat.