GetMetrics fetches available metric names from the datasource. Returns the metrics list and recommended TTL for caching. The client parameter should have proper authentication configured.
(ctx context.Context, datasourceUID, datasourceURL string, client *http.Client)
| 14 | // Returns the metrics list and recommended TTL for caching. |
| 15 | // The client parameter should have proper authentication configured. |
| 16 | GetMetrics(ctx context.Context, datasourceUID, datasourceURL string, |
| 17 | client *http.Client) (*MetricsResult, error) |
| 18 | } |
| 19 |
no outgoing calls