ru.yoomoney.gradle.plugins.grafana.GrafanaDashboardExtension Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grafana-dashboard-plugin Show documentation
Show all versions of grafana-dashboard-plugin Show documentation
Gradle plugin by YooMoney. See README: https://github.com/yoomoney/grafana-dashboard-plugin
The newest version!
package ru.yoomoney.gradle.plugins.grafana;
import org.gradle.api.file.FileCollection;
/**
* Grafana plugin settings
*/
public class GrafanaDashboardExtension {
/**
* Url to Grafana
*/
public String url;
/**
* Grafana authentication api token
*/
public String apiToken;
/**
* Grafana username
* Use {@link #apiToken} instead
*/
@Deprecated
public String user;
/**
* Grafana user password
* Use {@link #apiToken} instead
*/
@Deprecated
public String password;
/**
* Directory with dashboards descriptions
*/
public String dir = "grafana";
/**
* Folder id to save to http://docs.grafana.org/http_api/folder/
*/
public String folderId = "0";
/**
* Overwrite existing dashboards
*/
public Boolean overwrite = true;
/**
* Additional classpath to use during dashboard scripts evaluation
*/
public FileCollection classpath;
/**
* Print collected dashboards to stdout
*/
public Boolean printCollectedDashboards = false;
/**
* Trust all SSL certificates
*/
public Boolean trustAllSslCertificates = false;
}