Comments (7)
me too,
from hubot-grafana.
slug deprecated in Grafana v5.0,
https://grafana.com/docs/grafana/latest/http_api/dashboard/
What should we do
from hubot-grafana.
I have created a patch to support Grafana 8. This patch may not be compatible with older Grafana, so it will be difficult to merge this in.
from hubot-grafana.
/cc #68
So with this change, what should the user interaction expectation be for working with a specific dashboard? Can we no longer have a command that shorthands it out to !graf db my-great-dashboard
instead of !graf db d3adbe3f
?
from hubot-grafana.
Reviewing the search API, I don't see a way to guarantee that we always return a single dashboard if we were to try and transform an existing user-friendly URI. It seems like a lot to ask for folks to learn a nine-character, case-sensitive UID to pull up their dashboard.
I see a handful of ways forward:
- Declare that this Hubot package supports only Grafana 7.x and below, effectively sun-setting this project (I don't like this option)
- Release
v3.0.0
that merges @superbrothers's branch with instructions for users of < 8 to remain on the 2.x release - Add an environment variable that enables Grafana 8 support (switch statement on how to query/return data). This allows folks to opt-in, but requires a manual step.
- Continue seeing if there's a way to handle the changes "under the hood" using the Search API in an attempt mitigate changes in user space
/cc @torkelo if you'd like to weigh in.
from hubot-grafana.
- Release v3.0.0 that merges @superbrothers branch with instructions for users of < 8 to remain on the 2.x release
I think this is the better way.
from hubot-grafana.
Making a note that the test coverage is rather extensive for this package. I started the process of updating it, but it will take a few sessions to get it all done.
from hubot-grafana.
Related Issues (20)
- graf db nginx-lua Why is the grafana homepage returned? HOT 8
- TimeZone support HOT 2
- Grafana 7: Full screen leads to localhost:3000 redirect HOT 4
- ERROR SyntaxError: Unexpected token < in JSON at position 0 HOT 3
- Upgrade from 2.5.2 to 3.0.1: dashboards can't be accessed by slug anymore HOT 5
- Can only receive 1 image by each query which queries all panels in the dashboard HOT 2
- Allow the bot to respond in a thread HOT 2
- S3 Region breaks existing setup HOT 2
- Support for @hubot-friends/hubot-slack
- feat: clean the NPM package to make its footprint smaller
- Getting rid of the obsolete request dependency
- Tests are too slow or timing out HOT 2
- Refactor platform specific actions to adapters? HOT 3
- Download method needs API key in header HOT 3
- [Windows] Unable to run `npm test` HOT 4
- Let's do some big refactoring
- Typings
- Bot will respond multiple times when Grafana is a bit slow
- Slack upload fails with `TypeError: this.robot.adapter.client.web.files.uploadV2 is not a function`
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 hubot-grafana.