public class GrafanaClientImpl extends Object implements GrafanaClient
| Constructor and Description |
|---|
GrafanaClientImpl(GrafanaServerConfiguration grafanaServerConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
Dashboard |
getDashboardByUid(String uid) |
List<Dashboard> |
getDashboards() |
CompletableFuture<byte[]> |
renderPngForPanel(Dashboard dashboard,
Panel panel,
int width,
int height,
long from,
long to,
String timezone,
Map<String,String> variables) |
public GrafanaClientImpl(GrafanaServerConfiguration grafanaServerConfiguration)
public List<Dashboard> getDashboards() throws IOException
getDashboards in interface GrafanaClientIOExceptionpublic Dashboard getDashboardByUid(String uid) throws IOException
getDashboardByUid in interface GrafanaClientIOExceptionpublic CompletableFuture<byte[]> renderPngForPanel(Dashboard dashboard, Panel panel, int width, int height, long from, long to, String timezone, Map<String,String> variables)
renderPngForPanel in interface GrafanaClientCopyright © 2022. All rights reserved.