All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ru.yoomoney.gradle.plugins.grafana.GrafanaDashboardExtension Maven / Gradle / Ivy

Go to download

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;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy