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 GrafanaClient
IOException
public Dashboard getDashboardByUid(String uid) throws IOException
getDashboardByUid
in interface GrafanaClient
IOException
public CompletableFuture<byte[]> renderPngForPanel(Dashboard dashboard, Panel panel, int width, int height, long from, long to, String timezone, Map<String,String> variables)
renderPngForPanel
in interface GrafanaClient
Copyright © 2021. All rights reserved.