yats.git

ref: f444f162ca3b4d77fff99b444174697d0634f922

server/grafana/model_api_endpoints_list_metrics_request.go


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
/**
 * Yats - yats
 *
 * This file is licensed under the Affero General Public License version 3 or
 * later. See the COPYING file.
 *
 * @author Paolo Lulli <kevwe.com>
 * @copyright Paolo Lulli 2024
 */

package grafana

type ApiEndpointsListMetricsRequest struct {

	// The currently selected Metric option.
	Metric string `json:"metric,omitempty"`

	// The currently selected/entered payload options and values. Key is the name of the payload, and value is the value of the payload.
	Payload map[string]interface{} `json:"payload,omitempty"`
}