yats.git

ref: 65c512f75b1c711811c4b245a085bac8c45151c9

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"`
}