Can the data source be provisioned by version number? #1074
-
We use provisioning for our data sources, but I've notice that we get the latest one each time a new user gets added. I would like to be able to stage first in dev before allowing it into production, but I don't see a way of including a version (like the graphiteVersion) in my provisioned yaml file. Is there a way? |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 6 replies
-
Can you explain more? What do you mean latest every time? How do you provision etc? |
Beta Was this translation helpful? Give feedback.
-
I provision from a yaml file. When a user is created, it deploys the grafana environment using the provisioned data source. But it always picks the latest version available, instead of being able to have it in the provisioned yaml file. I noticed that graphite has this capability e.g. graphiteVersion= "1.1". I'd like to be able to do the same with infinity. I now have new users using 2.11.4, and older ones using 2.11.3, so I'd like to be able to validate the updates before having the production environment use the latest. |
Beta Was this translation helpful? Give feedback.
-
I’m not at my computer at the moment, I can sent it tomorrow if it’s needed. What’s the 2.11.4 then? The Manifest shows 2.11.3 on some of my deployments and some with 2.11.4. This is the infinity plugin we’re talking about right?I’m deploying on-prem. Nothing is broken, it’s working fine. I just wanted to control what gets installed and when. David714-476-2692On Nov 28, 2024, at 14:02, Sriram ***@***.***> wrote:
And datasources doesnt have version at all. Only plugins will have version
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Here's the yaml I'm using.
What I've seen as far as graphite is concerned, is:
|
Beta Was this translation helpful? Give feedback.
-
When each user is created, it creates a plugin directory there as well, in in that is the yesoreyeram-infinity-datasource folder, and in that is the MANFEST file. And within that you see the version: 2.11.4 (or 2.11.3 on my older users). Since those seem to match what the repo is showing as released, I assumed we are alway getting "latest" when a user is created.
|
Beta Was this translation helpful? Give feedback.
-
the user creation I'm referring to is an entire grafana stand-alone environment, with each having their own config, so it does matter. |
Beta Was this translation helpful? Give feedback.
-
@yesoreyeram thanks for the link... I totally missed the docker part that shows using GF_INSTALL_PLUGINS with the zip file. I'm using the grafana method where I'm putting these directives in the config.env file. With adding the directive below, it comes back now saying that:
original directive
new directive
Any ideas on how to get that to find the download file? |
Beta Was this translation helpful? Give feedback.
-
thanks again for the info!
ALL working now, thanks for you patients and help. |
Beta Was this translation helpful? Give feedback.
At the bottom of the plugin catalog you can find this. https://grafana.com/grafana/plugins/yesoreyeram-infinity-datasource/?tab=installation
alternatively (least preferred option) in github release page you can find this https://github.com/grafana/grafana-infinity-datasource/releases